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

3169 Commits

Author SHA1 Message Date
Alex Coseru
6f653fbdc0
fix sepolia (#1794) 2023-12-14 12:33:50 +02:00
alexcos20
f92e2ff09e Release 3.2.1 v3.2.1 2023-12-05 15:38:13 +02:00
Ana
9918d5ff36
Merge pull request #1792 from oceanprotocol/bugfix/multiple_assets
Fix for running c2d jobs with additional datasets
2023-12-05 15:36:44 +02:00
alexcos20
e71159e0a1 fix runner missing images 2023-12-05 15:27:41 +02:00
Ana Loznianu
687915b20e Merge branch 'main' into bugfix/multiple_assets 2023-12-05 15:25:29 +02:00
Alex Coseru
0dbe977909
Use latest barge (#1788) 2023-12-05 15:25:00 +02:00
Ana Loznianu
4afa0699ee Fix for running c2d jobs with additional datasets 2023-12-05 15:19:50 +02:00
alexcos20
d98e4db340 Release 3.2.0 v3.2.0 2023-11-24 15:14:52 +02:00
dependabot[bot]
02c9bfd654
Bump eslint from 8.24.0 to 8.52.0 (#1783)
Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.52.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.52.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>
2023-11-24 15:12:37 +02:00
Alex Coseru
91460b9cf5
bump contracts & add optimism (#1786)
* bump contracts

* fix contracts

* add optimism

* use upcoming barge

* update fre tests

* make sure all fres are withMint
2023-11-24 15:12:21 +02:00
dependabot[bot]
4e86a2d505
Bump crypto-js from 4.1.1 to 4.2.0 (#1782)
Bumps [crypto-js](https://github.com/brix/crypto-js) from 4.1.1 to 4.2.0.
- [Commits](https://github.com/brix/crypto-js/compare/4.1.1...4.2.0)

---
updated-dependencies:
- dependency-name: crypto-js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 19:51:56 +03:00
Bogdan Fazakas
b2e2cf2429 Release 3.1.4 v3.1.4 2023-10-24 16:24:16 +03:00
Bogdan Fazakas
01248ff9a7
make sure we increment a number when working with nonces (#1781) 2023-10-24 16:22:08 +03:00
Bogdan Fazakas
1bc5a39fda Release 3.1.3 v3.1.3 2023-10-16 23:38:24 +03:00
Bogdan Fazakas
38cc02849e
fix fs use & error handling (#1777)
* fix fs use

* Release 3.1.3-next.0

* update error handling

* Release 3.1.3-next.1
2023-10-16 23:26:30 +03:00
dependabot[bot]
b599093901
Bump postcss from 8.4.5 to 8.4.31 (#1778)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.5 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.5...8.4.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 13:17:31 +03:00
dependabot[bot]
c3ba01cc4e
Bump @types/crypto-js from 4.1.1 to 4.1.2 (#1774)
Bumps [@types/crypto-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/crypto-js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/crypto-js)

---
updated-dependencies:
- dependency-name: "@types/crypto-js"
  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>
2023-10-02 14:24:40 +03:00
dependabot[bot]
74b187d1da
Bump @types/chai-spies from 1.0.3 to 1.0.4 (#1776)
Bumps [@types/chai-spies](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai-spies) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai-spies)

---
updated-dependencies:
- dependency-name: "@types/chai-spies"
  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>
2023-10-02 14:24:30 +03:00
Bogdan Fazakas
a157154f85 Release 3.1.2 v3.1.2 2023-09-25 09:22:50 +03:00
Bogdan Fazakas
8f28f3b029
Feature/ Use custom addresses & fallback signature to legacy (#1772)
* add fixes

* added logs

* added missed fs call

* debug ci

* add more checks

* fix custom addr check
2023-09-25 07:46:38 +03:00
dependabot[bot]
fc0782be5c
Bump typedoc from 0.24.8 to 0.25.1 (#1770)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.24.8 to 0.25.1.
- [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.24.8...v0.25.1)

---
updated-dependencies:
- dependency-name: typedoc
  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>
2023-09-22 14:32:26 +03:00
dependabot[bot]
91110290d4
Bump cross-fetch from 3.1.5 to 4.0.0 (#1764)
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 3.1.5 to 4.0.0.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Changelog](https://github.com/lquixada/cross-fetch/blob/v4.x/CHANGELOG.md)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.5...v4.0.0)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: direct:production
  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>
2023-09-22 14:32:18 +03:00
dependabot[bot]
343df5eb97
Bump eslint-config-prettier from 8.5.0 to 9.0.0 (#1763)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.5.0 to 9.0.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.5.0...v9.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  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>
2023-09-22 14:32:10 +03:00
Alex Coseru
6130a3df99
optimize disk space (#1771) 2023-09-21 16:32:58 +03:00
Yannick Meinberg
aa0905ed47
Added gen-x-testnet to ConfigHelper (#1741)
- See https://docs.genx.minimal-gaia-x.eu/docs/development/quick_start/
2023-09-05 09:48:28 +03:00
Alex Coseru
5062b6d2b7
Remove custom contracts (#1769)
* Remove custom contracts

* Updating CodeExamples.md

---------

Co-authored-by: GitHub Actions Bot <>
2023-09-05 09:42:07 +03:00
Bogdan Fazakas
e5f36f94aa Release 3.1.1 v3.1.1 2023-09-04 12:27:08 +03:00
Bogdan Fazakas
cf0c1221a9
fix compute stop & uptade order helper to be reused also for c2d oreder methods (#1761) 2023-09-04 09:35:09 +03:00
dependabot[bot]
01822d81c5
Bump mock-local-storage from 1.1.23 to 1.1.24 (#1738)
Bumps [mock-local-storage](https://gitlab.com/kaictl/node/mock-local-storage) from 1.1.23 to 1.1.24.
- [Release notes](https://gitlab.com/kaictl/node/mock-local-storage/tags)
- [Commits](https://gitlab.com/kaictl/node/mock-local-storage/compare/v1.1.23...v1.1.24)

---
updated-dependencies:
- dependency-name: mock-local-storage
  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>
2023-08-28 11:14:48 +03:00
Bogdan Fazakas
bc22ea3447 Release 3.1.0 v3.1.0 2023-08-25 17:56:19 +03:00
Bogdan Fazakas
faa7de3601
Feature/Add order util method (#1759)
* added order  helper method using contracts calls

* fixes consume fees  & lint

* cleanup

* update order helper method to be more generic

* fix all warnings
2023-08-25 17:33:06 +03:00
dependabot[bot]
2724e63bff
Bump typescript from 4.8.4 to 5.1.6 (#1743)
* Bump typescript from 4.8.4 to 5.1.6

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.4 to 5.1.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

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

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

* bump typescript eslint

* bump typedoc

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2023-08-23 16:10:26 +03:00
dependabot[bot]
dcb2488ca7
Bump word-wrap from 1.2.3 to 1.2.4 (#1753)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 14:06:02 +03:00
dependabot[bot]
b701fbbdb2
Bump typedoc-plugin-markdown from 3.15.2 to 3.15.4 (#1756)
Bumps [typedoc-plugin-markdown](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown) from 3.15.2 to 3.15.4.
- [Release notes](https://github.com/tgreyuk/typedoc-plugin-markdown/releases)
- [Changelog](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/master/packages/typedoc-plugin-markdown/CHANGELOG.md)
- [Commits](https://github.com/tgreyuk/typedoc-plugin-markdown/commits/typedoc-plugin-markdown@3.15.4/packages/typedoc-plugin-markdown)

---
updated-dependencies:
- dependency-name: typedoc-plugin-markdown
  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>
2023-08-02 14:00:44 +03:00
Bogdan Fazakas
46ca3d534b Release 3.0.4 v3.0.4 2023-08-01 20:27:07 +03:00
Bogdan Fazakas
a50cd5bb00
Fix/ Download file browser (#1758)
* remove head call for download file browser helper method

* fix lint
2023-08-01 20:23:36 +03:00
Bogdan Fazakas
96568ed250 Release 3.0.3 v3.0.3 2023-07-31 13:38:39 +03:00
Bogdan Fazakas
808178291d
Update provider nonce handling (#1747)
* Updates the usage of nonce

* nonce method updates

* fix lint

* remove double resolve for the response

* use provider invalid-signature image and comm update docs

* print errro

* set a default value if nonce received is null

* fix issue with consumer address on download

* remove parse int

* skip compute tests

* Updating CodeExamples.md

* put back compute tests

* prepare for release

* use older contracts

---------

Co-authored-by: GitHub Actions Bot <>
2023-07-31 13:21:05 +03:00
Bogdan Fazakas
ff5fcd7f22 Release 3.0.2 v3.0.2 2023-07-14 14:00:49 +03:00
Bogdan Fazakas
a95d563015
Update codeExamples dependencies (#1742)
* update compute examples depandancies

* Checking for the decimals on the feeToken

* Adding tests to check if the number of decimals is correct for the publishMarketFee

* Feature/sepolia (#1749)

* add sepolia

* bump contracts

* update install dependacies step in code and compute examples readmes

* commented out update docs for the moment

* Updating CodeExamples.md

* Updating ComputeExamples.md

---------

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
Co-authored-by: GitHub Actions Bot <>
2023-07-14 12:23:41 +02:00
Bogdan Fazakas
a7c68e995d
Updates to Provider errors handling (#1745) 2023-07-14 12:11:38 +03:00
Alex Coseru
ed38f6028d
Feature/sepolia (#1749)
* add sepolia

* bump contracts
2023-07-12 16:48:28 +03:00
Jamie Hewitt
419ff6c631
Merge pull request #1748 from oceanprotocol/issue-1746-feeTOken-decimals
Fixing fee token decimals
2023-07-12 14:30:41 +03:00
Jamie Hewitt
9da0268be6
Merge 8699e4a8bb30b3ecb7ee894412ebe85267fddd67 into ae2ff1ccde53ace9841844c316a855de271f9a3f 2023-07-06 15:22:44 +00:00
Jamie Hewitt
8699e4a8bb Adding tests to check if the number of decimals is correct for the publishMarketFee 2023-07-06 18:21:05 +03:00
Jamie Hewitt
ece4883743 Checking for the decimals on the feeToken 2023-07-06 14:06:47 +03:00
Bogdan Fazakas
ae2ff1ccde Release 3.0.1 v3.0.1 2023-06-06 16:11:22 +02:00
Bogdan Fazakas
0c60d9bbd4
set min gas fee 30 gwei on priority fees for polygon and mumbai as well (#1736)
* set min gas fee 30 gwei on priority fees for polygon and  mumbai as well

* Release 3.0.1-next.0
2023-06-06 15:58:54 +02:00
Bogdan Fazakas
543f71f7cd Release 3.0.0 v3.0.0 2023-05-29 10:37:16 +02:00
Alex Coseru
9bf71ba4f0
Features/ethers (#1696)
* add ethers

* global updates

* ve updates

* ve tests

* contract updates

* first test passing

* downgrade to ethers 5.7.2

* add log

* add tx wait

* full NftFactory.test

* add wait

* add Router tests

* fix dispenser

* Nft test

* add dispenser tests

* add fre tests part 1

* WIP datatoken unit tests

* add DFRewards test

* increase gas estimate

* increase gas estimate

* Work datatoken unit tests

* datatoken test more tests

* finished datatoken tests

* fix nft get data

* fix nft transfer tests

* Provider int tests

* Updating CodeExamples.md

* update provider & fix publish flow int test

* wip publish edit consume integration test

* more work on  publish edit consume integration test

* fix edit  publish edit consume integration test

* add 3 int tests

* Updating ComputeExamples.md

* fix signature and download

* fix compute flow integration test

* udapte handleComputeOrder helper

* update datatoken instance

* update datatoken global variable

* mint ocean tokens to consumer as well and added logs

* update compute exammples

* Updating ComputeExamples.md

* wip code examples readme

* update code examples readme

* Updating CodeExamples.md

* run all tests

* update dep in readme

* update readme

* code examples update metadata flags

* update dt instance in code examples md

* set metadata updates

* Updating CodeExamples.md

* update code examples readme structure

* Updating CodeExamples.md

* update readmes table links

* Updating CodeExamples.md

* Updating ComputeExamples.md

* clean-up

* Updating CodeExamples.md

* added missing unit tests for usdc fixed rate exchange tests

* more cleanup and jsdoc updates

* more  jsdoc updates

* donw with jsdoc updates

* handle provider errors

* add missing error handling file

* adds most of the provider errors

* update get compute env return type

* Release 3.0.0-next.0

* adding Typedoc to ethers branch

* update provider signature message

* fix lint

* Release 3.0.0-next.1

* fix lint

* adding Typedoc to ethers branch

* Updating CI to build and commit the documentation

* Updating documentation

* Updating script permissions

* fix todos add missing logic to send tx

* npm package cleanups

* Release 3.0.0-next.2

* update log messages for errors

* Release 3.0.0-next.3

* fix gasFee issue on sendTx

* Release 3.0.0-next.4

* add consume params typings (#1731)

* fix gas fee estimate

* remove comments

* add some delays before resolving datasets

* adds delay to Publish flow tests

* Release 3.0.0-next.5

---------

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
2023-05-29 11:20:38 +03:00