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

1617 Commits

Author SHA1 Message Date
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
Kris Liew
2fb83f97a9
Add ocean.assets.isConsumable function (#786)
* isDisable check

* check isConsumable for order()

* Attempt add integration test

* feedback change

* Replace 'isDisabled' with 'isOrderDisabled'

* Update integration test

* Attempt 1 fix integration test

Co-authored-by: KRIS LIEW <iforte.intellege.liew@daimler.com>
2021-06-02 20:18:58 +08:00
Alex Coseru
6ce02ec17c
fix ddo encrypt for browsers (#822)
* fix ddo encrypt for browsers
Warning: needs aquarius >= 2.2.12
2021-05-28 12:53:47 +03:00
Kris Liew
9df93b71cb
add type 'free' to BestPrice (#821) 2021-05-28 11:48:25 +03:00
dependabot[bot]
5302079ed0
Bump typescript from 4.2.4 to 4.3.2 (#819)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 17:14:34 +02:00
dependabot[bot]
59dd3b1a0c
Bump @truffle/hdwallet-provider from 1.3.0 to 1.4.0 (#816)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@1.4.0/packages/hdwallet-provider)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 17:14:20 +02:00
dependabot[bot]
afc4742892
Bump mocha from 8.3.2 to 8.4.0 (#817)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.2 to 8.4.0.
- [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/v8.3.2...v8.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 13:08:25 +02:00
Bogdan Fazakas
a6c9c70e8e
Fix/ Order method should throw error messages (#803)
* throw error when order methods fail, updated integration tests accordingly

* throw error for startOrder method & update error messages

* updated assert messages and added asserts in try block
2021-05-25 16:00:13 +02:00
dependabot[bot]
fd01736802
Bump @oceanprotocol/contracts from 0.6.2 to 0.6.3 (#814)
Bumps [@oceanprotocol/contracts](https://github.com/oceanprotocol/contracts) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/oceanprotocol/contracts/releases)
- [Changelog](https://github.com/oceanprotocol/contracts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/contracts/compare/v0.6.2...v0.6.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 15:57:46 +02:00
dependabot[bot]
acc8ea139a
Bump release-it from 14.6.1 to 14.7.0 (#815)
* Bump release-it from 14.6.1 to 14.7.0

Bumps [release-it](https://github.com/release-it/release-it) from 14.6.1 to 14.7.0.
- [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.6.1...14.7.0)

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

* release-it updates

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 15:56:52 +02:00
dependabot[bot]
a7119177e8
Bump auto-changelog from 2.2.1 to 2.3.0 (#813)
Bumps [auto-changelog](https://github.com/CookPete/auto-changelog) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/CookPete/auto-changelog/releases)
- [Changelog](https://github.com/cookpete/auto-changelog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/CookPete/auto-changelog/compare/v2.2.1...v2.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 15:34:10 +02:00
dependabot[bot]
77e49efad8
Bump @types/node from 15.0.2 to 15.6.1 (#810)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.0.2 to 15.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 11:22:10 +02:00
Alex Coseru
497927a0f4
remove all doo price tests (#805) 2021-05-25 12:19:31 +03:00
dependabot[bot]
cfbc6a4642
Bump ts-node from 9.1.1 to 10.0.0 (#811)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.1.1 to 10.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.1...v10.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 10:41:50 +02:00
dependabot[bot]
9a443c1b66
Bump @typescript-eslint/parser from 4.22.1 to 4.25.0 (#812)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.1 to 4.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.25.0/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 10:13:01 +02:00
dependabot[bot]
bfea32eecb
Bump web3-eth-contract from 1.3.5 to 1.3.6 (#802)
* Bump web3-eth-contract from 1.3.5 to 1.3.6

Bumps [web3-eth-contract](https://github.com/ethereum/web3.js) from 1.3.5 to 1.3.6.
- [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.3.5...v1.3.6)

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

* bump web3 to 1.3.6

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 08:59:51 +02:00
dependabot[bot]
ba64eeb39a
Bump prettier from 2.2.1 to 2.3.0 (#793)
* Bump prettier from 2.2.1 to 2.3.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.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.2.1...2.3.0)

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

* prettier updates

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 08:27:53 +02:00
dependabot[bot]
7c4fb05cc0
Bump @types/chai from 4.2.17 to 4.2.18 (#797)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.2.17 to 4.2.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 07:51:01 +02:00
dependabot[bot]
2d94480539
Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.25.0 (#809)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.1 to 4.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.25.0/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 07:50:40 +02:00
dependabot[bot]
0c837441dd
Bump eslint from 7.25.0 to 7.27.0 (#808)
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.27.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 07:50:27 +02:00
Jamie Hewitt
e3c8a1ae30
Merge pull request #804 from oceanprotocol/issue-699-updating-npm
building package-lock.json with npm v7
2021-05-21 11:20:44 +03:00
Jamie Hewitt
25aa8a11e0 less specific node version 2021-05-20 13:36:41 +03:00
Jamie Hewitt
2a75ef7dc8 creating nvmrc file 2021-05-20 12:58:16 +03:00
Jamie Hewitt
5aa8d7d101 building package.json with npm v7 2021-05-19 16:01:42 +03:00
dependabot[bot]
36bf4af36f
Bump mocha from 8.3.2 to 8.4.0 (#801)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.2 to 8.4.0.
- [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/v8.3.2...v8.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 18:00:45 +03:00
dependabot[bot]
73059eb3a4
Bump release-it from 14.6.1 to 14.6.2 (#795)
Bumps [release-it](https://github.com/release-it/release-it) from 14.6.1 to 14.6.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.6.1...14.6.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 17:42:25 +03:00
dependabot[bot]
9c213c2d33
Bump lodash from 4.17.19 to 4.17.21 (#799)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 12:02:07 +03:00
dependabot[bot]
f391cb8ec9
Bump @truffle/hdwallet-provider from 1.3.0 to 1.4.0 (#800)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle/tree/HEAD/packages/hdwallet-provider) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/commits/@truffle/hdwallet-provider@1.4.0/packages/hdwallet-provider)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 12:01:38 +03:00
alexcos20
804a6a62fa Release 0.14.9 v0.14.9 2021-05-11 01:11:07 -07:00
Alex Coseru
92b4be0dce
Feature/dispenser (#790)
* add dispenser support

* bump contracts to 0.6.2
2021-05-10 18:42:19 +03:00
dependabot[bot]
f7a91c7b3c
Bump handlebars from 4.7.6 to 4.7.7 (#791)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 19:40:53 +03:00
Jamie Hewitt
53b401dcd0 Revert "creating interface for the dispenser contract"
This reverts commit 413b17e668a4d92e2ab9d43092b604bc2b2f2914.
2021-05-07 13:56:35 +03:00
Jamie Hewitt
603e512f8a Revert "instantiate Dispenser"
This reverts commit 4727f226ce59353fda75542d382bc804db838198.
2021-05-07 13:56:18 +03:00
Jamie Hewitt
4727f226ce instantiate Dispenser 2021-05-07 12:57:59 +03:00
Jamie Hewitt
413b17e668 creating interface for the dispenser contract 2021-05-07 12:53:15 +03:00
dependabot[bot]
f2d2463d87
Bump @types/node from 15.0.1 to 15.0.2 (#785)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 13:37:51 +03:00
dependabot[bot]
8a3a24721c
Bump @typescript-eslint/parser from 4.22.0 to 4.22.1 (#784)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.0 to 4.22.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 13:37:46 +03:00
dependabot[bot]
a872d3efd2
Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1 (#783)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.0 to 4.22.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.1/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 13:37:29 +03:00
ae464774a4
Release 0.14.8 v0.14.8 2021-04-30 15:25:23 +02:00
012f495000
update CodeClimate badges (#782) 2021-04-30 15:06:50 +02:00
Alex Coseru
3a5569b12f
Feature/use decimal in pool (#775)
* change default gas settings

* check allowance & fix gas estimate

* use Decimal

* fix estimateGas for new Pools
2021-04-30 16:02:18 +03:00
Alex Coseru
c544eaf446
lock ocean-contracts to 0.5.16 (#781) 2021-04-30 15:00:34 +02:00
dependabot[bot]
c528fe34e4
Bump @types/node from 15.0.0 to 15.0.1 (#776)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.0.0 to 15.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-28 09:34:56 +03:00
dependabot[bot]
4b298e5f34
Bump @types/node from 14.14.41 to 15.0.0 (#773)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.41 to 15.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 12:05:47 +03:00
dependabot[bot]
4bdaf09c4f
Bump @types/chai from 4.2.16 to 4.2.17 (#774)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.2.16 to 4.2.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 12:05:38 +03:00
dependabot[bot]
85246a333b
Bump typedoc from 0.20.35 to 0.20.36 (#768)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.20.35 to 0.20.36.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.20.35...v0.20.36)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 07:52:00 +03:00
dependabot[bot]
45ebc85d38
Bump eslint from 7.24.0 to 7.25.0 (#767)
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.24.0...v7.25.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 07:51:54 +03:00
dependabot[bot]
2adc89703f
Bump eslint-config-prettier from 8.2.0 to 8.3.0 (#769)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.2.0 to 8.3.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.2.0...v8.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 07:51:45 +03:00
dependabot[bot]
151a6ac406
Bump @truffle/hdwallet-provider from 1.2.6 to 1.3.0 (#770)
Bumps [@truffle/hdwallet-provider](https://github.com/trufflesuite/truffle) from 1.2.6 to 1.3.0.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/compare/@truffle/hdwallet-provider@1.2.6...@truffle/hdwallet-provider@1.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-26 07:51:40 +03:00