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

2253 Commits

Author SHA1 Message Date
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
dependabot[bot]
ea9bceb092
Bump prettier from 2.6.0 to 2.6.1 (#1373)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.0 to 2.6.1.
- [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.6.0...2.6.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 15:38:55 +01:00
dependabot[bot]
0df310596a
Bump minimist from 1.2.5 to 1.2.6 (#1370)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 15:38:46 +01:00
Miquel A. Cabot
a33bf42452
Issue-#1367: Fix error in NftFactory.disableTokenTemplate() and NftFactory.reactivateTokenTemplate() (#1368)
* fix error in NftFactory.disableTokenTemplate() and NftFactory.reactivateTokenTemplate()

* add tests for nft and token templates
2022-03-29 15:37:50 +01:00
mihaisc
0c65a03a69
fix typedoc (#1378) 2022-03-29 07:36:22 -07:00
Miquel A. Cabot
745647b65f upgrade to @oceanprotocol/contracts 1.0.0-alpha.27 2022-03-29 15:10:18 +02:00
Miquel A. Cabot
f23d47a4fd Merge branch 'v4main' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-28 15:08:33 +02:00
dependabot[bot]
7837bac5c7
Bump typescript from 4.6.2 to 4.6.3 (#1371)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 14:20:48 +00:00
dependabot[bot]
e328e3be61
Bump @types/node from 17.0.22 to 17.0.23 (#1366)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.22 to 17.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 14:20:32 +00:00
Miquel A. Cabot
159270889e Merge branch 'v4main' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-24 16:14:02 +01:00
Miquel A. Cabot
52c8121b82
Merge pull request #1355 from oceanprotocol/issue-1292-fix-compute-test-timeout
Issue-#1246: Use confighelper instead of hardcoded endpoints
2022-03-24 16:06:40 +01:00
296a94be98
solve all typing warnings (#1364) 2022-03-24 13:33:03 +00:00
Miquel A. Cabot
1bd82e7f3a Fix error "Cannot read properties of undefined (reading 'sideStakingAddress')" 2022-03-22 17:58:49 +01:00
Miquel A. Cabot
d60c26be50 Merge branch 'issue-1292-fix-compute-test-timeout' into issue-1356-rewrite-testcontracthandler-helper-class 2022-03-22 16:22:07 +01:00
Miquel A. Cabot
3cd57e00ee Merge branch 'issue-1246-use-confighelper-in-tests' into issue-1292-fix-compute-test-timeout 2022-03-22 15:44:24 +01:00
Miquel A. Cabot
d3246c5ae4 Merge branch 'v4main' into issue-1246-use-confighelper-in-tests 2022-03-22 15:43:48 +01:00
dependabot[bot]
46f7a7e280
Bump @types/node from 17.0.21 to 17.0.22 (#1363)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.21 to 17.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 15:13:50 +02:00
dependabot[bot]
2f0826ab0b
Bump release-it from 14.12.5 to 14.13.1 (#1360)
Bumps [release-it](https://github.com/release-it/release-it) from 14.12.5 to 14.13.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.12.5...14.13.1)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 13:22:31 +00:00
dependabot[bot]
b2de2ca26c
Bump prettier from 2.5.1 to 2.6.0 (#1340)
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.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.5.1...2.6.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 13:00:44 +00:00
alexcos20
069d21c164 Release 1.0.0-next.29 v1.0.0-next.29 2022-03-21 05:42:18 -07:00
Alex Coseru
c01fb0756c
Feature/contracts alpha 25 (#1358)
* bump to contracts alpha 26

* update gasFeeMultiplier
2022-03-21 14:40:34 +02:00
Miquel A. Cabot
546f516cee add web3 parameter 2022-03-20 19:03:14 +01:00
Miquel A. Cabot
589ec02938 refactor TestContractHandler variable names 2022-03-20 13:55:53 +01:00
Miquel A. Cabot
f095b8903b rewrite comments 2022-03-19 15:45:19 +01:00
Miquel A. Cabot
a77f1c5862 convert TestContractHandler class to function 2022-03-19 15:32:02 +01:00
Miquel A. Cabot
1e12ddd630 refactor TestContractHandler.getAccounts() 2022-03-18 18:21:27 +01:00
Miquel A. Cabot
f0a008ce89 use imports from TestContractHandler instead of parameters 2022-03-18 17:27:20 +01:00
Miquel A. Cabot
f0bc8289c1 rewrite TestContractHandler helper class 2022-03-18 15:18:03 +01:00
Miquel A. Cabot
4babe6d4bb Merge branch 'issue-1246-use-confighelper-in-tests' into issue-1292-fix-compute-test-timeout 2022-03-18 15:12:10 +01:00
Miquel A. Cabot
85e5594185 update package-lock file 2022-03-18 15:11:04 +01:00
Miquel A. Cabot
cf5437a103 use getAddresses config function in TestContractHandler 2022-03-18 13:00:06 +01:00
Miquel A. Cabot
8a8460d4fc update package-lock file 2022-03-17 16:13:40 +01:00
Miquel A. Cabot
c92f263741 add PROVIDER_URL environment variable 2022-03-17 16:12:13 +01:00
Miquel A. Cabot
aa9f52b83d add PROVIDER_URL environment variable 2022-03-17 16:04:01 +01:00
Miquel A. Cabot
f5727fc82b fix unitsToAmount import problem after merge main branch 2022-03-16 15:13:37 +01:00
Miquel A. Cabot
db0c9a6cdb
Merge branch 'v4main' into issue-1246-use-confighelper-in-tests 2022-03-16 14:30:24 +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
1a3c20bfbc add configuration script for the tests 2022-03-16 13:05:05 +01:00
mihaisc
6675de4e36
Release 1.0.0-next.28 v1.0.0-next.28 2022-03-16 12:47:28 +02:00
Norbi
a0e43235dd
Replace toWei/fromWei when base token conversion (#1318)
* replaced toWei inside FRE

* added amountToUnits for maxPrice inside pool

* replaced fromWei

* add web3 param to getPoolCreationParams

* added await before amountToUnits inside swapExactAmount

* swapExactAmount update

* add await to unitsToAmount inside setRate

* convert newRate to string

* replaced unitToAmounts with amountToUnits inside setRate

* replace unitToAmounts with amountToUnits

* added await

* replaced String() with toSting()

* replaced String() in Provider

* transform newRate into wei inside estimateSetRate

* replace toWei inside getFreCreationParams

* added web3 param to getFreCreationParams

* add amountToUnits inside getFreOrderParams

* added logs

* removed unitsToAmount from fixed rate

* removed amountToUnits inside marketFee

* removed logs
2022-03-16 12:44:53 +02:00
md0x
a4a3e8abb8
Make metadataProofs optional in setMetadataAndTokenURI (#1336)
* Make metadataProofs optional in setMetadataAndTokenURI

Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com>

* Add empty array if not metadataProofs

Signed-off-by: Pablo Maldonado <pablo@oceanprotocol.com>
2022-03-16 09:52:41 +00: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
Miquel A. Cabot
ac5bbf7922 use ip number instead of localhost in config file 2022-03-15 18:44:58 +01:00
mihaisc
d8a7d42a9e
fix moonbase urls (#1337)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-14 16:56:55 +02:00
alexcos20
d3fcdd0d56 Release 1.0.0-next.27 v1.0.0-next.27 2022-03-14 05:24:30 -07:00
Alex Coseru
9b724d71bd
Feature/contracts alpha 22 (#1334)
* bump contracts to alpha 22
2022-03-14 14:23:16 +02:00