Commit Graph

376 Commits

Author SHA1 Message Date
Pedro Gutiérrez ba9dc0930d Improve how is get the version data of the squid. 2019-06-18 12:29:51 +02:00
Pedro Gutiérrez 0ca5dae306 Improve version output. 2019-06-14 16:33:05 +02:00
Pedro Gutiérrez 21fa3495c5 Transform the versions object to an array with properties. 2019-06-14 12:05:59 +02:00
Pedro Gutiérrez 0438beef2b Create Versions module. 2019-06-14 00:34:53 +02:00
Matthias Kretschmann 34308e867f ts-node fix 2019-06-12 14:27:13 +02:00
Pedro Gutiérrez 7b20b27e8b Improve error reporting on consumption. 2019-06-11 13:59:31 +02:00
Pedro Gutiérrez 95d668666b Add authenticate method to account. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez b32f708385 Improve token validation. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez 3abe15a023 Send the token when is available to authenticate on Brizo. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez 1f83e333cb Improve how can be get the token from the account. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez 9dc4b348ce Make Auth modules constants configurable. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez 23d4749b12 Improve Config comments. 2019-05-31 20:41:24 +02:00
Pedro Gutiérrez abd4ccac1e Add a error message if localStorage is not available. 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 b60e46a0b5 Add the token to the accounts that have it stored. 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 7d94cf2b6c Report the asset creation progress. 2019-05-31 18:02:39 +02:00
Pedro Gutiérrez 172967c352 Fix integration tests. 2019-05-30 00:56:16 +02:00
Pedro Gutiérrez 6f57118ce9 Use price as string on some remaining parts. 2019-05-30 00:56:16 +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 90fbc0b1d6 Expose the granted agreementIds for a consumer. 2019-05-29 12:18:04 +02:00
Pedro Gutiérrez 7f0d50691c Use prefix on checksum. 2019-05-27 21:12:36 +02:00
Pedro Gutiérrez d7e572c646 Skip catching of Web3 instances. 2019-05-21 14:26:33 +02:00
Pedro Gutiérrez d363e3cd2a Detect signature errors produced user rejection. #226 2019-05-17 15:29:10 +02:00
Pedro Gutiérrez 46ff37c2eb Use provided Web3 provider on Web3 browsers. #225 2019-05-16 11:10:03 +02:00
Pedro Gutiérrez 5910552f20 Remove outdated examples. 2019-05-16 10:13:05 +02:00
Pedro Gutiérrez a821e1f7ef Add Duero network on getNetworkName. 2019-05-14 14:01:08 +02:00
Pedro Gutiérrez d779adc0a3 Move WebServiceConnector to utils and make it instantiable. 2019-05-09 12:53:28 +02:00
Pedro Gutiérrez 99ddff97bc Update order flow using Brizo. 2019-04-30 19:35:34 +02:00
Matthias Kretschmann 6dd1fa5d36 update test data 2019-04-30 11:41:54 +02:00
Matthias Kretschmann 85df6a27b9 update metadata interface 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 c8411e29d2 Add more events on order execution. 2019-04-25 20:20:24 +02:00
Pedro Gutiérrez 4c4a4f64ce Detect error inside the executor of SubscribableObserver if it returns a promise. 2019-04-25 20:20:24 +02:00
Pedro Gutiérrez e76c152bfc Fix linter errors. 2019-04-25 20:20:24 +02:00
Pedro Gutiérrez 5b5ad23d7a Emit the progress of ordering a asset. #202 2019-04-25 20:20:24 +02:00
Pedro Gutiérrez 2e8e3d9a8f Create SuscribiblePromise class. 2019-04-25 20:20:24 +02:00
Pedro Gutiérrez 4438206914 Send the DID registry transaction before send the DDO to Aquarius. #200 2019-04-23 12:46:52 +02:00
Pedro Gutiérrez c116cde4ca Allow create a Ocean instance in wrong network. #188 2019-04-23 12:46:52 +02:00
Pedro Gutiérrez 8f8766d700 Generate the download asset folder name in the same way than squid-py. 2019-04-23 12:46:52 +02:00
Pedro Gutiérrez b36e3a4f06 Add consumerAssets method to assets module. 2019-04-17 13:54:33 +02:00
Pedro Gutiérrez 47ced8af1b Add ownerAssets method to assets module. 2019-04-17 13:54:33 +02:00
Pedro Gutiérrez 652d4e7575 Add owner method on assets module. 2019-04-17 13:54:33 +02:00
Matthias Kretschmann ae4fe65b0e
fix page number in all search queries 2019-04-16 19:01:11 +02:00
Pedro Gutiérrez b6af27a523 Use only the agreementId on status method of agreements module. 2019-04-16 14:33:42 +02:00
Pedro Gutiérrez 398ec203c1 Add status method to agreements module. 2019-04-16 14:01:30 +02:00
Pedro Gutiérrez 1e94e27f81 Fix wrong prepare output. 2019-04-15 23:17:51 +02:00
Pedro Gutiérrez 29ea28cf90 Fix bug on order assets that was stopping the flow after paying. 2019-04-15 13:33:25 +02:00
Pedro Gutiérrez c2de39769b Use save-file to download assets on browser. 2019-04-10 16:10:40 +02:00
Jernej Pregelj 304fda8820 lint fixes 2019-04-10 12:30:17 +02:00