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

57 Commits

Author SHA1 Message Date
Pedro Gutiérrez
c9b383223b fixed some typing issues 2019-03-18 13:37:49 +01:00
Pedro Gutiérrez
5ec624b2a5 initial implementation of templates and conditions 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
6d5be0db75 fixed consume flow 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
e61e7b8881 improved Logger allowing different log level 2019-02-26 00:18:07 +01:00
Pedro Gutiérrez
407aba7450 improved Service typing 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
8bce68a3a5 added test of registration of service agreement templates 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
f82b99792f linter fixes 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
749e77cf53 fixed on imports 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
26e6c534a0 fixed part of the unit test 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
0599ba67fa updated setupTemplate method 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
64921829f9 changed name of ServiceExecutionAgreement 2019-02-08 17:37:21 +01:00
Pedro Gutiérrez
68d551dc09 improves some error messages 2019-01-25 10:53:53 +01:00
Pedro Gutiérrez
c1c3168c64 improved error detection on integration test #118 2019-01-24 10:48:48 +01:00
Sebastian Gerske
724a29ee80 add detection for meta mask 2018-12-18 15:50:37 +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
d6495036d7
Merge branch 'develop' into fix/file_download 2018-12-14 16:15:36 +01:00
Sebastian Gerske
85496f7002 added the check for the status of the template that is used to sign the service agreement 2018-12-14 16:11:26 +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
b2cebf7748 added verbose flag to config 2018-12-11 17:41:10 +01:00
Sebastian Gerske
2310c7103e increase timeout 2018-12-07 16:55:32 +01:00
Sebastian Gerske
0f262f5f03 map events properly 2018-12-07 16:00:33 +01:00
Sebastian Gerske
2c85460285 fix timeout 2018-12-07 15:30:54 +01:00
Sebastian Gerske
382207b904 fix registering 2018-12-07 15:23:17 +01:00
Sebastian Gerske
ce7027590e new access template 2018-12-07 15:19:16 +01:00
Sebastian Gerske
3bf09e63a1 added executeAgreement event listener 2018-11-23 16:09:31 +01:00
Sebastian Gerske
a904649c33 add event listener for lockPayment 2018-11-23 16:01:42 +01:00
Sebastian Gerske
0c3c21b4c5 fix listener, add eventing, moved generation of conditions to template structure 2018-11-23 14:14:35 +01:00
Sebastian Gerske
43db4412ee add events to template 2018-11-23 09:57:26 +01:00
Sebastian Gerske
8d018633a9 added buy asset and grant access samples, prepare for consumption 2018-11-23 09:17:30 +01:00
Sebastian Gerske
a6c09d0f88 fix lock Payment 2018-11-22 13:14:38 +01:00
Sebastian Gerske
2d41535bab remove logs 2018-11-22 11:39:20 +01:00
Sebastian Gerske
42959d8fc7 fix compressed deps 2018-11-22 11:38:00 +01:00
Sebastian Gerske
8a68715fce getting closer to compressed deps 2018-11-22 11:32:06 +01:00
Sebastian Gerske
8390c12599 fix shifting 2018-11-22 10:58:24 +01:00
Sebastian Gerske
920ae0dc35 added more logging 2018-11-22 10:56:06 +01:00
Sebastian Gerske
43fe8634d2 fix lockPayment 2018-11-22 09:22:27 +01:00
ssallam
1a3bb2f8b1 Generate fulfillmentIndices from service agreement conditions, set fulfillmentOperator to 1 (or operator), fix typo. 2018-11-21 15:58:59 +01:00
diminator
eef46c7a1c
some style changes for readability 2018-11-21 14:59:22 +01:00
Sebastian Gerske
2cfb32199a added logging, reworked consumer account on execute agreement 2018-11-20 11:25:10 +01:00
Sebastian Gerske
cc91cdb054 map parameter values 2018-11-20 10:43:11 +01:00
Sebastian Gerske
dfff8fc228 added event wireup
added lock payment
added fulfilmentOperators
added declarative way to describe dependencies
added service agreement termination
2018-11-20 09:13:03 +01:00
Sebastian Gerske
ba4e2d4656 adapted changes from squid discussion 2018-11-14 15:44:25 +01:00
Sebastian Gerske
0c46763095 encrypt contentUrls at once instead separate, move generation of serviceAgreementId outside of signAgreement and executeAgreement in ocean object, hardened sign and execute of service agreements, wrote unit tests 2018-11-12 12:09:42 +01:00
Sebastian Gerske
c425f03efd separate sign and execute agreement 2018-11-12 08:33:19 +01:00
Sebastian Gerske
2df3a68abf fix 500 on aquarius, hardened tests, avoided loading contracts more than once per chain and item 2018-11-09 11:16:22 +01:00