1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

258 Commits

Author SHA1 Message Date
Miquel A. Cabot
5f20019aba add marketplace flow test 2022-04-25 15:58:28 +02:00
Jamie Hewitt
331da90db5 Updating script 2022-04-25 13:51:17 +02:00
Jamie Hewitt
f935f9f8a5 Creating markdown guide from simple publish consume flow 2022-04-25 13:45:06 +02:00
Jamie Hewitt
d1a6b54ebf Updating script 2022-04-21 17:29:08 +02:00
Jamie Hewitt
1055ef991c Creating script to generate readme guide 2022-04-21 15:45:11 +02:00
Bogdan Fazakas
ec601a66d2
Fix get compute results (#1386)
* wip special chars

* clean ups

* update sha256 import from cryptojs lib

* update compute result and use alpha-26 contracts

* re-build with package-lock v1 and with dist

* ignore build files from dist

* delete build files

* removed console logs and updated ComputeResultType typing

* update compute integration test

* added more tests

* added some logs

* update file download method

* use fetch data

* remove download part

* delete console logs

* review fixes

* more fixes

Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-04-14 23:58:25 +01:00
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 (#1392)
* bump contracts to alpha 28
2022-04-04 14:56:41 +03:00
Soon Huat
4c5da01d66
change address[1] to paymentCollector based on smart contract (#1375)
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-29 15:40:30 +01:00
Bogdan Fazakas
4157e1e473
update compute status query and jsdoc (#1361) 2022-03-29 15:40:01 +01:00
Miquel A. Cabot
165b4c8680 refactor imports in the tests 2022-03-16 14:25:09 +01:00
Miquel A. Cabot
9a583e60e0 use configuration variables instead of constants 2022-03-16 14:07:00 +01:00
Miquel A. Cabot
35722239df use configuration file to read variables 2022-03-16 13:06:10 +01:00
Miquel A. Cabot
896211b93f read configHelperNetworks values for the tests 2022-03-15 19:13:58 +01:00
Miquel A. Cabot
41a8b6ef26 remove unused test config files 2022-03-15 19:00:27 +01:00
Norbi
bd32b950a8
dispenser creation: transform maxTokens and maxBalance to wei (#1328) 2022-03-11 11:04:55 +00:00
Alex Coseru
91a4431938
update to contracts alpha.19 (#1286) 2022-02-14 18:36:15 +02:00
Alex Coseru
9782af59a2
add aquarius to export list (#1280)
* export aquarius as well

* send timestamp in seconds, not ms
2022-02-12 19:03:11 +02:00
mihaisc
3c315eb49d
fixes (#1273)
* fixes

* fix test

* fix swap

* fix test

* fix test

* more fixes

* fixes

* change swapMarketFee from wei to decimal

* fix
2022-02-10 07:38:48 -08:00
Alex Coseru
ee7a45e17a
use compute environments (#1258)
* use compute environments
2022-02-09 19:13:25 +02:00
Alex Coseru
9174baa3c0
Barge c2d & latest contracts bump (#1248)
* bump to latest contracts
2022-02-09 11:32:54 +02:00
Bogdan Fazakas
14862f6a3a
Moved interfaces under types and some small fixes (#1253)
* moved interfaces and some fixes

* throw proper error messages on try catch blocks in pool class
2022-02-07 08:06:58 -08:00
mihaisc
56a3aad20d
heleper+ remove old ibs (#1238)
* heleper+ remove old ibs

* fix tests

* fix gaslimt

* fix approve

* fix

* remove console.log

* upate package-lock
2022-01-25 08:32:55 -08:00
mihaisc
b880bee007
remove optional fetch method, add abort signal (#1235)
* remove optional fetch method, add abort signal

* fix encrypt

* fix encrypt

* fix lint,tests

* test

* fix adr

* test

* fix asset

* t

* t
2022-01-24 23:49:13 -08:00
Bogdan Fazakas
5cb548ca59
replaced local artifacts with the published ones (#1232) 2022-01-20 04:39:58 -08:00
Bogdan Fazakas
7c6ce6368a
Merge pull request #1212 from oceanprotocol/feature/default-http-fixes
Add default http function and fixes provider class
2022-01-20 09:04:36 +02:00
Bogdan Fazakas
d8a036e1ba removed logs 2022-01-20 00:33:32 +02:00
Bogdan Fazakas
ccbbeae429 update validUntil type 2022-01-20 00:24:30 +02:00
Bogdan Fazakas
cc7de98b63 added logs 2022-01-20 00:13:31 +02:00
Bogdan Fazakas
f21f606b49 update provider initialize and computeflow 2022-01-19 23:43:24 +02:00
Bogdan Fazakas
555bdf583d update startOrder in consume and compute integration tests 2022-01-19 23:18:31 +02:00
Bogdan Fazakas
90c8a3a0c8 put back BaseToken instead of Basetoken 2022-01-19 09:55:18 +02:00
Bogdan Fazakas
69432720f0 put back baseToken instead of basetoken 2022-01-19 09:48:23 +02:00
Bogdan Fazakas
471875f85c update codebase renamed dataToken baseToken etc 2022-01-17 15:05:05 +02:00
Bogdan Fazakas
d91dd5a8a8 update provider tests 2022-01-12 11:46:59 +02:00
Bogdan Fazakas
456699f34d updated aquarius class methods 2022-01-12 11:18:03 +02:00
Bogdan Fazakas
21bebf4747 updated provider order for params 2022-01-12 10:15:53 +02:00
Bogdan Fazakas
9076ae05b1 merge v4main into default-http-fixes 2022-01-12 09:57:52 +02:00
80e2d21c20 single tsconfig & mocharc for all tests, simplify commands 2022-01-11 17:52:28 +00:00
8776c1bb91 make mocha pick up individual tsconfig, compile test files 2022-01-11 17:52:28 +00:00
24425fcf8b fix artifacts path in all test files 2022-01-11 17:52:28 +00:00
bdfa60a91b move artifacts folder under /src 2022-01-11 17:52:28 +00:00
Bogdan Fazakas
810213c20c Revert "moved artifacts under src so to build starts"
This reverts commit 41fb836a4980f5a447dd9411037bd8f4618b7d24.
2022-01-11 10:35:28 +02:00
Bogdan Fazakas
41fb836a49 moved artifacts under src so to build starts 2022-01-11 09:47:41 +02:00
Bogdan Fazakas
a019491ed2 add used artifacts update imports and removed not used dependancies 2022-01-10 18:36:48 +02:00
Bogdan Fazakas
5445e210ba wip provider updates add default http method & set headers and method to all calls 2022-01-10 15:40:12 +02:00
Bogdan Fazakas
04d850b6d6
integration tests publish all methods (#1197)
* added pool fixed rate and dispenser publish

* add validate method update publish tests

* update tests asset metadata

* update validate method

* fix lint

* update validate ussage

* send metadata to validate as object and removed some console logs

* fixed validate method update publish all tests

* fix validate aqua method

* update provider url

* update service timeout and add doc for validate method

* add MetadataProofs

Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2022-01-07 11:17:04 +02:00
Alex Coseru
4dc8898bad
compute start (#1196)
* compute start

* add getStatus
2022-01-07 11:16:36 +02:00
Alex Coseru
b4064aea8f
publish & consume flow working (#1192)
* simple publish & consume flow working
2022-01-04 15:58:12 +02:00
alexcos20
503fd9d163 encrypt url as well 2022-01-03 23:30:31 -08:00
Alex Coseru
f23e65f61b
publish tests (#1184)
* publish tests

* update to latest contracts

* fix unit tests
2022-01-03 17:34:28 +02:00