1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
Commit Graph

230 Commits

Author SHA1 Message Date
pfmescher
1862913f1c
Merge pull request #354 from oceanprotocol/decouple-aquarius-from-ocean
Decouple aquarius from ocean
2020-01-23 09:17:23 +01:00
93d3490783
update testdata DDO with compute service 2020-01-22 12:47:56 +01:00
f1e15c9eda
more basic unit tests 2020-01-22 11:30:27 +01:00
6d1abfb3ab
remove workflow & algorithm from metadata 2020-01-21 22:10:19 +01:00
db689aab63
setup compute unit tests 2020-01-21 22:09:08 +01:00
Jorge Shirai
791d22cb92 Add example Aquarius instantiation doc in README.
Use LoggerInstance alias in Aquarius.test.ts.
2020-01-20 11:38:20 +01:00
ssallam
1caf92e12f Remove obsolete class, remove unused variable. 2020-01-17 21:20:38 +01:00
ssallam
7b5b110cec Fix lint errors. 2020-01-17 16:39:44 +01:00
ssallam
48c4f64599 Fix tests. 2020-01-17 15:35:11 +01:00
Jorge Shirai
df1c4fafd7
Fix lint errors. 2020-01-15 15:58:44 +01:00
Pablo F. Mescher
dd599c9f17 Fixed broken tests
Signed-off-by: Pablo F. Mescher <pfmescher@gmail.com>
2020-01-15 11:42:52 +01:00
Pablo F. Mescher
550ec76a35 Decoupled Aquarius class from Ocean class
and removed inheritance from Instantiable

