Bogdan Fazakas
ec2e67db35
used type guard to detect if ddo or did and resolve just when needed
2021-06-04 16:46:12 +03:00
Alex Coseru
5555b2a73a
Add order checks for credentials ( #827 )
...
* Add order checks for credentials
2021-06-03 14:14:01 +03:00
Bogdan Fazakas
f0404f3204
added ddo object param to function that expect did and asset resolve is called
2021-06-03 12:43:15 +03:00
kianyee
0f46959dfa
Feature/credentials support in asset ( #787 )
...
* [KianYee] Add credentials in DDO
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2021-06-02 16:51:13 +03:00
Kris Liew
9f0b5dd6ff
add "valid" boolean in File.ts ( #825 )
...
* add "valid" boolean in File.ts
2021-06-02 15:58:07 +03:00
Kris Liew
2fb83f97a9
Add ocean.assets.isConsumable function ( #786 )
...
* isDisable check
* check isConsumable for order()
* Attempt add integration test
* feedback change
* Replace 'isDisabled' with 'isOrderDisabled'
* Update integration test
* Attempt 1 fix integration test
Co-authored-by: KRIS LIEW <iforte.intellege.liew@daimler.com>
2021-06-02 20:18:58 +08:00
Alex Coseru
6ce02ec17c
fix ddo encrypt for browsers ( #822 )
...
* fix ddo encrypt for browsers
Warning: needs aquarius >= 2.2.12
2021-05-28 12:53:47 +03:00
Kris Liew
9df93b71cb
add type 'free' to BestPrice ( #821 )
2021-05-28 11:48:25 +03:00
Bogdan Fazakas
a6c9c70e8e
Fix/ Order method should throw error messages ( #803 )
...
* throw error when order methods fail, updated integration tests accordingly
* throw error for startOrder method & update error messages
* updated assert messages and added asserts in try block
2021-05-25 16:00:13 +02:00
dependabot[bot]
ba64eeb39a
Bump prettier from 2.2.1 to 2.3.0 ( #793 )
...
* Bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* prettier updates
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 08:27:53 +02:00
Alex Coseru
92b4be0dce
Feature/dispenser ( #790 )
...
* add dispenser support
* bump contracts to 0.6.2
2021-05-10 18:42:19 +03:00
Jamie Hewitt
53b401dcd0
Revert "creating interface for the dispenser contract"
...
This reverts commit 413b17e668a4d92e2ab9d43092b604bc2b2f2914.
2021-05-07 13:56:35 +03:00
Jamie Hewitt
603e512f8a
Revert "instantiate Dispenser"
...
This reverts commit 4727f226ce59353fda75542d382bc804db838198.
2021-05-07 13:56:18 +03:00
Jamie Hewitt
4727f226ce
instantiate Dispenser
2021-05-07 12:57:59 +03:00
Jamie Hewitt
413b17e668
creating interface for the dispenser contract
2021-05-07 12:53:15 +03:00
Alex Coseru
3a5569b12f
Feature/use decimal in pool ( #775 )
...
* change default gas settings
* check allowance & fix gas estimate
* use Decimal
* fix estimateGas for new Pools
2021-04-30 16:02:18 +03:00
mihaisc
a1a7c444c7
Fix address.json import ( #765 )
...
* fix json import
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Using common JS export
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2021-04-23 13:06:03 +03:00
Alex Coseru
ee7a5489c7
add moonbeamalpha ( #751 )
...
* add moonbeamalpha
* bump ocean-contracts
* lock file
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-22 19:29:36 +03:00
Alex Coseru
2a80c605d4
add seachPreviousOrder ( #755 )
2021-04-19 15:48:15 +03:00
mihaisc
a39b9a416e
export provider, fix circular dependency ( #750 )
...
* export provider, fix circular dependency
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* lock file
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-16 13:20:24 +03:00
mihaisc
26957a8432
fix compute status ( #746 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-04-16 00:39:43 +02:00
Alex Coseru
51c241eed4
add inputDID & algoDID ( #735 )
2021-04-13 21:25:15 +03:00
Alex Coseru
39938ec9c0
refactor compute ( #731 )
...
WARNING! This is a breaking change!
* Refactor compute functions to use a new interface (ComputeAlgorithm) instead of passing 4-5 params to different functions.
* add new test to prevent running a computeJob is both asset/algo are having compute services and they are not served from the same provider
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-04-13 17:34:34 +02:00
TSS-LauKY
04c2a9b09a
[KianYee] #459 enhance file info function ( #710 )
...
* [KianYee] #459 enhance file info function
* [KianYee] #459 enhance file info function
* [KianYee] Fix issue
* [KianYee] #459 fix codeclimate
* [KianYee] #459 add intergration test
* [KianYee] Add integration test
* [KianYee] #459 Fix bug
* [KianYee] #459 Slipt function into 2
* [KianYee] removed unused import
* [KianYee] update test case description
2021-04-13 14:39:11 +03:00
mihaisc
23f319b8a8
Optimize compute job status calls ( #717 )
...
* optimize status calls
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update computeJob interface
* fix typo
* more details
* fix tests
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix tests
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* throw errors instead of return null
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2021-04-13 14:38:54 +03:00
Alex Coseru
bae7501842
Feature/more tests ( #718 )
...
* add compute dataset/compute algo
* add FRE create/update for aqua
* add pool tests for aqua
2021-04-08 13:48:02 +03:00
Jamie Hewitt
57eecce7f9
Building CommonJS, ES and UMD modules with microbundle ( #698 )
...
* Building CommonJS, ES and UMD modules with microbundle
* re-writting package-lock.json with npm v6
* adding script for build optimised for node environment
* building utils folder seperately
* Revert "building utils folder seperately"
This reverts commit b246f7f440104eaa68c30da1619d1691a995dfec.
* combining tsc and microbundle
* building package-lock.json with npm v6
* including util exports in bundle
2021-04-07 23:22:25 +03:00
Alex Coseru
6217cfa4e0
use blob instead of buffer ( #694 )
...
* use blob instead of buffer
* fix blob
* fix binary data
* fix dev typo
2021-03-31 16:05:02 +03:00
Jamie Hewitt
2a4510aa0d
Replacing node-fetch with cross-fetch ( #687 )
...
* installing cross-fetch
* implementing cross-fetch
* Correcting web3 dependancy
* importing types from cross-fetch
* fixing dependancies
* adding imports from cross/fetch/lib
* changing .buffer() to .arrayBufer()
* implementing timeout-signal
* chaning require statements to import statements
* fixing require/import issues
* using default import for timeoutSignal
* fixing linting issues
* fixing dependancy issue
* lint fix
* fix timeout
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add abort controller compatible with browser and node
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-03-26 19:17:50 +02:00
Alex Coseru
b1967534e8
add allowAllPublishedAlgorithms ( #686 )
...
* add allowAllPublishedAlgorithms
2021-03-23 21:00:15 +02:00
mihaisc
79ff76e026
Add remove ocean liquidity function ( #685 )
...
Add remove ocean liquidity function
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-03-23 20:59:33 +02:00
Alex Coseru
abcb1f8200
add encrypt ddo support ( #662 )
...
* bump aquarius
* add encrypted ddo & native query
* fix native queries
* fix code duplicates
* fix assets.create description
* fixed comments and added helper publishDdo
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update searchQuery
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-03-18 11:54:58 +02:00
7201542f7a
add oceanTokenSymbol to ConfigHelper ( #670 )
2021-03-18 08:22:40 +02:00
Alex Coseru
a47ebbcf65
fix typo ( #650 )
2021-03-08 14:38:38 +02:00
Alex Coseru
fb3f61a5c5
fix fre bug ( #649 )
2021-03-08 14:23:10 +02:00
b552f2f23e
add explorerUri for each network ( #643 )
2021-03-08 08:58:42 +02:00
Bogdan Fazakas
9a832dc9b7
Merge pull request #598 from oceanprotocol/feature/sample-links-removal
...
Asset metadata sample links removal
2021-03-03 16:23:13 +02:00
c7a7bb0b3b
Merge pull request #630 from oceanprotocol/feature/more_tests
...
More integration tests
2021-03-03 02:35:23 +01:00
Bogdan Fazakas
f528d6acc0
Merge branch 'main' into feature/sample-links-removal
2021-03-02 15:09:14 +02:00
alexcos20
228c01c98f
more tests
2021-03-02 00:42:10 -08:00
alexcos20
2cbc02e1d5
more checks on provider
2021-02-23 23:50:01 -08:00
mihaisc
34e40f81d9
Add polygon network ( #627 )
...
* add polygon network
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* package-lock
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Update src/utils/ConfigHelper.ts
* Update ConfigHelper.ts
* Update ComputeFlow.test.ts
Increase sleep time for aqua
* Update Marketplaceflow.test.ts
increase sleep time for aqua
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2021-02-23 21:45:40 +02:00
Alex Coseru
8fbd09c615
Feature/compute nextv ( #612 )
...
* Update .travis.yml
* compute support for additionalInputs
* small getPreviousValidOrders improvment
* small refactor for utils.fetch
* fetch refactor & add timeout
* more tests
* use 2nd provider as well
* use the 2nd provider in travis
* compute and order refactor, more tests
* remove unused functions
* add provider version
* secures algos
* more tests
* fix tests
* make checksums optional
* make checksum optional
* improve coverage
* fix tests
2021-02-22 16:11:45 +02:00
mariacarmina
59994ea46b
Merge pull request #558 from oceanprotocol/issue538
...
Dynamic provider endpoints
2021-02-15 18:40:48 +02:00
mariacarmina
1715679bf8
Fixed modifications.
2021-02-11 20:37:51 +02:00
Alex Coseru
8021cce5cd
speed up previous order ( #599 )
2021-02-10 19:35:23 +02:00
Alex Coseru
8cc1ef3e37
add minter roles ( #600 )
2021-02-10 19:35:04 +02:00
Bogdan Fazakas
3608472e75
remove asset sample link if not send on metadata update
2021-02-08 16:46:22 +02:00
Bogdan Fazakas
6e3173f697
set default logger level to error and use only one instance of logger ( #571 )
2021-02-02 14:53:16 +02:00
ssallam
96f666067a
Remove valid
from metadata Files attributes
2021-02-01 12:20:47 +01:00