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

1846 Commits

Author SHA1 Message Date
dependabot[bot]
67daf9a79d
Bump ora from 5.4.0 to 5.4.1 (#846)
Bumps [ora](https://github.com/sindresorhus/ora) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v5.4.0...v5.4.1)

---
updated-dependencies:
- dependency-name: ora
  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>
2021-06-17 10:09:58 +02:00
dependabot[bot]
51a30a5d90
Bump release-it from 14.8.0 to 14.9.0 (#845)
Bumps [release-it](https://github.com/release-it/release-it) from 14.8.0 to 14.9.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.8.0...14.9.0)

---
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>
2021-06-17 10:09:40 +02:00
Jamie Hewitt
02693021b1
Merge pull request #842 from oceanprotocol/issue-741-update-docs-getPastEvents
Update docs about 'getPreviousValidOrders' only working on Eth
2021-06-15 16:35:07 +03:00
dependabot[bot]
b37588c302
Bump eslint from 7.27.0 to 7.28.0 (#830)
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.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.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  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>
2021-06-15 14:43:35 +02:00
dependabot[bot]
38f39ce9a5
Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.27.0 (#843)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.26.0 to 4.27.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.27.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  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>
2021-06-15 14:09:18 +02:00
dependabot[bot]
112066a2ff
Bump mocha from 8.4.0 to 9.0.0 (#840)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.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.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 14:09:08 +02:00
Bogdan Fazakas
666da8156f
Merge pull request #828 from oceanprotocol/feature/issue777-add-ddo-param-when-did-exists
Add also DDO object param where DID param is available
2021-06-15 12:19:03 +03:00
Jamie Hewitt
a71666d236 commenting on the code 2021-06-14 16:15:35 +03:00
Jamie Hewitt
3cfd3e4db4 fixing formatting 2021-06-14 16:10:25 +03:00
Jamie Hewitt
9126ef19b4 updating readme 2021-06-14 16:08:26 +03:00
dependabot[bot]
c5ba56e120
Bump microbundle from 0.13.1 to 0.13.3 (#839)
Bumps [microbundle](https://github.com/developit/microbundle) from 0.13.1 to 0.13.3.
- [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.13.1...v0.13.3)

---
updated-dependencies:
- dependency-name: microbundle
  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>
2021-06-14 14:51:14 +02:00
dependabot[bot]
405dd0955e
Bump release-it from 14.7.0 to 14.8.0 (#832)
Bumps [release-it](https://github.com/release-it/release-it) from 14.7.0 to 14.8.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.7.0...14.8.0)

---
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>
2021-06-10 10:01:38 +03:00
dependabot[bot]
99682f255a
Bump @types/node from 15.12.0 to 15.12.2 (#835)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.12.0 to 15.12.2.
- [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>
2021-06-10 10:01:22 +03:00
Bogdan Fazakas
4e02a1b2a5 small refactor 2021-06-09 10:44:59 +03:00
Bogdan Fazakas
4f9ed04086 sent ocean instance param to asset resolve helper 2021-06-08 17:24:54 +03:00
Bogdan Fazakas
0786c32a7b fixed lint errors 2021-06-08 14:06:23 +03:00
Bogdan Fazakas
200e0d8832 staged helper file 2021-06-08 09:08:51 +03:00
Bogdan Fazakas
c88680f100 added AssetResolverHelper 2021-06-08 09:08:24 +03:00
Bogdan Fazakas
c9c983aaed Merge branch 'main' into feature/issue777-add-ddo-param-when-did-exists 2021-06-07 11:13:03 +03:00
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
alexcos20
727a55046c Release 0.15.1 v0.15.1 2021-06-03 23:45:05 -07:00
alexcos20
6735e8a33f fix version 2021-06-03 23:42:43 -07:00
dependabot[bot]
c50a6271b5
Bump microbundle from 0.13.0 to 0.13.1 (#820)
Bumps [microbundle](https://github.com/developit/microbundle) from 0.13.0 to 0.13.1.
- [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.13.0...v0.13.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 09:14:09 +03:00
dependabot[bot]
a4ab65d9b2
Bump @types/node from 15.9.0 to 15.12.0 (#829)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.9.0 to 15.12.0.
- [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-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 09:13:36 +03:00
dependabot[bot]
5f88d5a925
Bump @typescript-eslint/eslint-plugin from 4.25.0 to 4.26.0 (#824)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.25.0 to 4.26.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.26.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-06-03 17:50:28 +03:00
dependabot[bot]
1d21d761bf
Bump @typescript-eslint/parser from 4.25.0 to 4.26.0 (#823)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.25.0 to 4.26.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.26.0/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 17:50:15 +03:00
dependabot[bot]
89d73af02c
Bump @types/node from 15.6.1 to 15.9.0 (#826)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.6.1 to 15.9.0.
- [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-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 14:18:07 +03:00
Alex Coseru
5555b2a73a
Add order checks for credentials (#827)
* Add order checks for credentials
2021-06-03 14:14:01 +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
kianyee
0f46959dfa
Feature/credentials support in asset (#787)
* [KianYee] Add credentials in DDO

Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2021-06-02 16:51:13 +03:00
Kris Liew
9f0b5dd6ff
add "valid" boolean in File.ts (#825)
* add "valid" boolean in File.ts
2021-06-02 15:58:07 +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