Bogdan Fazakas
06f9149078
added docs for compute methods
2021-12-10 10:58:56 +02:00
Bogdan Fazakas
ba9cd6a6da
added compute delete method
2021-12-10 09:47:03 +02:00
Bogdan Fazakas
9ff909468e
fixed lint
2021-12-10 00:10:11 +02:00
Bogdan Fazakas
d44f53fb6f
added c2d methods types and some utils
2021-12-10 00:07:52 +02:00
Bogdan Fazakas
6dacc0c44c
refactor fixed some code styling issues
2021-12-09 12:13:56 +02:00
Bogdan Fazakas
1bdef71d54
added new file metadata structure and reorganize tokens and types
2021-12-08 17:08:30 +02:00
Bogdan Fazakas
babaa970eb
fixed lint
2021-12-07 20:51:34 +02:00
Bogdan Fazakas
e9a0dd5a1c
add download method and utils
2021-12-06 10:19:19 +02:00
Bogdan Fazakas
bb828b954c
updated fetch decouple strategy and added some tests
2021-11-26 16:40:29 +02:00
Bogdan Fazakas
51f3816949
fixed lint issues
2021-11-22 12:17:08 +02:00
Bogdan Fazakas
d3c1b4519f
first commit provider class
2021-11-22 10:07:00 +02:00
Bogdan Fazakas
3e9991e6f0
initial backbone commit
2021-10-13 09:10:55 +03:00
Alex Coseru
02cc911ce9
Custom user parameters ( #944 )
...
* enable create / passthrough of userData & algoData
* refactor bassed on reviews
* refactor balance check async flows
* more provider logs
* more debugs for provider
* provider debug
* more provider logs
* more provider debug
* revert ci changes
* naming & typings
* Release 0.18.0-next.0
* deal with pre-releases
* clarify instructions
* fix merge errors
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-09-24 13:52:11 +02:00
Jamie Hewitt
8ab2b75a1f
Changing error message
2021-07-09 15:33:48 +03:00
Bogdan Fazakas
4e02a1b2a5
small refactor
2021-06-09 10:44:59 +03:00
Bogdan Fazakas
4f9ed04086
sent ocean instance param to asset resolve helper
2021-06-08 17:24:54 +03:00
Bogdan Fazakas
c88680f100
added AssetResolverHelper
2021-06-08 09:08:24 +03:00
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
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
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
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
a47ebbcf65
fix typo ( #650 )
2021-03-08 14:38:38 +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
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
1715679bf8
Fixed modifications.
2021-02-11 20:37:51 +02:00
alexcos20
100e5c5767
refactor
2021-01-26 09:46:41 -08:00
mariacarmina
59dc288893
Tests failling. Implemented EndpointInformation.
2021-01-26 09:45:56 +02:00
mariacarmina
8642bc5625
Resolved lint errors.
2021-01-21 17:41:21 +02:00
mariacarmina
03ed3f6200
Draft for Dynamic provider endpoints. Need a feedback about the function modifications in Provider.ts. Need to do unit tests.
2021-01-21 12:42:30 +02:00
Alex Coseru
16c21e1ecb
add updateServiceTimeout and edit ddo updates ( #544 )
...
* add updateServiceTimeout
* remove unnecessary code
* fix travis
* fix
* add fileinfo endpoint
* fix did problem
* namings refactor
* lint fix
2021-01-18 12:02:38 +02:00
Călina Cenan
34f8b4a9e0
[WIP] Adds checkURL function to use provider endpoint. ( #540 )
...
* Adds checkURL function to use provider endpoint.
* Change Provider version in Travis.
* Update checkURL function to return full result instead of boolean.
Co-authored-by: Calina Cenan <calina.tutunaru@algotech.solutions>
2021-01-13 14:42:02 +02:00
mihaisc
a21a71ce92
fix download for large files ( #537 )
...
* fix dl
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix download for compute
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-01-12 22:06:16 +02:00
alexcos20
1aefaf8116
update compute status
2020-10-22 04:50:27 -07:00
alexcos20
c88040d018
typo
2020-10-22 01:38:50 -07:00
alexcos20
edce3812c6
small refactor
2020-10-22 01:37:43 -07:00
alexcos20
2371124213
allow compute status without signature
2020-10-22 00:30:55 -07:00
alexcos20
0ed34c9245
remove signature on encrypt
2020-10-13 07:11:41 -07:00
97b182f4ab
more typings updates
2020-10-13 14:35:39 +02:00
195f6c311f
jsdocs updates
2020-10-13 14:35:38 +02:00
alexcos20
fd64b6cc00
fix typo
2020-09-22 04:37:25 -07:00
alexcos20
7f6c192f9a
fix namings
2020-09-22 04:29:06 -07:00
Alex Coseru
f150a398ea
Update src/provider/Provider.ts
...
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-09-22 14:22:21 +03:00
Alex Coseru
12453777a5
Update src/provider/Provider.ts
...
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-09-22 14:22:13 +03:00
alexcos20
62f27b0157
fix tests
2020-09-19 15:27:11 -07:00
alexcos20
3f017924f7
fix lint
2020-09-19 15:13:47 -07:00
alexcos20
86656490d8
use custom provider
2020-09-19 15:11:37 -07:00
alexcos20
34022360e3
Merge branch 'feature/customProvider' of https://github.com/oceanprotocol/ocean-lib-js into feature/customProvider
2020-09-19 00:53:49 -07:00
alexcos20
20493dfca4
extra check
2020-09-19 00:51:07 -07:00