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

2337 Commits

Author SHA1 Message Date
Miquel A. Cabot
68030a6d0d Merge branch 'v4main' into issue-1437-marketplace-flow-integration-test-for-v4 2022-04-28 18:03:44 +02:00
Miquel A. Cabot
58ce4ee358 Merge branch 'v4main' into issue-1425-use-proper-config-in-constructors 2022-04-28 18:03:05 +02:00
Miquel A. Cabot
7354814f49 fix consumer address 2022-04-28 09:37:39 +02:00
Miquel A. Cabot
8060ad683b fix OCEAN address 2022-04-28 09:29:01 +02:00
Miquel A. Cabot
7bb77d6443 fix lint issues 2022-04-28 09:18:28 +02:00
Miquel A. Cabot
8e1e3ec06b send OCEAN tokens to consumer account 2022-04-28 09:16:19 +02:00
Miquel A. Cabot
431808777c add markdown comments 2022-04-28 09:10:19 +02:00
Miquel A. Cabot
06c1046943 update provider url 2022-04-28 08:53:03 +02:00
dependabot[bot]
86d1db4089
Bump ejs from 3.1.6 to 3.1.7 (#1444)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 00:34:54 +02:00
dependabot[bot]
f934fe5796
Bump @types/node from 17.0.25 to 17.0.29 (#1441)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.25 to 17.0.29.
- [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-04-27 22:33:43 +02:00
dependabot[bot]
c27153f3ae
Bump microbundle from 0.14.2 to 0.15.0 (#1442)
Bumps [microbundle](https://github.com/developit/microbundle) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/developit/microbundle/releases)
- [Changelog](https://github.com/developit/microbundle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/developit/microbundle/compare/v0.14.2...v0.15.0)

---
updated-dependencies:
- dependency-name: microbundle
  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-04-27 22:33:22 +02:00
Miquel A. Cabot
77db0f7e9f add markdown documentation comments 2022-04-27 17:57:21 +02:00
Jamie Hewitt
64c464239c Adding introduction to code examples guide + updating the main readme 2022-04-27 17:23:18 +03:00
Miquel A. Cabot
af28d889cd add aquarius.waitForAqua() 2022-04-27 10:52:33 +02:00
Miquel A. Cabot
5745ba4d94 show initializeData 2022-04-27 10:38:49 +02:00
Miquel A. Cabot
ca1fb45797 consumer buys data asset, and downloads it 2022-04-27 10:31:19 +02:00
Miquel A. Cabot
992220abfc add MarketplaceFlow test code 2022-04-26 15:15:08 +02:00
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
dependabot[bot]
8fb467f062
Bump @types/mocha from 9.1.0 to 9.1.1 (#1431)
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)

---
updated-dependencies:
- dependency-name: "@types/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-04-22 08:12:23 +03:00
dependabot[bot]
7817725cfe
Bump @truffle/hdwallet-provider from 2.0.6 to 2.0.7 (#1432)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@2.0.7/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-04-22 03:38:45 +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
mihaisc
e72055f4c7
Release 1.0.0-next.37 v1.0.0-next.37 2022-04-20 17:39:27 +03:00
Miquel A. Cabot
b259b16d45 use getConfig(network) function to get proper configuration 2022-04-20 16:33:06 +02:00
mihaisc
00e2edc3b0
test old package lock (#1429)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-20 17:24:07 +03:00
mihaisc
548f31ced3
fix (#1426)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-20 16:49:27 +03:00
Bogdan Fazakas
f96ccb0c56
Add reuseOrder method (#1421)
* added reuseOrder method

* wip add test to reuseOrder

* update test

* check also ProviderFee event
2022-04-20 16:42:07 +03:00
dependabot[bot]
bd5202ead9
Bump @types/node from 17.0.24 to 17.0.25 (#1423)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.24 to 17.0.25.
- [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-04-20 10:52:03 +03:00
dependabot[bot]
a92ad7115b
Bump @types/node from 17.0.23 to 17.0.24 (#1422)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.23 to 17.0.24.
- [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-04-15 07:25:26 +03:00
c4a5f9e5ad
Release 1.0.0-next.36 v1.0.0-next.36 2022-04-15 00:48:49 +01: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
alexcos20
80bf5cc33f Release 1.0.0-next.35 v1.0.0-next.35 2022-04-14 08:21:15 -07:00
Alex Coseru
29c5c8b60e
fix mm signature (#1420)
* fix mm signature
2022-04-14 18:19:56 +03:00
Soon Huat
628c2fc1fc
setPaymentCollector apply same checking as contract (#1396)
* setPaymentCollector apply same checking as contract

* unit test for setPaymentCollector for owner and erc20 deployer

* setPaymentCollector amend redundent truth check on boolean value

Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-04-14 15:43:01 +01:00
alexcos20
58ced6cb61 Release 1.0.0-next.34 v1.0.0-next.34 2022-04-14 06:53:51 -07:00
Alex Coseru
e964b2a4a4
refactor signatures (#1395)
* refactor signatures
2022-04-14 16:52:12 +03:00
dependabot[bot]
4dba394fbc
Bump @types/chai from 4.3.0 to 4.3.1 (#1417)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  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-04-14 07:05:33 +03:00
dependabot[bot]
0ffa3edb2f
Bump @truffle/hdwallet-provider from 2.0.5 to 2.0.6 (#1418)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@2.0.6/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-04-14 06:52:41 +03:00
Miquel A. Cabot
d6f2daa522
Merge pull request #1382 from oceanprotocol/issue-1353-rewrite-router-test
Issue-#1353: Rewrite Router test
2022-04-12 09:42:05 +02:00
Miquel A. Cabot
21a7b739f4
Merge pull request #1414 from oceanprotocol/issue-1413-refactor-zero-address-constant
Issue-#1413: Refactor ZERO_ADDRESS constant
2022-04-12 09:41:10 +02:00
Miquel A. Cabot
db866d271c
Merge pull request #1411 from oceanprotocol/issue-1410-export-router-and-sidestaking-classes
Issue-#1410: Export Router and SideStaking classes
2022-04-12 09:41:02 +02:00
dependabot[bot]
7d3505166d
Bump prettier from 2.6.1 to 2.6.2 (#1388)
Bumps [prettier](https://github.com/prettier/prettier) from 2.6.1 to 2.6.2.
- [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.1...2.6.2)

---
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-04-12 08:42:52 +03:00
dependabot[bot]
ef0bd81923
Bump release-it from 14.14.1 to 14.14.2 (#1415)
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.1 to 14.14.2.
- [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.14.1...14.14.2)

---
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-04-12 06:31:04 +03:00
Miquel A. Cabot
ec10f43ac7 Use ZERO_ADDRESS constant in src folder files 2022-04-11 13:19:26 +02:00
Miquel A. Cabot
56740e892a export Router and Sidestaking classes 2022-04-11 12:25:21 +02:00
dependabot[bot]
149ea08371
Bump typedoc from 0.22.14 to 0.22.15 (#1407)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.14 to 0.22.15.
- [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.14...v0.22.15)

---
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-04-11 07:32:30 +03:00
dependabot[bot]
15bc9d83c0
Bump @truffle/hdwallet-provider from 2.0.4 to 2.0.5 (#1408)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@2.0.5/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-04-11 07:32:17 +03:00
dependabot[bot]
bec034d04c
Bump release-it from 14.14.0 to 14.14.1 (#1405)
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.0 to 14.14.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.14.0...14.14.1)

---
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-04-11 07:31:38 +03:00