Signed-off-by: Pablo F. Mescher <pfmescher@gmail.com>
2020-01-15 10:33:42 +01:00
414c885163
lint fixes, bump Ocean components 2019-12-09 10:49:53 +01:00
143fcbecf3
tweak printWidth 2019-11-22 12:14:17 +01:00
0552bcc577
fresh package-lock 2019-11-22 12:14:17 +01:00
c122e06871
add allowSyntheticDefaultImports 2019-11-22 12:14:16 +01:00
2fd4e94f29
refactoring for web3.js 1.2.2 2019-11-22 12:14:16 +01:00
6111c33a0c
search test tweaks 2019-11-22 12:13:52 +01:00
b31a661dcb
transferOwnership fixes, add integration test 2019-11-22 12:13:52 +01:00
347915a41e
add ocean.assets.transferOwnership() 2019-11-22 12:13:51 +01:00
5a49cf01f9
remove legacy contentUrls for good 2019-11-22 12:12:05 +01:00
75a0de1b2c
remove ddo.addChecksum 2019-11-22 12:12:05 +01:00
b9b63dabe9
DDO updates, contentLength as string 2019-11-22 12:12:05 +01:00
Pedro Gutiérrez
3d7d1f3972
Change linter config. 2019-11-22 12:07:14 +01:00
e253e4c0bb
more DDO structure updates 2019-11-22 12:07:14 +01:00
b1ff2e7a27
lowercase service type values 2019-11-22 12:07:14 +01:00
07d17fe32e
update metadata to OEP-8 v0.4 2019-11-22 12:07:14 +01:00
27f0734f22
revert esModuleInterop 2019-11-07 12:41:43 +01:00
7d393edc25
lock to web3.js 1.2.1 again 2019-11-06 13:55:34 +01:00
354149d2d4
test tweaks 2019-10-31 12:19:53 +01:00
9d95f149d5
typescript updates 2019-10-30 15:45:52 +01:00
c6bc0438de
bump packages 2019-10-30 12:04:16 +01:00
2fd333ec3a
eslint updates 2019-08-15 14:13:21 +02:00
Pedro Gutiérrez
a80b4aee18 Fix linter issues manually. 2019-06-24 13:06:46 +02:00
b61822e30c format all the things 2019-06-24 13:06:46 +02:00
Pedro Gutiérrez
b32f708385 Improve token validation. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez
4d73eb8697 Add integration test for Auth module. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez
b236cda7dd Add Auth module. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez
6fe8430b08 Change the type of the price of an asset to string. 2019-05-30 00:56:16 +02:00
Pedro Gutiérrez
7f0d50691c Use prefix on checksum. 2019-05-27 21:12:36 +02:00
Pedro Gutiérrez
6a5db2b314 Fix linter errors. 2019-05-09 12:53:28 +02:00
Pedro Gutiérrez
33a9939b47 Fix Aquarius tests using new way to call to services. 2019-05-09 12:53:28 +02:00
dedcb83330 cleanup test data 2019-04-30 11:41:54 +02:00
6dd1fa5d36 update test data 2019-04-30 11:41:54 +02:00
Pedro Gutiérrez
bb1a02a5d1 Fix differences between implementation on DDO generation. 2019-04-30 11:38:11 +02:00
Pedro Gutiérrez
e76c152bfc Fix linter errors. 2019-04-25 20:20:24 +02:00
Pedro Gutiérrez
2e8e3d9a8f Create SuscribiblePromise class. 2019-04-25 20:20:24 +02:00
ae4fe65b0e
fix page number in all search queries 2019-04-16 19:01:11 +02:00
Pedro Gutiérrez
b8fec2d084 Use the new Aquarius response type. 2019-04-05 16:11:04 +02:00
Pedro Gutiérrez
7943c9f4eb Add integration tests pointing to Nile network. 2019-04-01 17:41:43 +02:00
Pedro Gutiérrez
c632307646 Upgrade to Keeper 0.9.0 and Secret Store access way. 2019-04-01 17:41:43 +02:00
Pedro Gutiérrez
c5e78899f0 Upgrade to Keeper 0.8.7 2019-04-01 17:41:43 +02:00
Pedro Gutiérrez
a931fe5a42 Move helpers/utils that needs web3 or ocean instance to instantiable classes. 2019-04-01 10:33:38 +02:00
Pedro Gutiérrez
7a9cdf6966 Add metadata fields on files. 2019-03-29 11:35:24 +01:00
Pedro Gutiérrez
05ca0da57f Fix linter errors. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
7a13ad8daa Be able to create different Ocean instances with different config. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
ea16729d86 Replace the main Logger for a instantiable class. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
5402d421c8 Remove default exports of Ocean modules. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
780475b35f Remove OceanBase. 2019-03-25 15:21:23 +01:00
Pedro Gutiérrez
83973e63c0 Report complete coverage. 2019-03-19 12:20:26 +01:00
Pedro Gutiérrez
eaac2f4f68 Fix linter errors. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
f002e5d616 Fix on unit tests. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
e7b9f990b6 Add conversion helpers for did:op: prefixes. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
76c4b2b1fb Fix all broken tests. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
3a5fba6e21 Added tests on Conditions 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
ef20a2934d Deploy Keeper 0.8.x contracts. 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
8a0679b2d4 added a helper to transform 0x prefixed values 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
0410793286 linter fixes 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
057714988a added some missed methods on Ocean.accounts module 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
8dcdf0a851 moved ID generator 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
3fd8f995f6 added Ocean.secretStore module 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
a6d2ce8fde using a SecretStore with custom config 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
f5ab0e6d05 improved way that is exported Service type 2019-02-20 16:06:04 +01:00
Pedro Gutiérrez
cfda1e6130 added all necessary methods of Ocean.agreements 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
14f3955ed0 added Search asset tests 2019-02-14 12:05:31 +01:00
Pedro Gutiérrez
c56989a710 using files intead of contentUrls on examples ocean#251 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
e88a40dac0 replaces contentUrls by files on DDO ocean#251 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
d51e3f3dbf updated registerAttribute method 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
f82b99792f linter fixes 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
d365650a7a implemented proof generator on DDO 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
494b9e7d1b added helpers to sign and verify the web3 personal signatures 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
518a784554 improved exportation of typings related to DDOs 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
5694ae29b5 changed some methods 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
dd2b672adb simulating zos on contract deployment 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
26e6c534a0 fixed part of the unit test 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
3364feb9dd removed Auth contract 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
fc46592fe9 replaced OceanMarket with Dispenser 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
95a98daa38 moved main methods to modules by scope 2019-01-25 21:23:37 +01:00
Pedro Gutiérrez
5e4a33f4e2 added better DID verification 2019-01-22 14:14:49 +01:00
Pedro Gutiérrez
b6713bfc81 use Barge to run integration tests 2019-01-15 16:09:31 +01:00
Sebastian Gerske
5e2662c624 make mocha exit at the end 2019-01-09 11:20:31 +01:00
Sebastian Gerske
3b8e424232 added test for failed service agreements 2018-12-19 12:34:07 +01:00
Sebastian Gerske
6ea480fd47 enhanced did handling 2018-12-17 15:54:58 +01:00
Sebastian Gerske
a0648b4b84 remove 0x prefix from serviceAgreementId 2018-12-17 14:29:09 +01:00
Sebastian Gerske
09191fab59 rollback did containing 0x 2018-12-17 14:17:35 +01:00
Sebastian Gerske
1724412dd7 adapted unit tets to the code 2018-12-14 15:30:23 +01:00
ssallam
233aede5f6 Generate assetId with 0x prefix, update all references to reflect this. This makes it similar to squid-py and fixes an issue in payAsset where the asset id in the condition param had double 0x prefix when paying a service agreement for an asset created in squid-py. 2018-12-14 13:40:08 +01:00
Sebastian Gerske
4e30056483 removed config of mocked service 2018-11-27 13:57:54 +01:00
Sebastian Gerske
12bd56e5f9 adapt unit tests 2018-11-26 11:04:05 +01:00
Sebastian Gerske
3bf09e63a1 added executeAgreement event listener 2018-11-23 16:09:31 +01:00