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

2221 Commits

Author SHA1 Message Date
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
dependabot[bot]
da664ccbfe
Bump mocha from 9.2.1 to 9.2.2 (#1332)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.1 to 9.2.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.1...v9.2.2)

---
updated-dependencies:
- dependency-name: mocha
  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-14 06:25:12 +02:00
e9f32c729a
Release 1.0.0-next.26 v1.0.0-next.26 2022-03-11 11:06:47 +00:00
f97727dd36
update ServiceComputeOptions (#1330) 2022-03-11 11:05:08 +00:00
Norbi
bd32b950a8
dispenser creation: transform maxTokens and maxBalance to wei (#1328) 2022-03-11 11:04:55 +00:00
dependabot[bot]
b543c63ec7
Bump @truffle/hdwallet-provider from 2.0.3 to 2.0.4 (#1329)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@2.0.4/packages/hdwallet-provider)

---
updated-dependencies:
- dependency-name: "@truffle/hdwallet-provider"
  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-11 10:54:23 +00:00
b403130e2d
Release 1.0.0-next.25 v1.0.0-next.25 2022-03-08 10:42:42 +00:00
dependabot[bot]
a462f2f0e8
Bump ts-node from 10.6.0 to 10.7.0 (#1327)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.6.0 to 10.7.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.6.0...v10.7.0)

---
updated-dependencies:
- dependency-name: ts-node
  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-07 09:10:55 +02:00
dependabot[bot]
b33955e416
Bump typedoc from 0.22.12 to 0.22.13 (#1326)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.12 to 0.22.13.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.12...v0.22.13)

---
updated-dependencies:
- dependency-name: typedoc
  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-07 09:10:48 +02:00
mihaisc
b1eb329a81
fix url (#1325)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-03 19:43:54 +02:00
dependabot[bot]
87f43addc8
Bump web3 from 1.7.0 to 1.7.1 (#1323)
* Bump web3 from 1.7.0 to 1.7.1

Bumps [web3](https://github.com/ethereum/web3.js) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/ethereum/web3.js/releases)
- [Changelog](https://github.com/ChainSafe/web3.js/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/ethereum/web3.js/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: web3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* bump all web3.js packages to v1.7.1

* npm audit fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-03 15:12:05 +00:00
dependabot[bot]
9a63cc0565
Bump eslint-config-prettier from 8.4.0 to 8.5.0 (#1324)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.4.0...v8.5.0)

---
updated-dependencies:
- dependency-name: eslint-config-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-03 12:25:12 +00:00
dependabot[bot]
0fe4f7c184
Bump ts-node from 10.5.0 to 10.6.0 (#1319)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.5.0...v10.6.0)

---
updated-dependencies:
- dependency-name: ts-node
  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-03 11:28:53 +00:00
dependabot[bot]
76ec1054af
Bump typescript from 4.5.5 to 4.6.2 (#1317)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.5...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  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-03 11:28:38 +00:00
dependabot[bot]
95192de568
Bump @types/node from 17.0.19 to 17.0.21 (#1310)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.19 to 17.0.21.
- [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-03 11:28:21 +00:00
Soon Huat
dfb42e5464
services specific additional information (#1311)
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-02-24 03:15:39 -08:00
Trent McConaghy
81b18493ff
Update README: harmonize with ocean.py's v4 changes
ocean.py v4 README: https://raw.githubusercontent.com/oceanprotocol/ocean.py/v4main/README.md
2022-02-24 10:23:23 +01:00
Trent McConaghy
28a48f5b5a
2021 -> 2022 2022-02-24 10:18:29 +01:00
dependabot[bot]
74ddda52ed
Bump release-it from 14.12.4 to 14.12.5 (#1308)
Bumps [release-it](https://github.com/release-it/release-it) from 14.12.4 to 14.12.5.
- [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.4...14.12.5)

---
updated-dependencies:
- dependency-name: release-it
  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-02-23 11:17:40 +02:00
mihaisc
91168527fc Release 1.0.0-next.24 v1.0.0-next.24 2022-02-23 10:56:50 +02:00
mihaisc
c930b59c24
fix export (#1309) 2022-02-23 00:56:01 -08:00
mihaisc
aadd1458ba Release 1.0.0-next.23 v1.0.0-next.23 2022-02-22 18:38:37 +02:00
mihaisc
1a12a4bd89
Calculating max swap/liquidity (#1306)
* calc max

* more  max checks

* fix description
2022-02-22 08:37:41 -08:00
dependabot[bot]
7fed0aa957
Bump @types/node from 17.0.18 to 17.0.19 (#1305)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.18 to 17.0.19.
- [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-02-22 09:41:32 +02:00
ff0653c883
Release 1.0.0-next.22 v1.0.0-next.22 2022-02-21 13:32:50 +00:00
Bogdan Fazakas
ba962c0805
fix estGas for setMetadata call (#1303) 2022-02-21 13:31:26 +00:00
dependabot[bot]
36fa91f1dc
Bump eslint-config-prettier from 8.3.0 to 8.4.0 (#1301)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.3.0 to 8.4.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.3.0...v8.4.0)

---
updated-dependencies:
- dependency-name: eslint-config-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-02-21 07:12:28 +02:00
dependabot[bot]
7719a95bf1
Bump typedoc from 0.22.11 to 0.22.12 (#1300)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.11 to 0.22.12.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.22.11...v0.22.12)

---
updated-dependencies:
- dependency-name: typedoc
  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-02-21 07:12:21 +02:00
dependabot[bot]
ab3eee475c
Bump mocha from 9.2.0 to 9.2.1 (#1299)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.0...v9.2.1)

---
updated-dependencies:
- dependency-name: mocha
  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-02-21 07:12:12 +02:00
mihaisc
ce8842701a Release 1.0.0-next.21 v1.0.0-next.21 2022-02-17 11:18:16 +02:00
mihaisc
6a70f48cfc
Update contracts (#1297)
* add categories to metadata

* update contracts

* fix
2022-02-17 11:17:02 +02:00
alexcos20
cb8b52c6e1 Release 1.0.0-next.20 v1.0.0-next.20 2022-02-16 08:26:34 -08:00
Alex Coseru
7932a845d5
bump to contracts alpha.20 (#1295)
* bump to contracts alpha.20

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-02-16 18:25:17 +02:00