|
3d978f792d
|
template refactoring
|
2020-01-15 19:28:04 +01:00 |
|
Jorge Shirai
|
df1c4fafd7
|
Fix lint errors.
|
2020-01-15 15:58:44 +01:00 |
|
Jorge Shirai
|
e0f533b469
|
Require logger argument in Aquarius constructor.
Improve Aquarius constructor comment/documentation.
|
2020-01-15 15:52:42 +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 |
|
|
619cd42db7
|
new OceanCompute submodule
|
2020-01-10 20:25:14 +01:00 |
|
|
ae7768253e
|
add execution of compute jobs
|
2020-01-09 12:20:19 +01:00 |
|
|
d6a233e590
|
typos
|
2019-12-06 09:57:26 +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 |
|
|
7067b89fdc
|
web3.js v1.2.3
|
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 |
|
|
9f210b3a13
|
noZeroX the new owner address
|
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 |
|
|
bd1b0d16d0
|
file.index typing fix
|
2019-11-22 12:13:23 +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
|
476a624e89
|
Add integration test about adding permissions on DIDRegistry.
|
2019-11-22 12:08:35 +01:00 |
|
Pedro Gutiérrez
|
e3a7c54c6a
|
Update DDO service schema.
|
2019-11-22 12:07:14 +01:00 |
|
Pedro Gutiérrez
|
3d7d1f3972
|
Change linter config.
|
2019-11-22 12:07:14 +01:00 |
|
Pedro Gutiérrez
|
13e43d7b40
|
Inlcude new methods on DIDRegistry.
|
2019-11-22 12:07:14 +01:00 |
|
Pedro Gutiérrez
|
8761d2e087
|
Add EscrowComputeExecutionTemplate.
|
2019-11-22 12:07:14 +01:00 |
|
Pedro Gutiérrez
|
1f6e57fb60
|
Add ComputeExecutionCondition.
|
2019-11-22 12:07:14 +01:00 |
|
|
36a77c0d0b
|
linting fixes
|
2019-11-22 12:07:14 +01:00 |
|
|
e253e4c0bb
|
more DDO structure updates
|
2019-11-22 12:07:14 +01:00 |
|
|
b15022a4c1
|
test against latest Node.js
|
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 |
|
Pedro Gutiérrez
|
ba542f299a
|
Add initial workflow definition.
|
2019-11-22 12:07:13 +01:00 |
|
Pedro Gutiérrez
|
3f90ab2ef0
|
Added initial Computing service definition.
|
2019-11-22 12:07:13 +01:00 |
|
Alex Coseru
|
8aac9a9e86
|
added xDai
|
2019-11-22 10:53:37 +02: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 |
|
|
c772324b34
|
signature test tweaks
|
2019-10-30 17:33:46 +01:00 |
|
|
9d95f149d5
|
typescript updates
|
2019-10-30 15:45:52 +01:00 |
|
|
c6bc0438de
|
bump packages
|
2019-10-30 12:04:16 +01:00 |
|
Pedro Gutiérrez
|
4205d9c8bf
|
Add attribute name on File.
|
2019-09-03 12:13:15 +02:00 |
|
Pedro Gutiérrez
|
3235e4f930
|
Add a way to know if an address is provider of an asset.
|
2019-08-30 11:53:04 +02:00 |
|
|
adac2a0dbc
|
bump lint packages
|
2019-08-19 13:21:19 +02:00 |
|
|
2fd333ec3a
|
eslint updates
|
2019-08-15 14:13:21 +02:00 |
|
|
ccf0b39cf0
|
bump packages
|
2019-07-31 13:02:04 +02:00 |
|
Pedro Gutiérrez
|
a9ba23d2c3
|
Resolve the DDO using the service endpoint on registration event.
|
2019-07-16 14:56:56 +02:00 |
|
Pedro Gutiérrez
|
cdbc4c93a1
|
Fix linter errors.
|
2019-07-15 11:36:06 +02:00 |
|
Pedro Gutiérrez
|
88b8eb06c6
|
Allow using Secret Store to decrypt the files that are going to be downloaded.
|
2019-07-15 11:36:06 +02:00 |
|
Pedro Gutiérrez
|
ccbd0daead
|
Restore decryption feature on Secret Store submodule.
|
2019-07-15 11:36:06 +02:00 |
|
Pedro Gutiérrez
|
a629a04dd4
|
Move download file behavior to utils.
|
2019-07-15 11:36:06 +02:00 |
|
Pedro Gutiérrez
|
d3f15e361a
|
Detect the error when a condition is not correctly fulfilled.
|
2019-07-09 11:39:22 +02:00 |
|
Pedro Gutiérrez
|
031720ad5d
|
Return the correct data format on agreement prepare.
|
2019-07-03 13:08:00 +02:00 |
|
Pedro Gutiérrez
|
bb082f0c8a
|
Support integration tests on networks without Dispenser.
|
2019-06-27 14:31:28 +02:00 |
|
Pedro Gutiérrez
|
4c3f134942
|
Fix error on getting contract address of not loaded contracts.
|
2019-06-25 13:10:08 +02:00 |
|
Pedro Gutiérrez
|
d6b601effd
|
Prevent error messages on optional contracts.
|
2019-06-25 12:00:37 +02:00 |
|
Pedro Gutiérrez
|
be95da79df
|
Allow Disenser as optional contract.
|
2019-06-25 11:12:32 +02:00 |
|
|
9561f8e0c3
|
add pacific to network detection
|
2019-06-24 15:47:20 +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
|
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 |
|
|
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 |
|
|
6dd1fa5d36
|
update test data
|
2019-04-30 11:41:54 +02:00 |
|
|
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 |
|
|
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 |
|
Jernej Pregelj
|
26a721f754
|
await chaining to Promise.all
|
2019-04-10 12:28:51 +02:00 |
|
Pedro Gutiérrez
|
78ab06bf9a
|
Fix lint errors.
|
2019-04-09 16:57:16 +02:00 |
|
Pedro Gutiérrez
|
dde934543c
|
Add consume support for browsers.
|
2019-04-09 16:57:16 +02:00 |
|
Pedro Gutiérrez
|
c90f9cea80
|
Add the correct name to consumed assets.
|
2019-04-09 16:57:16 +02:00 |
|
Pedro Gutiérrez
|
b8fec2d084
|
Use the new Aquarius response type.
|
2019-04-05 16:11:04 +02:00 |
|
Pedro Gutiérrez
|
3dbc1b90d7
|
Be able to download a specific file of an asset.
|
2019-04-04 10:08:03 +02:00 |
|
Pedro Gutiérrez
|
b5727bb8dc
|
Fix lint errors.
|
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
|
f569957058
|
Fix search integration tests.
|
2019-03-29 11:58:29 +01:00 |
|
Jernej Pregelj
|
b38df5d5ed
|
fix search query
|
2019-03-29 11:58:29 +01:00 |
|
Pedro Gutiérrez
|
7a9cdf6966
|
Add metadata fields on files.
|
2019-03-29 11:35:24 +01:00 |
|
Jernej Pregelj
|
77dfb3aab0
|
blob to arraybuffer
|
2019-03-28 15:40:39 +01:00 |
|
Jernej Pregelj
|
8d0002d5f4
|
buffer to blob
|
2019-03-26 16:13: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
|
f3599a5d7f
|
Remove --no-acl-contract flag.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
b821d6c6e0
|
Remove not needed awaits.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
cf99c9ff64
|
Fix all ignored tests.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
eaac2f4f68
|
Fix linter errors.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
01465dc164
|
Fix Reward condition pointing.
|
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
|
c976d52378
|
Upgrade asset.create, asset.order and agreement related methods to work with Keeper 0.8.x.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
b1715be11a
|
Fix agreement status generation.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
4f469b2ab5
|
Use condition contracts hash generation to generate the signature.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
f8b3d839eb
|
Add a way to get the status of a agreement.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
51fbbc887e
|
Fix dependencies references on Escrow template.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
0ffa0e4204
|
Add initial condition and agreement store managers.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
6a4df9768a
|
Move signature values generation to template.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
c213a8d3ca
|
Create Signature integration test and fixed/improved the generation of hashes.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
ae070be011
|
Use the decimals of OceanToken to return the correct balance.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
44a611248e
|
Create helper to fill some common attributes on service agreement template on DDO.
|
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
|
136250b70c
|
Move access service template used on the DDO to each agreement template.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
4f28092014
|
Improved signature helper using fallback non-personal sign method.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
51aa0fbf64
|
Clean and simplify template related typings.
|
2019-03-18 13:37:49 +01:00 |
|
Pedro Gutiérrez
|
3a5fba6e21
|
Added tests on Conditions
|
2019-03-18 13:37:49 +01:00 |
|