diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1f1b4e9..1ea1efa5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,8 +58,6 @@ jobs: working-directory: ${{ github.workspace }}/barge run: | bash -x start_ocean.sh --no-aquarius --no-elasticsearch --no-provider --no-dashboard 2>&1 > start_ocean.log & - env: - CONTRACTS_VERSION: v1.0.0-alpha.31 - run: npm ci - name: Wait for contracts deployment working-directory: ${{ github.workspace }}/barge @@ -117,8 +115,6 @@ jobs: working-directory: ${{ github.workspace }}/barge run: | bash -x start_ocean.sh --with-provider2 --no-dashboard --with-c2d 2>&1 > start_ocean.log & - env: - CONTRACTS_VERSION: v1.0.0-alpha.31 - run: npm ci - run: npm run build:metadata diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fe482db..f5a906fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,2062 +4,2096 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -#### [v1.0.0-next.41](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.40...v1.0.0-next.41) +#### [v1.0.0-next.44](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.43...v1.0.0-next.44) -- Lock microbundle to v0.14.2 [`#1457`](https://github.com/oceanprotocol/ocean-lib-js/pull/1457) -- Issue-#1345: Rewrite Provider test [`#1452`](https://github.com/oceanprotocol/ocean-lib-js/pull/1452) -- test getComputeEnvironments() [`997bbf5`](https://github.com/oceanprotocol/ocean-lib-js/commit/997bbf57b4c05e6077abb3b7799be319815547b2) -- add assertion [`b40f52d`](https://github.com/oceanprotocol/ocean-lib-js/commit/b40f52d6a68ab86b424839922b819cea08f869d2) +- bump to contracts 34 [`#1476`](https://github.com/oceanprotocol/ocean.js/pull/1476) +- update max out [`#1475`](https://github.com/oceanprotocol/ocean.js/pull/1475) +- Issue-#1343: Rewrite simple publish consume flow test [`#1454`](https://github.com/oceanprotocol/ocean.js/pull/1454) +- refactor SimplePublishConsumeFlow.test.ts file [`c97f750`](https://github.com/oceanprotocol/ocean.js/commit/c97f7503133986c4a6165c4ddcb7f54e5afdc2fe) +- don't deploy smart contracts [`a75ca34`](https://github.com/oceanprotocol/ocean.js/commit/a75ca34e9e5245cfdbb670f1c23c91d96c57ec30) +- add DDO type [`11508b7`](https://github.com/oceanprotocol/ocean.js/commit/11508b7794048dc5f81fc4aba4c3a5b551c9e18c) -#### [v1.0.0-next.40](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.39...v1.0.0-next.40) +#### [v1.0.0-next.43](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.42...v1.0.0-next.43) + +> 17 May 2022 + +- bump contracts to alpha.33 [`#1472`](https://github.com/oceanprotocol/ocean.js/pull/1472) +- Bump @types/node from 17.0.32 to 17.0.34 [`#1471`](https://github.com/oceanprotocol/ocean.js/pull/1471) +- Add transfer() function to TokenUtils [`#1387`](https://github.com/oceanprotocol/ocean.js/pull/1387) +- Issue-#1391: Add generic estimateGas() function [`#1394`](https://github.com/oceanprotocol/ocean.js/pull/1394) +- Bump @types/node from 17.0.31 to 17.0.32 [`#1465`](https://github.com/oceanprotocol/ocean.js/pull/1465) +- use estimateGas() function in NFT [`4cee7bb`](https://github.com/oceanprotocol/ocean.js/commit/4cee7bb08cd11e38ecddbc0c14f6eebf88755c9b) +- use estimateGas() function in Datatoken [`f9aa47c`](https://github.com/oceanprotocol/ocean.js/commit/f9aa47c4d21f34aa31addd3a37054800f0e8fb6d) +- use estimateGas() function in NFTFactory [`00fc5d2`](https://github.com/oceanprotocol/ocean.js/commit/00fc5d21e9e819e0ef47254dd5e4721b52c9d2fa) + +#### [v1.0.0-next.42](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.41...v1.0.0-next.42) + +> 9 May 2022 + +- bump contracts to alpha.32 [`#1464`](https://github.com/oceanprotocol/ocean.js/pull/1464) +- simple compute flow [`#1458`](https://github.com/oceanprotocol/ocean.js/pull/1458) +- add optional decimals parameter at joinswapExternAmountIn() and exitswapPoolAmountIn() [`#1461`](https://github.com/oceanprotocol/ocean.js/pull/1461) +- Release 1.0.0-next.42 [`56f992e`](https://github.com/oceanprotocol/ocean.js/commit/56f992e760712a88f4c9a236d75d784d6dd1c4b1) + +#### [v1.0.0-next.41](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.40...v1.0.0-next.41) + +> 6 May 2022 + +- Lock microbundle to v0.14.2 [`#1457`](https://github.com/oceanprotocol/ocean.js/pull/1457) +- Issue-#1345: Rewrite Provider test [`#1452`](https://github.com/oceanprotocol/ocean.js/pull/1452) +- Release 1.0.0-next.41 [`1d327bf`](https://github.com/oceanprotocol/ocean.js/commit/1d327bf1008917b2b04e03ae43840fa577d397d6) +- test getComputeEnvironments() [`997bbf5`](https://github.com/oceanprotocol/ocean.js/commit/997bbf57b4c05e6077abb3b7799be319815547b2) +- add assertion [`b40f52d`](https://github.com/oceanprotocol/ocean.js/commit/b40f52d6a68ab86b424839922b819cea08f869d2) + +#### [v1.0.0-next.40](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.39...v1.0.0-next.40) > 5 May 2022 -- update default ESM export [`#1456`](https://github.com/oceanprotocol/ocean-lib-js/pull/1456) -- Release 1.0.0-next.40 [`7782bf4`](https://github.com/oceanprotocol/ocean-lib-js/commit/7782bf49b37cd88bfa000805cdff2bd6de716d5c) +- update default ESM export [`#1456`](https://github.com/oceanprotocol/ocean.js/pull/1456) +- Release 1.0.0-next.40 [`7782bf4`](https://github.com/oceanprotocol/ocean.js/commit/7782bf49b37cd88bfa000805cdff2bd6de716d5c) -#### [v1.0.0-next.39](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.38...v1.0.0-next.39) +#### [v1.0.0-next.39](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.38...v1.0.0-next.39) > 5 May 2022 -- Issue-#1409: Excessive contract calls [`#1424`](https://github.com/oceanprotocol/ocean-lib-js/pull/1424) -- Issue-#1425: Use proper config in constructors [`#1430`](https://github.com/oceanprotocol/ocean-lib-js/pull/1430) -- Bump release-it from 14.14.2 to 15.0.0 [`#1449`](https://github.com/oceanprotocol/ocean-lib-js/pull/1449) -- Bump mocha from 9.2.2 to 10.0.0 [`#1450`](https://github.com/oceanprotocol/ocean-lib-js/pull/1450) -- Bump @types/node from 17.0.30 to 17.0.31 [`#1451`](https://github.com/oceanprotocol/ocean-lib-js/pull/1451) -- use getConfig(network) function to get proper configuration [`b259b16`](https://github.com/oceanprotocol/ocean-lib-js/commit/b259b16d452b90ea05dfefcbcb3a52fe8b009d28) -- change param order [`2d744c3`](https://github.com/oceanprotocol/ocean-lib-js/commit/2d744c3dd28566f1b2465085ec9b886e7943376f) -- Release 1.0.0-next.39 [`af5137c`](https://github.com/oceanprotocol/ocean-lib-js/commit/af5137c3702ad03815ab6cb02265ccef45e7841d) +- Issue-#1409: Excessive contract calls [`#1424`](https://github.com/oceanprotocol/ocean.js/pull/1424) +- Issue-#1425: Use proper config in constructors [`#1430`](https://github.com/oceanprotocol/ocean.js/pull/1430) +- Bump release-it from 14.14.2 to 15.0.0 [`#1449`](https://github.com/oceanprotocol/ocean.js/pull/1449) +- Bump mocha from 9.2.2 to 10.0.0 [`#1450`](https://github.com/oceanprotocol/ocean.js/pull/1450) +- Bump @types/node from 17.0.30 to 17.0.31 [`#1451`](https://github.com/oceanprotocol/ocean.js/pull/1451) +- use getConfig(network) function to get proper configuration [`b259b16`](https://github.com/oceanprotocol/ocean.js/commit/b259b16d452b90ea05dfefcbcb3a52fe8b009d28) +- change param order [`2d744c3`](https://github.com/oceanprotocol/ocean.js/commit/2d744c3dd28566f1b2465085ec9b886e7943376f) +- Release 1.0.0-next.39 [`af5137c`](https://github.com/oceanprotocol/ocean.js/commit/af5137c3702ad03815ab6cb02265ccef45e7841d) -#### [v1.0.0-next.38](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.37...v1.0.0-next.38) +#### [v1.0.0-next.38](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.37...v1.0.0-next.38) > 29 April 2022 -- bump to contracts alpha 31 [`#1448`](https://github.com/oceanprotocol/ocean-lib-js/pull/1448) -- Bump @truffle/hdwallet-provider from 2.0.7 to 2.0.8 [`#1445`](https://github.com/oceanprotocol/ocean-lib-js/pull/1445) -- Bump typescript from 4.6.3 to 4.6.4 [`#1446`](https://github.com/oceanprotocol/ocean-lib-js/pull/1446) -- Bump @types/node from 17.0.29 to 17.0.30 [`#1447`](https://github.com/oceanprotocol/ocean-lib-js/pull/1447) -- Bump ejs from 3.1.6 to 3.1.7 [`#1444`](https://github.com/oceanprotocol/ocean-lib-js/pull/1444) -- Bump @types/node from 17.0.25 to 17.0.29 [`#1441`](https://github.com/oceanprotocol/ocean-lib-js/pull/1441) -- Bump microbundle from 0.14.2 to 0.15.0 [`#1442`](https://github.com/oceanprotocol/ocean-lib-js/pull/1442) -- Bump @types/mocha from 9.1.0 to 9.1.1 [`#1431`](https://github.com/oceanprotocol/ocean-lib-js/pull/1431) -- Bump @truffle/hdwallet-provider from 2.0.6 to 2.0.7 [`#1432`](https://github.com/oceanprotocol/ocean-lib-js/pull/1432) -- Release 1.0.0-next.38 [`f9db9ce`](https://github.com/oceanprotocol/ocean-lib-js/commit/f9db9cea310dc3004438e6a7373fed5f0334d01d) +- bump to contracts alpha 31 [`#1448`](https://github.com/oceanprotocol/ocean.js/pull/1448) +- Bump @truffle/hdwallet-provider from 2.0.7 to 2.0.8 [`#1445`](https://github.com/oceanprotocol/ocean.js/pull/1445) +- Bump typescript from 4.6.3 to 4.6.4 [`#1446`](https://github.com/oceanprotocol/ocean.js/pull/1446) +- Bump @types/node from 17.0.29 to 17.0.30 [`#1447`](https://github.com/oceanprotocol/ocean.js/pull/1447) +- Bump ejs from 3.1.6 to 3.1.7 [`#1444`](https://github.com/oceanprotocol/ocean.js/pull/1444) +- Bump @types/node from 17.0.25 to 17.0.29 [`#1441`](https://github.com/oceanprotocol/ocean.js/pull/1441) +- Bump microbundle from 0.14.2 to 0.15.0 [`#1442`](https://github.com/oceanprotocol/ocean.js/pull/1442) +- Bump @types/mocha from 9.1.0 to 9.1.1 [`#1431`](https://github.com/oceanprotocol/ocean.js/pull/1431) +- Bump @truffle/hdwallet-provider from 2.0.6 to 2.0.7 [`#1432`](https://github.com/oceanprotocol/ocean.js/pull/1432) +- Release 1.0.0-next.38 [`f9db9ce`](https://github.com/oceanprotocol/ocean.js/commit/f9db9cea310dc3004438e6a7373fed5f0334d01d) -#### [v1.0.0-next.37](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.36...v1.0.0-next.37) +#### [v1.0.0-next.37](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.36...v1.0.0-next.37) > 20 April 2022 -- test old package lock [`#1429`](https://github.com/oceanprotocol/ocean-lib-js/pull/1429) -- fix [`#1426`](https://github.com/oceanprotocol/ocean-lib-js/pull/1426) -- Add reuseOrder method [`#1421`](https://github.com/oceanprotocol/ocean-lib-js/pull/1421) -- Bump @types/node from 17.0.24 to 17.0.25 [`#1423`](https://github.com/oceanprotocol/ocean-lib-js/pull/1423) -- Bump @types/node from 17.0.23 to 17.0.24 [`#1422`](https://github.com/oceanprotocol/ocean-lib-js/pull/1422) -- Release 1.0.0-next.37 [`e72055f`](https://github.com/oceanprotocol/ocean-lib-js/commit/e72055f4c759bd1ae38ca25330e301b6e07ae014) +- test old package lock [`#1429`](https://github.com/oceanprotocol/ocean.js/pull/1429) +- fix [`#1426`](https://github.com/oceanprotocol/ocean.js/pull/1426) +- Add reuseOrder method [`#1421`](https://github.com/oceanprotocol/ocean.js/pull/1421) +- Bump @types/node from 17.0.24 to 17.0.25 [`#1423`](https://github.com/oceanprotocol/ocean.js/pull/1423) +- Bump @types/node from 17.0.23 to 17.0.24 [`#1422`](https://github.com/oceanprotocol/ocean.js/pull/1422) +- Release 1.0.0-next.37 [`e72055f`](https://github.com/oceanprotocol/ocean.js/commit/e72055f4c759bd1ae38ca25330e301b6e07ae014) -#### [v1.0.0-next.36](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.35...v1.0.0-next.36) +#### [v1.0.0-next.36](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.35...v1.0.0-next.36) > 15 April 2022 -- Fix get compute results [`#1386`](https://github.com/oceanprotocol/ocean-lib-js/pull/1386) -- Release 1.0.0-next.36 [`c4a5f9e`](https://github.com/oceanprotocol/ocean-lib-js/commit/c4a5f9e5ad356db6f8733252dfe497507075605c) +- Fix get compute results [`#1386`](https://github.com/oceanprotocol/ocean.js/pull/1386) +- Release 1.0.0-next.36 [`c4a5f9e`](https://github.com/oceanprotocol/ocean.js/commit/c4a5f9e5ad356db6f8733252dfe497507075605c) -#### [v1.0.0-next.35](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.34...v1.0.0-next.35) +#### [v1.0.0-next.35](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.34...v1.0.0-next.35) > 14 April 2022 -- fix mm signature [`#1420`](https://github.com/oceanprotocol/ocean-lib-js/pull/1420) -- setPaymentCollector apply same checking as contract [`#1396`](https://github.com/oceanprotocol/ocean-lib-js/pull/1396) -- Release 1.0.0-next.35 [`80bf5cc`](https://github.com/oceanprotocol/ocean-lib-js/commit/80bf5cc33fa7f5e3b4cf47805ce53510c563b29b) +- fix mm signature [`#1420`](https://github.com/oceanprotocol/ocean.js/pull/1420) +- setPaymentCollector apply same checking as contract [`#1396`](https://github.com/oceanprotocol/ocean.js/pull/1396) +- Release 1.0.0-next.35 [`80bf5cc`](https://github.com/oceanprotocol/ocean.js/commit/80bf5cc33fa7f5e3b4cf47805ce53510c563b29b) -#### [v1.0.0-next.34](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.33...v1.0.0-next.34) +#### [v1.0.0-next.34](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.33...v1.0.0-next.34) > 14 April 2022 -- refactor signatures [`#1395`](https://github.com/oceanprotocol/ocean-lib-js/pull/1395) -- Bump @types/chai from 4.3.0 to 4.3.1 [`#1417`](https://github.com/oceanprotocol/ocean-lib-js/pull/1417) -- Bump @truffle/hdwallet-provider from 2.0.5 to 2.0.6 [`#1418`](https://github.com/oceanprotocol/ocean-lib-js/pull/1418) -- Issue-#1353: Rewrite Router test [`#1382`](https://github.com/oceanprotocol/ocean-lib-js/pull/1382) -- Issue-#1413: Refactor ZERO_ADDRESS constant [`#1414`](https://github.com/oceanprotocol/ocean-lib-js/pull/1414) -- Issue-#1410: Export Router and SideStaking classes [`#1411`](https://github.com/oceanprotocol/ocean-lib-js/pull/1411) -- Bump prettier from 2.6.1 to 2.6.2 [`#1388`](https://github.com/oceanprotocol/ocean-lib-js/pull/1388) -- Bump release-it from 14.14.1 to 14.14.2 [`#1415`](https://github.com/oceanprotocol/ocean-lib-js/pull/1415) -- Bump typedoc from 0.22.14 to 0.22.15 [`#1407`](https://github.com/oceanprotocol/ocean-lib-js/pull/1407) -- Bump @truffle/hdwallet-provider from 2.0.4 to 2.0.5 [`#1408`](https://github.com/oceanprotocol/ocean-lib-js/pull/1408) -- Bump release-it from 14.14.0 to 14.14.1 [`#1405`](https://github.com/oceanprotocol/ocean-lib-js/pull/1405) -- Bump typedoc from 0.22.13 to 0.22.14 [`#1402`](https://github.com/oceanprotocol/ocean-lib-js/pull/1402) -- Bump web3 from 1.7.1 to 1.7.3 [`#1403`](https://github.com/oceanprotocol/ocean-lib-js/pull/1403) -- refactor constants [`73c4647`](https://github.com/oceanprotocol/ocean-lib-js/commit/73c464778395bceab02e9459c830dd52cdcb23d1) -- refactor pool and erc creation params [`0ecc973`](https://github.com/oceanprotocol/ocean-lib-js/commit/0ecc973e0884eab5b60af9c12c7c441c0b2cfe77) -- Use ZERO_ADDRESS constant in src folder files [`ec10f43`](https://github.com/oceanprotocol/ocean-lib-js/commit/ec10f43ac7fdf696191d3894d2e2d3f82b7da3ca) +- refactor signatures [`#1395`](https://github.com/oceanprotocol/ocean.js/pull/1395) +- Bump @types/chai from 4.3.0 to 4.3.1 [`#1417`](https://github.com/oceanprotocol/ocean.js/pull/1417) +- Bump @truffle/hdwallet-provider from 2.0.5 to 2.0.6 [`#1418`](https://github.com/oceanprotocol/ocean.js/pull/1418) +- Issue-#1353: Rewrite Router test [`#1382`](https://github.com/oceanprotocol/ocean.js/pull/1382) +- Issue-#1413: Refactor ZERO_ADDRESS constant [`#1414`](https://github.com/oceanprotocol/ocean.js/pull/1414) +- Issue-#1410: Export Router and SideStaking classes [`#1411`](https://github.com/oceanprotocol/ocean.js/pull/1411) +- Bump prettier from 2.6.1 to 2.6.2 [`#1388`](https://github.com/oceanprotocol/ocean.js/pull/1388) +- Bump release-it from 14.14.1 to 14.14.2 [`#1415`](https://github.com/oceanprotocol/ocean.js/pull/1415) +- Bump typedoc from 0.22.14 to 0.22.15 [`#1407`](https://github.com/oceanprotocol/ocean.js/pull/1407) +- Bump @truffle/hdwallet-provider from 2.0.4 to 2.0.5 [`#1408`](https://github.com/oceanprotocol/ocean.js/pull/1408) +- Bump release-it from 14.14.0 to 14.14.1 [`#1405`](https://github.com/oceanprotocol/ocean.js/pull/1405) +- Bump typedoc from 0.22.13 to 0.22.14 [`#1402`](https://github.com/oceanprotocol/ocean.js/pull/1402) +- Bump web3 from 1.7.1 to 1.7.3 [`#1403`](https://github.com/oceanprotocol/ocean.js/pull/1403) +- refactor constants [`73c4647`](https://github.com/oceanprotocol/ocean.js/commit/73c464778395bceab02e9459c830dd52cdcb23d1) +- refactor pool and erc creation params [`0ecc973`](https://github.com/oceanprotocol/ocean.js/commit/0ecc973e0884eab5b60af9c12c7c441c0b2cfe77) +- Use ZERO_ADDRESS constant in src folder files [`ec10f43`](https://github.com/oceanprotocol/ocean.js/commit/ec10f43ac7fdf696191d3894d2e2d3f82b7da3ca) -#### [v1.0.0-next.33](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.32...v1.0.0-next.33) +#### [v1.0.0-next.33](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.32...v1.0.0-next.33) > 4 April 2022 -- Feature/bump contracts to alpha 28 [`#1392`](https://github.com/oceanprotocol/ocean-lib-js/pull/1392) -- Bump mock-local-storage from 1.1.20 to 1.1.21 [`#1384`](https://github.com/oceanprotocol/ocean-lib-js/pull/1384) -- Bump release-it from 14.13.1 to 14.14.0 [`#1385`](https://github.com/oceanprotocol/ocean-lib-js/pull/1385) -- Issue-#1356 rewrite testcontracthandler helper class [`#1357`](https://github.com/oceanprotocol/ocean-lib-js/pull/1357) -- Bump @oceanprotocol/contracts from 1.0.0-alpha.26 to 1.0.0-alpha.27 [`#1381`](https://github.com/oceanprotocol/ocean-lib-js/pull/1381) -- upgrade to @oceanprotocol/contracts 1.0.0-alpha.27 [`745647b`](https://github.com/oceanprotocol/ocean-lib-js/commit/745647b65ff9aaf55801078f5e7fd2c4672d9a61) -- update package-lock file [`a434458`](https://github.com/oceanprotocol/ocean-lib-js/commit/a4344580ed86b4f3aaa10c6345fc9cd8decf5cc4) -- revert package-lock to v4main version [`5766f87`](https://github.com/oceanprotocol/ocean-lib-js/commit/5766f874270000152df070a152e2ae847f2beb51) +- Feature/bump contracts to alpha 28 [`#1392`](https://github.com/oceanprotocol/ocean.js/pull/1392) +- Bump mock-local-storage from 1.1.20 to 1.1.21 [`#1384`](https://github.com/oceanprotocol/ocean.js/pull/1384) +- Bump release-it from 14.13.1 to 14.14.0 [`#1385`](https://github.com/oceanprotocol/ocean.js/pull/1385) +- Issue-#1356 rewrite testcontracthandler helper class [`#1357`](https://github.com/oceanprotocol/ocean.js/pull/1357) +- Bump @oceanprotocol/contracts from 1.0.0-alpha.26 to 1.0.0-alpha.27 [`#1381`](https://github.com/oceanprotocol/ocean.js/pull/1381) +- upgrade to @oceanprotocol/contracts 1.0.0-alpha.27 [`745647b`](https://github.com/oceanprotocol/ocean.js/commit/745647b65ff9aaf55801078f5e7fd2c4672d9a61) +- update package-lock file [`a434458`](https://github.com/oceanprotocol/ocean.js/commit/a4344580ed86b4f3aaa10c6345fc9cd8decf5cc4) +- revert package-lock to v4main version [`5766f87`](https://github.com/oceanprotocol/ocean.js/commit/5766f874270000152df070a152e2ae847f2beb51) -#### [v1.0.0-next.32](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.31...v1.0.0-next.32) +#### [v1.0.0-next.32](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.31...v1.0.0-next.32) > 29 March 2022 -- comment broken tests [`#1379`](https://github.com/oceanprotocol/ocean-lib-js/pull/1379) -- Release 1.0.0-next.32 [`271e870`](https://github.com/oceanprotocol/ocean-lib-js/commit/271e870b5ea50966f1df063e3c72ffb3524a05e3) +- comment broken tests [`#1379`](https://github.com/oceanprotocol/ocean.js/pull/1379) +- Release 1.0.0-next.32 [`271e870`](https://github.com/oceanprotocol/ocean.js/commit/271e870b5ea50966f1df063e3c72ffb3524a05e3) -#### [v1.0.0-next.31](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.30...v1.0.0-next.31) +#### [v1.0.0-next.31](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.30...v1.0.0-next.31) > 29 March 2022 -- Release 1.0.0-next.31 [`7662364`](https://github.com/oceanprotocol/ocean-lib-js/commit/76623648d2fa19e6bf760cec04230531c11b80f2) +- Release 1.0.0-next.31 [`7662364`](https://github.com/oceanprotocol/ocean.js/commit/76623648d2fa19e6bf760cec04230531c11b80f2) -#### [v1.0.0-next.30](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.29...v1.0.0-next.30) +#### [v1.0.0-next.30](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.29...v1.0.0-next.30) > 29 March 2022 -- default amountToUnits decimals to 18, FRE consumerMarketSwapFee witho… [`#1374`](https://github.com/oceanprotocol/ocean-lib-js/pull/1374) -- change address[1] to paymentCollector based on smart contract [`#1375`](https://github.com/oceanprotocol/ocean-lib-js/pull/1375) -- update compute status query and jsdoc [`#1361`](https://github.com/oceanprotocol/ocean-lib-js/pull/1361) -- Bump prettier from 2.6.0 to 2.6.1 [`#1373`](https://github.com/oceanprotocol/ocean-lib-js/pull/1373) -- Bump minimist from 1.2.5 to 1.2.6 [`#1370`](https://github.com/oceanprotocol/ocean-lib-js/pull/1370) -- Issue-#1367: Fix error in `NftFactory.disableTokenTemplate()` and `NftFactory.reactivateTokenTemplate()` [`#1368`](https://github.com/oceanprotocol/ocean-lib-js/pull/1368) -- fix typedoc [`#1378`](https://github.com/oceanprotocol/ocean-lib-js/pull/1378) -- Bump typescript from 4.6.2 to 4.6.3 [`#1371`](https://github.com/oceanprotocol/ocean-lib-js/pull/1371) -- Bump @types/node from 17.0.22 to 17.0.23 [`#1366`](https://github.com/oceanprotocol/ocean-lib-js/pull/1366) -- Issue-#1246: Use confighelper instead of hardcoded endpoints [`#1355`](https://github.com/oceanprotocol/ocean-lib-js/pull/1355) -- solve all typing warnings [`#1364`](https://github.com/oceanprotocol/ocean-lib-js/pull/1364) -- Bump @types/node from 17.0.21 to 17.0.22 [`#1363`](https://github.com/oceanprotocol/ocean-lib-js/pull/1363) -- Bump release-it from 14.12.5 to 14.13.1 [`#1360`](https://github.com/oceanprotocol/ocean-lib-js/pull/1360) -- Bump prettier from 2.5.1 to 2.6.0 [`#1340`](https://github.com/oceanprotocol/ocean-lib-js/pull/1340) -- use configuration file to read variables [`3572223`](https://github.com/oceanprotocol/ocean-lib-js/commit/35722239dfa2d021b074098e76f790e0191aa12a) -- refactor imports in the tests [`165b4c8`](https://github.com/oceanprotocol/ocean-lib-js/commit/165b4c86809615aada2463f2ece2a3be1d3ee419) -- read configHelperNetworks values for the tests [`896211b`](https://github.com/oceanprotocol/ocean-lib-js/commit/896211b93f1bfb634ab4677c4c68795884f16fc8) +- default amountToUnits decimals to 18, FRE consumerMarketSwapFee witho… [`#1374`](https://github.com/oceanprotocol/ocean.js/pull/1374) +- change address[1] to paymentCollector based on smart contract [`#1375`](https://github.com/oceanprotocol/ocean.js/pull/1375) +- update compute status query and jsdoc [`#1361`](https://github.com/oceanprotocol/ocean.js/pull/1361) +- Bump prettier from 2.6.0 to 2.6.1 [`#1373`](https://github.com/oceanprotocol/ocean.js/pull/1373) +- Bump minimist from 1.2.5 to 1.2.6 [`#1370`](https://github.com/oceanprotocol/ocean.js/pull/1370) +- Issue-#1367: Fix error in `NftFactory.disableTokenTemplate()` and `NftFactory.reactivateTokenTemplate()` [`#1368`](https://github.com/oceanprotocol/ocean.js/pull/1368) +- fix typedoc [`#1378`](https://github.com/oceanprotocol/ocean.js/pull/1378) +- Bump typescript from 4.6.2 to 4.6.3 [`#1371`](https://github.com/oceanprotocol/ocean.js/pull/1371) +- Bump @types/node from 17.0.22 to 17.0.23 [`#1366`](https://github.com/oceanprotocol/ocean.js/pull/1366) +- Issue-#1246: Use confighelper instead of hardcoded endpoints [`#1355`](https://github.com/oceanprotocol/ocean.js/pull/1355) +- solve all typing warnings [`#1364`](https://github.com/oceanprotocol/ocean.js/pull/1364) +- Bump @types/node from 17.0.21 to 17.0.22 [`#1363`](https://github.com/oceanprotocol/ocean.js/pull/1363) +- Bump release-it from 14.12.5 to 14.13.1 [`#1360`](https://github.com/oceanprotocol/ocean.js/pull/1360) +- Bump prettier from 2.5.1 to 2.6.0 [`#1340`](https://github.com/oceanprotocol/ocean.js/pull/1340) +- use configuration file to read variables [`3572223`](https://github.com/oceanprotocol/ocean.js/commit/35722239dfa2d021b074098e76f790e0191aa12a) +- refactor imports in the tests [`165b4c8`](https://github.com/oceanprotocol/ocean.js/commit/165b4c86809615aada2463f2ece2a3be1d3ee419) +- read configHelperNetworks values for the tests [`896211b`](https://github.com/oceanprotocol/ocean.js/commit/896211b93f1bfb634ab4677c4c68795884f16fc8) -#### [v1.0.0-next.29](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.28...v1.0.0-next.29) +#### [v1.0.0-next.29](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.28...v1.0.0-next.29) > 21 March 2022 -- Feature/contracts alpha 25 [`#1358`](https://github.com/oceanprotocol/ocean-lib-js/pull/1358) -- Release 1.0.0-next.29 [`069d21c`](https://github.com/oceanprotocol/ocean-lib-js/commit/069d21c16473a5e568d573834f85d9684bfdfca4) +- Feature/contracts alpha 25 [`#1358`](https://github.com/oceanprotocol/ocean.js/pull/1358) +- Release 1.0.0-next.29 [`069d21c`](https://github.com/oceanprotocol/ocean.js/commit/069d21c16473a5e568d573834f85d9684bfdfca4) -#### [v1.0.0-next.28](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.27...v1.0.0-next.28) +#### [v1.0.0-next.28](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.27...v1.0.0-next.28) > 16 March 2022 -- Replace toWei/fromWei when base token conversion [`#1318`](https://github.com/oceanprotocol/ocean-lib-js/pull/1318) -- Make metadataProofs optional in setMetadataAndTokenURI [`#1336`](https://github.com/oceanprotocol/ocean-lib-js/pull/1336) -- fix moonbase urls [`#1337`](https://github.com/oceanprotocol/ocean-lib-js/pull/1337) -- Release 1.0.0-next.28 [`6675de4`](https://github.com/oceanprotocol/ocean-lib-js/commit/6675de4e361cb62c8dc45e6e162139c77f6d5a45) +- Replace toWei/fromWei when base token conversion [`#1318`](https://github.com/oceanprotocol/ocean.js/pull/1318) +- Make metadataProofs optional in setMetadataAndTokenURI [`#1336`](https://github.com/oceanprotocol/ocean.js/pull/1336) +- fix moonbase urls [`#1337`](https://github.com/oceanprotocol/ocean.js/pull/1337) +- Release 1.0.0-next.28 [`6675de4`](https://github.com/oceanprotocol/ocean.js/commit/6675de4e361cb62c8dc45e6e162139c77f6d5a45) -#### [v1.0.0-next.27](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.26...v1.0.0-next.27) +#### [v1.0.0-next.27](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.26...v1.0.0-next.27) > 14 March 2022 -- Feature/contracts alpha 22 [`#1334`](https://github.com/oceanprotocol/ocean-lib-js/pull/1334) -- Bump mocha from 9.2.1 to 9.2.2 [`#1332`](https://github.com/oceanprotocol/ocean-lib-js/pull/1332) -- Release 1.0.0-next.27 [`d3fcdd0`](https://github.com/oceanprotocol/ocean-lib-js/commit/d3fcdd0d561f85924a1b8266c564604d554e8148) +- Feature/contracts alpha 22 [`#1334`](https://github.com/oceanprotocol/ocean.js/pull/1334) +- Bump mocha from 9.2.1 to 9.2.2 [`#1332`](https://github.com/oceanprotocol/ocean.js/pull/1332) +- Release 1.0.0-next.27 [`d3fcdd0`](https://github.com/oceanprotocol/ocean.js/commit/d3fcdd0d561f85924a1b8266c564604d554e8148) -#### [v1.0.0-next.26](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.25...v1.0.0-next.26) +#### [v1.0.0-next.26](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.25...v1.0.0-next.26) > 11 March 2022 -- update `ServiceComputeOptions` [`#1330`](https://github.com/oceanprotocol/ocean-lib-js/pull/1330) -- dispenser creation: transform maxTokens and maxBalance to wei [`#1328`](https://github.com/oceanprotocol/ocean-lib-js/pull/1328) -- Bump @truffle/hdwallet-provider from 2.0.3 to 2.0.4 [`#1329`](https://github.com/oceanprotocol/ocean-lib-js/pull/1329) -- Release 1.0.0-next.26 [`e9f32c7`](https://github.com/oceanprotocol/ocean-lib-js/commit/e9f32c729abadc5985add4016d72f7647b8cecf9) +- update `ServiceComputeOptions` [`#1330`](https://github.com/oceanprotocol/ocean.js/pull/1330) +- dispenser creation: transform maxTokens and maxBalance to wei [`#1328`](https://github.com/oceanprotocol/ocean.js/pull/1328) +- Bump @truffle/hdwallet-provider from 2.0.3 to 2.0.4 [`#1329`](https://github.com/oceanprotocol/ocean.js/pull/1329) +- Release 1.0.0-next.26 [`e9f32c7`](https://github.com/oceanprotocol/ocean.js/commit/e9f32c729abadc5985add4016d72f7647b8cecf9) -#### [v1.0.0-next.25](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.24...v1.0.0-next.25) +#### [v1.0.0-next.25](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.24...v1.0.0-next.25) > 8 March 2022 -- Bump ts-node from 10.6.0 to 10.7.0 [`#1327`](https://github.com/oceanprotocol/ocean-lib-js/pull/1327) -- Bump typedoc from 0.22.12 to 0.22.13 [`#1326`](https://github.com/oceanprotocol/ocean-lib-js/pull/1326) -- fix url [`#1325`](https://github.com/oceanprotocol/ocean-lib-js/pull/1325) -- Bump web3 from 1.7.0 to 1.7.1 [`#1323`](https://github.com/oceanprotocol/ocean-lib-js/pull/1323) -- Bump eslint-config-prettier from 8.4.0 to 8.5.0 [`#1324`](https://github.com/oceanprotocol/ocean-lib-js/pull/1324) -- Bump ts-node from 10.5.0 to 10.6.0 [`#1319`](https://github.com/oceanprotocol/ocean-lib-js/pull/1319) -- Bump typescript from 4.5.5 to 4.6.2 [`#1317`](https://github.com/oceanprotocol/ocean-lib-js/pull/1317) -- Bump @types/node from 17.0.19 to 17.0.21 [`#1310`](https://github.com/oceanprotocol/ocean-lib-js/pull/1310) -- services specific additional information [`#1311`](https://github.com/oceanprotocol/ocean-lib-js/pull/1311) -- Bump release-it from 14.12.4 to 14.12.5 [`#1308`](https://github.com/oceanprotocol/ocean-lib-js/pull/1308) -- Update README: harmonize with ocean.py's v4 changes [`81b1849`](https://github.com/oceanprotocol/ocean-lib-js/commit/81b18493ff1a6dee13b23648b5f8a47452aaf3ab) -- Release 1.0.0-next.25 [`b403130`](https://github.com/oceanprotocol/ocean-lib-js/commit/b403130e2d7e99711d2fb582a12baeac49acbcc7) -- 2021 -> 2022 [`28a48f5`](https://github.com/oceanprotocol/ocean-lib-js/commit/28a48f5b5a2f792a79dabcd1a4fa9be1b2228311) +- Bump ts-node from 10.6.0 to 10.7.0 [`#1327`](https://github.com/oceanprotocol/ocean.js/pull/1327) +- Bump typedoc from 0.22.12 to 0.22.13 [`#1326`](https://github.com/oceanprotocol/ocean.js/pull/1326) +- fix url [`#1325`](https://github.com/oceanprotocol/ocean.js/pull/1325) +- Bump web3 from 1.7.0 to 1.7.1 [`#1323`](https://github.com/oceanprotocol/ocean.js/pull/1323) +- Bump eslint-config-prettier from 8.4.0 to 8.5.0 [`#1324`](https://github.com/oceanprotocol/ocean.js/pull/1324) +- Bump ts-node from 10.5.0 to 10.6.0 [`#1319`](https://github.com/oceanprotocol/ocean.js/pull/1319) +- Bump typescript from 4.5.5 to 4.6.2 [`#1317`](https://github.com/oceanprotocol/ocean.js/pull/1317) +- Bump @types/node from 17.0.19 to 17.0.21 [`#1310`](https://github.com/oceanprotocol/ocean.js/pull/1310) +- services specific additional information [`#1311`](https://github.com/oceanprotocol/ocean.js/pull/1311) +- Bump release-it from 14.12.4 to 14.12.5 [`#1308`](https://github.com/oceanprotocol/ocean.js/pull/1308) +- Update README: harmonize with ocean.py's v4 changes [`81b1849`](https://github.com/oceanprotocol/ocean.js/commit/81b18493ff1a6dee13b23648b5f8a47452aaf3ab) +- Release 1.0.0-next.25 [`b403130`](https://github.com/oceanprotocol/ocean.js/commit/b403130e2d7e99711d2fb582a12baeac49acbcc7) +- 2021 -> 2022 [`28a48f5`](https://github.com/oceanprotocol/ocean.js/commit/28a48f5b5a2f792a79dabcd1a4fa9be1b2228311) -#### [v1.0.0-next.24](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.23...v1.0.0-next.24) +#### [v1.0.0-next.24](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.23...v1.0.0-next.24) > 23 February 2022 -- fix export [`#1309`](https://github.com/oceanprotocol/ocean-lib-js/pull/1309) -- Release 1.0.0-next.24 [`9116852`](https://github.com/oceanprotocol/ocean-lib-js/commit/91168527fca9c0667e686486bd0aae4892b79e2a) +- fix export [`#1309`](https://github.com/oceanprotocol/ocean.js/pull/1309) +- Release 1.0.0-next.24 [`9116852`](https://github.com/oceanprotocol/ocean.js/commit/91168527fca9c0667e686486bd0aae4892b79e2a) -#### [v1.0.0-next.23](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.22...v1.0.0-next.23) +#### [v1.0.0-next.23](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.22...v1.0.0-next.23) > 22 February 2022 -- Calculating max swap/liquidity [`#1306`](https://github.com/oceanprotocol/ocean-lib-js/pull/1306) -- Bump @types/node from 17.0.18 to 17.0.19 [`#1305`](https://github.com/oceanprotocol/ocean-lib-js/pull/1305) -- Release 1.0.0-next.23 [`aadd145`](https://github.com/oceanprotocol/ocean-lib-js/commit/aadd1458ba7364a709f6eb94b3f8c123de3c189a) +- Calculating max swap/liquidity [`#1306`](https://github.com/oceanprotocol/ocean.js/pull/1306) +- Bump @types/node from 17.0.18 to 17.0.19 [`#1305`](https://github.com/oceanprotocol/ocean.js/pull/1305) +- Release 1.0.0-next.23 [`aadd145`](https://github.com/oceanprotocol/ocean.js/commit/aadd1458ba7364a709f6eb94b3f8c123de3c189a) -#### [v1.0.0-next.22](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.21...v1.0.0-next.22) +#### [v1.0.0-next.22](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.21...v1.0.0-next.22) > 21 February 2022 -- fix estGas for setMetadata call [`#1303`](https://github.com/oceanprotocol/ocean-lib-js/pull/1303) -- Bump eslint-config-prettier from 8.3.0 to 8.4.0 [`#1301`](https://github.com/oceanprotocol/ocean-lib-js/pull/1301) -- Bump typedoc from 0.22.11 to 0.22.12 [`#1300`](https://github.com/oceanprotocol/ocean-lib-js/pull/1300) -- Bump mocha from 9.2.0 to 9.2.1 [`#1299`](https://github.com/oceanprotocol/ocean-lib-js/pull/1299) -- Release 1.0.0-next.22 [`ff0653c`](https://github.com/oceanprotocol/ocean-lib-js/commit/ff0653c8831a10dee36994adde460dbfa5567810) +- fix estGas for setMetadata call [`#1303`](https://github.com/oceanprotocol/ocean.js/pull/1303) +- Bump eslint-config-prettier from 8.3.0 to 8.4.0 [`#1301`](https://github.com/oceanprotocol/ocean.js/pull/1301) +- Bump typedoc from 0.22.11 to 0.22.12 [`#1300`](https://github.com/oceanprotocol/ocean.js/pull/1300) +- Bump mocha from 9.2.0 to 9.2.1 [`#1299`](https://github.com/oceanprotocol/ocean.js/pull/1299) +- Release 1.0.0-next.22 [`ff0653c`](https://github.com/oceanprotocol/ocean.js/commit/ff0653c8831a10dee36994adde460dbfa5567810) -#### [v1.0.0-next.21](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.20...v1.0.0-next.21) +#### [v1.0.0-next.21](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.20...v1.0.0-next.21) > 17 February 2022 -- Update contracts [`#1297`](https://github.com/oceanprotocol/ocean-lib-js/pull/1297) -- Release 1.0.0-next.21 [`ce88427`](https://github.com/oceanprotocol/ocean-lib-js/commit/ce8842701aa1e9c82dbc8d6b18d94eeb0ea24540) +- Update contracts [`#1297`](https://github.com/oceanprotocol/ocean.js/pull/1297) +- Release 1.0.0-next.21 [`ce88427`](https://github.com/oceanprotocol/ocean.js/commit/ce8842701aa1e9c82dbc8d6b18d94eeb0ea24540) -#### [v1.0.0-next.20](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.19...v1.0.0-next.20) +#### [v1.0.0-next.20](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.19...v1.0.0-next.20) > 16 February 2022 -- bump to contracts alpha.20 [`#1295`](https://github.com/oceanprotocol/ocean-lib-js/pull/1295) -- use barge addresses for unit tests [`#1291`](https://github.com/oceanprotocol/ocean-lib-js/pull/1291) -- Bump @types/node from 17.0.17 to 17.0.18 [`#1290`](https://github.com/oceanprotocol/ocean-lib-js/pull/1290) -- Bump @types/crypto-js from 4.1.0 to 4.1.1 [`#1289`](https://github.com/oceanprotocol/ocean-lib-js/pull/1289) -- Release 1.0.0-next.20 [`cb8b52c`](https://github.com/oceanprotocol/ocean-lib-js/commit/cb8b52c6e1a73444b8170a762822e4ba15bf244e) +- bump to contracts alpha.20 [`#1295`](https://github.com/oceanprotocol/ocean.js/pull/1295) +- use barge addresses for unit tests [`#1291`](https://github.com/oceanprotocol/ocean.js/pull/1291) +- Bump @types/node from 17.0.17 to 17.0.18 [`#1290`](https://github.com/oceanprotocol/ocean.js/pull/1290) +- Bump @types/crypto-js from 4.1.0 to 4.1.1 [`#1289`](https://github.com/oceanprotocol/ocean.js/pull/1289) +- Release 1.0.0-next.20 [`cb8b52c`](https://github.com/oceanprotocol/ocean.js/commit/cb8b52c6e1a73444b8170a762822e4ba15bf244e) -#### [v1.0.0-next.19](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.18...v1.0.0-next.19) +#### [v1.0.0-next.19](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.18...v1.0.0-next.19) > 15 February 2022 -- update config endpoint [`#1288`](https://github.com/oceanprotocol/ocean-lib-js/pull/1288) -- Release 1.0.0-next.19 [`9b71c85`](https://github.com/oceanprotocol/ocean-lib-js/commit/9b71c853f7cd1f596b5fbd451f63e9cdb5af3b72) +- update config endpoint [`#1288`](https://github.com/oceanprotocol/ocean.js/pull/1288) +- Release 1.0.0-next.19 [`9b71c85`](https://github.com/oceanprotocol/ocean.js/commit/9b71c853f7cd1f596b5fbd451f63e9cdb5af3b72) -#### [v1.0.0-next.18](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.17...v1.0.0-next.18) +#### [v1.0.0-next.18](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.17...v1.0.0-next.18) > 14 February 2022 -- update to contracts alpha.19 [`#1286`](https://github.com/oceanprotocol/ocean-lib-js/pull/1286) -- Update Pool class JSDoc comments [`#1281`](https://github.com/oceanprotocol/ocean-lib-js/pull/1281) -- updated existing jsdoc comments and add missing ones [`7b2ff71`](https://github.com/oceanprotocol/ocean-lib-js/commit/7b2ff71d0cb148308cc49a0cb267e4b4f4ee83bb) -- Release 1.0.0-next.18 [`9f9e3dc`](https://github.com/oceanprotocol/ocean-lib-js/commit/9f9e3dce88d5e5e731cc13dbadfefc8a66cd43a5) +- update to contracts alpha.19 [`#1286`](https://github.com/oceanprotocol/ocean.js/pull/1286) +- Update Pool class JSDoc comments [`#1281`](https://github.com/oceanprotocol/ocean.js/pull/1281) +- updated existing jsdoc comments and add missing ones [`7b2ff71`](https://github.com/oceanprotocol/ocean.js/commit/7b2ff71d0cb148308cc49a0cb267e4b4f4ee83bb) +- Release 1.0.0-next.18 [`9f9e3dc`](https://github.com/oceanprotocol/ocean.js/commit/9f9e3dce88d5e5e731cc13dbadfefc8a66cd43a5) -#### [v1.0.0-next.17](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.16...v1.0.0-next.17) +#### [v1.0.0-next.17](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.16...v1.0.0-next.17) > 14 February 2022 -- fix fixed order params [`#1287`](https://github.com/oceanprotocol/ocean-lib-js/pull/1287) -- Release 1.0.0-next.17 [`9c3a12d`](https://github.com/oceanprotocol/ocean-lib-js/commit/9c3a12daa6276aeb3f0cf59d53ff76d2b8df7219) +- fix fixed order params [`#1287`](https://github.com/oceanprotocol/ocean.js/pull/1287) +- Release 1.0.0-next.17 [`9c3a12d`](https://github.com/oceanprotocol/ocean.js/commit/9c3a12daa6276aeb3f0cf59d53ff76d2b8df7219) -#### [v1.0.0-next.16](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.15...v1.0.0-next.16) +#### [v1.0.0-next.16](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.15...v1.0.0-next.16) > 14 February 2022 -- Remove redundant get in `calcBaseInGivenOutDT` [`#1283`](https://github.com/oceanprotocol/ocean-lib-js/pull/1283) -- add aquarius to export list [`#1280`](https://github.com/oceanprotocol/ocean-lib-js/pull/1280) -- Release 1.0.0-next.16 [`9f8f6aa`](https://github.com/oceanprotocol/ocean-lib-js/commit/9f8f6aae99ab409cd0bdb61f3950b067b0363c2f) +- Remove redundant get in `calcBaseInGivenOutDT` [`#1283`](https://github.com/oceanprotocol/ocean.js/pull/1283) +- add aquarius to export list [`#1280`](https://github.com/oceanprotocol/ocean.js/pull/1280) +- Release 1.0.0-next.16 [`9f8f6aa`](https://github.com/oceanprotocol/ocean.js/commit/9f8f6aae99ab409cd0bdb61f3950b067b0363c2f) -#### [v1.0.0-next.15](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.14...v1.0.0-next.15) +#### [v1.0.0-next.15](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.14...v1.0.0-next.15) > 11 February 2022 -- fix redundancy [`#1278`](https://github.com/oceanprotocol/ocean-lib-js/pull/1278) -- Bump chai from 4.3.4 to 4.3.6 [`#1277`](https://github.com/oceanprotocol/ocean-lib-js/pull/1277) -- Bump @types/crypto-js from 4.0.2 to 4.1.0 [`#1276`](https://github.com/oceanprotocol/ocean-lib-js/pull/1276) -- Bump @types/node from 17.0.16 to 17.0.17 [`#1275`](https://github.com/oceanprotocol/ocean-lib-js/pull/1275) -- Release 1.0.0-next.15 [`84a022f`](https://github.com/oceanprotocol/ocean-lib-js/commit/84a022f80c30bed5c7ad6ab692252210a71e9ae3) +- fix redundancy [`#1278`](https://github.com/oceanprotocol/ocean.js/pull/1278) +- Bump chai from 4.3.4 to 4.3.6 [`#1277`](https://github.com/oceanprotocol/ocean.js/pull/1277) +- Bump @types/crypto-js from 4.0.2 to 4.1.0 [`#1276`](https://github.com/oceanprotocol/ocean.js/pull/1276) +- Bump @types/node from 17.0.16 to 17.0.17 [`#1275`](https://github.com/oceanprotocol/ocean.js/pull/1275) +- Release 1.0.0-next.15 [`84a022f`](https://github.com/oceanprotocol/ocean.js/commit/84a022f80c30bed5c7ad6ab692252210a71e9ae3) -#### [v1.0.0-next.14](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.13...v1.0.0-next.14) +#### [v1.0.0-next.14](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.13...v1.0.0-next.14) > 10 February 2022 -- fixes [`#1273`](https://github.com/oceanprotocol/ocean-lib-js/pull/1273) -- Release 1.0.0-next.14 [`6aa1231`](https://github.com/oceanprotocol/ocean-lib-js/commit/6aa1231a0a64d32a148108fc43bef2afca42e873) +- fixes [`#1273`](https://github.com/oceanprotocol/ocean.js/pull/1273) +- Release 1.0.0-next.14 [`6aa1231`](https://github.com/oceanprotocol/ocean.js/commit/6aa1231a0a64d32a148108fc43bef2afca42e873) -#### [v1.0.0-next.13](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.12...v1.0.0-next.13) +#### [v1.0.0-next.13](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.12...v1.0.0-next.13) > 10 February 2022 -- Bump typescript from 4.4.4 to 4.5.5 [`#1270`](https://github.com/oceanprotocol/ocean-lib-js/pull/1270) -- Bump mocha from 9.1.3 to 9.2.0 [`#1269`](https://github.com/oceanprotocol/ocean-lib-js/pull/1269) -- Use v4main images [`#1267`](https://github.com/oceanprotocol/ocean-lib-js/pull/1267) -- Bump ts-node from 10.4.0 to 10.5.0 [`#1268`](https://github.com/oceanprotocol/ocean-lib-js/pull/1268) -- Bump @truffle/hdwallet-provider from 1.7.0 to 2.0.3 [`#1271`](https://github.com/oceanprotocol/ocean-lib-js/pull/1271) -- Bump mock-local-storage from 1.1.19 to 1.1.20 [`#1263`](https://github.com/oceanprotocol/ocean-lib-js/pull/1263) -- Bump cross-fetch from 3.1.4 to 3.1.5 [`#1264`](https://github.com/oceanprotocol/ocean-lib-js/pull/1264) -- Bump auto-changelog from 2.3.0 to 2.4.0 [`#1265`](https://github.com/oceanprotocol/ocean-lib-js/pull/1265) -- Bump @types/mocha from 9.0.0 to 9.1.0 [`#1262`](https://github.com/oceanprotocol/ocean-lib-js/pull/1262) -- Bump follow-redirects from 1.14.6 to 1.14.8 [`#1261`](https://github.com/oceanprotocol/ocean-lib-js/pull/1261) -- Bump simple-get from 2.8.1 to 2.8.2 [`#1260`](https://github.com/oceanprotocol/ocean-lib-js/pull/1260) -- Bump @openzeppelin/contracts from 4.4.1 to 4.4.2 [`#1259`](https://github.com/oceanprotocol/ocean-lib-js/pull/1259) -- Bump @types/node from 17.0.8 to 17.0.16 [`#1255`](https://github.com/oceanprotocol/ocean-lib-js/pull/1255) -- Bump typedoc from 0.22.10 to 0.22.11 [`#1230`](https://github.com/oceanprotocol/ocean-lib-js/pull/1230) -- npm audit fix [`92f4eb9`](https://github.com/oceanprotocol/ocean-lib-js/commit/92f4eb96695a1e32e750f6c3c0de7774e992e4f2) -- Release 1.0.0-next.13 [`5152bc2`](https://github.com/oceanprotocol/ocean-lib-js/commit/5152bc21646a6375799838daf77188a9dd6713f0) +- Bump typescript from 4.4.4 to 4.5.5 [`#1270`](https://github.com/oceanprotocol/ocean.js/pull/1270) +- Bump mocha from 9.1.3 to 9.2.0 [`#1269`](https://github.com/oceanprotocol/ocean.js/pull/1269) +- Use v4main images [`#1267`](https://github.com/oceanprotocol/ocean.js/pull/1267) +- Bump ts-node from 10.4.0 to 10.5.0 [`#1268`](https://github.com/oceanprotocol/ocean.js/pull/1268) +- Bump @truffle/hdwallet-provider from 1.7.0 to 2.0.3 [`#1271`](https://github.com/oceanprotocol/ocean.js/pull/1271) +- Bump mock-local-storage from 1.1.19 to 1.1.20 [`#1263`](https://github.com/oceanprotocol/ocean.js/pull/1263) +- Bump cross-fetch from 3.1.4 to 3.1.5 [`#1264`](https://github.com/oceanprotocol/ocean.js/pull/1264) +- Bump auto-changelog from 2.3.0 to 2.4.0 [`#1265`](https://github.com/oceanprotocol/ocean.js/pull/1265) +- Bump @types/mocha from 9.0.0 to 9.1.0 [`#1262`](https://github.com/oceanprotocol/ocean.js/pull/1262) +- Bump follow-redirects from 1.14.6 to 1.14.8 [`#1261`](https://github.com/oceanprotocol/ocean.js/pull/1261) +- Bump simple-get from 2.8.1 to 2.8.2 [`#1260`](https://github.com/oceanprotocol/ocean.js/pull/1260) +- Bump @openzeppelin/contracts from 4.4.1 to 4.4.2 [`#1259`](https://github.com/oceanprotocol/ocean.js/pull/1259) +- Bump @types/node from 17.0.8 to 17.0.16 [`#1255`](https://github.com/oceanprotocol/ocean.js/pull/1255) +- Bump typedoc from 0.22.10 to 0.22.11 [`#1230`](https://github.com/oceanprotocol/ocean.js/pull/1230) +- npm audit fix [`92f4eb9`](https://github.com/oceanprotocol/ocean.js/commit/92f4eb96695a1e32e750f6c3c0de7774e992e4f2) +- Release 1.0.0-next.13 [`5152bc2`](https://github.com/oceanprotocol/ocean.js/commit/5152bc21646a6375799838daf77188a9dd6713f0) -#### [v1.0.0-next.12](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.11...v1.0.0-next.12) +#### [v1.0.0-next.12](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.11...v1.0.0-next.12) > 9 February 2022 -- use compute environments [`#1258`](https://github.com/oceanprotocol/ocean-lib-js/pull/1258) -- Bump web3 from 1.6.1 to 1.7.0 [`#1224`](https://github.com/oceanprotocol/ocean-lib-js/pull/1224) -- Barge c2d & latest contracts bump [`#1248`](https://github.com/oceanprotocol/ocean-lib-js/pull/1248) -- Release 1.0.0-next.12 [`022c8c7`](https://github.com/oceanprotocol/ocean-lib-js/commit/022c8c7454a8e39fe552f68cacb6a5ec75776cdf) -- fixed version for contracts [`fbcd22e`](https://github.com/oceanprotocol/ocean-lib-js/commit/fbcd22e714d6233d7d71f60d7eabb0cecb2fe963) -- run push builds against v4main [`9142c35`](https://github.com/oceanprotocol/ocean-lib-js/commit/9142c354f0ba3829a31d71c2814e6bdac406d91e) +- use compute environments [`#1258`](https://github.com/oceanprotocol/ocean.js/pull/1258) +- Bump web3 from 1.6.1 to 1.7.0 [`#1224`](https://github.com/oceanprotocol/ocean.js/pull/1224) +- Barge c2d & latest contracts bump [`#1248`](https://github.com/oceanprotocol/ocean.js/pull/1248) +- Release 1.0.0-next.12 [`022c8c7`](https://github.com/oceanprotocol/ocean.js/commit/022c8c7454a8e39fe552f68cacb6a5ec75776cdf) +- fixed version for contracts [`fbcd22e`](https://github.com/oceanprotocol/ocean.js/commit/fbcd22e714d6233d7d71f60d7eabb0cecb2fe963) +- run push builds against v4main [`9142c35`](https://github.com/oceanprotocol/ocean.js/commit/9142c354f0ba3829a31d71c2814e6bdac406d91e) -#### [v1.0.0-next.11](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.10...v1.0.0-next.11) +#### [v1.0.0-next.11](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.10...v1.0.0-next.11) > 7 February 2022 -- Moved interfaces under types and some small fixes [`#1253`](https://github.com/oceanprotocol/ocean-lib-js/pull/1253) -- stop removing jsdocs [`#1254`](https://github.com/oceanprotocol/ocean-lib-js/pull/1254) -- Release 1.0.0-next.11 [`8fc3773`](https://github.com/oceanprotocol/ocean-lib-js/commit/8fc377383434a1c8a3ba68586ab8db85bc922d40) +- Moved interfaces under types and some small fixes [`#1253`](https://github.com/oceanprotocol/ocean.js/pull/1253) +- stop removing jsdocs [`#1254`](https://github.com/oceanprotocol/ocean.js/pull/1254) +- Release 1.0.0-next.11 [`8fc3773`](https://github.com/oceanprotocol/ocean.js/commit/8fc377383434a1c8a3ba68586ab8db85bc922d40) -#### [v1.0.0-next.10](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.9...v1.0.0-next.10) +#### [v1.0.0-next.10](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.9...v1.0.0-next.10) > 28 January 2022 -- remove ammount [`#1241`](https://github.com/oceanprotocol/ocean-lib-js/pull/1241) -- update contracts [`#1244`](https://github.com/oceanprotocol/ocean-lib-js/pull/1244) -- Release 1.0.0-next.10 [`3dda9a6`](https://github.com/oceanprotocol/ocean-lib-js/commit/3dda9a67097ac0adc388741b506cd23ef3e2cdb1) +- remove ammount [`#1241`](https://github.com/oceanprotocol/ocean.js/pull/1241) +- update contracts [`#1244`](https://github.com/oceanprotocol/ocean.js/pull/1244) +- Release 1.0.0-next.10 [`3dda9a6`](https://github.com/oceanprotocol/ocean.js/commit/3dda9a67097ac0adc388741b506cd23ef3e2cdb1) -#### [v1.0.0-next.9](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.8...v1.0.0-next.9) +#### [v1.0.0-next.9](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.8...v1.0.0-next.9) > 26 January 2022 -- fix order, update contracts [`#1240`](https://github.com/oceanprotocol/ocean-lib-js/pull/1240) -- Release 1.0.0-next.9 [`ef83df7`](https://github.com/oceanprotocol/ocean-lib-js/commit/ef83df7c7248402940a25a3f5d223131c7ece82e) +- fix order, update contracts [`#1240`](https://github.com/oceanprotocol/ocean.js/pull/1240) +- Release 1.0.0-next.9 [`ef83df7`](https://github.com/oceanprotocol/ocean.js/commit/ef83df7c7248402940a25a3f5d223131c7ece82e) -#### [v1.0.0-next.8](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.7...v1.0.0-next.8) +#### [v1.0.0-next.8](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.7...v1.0.0-next.8) > 25 January 2022 -- heleper+ remove old ibs [`#1238`](https://github.com/oceanprotocol/ocean-lib-js/pull/1238) -- Add setMetaDataAndTokenURI method [`#1234`](https://github.com/oceanprotocol/ocean-lib-js/pull/1234) -- remove optional fetch method, add abort signal [`#1235`](https://github.com/oceanprotocol/ocean-lib-js/pull/1235) -- Release 1.0.0-next.8 [`1b0fb28`](https://github.com/oceanprotocol/ocean-lib-js/commit/1b0fb28e7676737f2086f5032dd9dfca85431b0b) +- heleper+ remove old ibs [`#1238`](https://github.com/oceanprotocol/ocean.js/pull/1238) +- Add setMetaDataAndTokenURI method [`#1234`](https://github.com/oceanprotocol/ocean.js/pull/1234) +- remove optional fetch method, add abort signal [`#1235`](https://github.com/oceanprotocol/ocean.js/pull/1235) +- Release 1.0.0-next.8 [`1b0fb28`](https://github.com/oceanprotocol/ocean.js/commit/1b0fb28e7676737f2086f5032dd9dfca85431b0b) -#### [v1.0.0-next.7](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.6...v1.0.0-next.7) +#### [v1.0.0-next.7](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.6...v1.0.0-next.7) > 20 January 2022 -- replaced local artifacts with the published ones [`#1232`](https://github.com/oceanprotocol/ocean-lib-js/pull/1232) -- Allow users/market to set own gas contract options & configurable web3 contract params [`#1214`](https://github.com/oceanprotocol/ocean-lib-js/pull/1214) -- Add default http function and fixes provider class [`#1212`](https://github.com/oceanprotocol/ocean-lib-js/pull/1212) -- Feature/ split orders&fees and uniformize datatoken naming [`#1223`](https://github.com/oceanprotocol/ocean-lib-js/pull/1223) -- added default contract options and gas in config [`4d60a16`](https://github.com/oceanprotocol/ocean-lib-js/commit/4d60a16f6e79a89ed636b99592167c2c8f8c50ed) -- update artifacts after latest contract changes [`b4e102e`](https://github.com/oceanprotocol/ocean-lib-js/commit/b4e102e6a6fa597fc9540d169428030db52efcad) -- update artifacts [`c5b5835`](https://github.com/oceanprotocol/ocean-lib-js/commit/c5b583554eea28bab8a0c3af252dc70a707cdb51) +- replaced local artifacts with the published ones [`#1232`](https://github.com/oceanprotocol/ocean.js/pull/1232) +- Allow users/market to set own gas contract options & configurable web3 contract params [`#1214`](https://github.com/oceanprotocol/ocean.js/pull/1214) +- Add default http function and fixes provider class [`#1212`](https://github.com/oceanprotocol/ocean.js/pull/1212) +- Feature/ split orders&fees and uniformize datatoken naming [`#1223`](https://github.com/oceanprotocol/ocean.js/pull/1223) +- added default contract options and gas in config [`4d60a16`](https://github.com/oceanprotocol/ocean.js/commit/4d60a16f6e79a89ed636b99592167c2c8f8c50ed) +- update artifacts after latest contract changes [`b4e102e`](https://github.com/oceanprotocol/ocean.js/commit/b4e102e6a6fa597fc9540d169428030db52efcad) +- update artifacts [`c5b5835`](https://github.com/oceanprotocol/ocean.js/commit/c5b583554eea28bab8a0c3af252dc70a707cdb51) -#### [v1.0.0-next.6](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.5...v1.0.0-next.6) +#### [v1.0.0-next.6](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.5...v1.0.0-next.6) > 14 January 2022 -- up [`#1219`](https://github.com/oceanprotocol/ocean-lib-js/pull/1219) -- Release 1.0.0-next.6 [`1879315`](https://github.com/oceanprotocol/ocean-lib-js/commit/187931531021b89bd9c735f90c7426aea65dd57b) +- up [`#1219`](https://github.com/oceanprotocol/ocean.js/pull/1219) +- Release 1.0.0-next.6 [`1879315`](https://github.com/oceanprotocol/ocean.js/commit/187931531021b89bd9c735f90c7426aea65dd57b) -#### [v1.0.0-next.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.4...v1.0.0-next.5) +#### [v1.0.0-next.5](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.4...v1.0.0-next.5) > 13 January 2022 -- update abi/address [`#1218`](https://github.com/oceanprotocol/ocean-lib-js/pull/1218) -- Release 1.0.0-next.5 [`672e2b1`](https://github.com/oceanprotocol/ocean-lib-js/commit/672e2b1f4abcc16b4a747b66fa609ea4ca9b5994) +- update abi/address [`#1218`](https://github.com/oceanprotocol/ocean.js/pull/1218) +- Release 1.0.0-next.5 [`672e2b1`](https://github.com/oceanprotocol/ocean.js/commit/672e2b1f4abcc16b4a747b66fa609ea4ca9b5994) -#### [v1.0.0-next.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.3...v1.0.0-next.4) +#### [v1.0.0-next.4](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.3...v1.0.0-next.4) > 13 January 2022 -- update addresses based on new deployment [`#1216`](https://github.com/oceanprotocol/ocean-lib-js/pull/1216) -- Release 1.0.0-next.4 [`a85f29a`](https://github.com/oceanprotocol/ocean-lib-js/commit/a85f29a5d2324f4b17ab45882267920f7a66e42b) +- update addresses based on new deployment [`#1216`](https://github.com/oceanprotocol/ocean.js/pull/1216) +- Release 1.0.0-next.4 [`a85f29a`](https://github.com/oceanprotocol/ocean.js/commit/a85f29a5d2324f4b17ab45882267920f7a66e42b) -#### [v1.0.0-next.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.2...v1.0.0-next.3) +#### [v1.0.0-next.3](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.2...v1.0.0-next.3) > 12 January 2022 -- update addresses [`#1213`](https://github.com/oceanprotocol/ocean-lib-js/pull/1213) -- Release 1.0.0-next.3 [`3c9ee75`](https://github.com/oceanprotocol/ocean-lib-js/commit/3c9ee7599ba3c5a8109925cdb6e76fa9ff389fe2) +- update addresses [`#1213`](https://github.com/oceanprotocol/ocean.js/pull/1213) +- Release 1.0.0-next.3 [`3c9ee75`](https://github.com/oceanprotocol/ocean.js/commit/3c9ee7599ba3c5a8109925cdb6e76fa9ff389fe2) -#### [v1.0.0-next.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.1...v1.0.0-next.2) +#### [v1.0.0-next.2](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.1...v1.0.0-next.2) > 11 January 2022 -- Release 1.0.0-next.2 [`a9c592c`](https://github.com/oceanprotocol/ocean-lib-js/commit/a9c592c3e6f77419f9ddc13ac396063696f7eb69) -- fix dist typings path [`ae6ee6f`](https://github.com/oceanprotocol/ocean-lib-js/commit/ae6ee6f9c71218e0bf6c7a22283dbe9d725e61f0) +- Release 1.0.0-next.2 [`a9c592c`](https://github.com/oceanprotocol/ocean.js/commit/a9c592c3e6f77419f9ddc13ac396063696f7eb69) +- fix dist typings path [`ae6ee6f`](https://github.com/oceanprotocol/ocean.js/commit/ae6ee6f9c71218e0bf6c7a22283dbe9d725e61f0) -#### [v1.0.0-next.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v1.0.0-next.0...v1.0.0-next.1) +#### [v1.0.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.0...v1.0.0-next.1) > 11 January 2022 -- move artifacts folder under /src [`bdfa60a`](https://github.com/oceanprotocol/ocean-lib-js/commit/bdfa60a91b7c304ee775c5c88cc5e22b569acc74) -- fix artifacts path in all test files [`24425fc`](https://github.com/oceanprotocol/ocean-lib-js/commit/24425fcf8ba8f0b2f950cc5857c71e1b1d57f683) -- make mocha pick up individual tsconfig, compile test files [`8776c1b`](https://github.com/oceanprotocol/ocean-lib-js/commit/8776c1bb91d7136cf945179a00cf40847b9c413f) +- move artifacts folder under /src [`bdfa60a`](https://github.com/oceanprotocol/ocean.js/commit/bdfa60a91b7c304ee775c5c88cc5e22b569acc74) +- fix artifacts path in all test files [`24425fc`](https://github.com/oceanprotocol/ocean.js/commit/24425fcf8ba8f0b2f950cc5857c71e1b1d57f683) +- make mocha pick up individual tsconfig, compile test files [`8776c1b`](https://github.com/oceanprotocol/ocean.js/commit/8776c1bb91d7136cf945179a00cf40847b9c413f) -#### [v1.0.0-next.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.20.2...v1.0.0-next.0) +#### [v1.0.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v0.20.2...v1.0.0-next.0) > 11 January 2022 -- Fix/pool_approve [`#1207`](https://github.com/oceanprotocol/ocean-lib-js/pull/1207) -- Add ocean-contracts artifacts in root dir [`#1208`](https://github.com/oceanprotocol/ocean-lib-js/pull/1208) -- integration tests publish all methods [`#1197`](https://github.com/oceanprotocol/ocean-lib-js/pull/1197) -- compute start [`#1196`](https://github.com/oceanprotocol/ocean-lib-js/pull/1196) -- publish & consume flow working [`#1192`](https://github.com/oceanprotocol/ocean-lib-js/pull/1192) -- publish tests [`#1184`](https://github.com/oceanprotocol/ocean-lib-js/pull/1184) -- Fix/update address [`#1174`](https://github.com/oceanprotocol/ocean-lib-js/pull/1174) -- config and encrypt fixes [`#1173`](https://github.com/oceanprotocol/ocean-lib-js/pull/1173) -- Function checks & provider fee updates [`#1159`](https://github.com/oceanprotocol/ocean-lib-js/pull/1159) -- add dispenser [`#1170`](https://github.com/oceanprotocol/ocean-lib-js/pull/1170) -- fix [`#1166`](https://github.com/oceanprotocol/ocean-lib-js/pull/1166) -- Feature/didutils [`#1163`](https://github.com/oceanprotocol/ocean-lib-js/pull/1163) -- fix encrypt function [`#1162`](https://github.com/oceanprotocol/ocean-lib-js/pull/1162) -- Add setTokenURI and others [`#1151`](https://github.com/oceanprotocol/ocean-lib-js/pull/1151) -- add provider to index [`#1150`](https://github.com/oceanprotocol/ocean-lib-js/pull/1150) -- update config url [`#1149`](https://github.com/oceanprotocol/ocean-lib-js/pull/1149) -- add c2d methods in provider class [`#1143`](https://github.com/oceanprotocol/ocean-lib-js/pull/1143) -- random fixes [`#1148`](https://github.com/oceanprotocol/ocean-lib-js/pull/1148) -- add code owner [`#1140`](https://github.com/oceanprotocol/ocean-lib-js/pull/1140) -- Ddo updates & refactoring & structure updates [`#1130`](https://github.com/oceanprotocol/ocean-lib-js/pull/1130) -- config [`#1139`](https://github.com/oceanprotocol/ocean-lib-js/pull/1139) -- build fix [`#1138`](https://github.com/oceanprotocol/ocean-lib-js/pull/1138) -- Helper class for provider interaction [`#1120`](https://github.com/oceanprotocol/ocean-lib-js/pull/1120) -- Post audit contract updates [`#1129`](https://github.com/oceanprotocol/ocean-lib-js/pull/1129) -- Integrate dispenser contract and post existing post audit fixes from contracts [`#1101`](https://github.com/oceanprotocol/ocean-lib-js/pull/1101) -- DDO typings [`#1111`](https://github.com/oceanprotocol/ocean-lib-js/pull/1111) -- Integration of Side staking and Fixed rate exchange contracts and unit tests [`#1102`](https://github.com/oceanprotocol/ocean-lib-js/pull/1102) -- Integrate erc721 erc20 template contracts & lot of refactoring [`#1082`](https://github.com/oceanprotocol/ocean-lib-js/pull/1082) -- Integrate pool contract and add support for multiple token decimals [`#1100`](https://github.com/oceanprotocol/ocean-lib-js/pull/1100) -- Feature/nft factory [`#1083`](https://github.com/oceanprotocol/ocean-lib-js/pull/1083) -- Integrated erc721factory contract methods [`#1080`](https://github.com/oceanprotocol/ocean-lib-js/pull/1080) -- updated tsconfig [`0a9cb3d`](https://github.com/oceanprotocol/ocean-lib-js/commit/0a9cb3d5926f29f22eabaa09d6f1c52f2f219348) -- add getMetadata function, add more tests in NFT class [`96cfa95`](https://github.com/oceanprotocol/ocean-lib-js/commit/96cfa952e4ab48c79e3870eb56ee905f728fa22c) -- add used artifacts update imports and removed not used dependancies [`a019491`](https://github.com/oceanprotocol/ocean-lib-js/commit/a019491ed2512c1c774d163c079c82392d9ecbf4) +- Fix/pool_approve [`#1207`](https://github.com/oceanprotocol/ocean.js/pull/1207) +- Add ocean-contracts artifacts in root dir [`#1208`](https://github.com/oceanprotocol/ocean.js/pull/1208) +- integration tests publish all methods [`#1197`](https://github.com/oceanprotocol/ocean.js/pull/1197) +- compute start [`#1196`](https://github.com/oceanprotocol/ocean.js/pull/1196) +- publish & consume flow working [`#1192`](https://github.com/oceanprotocol/ocean.js/pull/1192) +- publish tests [`#1184`](https://github.com/oceanprotocol/ocean.js/pull/1184) +- Fix/update address [`#1174`](https://github.com/oceanprotocol/ocean.js/pull/1174) +- config and encrypt fixes [`#1173`](https://github.com/oceanprotocol/ocean.js/pull/1173) +- Function checks & provider fee updates [`#1159`](https://github.com/oceanprotocol/ocean.js/pull/1159) +- add dispenser [`#1170`](https://github.com/oceanprotocol/ocean.js/pull/1170) +- fix [`#1166`](https://github.com/oceanprotocol/ocean.js/pull/1166) +- Feature/didutils [`#1163`](https://github.com/oceanprotocol/ocean.js/pull/1163) +- fix encrypt function [`#1162`](https://github.com/oceanprotocol/ocean.js/pull/1162) +- Add setTokenURI and others [`#1151`](https://github.com/oceanprotocol/ocean.js/pull/1151) +- add provider to index [`#1150`](https://github.com/oceanprotocol/ocean.js/pull/1150) +- update config url [`#1149`](https://github.com/oceanprotocol/ocean.js/pull/1149) +- add c2d methods in provider class [`#1143`](https://github.com/oceanprotocol/ocean.js/pull/1143) +- random fixes [`#1148`](https://github.com/oceanprotocol/ocean.js/pull/1148) +- add code owner [`#1140`](https://github.com/oceanprotocol/ocean.js/pull/1140) +- Ddo updates & refactoring & structure updates [`#1130`](https://github.com/oceanprotocol/ocean.js/pull/1130) +- config [`#1139`](https://github.com/oceanprotocol/ocean.js/pull/1139) +- build fix [`#1138`](https://github.com/oceanprotocol/ocean.js/pull/1138) +- Helper class for provider interaction [`#1120`](https://github.com/oceanprotocol/ocean.js/pull/1120) +- Post audit contract updates [`#1129`](https://github.com/oceanprotocol/ocean.js/pull/1129) +- Integrate dispenser contract and post existing post audit fixes from contracts [`#1101`](https://github.com/oceanprotocol/ocean.js/pull/1101) +- DDO typings [`#1111`](https://github.com/oceanprotocol/ocean.js/pull/1111) +- Integration of Side staking and Fixed rate exchange contracts and unit tests [`#1102`](https://github.com/oceanprotocol/ocean.js/pull/1102) +- Integrate erc721 erc20 template contracts & lot of refactoring [`#1082`](https://github.com/oceanprotocol/ocean.js/pull/1082) +- Integrate pool contract and add support for multiple token decimals [`#1100`](https://github.com/oceanprotocol/ocean.js/pull/1100) +- Feature/nft factory [`#1083`](https://github.com/oceanprotocol/ocean.js/pull/1083) +- Integrated erc721factory contract methods [`#1080`](https://github.com/oceanprotocol/ocean.js/pull/1080) +- updated tsconfig [`0a9cb3d`](https://github.com/oceanprotocol/ocean.js/commit/0a9cb3d5926f29f22eabaa09d6f1c52f2f219348) +- add getMetadata function, add more tests in NFT class [`96cfa95`](https://github.com/oceanprotocol/ocean.js/commit/96cfa952e4ab48c79e3870eb56ee905f728fa22c) +- add used artifacts update imports and removed not used dependancies [`a019491`](https://github.com/oceanprotocol/ocean.js/commit/a019491ed2512c1c774d163c079c82392d9ecbf4) -#### [v0.20.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.20.1...v0.20.2) +#### [v0.20.2](https://github.com/oceanprotocol/ocean.js/compare/v0.20.1...v0.20.2) > 3 January 2022 -- allow custom parameters [`#1179`](https://github.com/oceanprotocol/ocean-lib-js/pull/1179) -- Bump source-map-support from 0.5.20 to 0.5.21 [`#1127`](https://github.com/oceanprotocol/ocean-lib-js/pull/1127) -- Bump @truffle/hdwallet-provider from 1.7.0 to 2.0.0 [`#1181`](https://github.com/oceanprotocol/ocean-lib-js/pull/1181) -- Bump @types/node from 17.0.5 to 17.0.7 [`#1187`](https://github.com/oceanprotocol/ocean-lib-js/pull/1187) -- Bump mock-local-storage from 1.1.18 to 1.1.19 [`#1186`](https://github.com/oceanprotocol/ocean-lib-js/pull/1186) -- Bump typescript from 4.5.3 to 4.5.4 [`#1185`](https://github.com/oceanprotocol/ocean-lib-js/pull/1185) -- Bump prettier from 2.4.1 to 2.5.1 [`#1180`](https://github.com/oceanprotocol/ocean-lib-js/pull/1180) -- Bump @types/crypto-js from 4.0.2 to 4.1.0 [`#1182`](https://github.com/oceanprotocol/ocean-lib-js/pull/1182) -- Bump typedoc from 0.22.9 to 0.22.10 [`#1126`](https://github.com/oceanprotocol/ocean-lib-js/pull/1126) -- Bump @types/node from 16.11.7 to 17.0.5 [`#1177`](https://github.com/oceanprotocol/ocean-lib-js/pull/1177) -- Bump @types/chai from 4.2.22 to 4.3.0 [`#1147`](https://github.com/oceanprotocol/ocean-lib-js/pull/1147) -- Fix beginner guide [`#1157`](https://github.com/oceanprotocol/ocean-lib-js/pull/1157) -- Fix quickstart simple [`#1158`](https://github.com/oceanprotocol/ocean-lib-js/pull/1158) -- reuse datatoken info without getting from contract [`#1141`](https://github.com/oceanprotocol/ocean-lib-js/pull/1141) -- Bump typescript from 4.4.4 to 4.5.3 [`#1144`](https://github.com/oceanprotocol/ocean-lib-js/pull/1144) -- Release 0.20.2 [`62490dc`](https://github.com/oceanprotocol/ocean-lib-js/commit/62490dcdbb734b304522f4bccf1c761ed84ab7ff) +- allow custom parameters [`#1179`](https://github.com/oceanprotocol/ocean.js/pull/1179) +- Bump source-map-support from 0.5.20 to 0.5.21 [`#1127`](https://github.com/oceanprotocol/ocean.js/pull/1127) +- Bump @truffle/hdwallet-provider from 1.7.0 to 2.0.0 [`#1181`](https://github.com/oceanprotocol/ocean.js/pull/1181) +- Bump @types/node from 17.0.5 to 17.0.7 [`#1187`](https://github.com/oceanprotocol/ocean.js/pull/1187) +- Bump mock-local-storage from 1.1.18 to 1.1.19 [`#1186`](https://github.com/oceanprotocol/ocean.js/pull/1186) +- Bump typescript from 4.5.3 to 4.5.4 [`#1185`](https://github.com/oceanprotocol/ocean.js/pull/1185) +- Bump prettier from 2.4.1 to 2.5.1 [`#1180`](https://github.com/oceanprotocol/ocean.js/pull/1180) +- Bump @types/crypto-js from 4.0.2 to 4.1.0 [`#1182`](https://github.com/oceanprotocol/ocean.js/pull/1182) +- Bump typedoc from 0.22.9 to 0.22.10 [`#1126`](https://github.com/oceanprotocol/ocean.js/pull/1126) +- Bump @types/node from 16.11.7 to 17.0.5 [`#1177`](https://github.com/oceanprotocol/ocean.js/pull/1177) +- Bump @types/chai from 4.2.22 to 4.3.0 [`#1147`](https://github.com/oceanprotocol/ocean.js/pull/1147) +- Fix beginner guide [`#1157`](https://github.com/oceanprotocol/ocean.js/pull/1157) +- Fix quickstart simple [`#1158`](https://github.com/oceanprotocol/ocean.js/pull/1158) +- reuse datatoken info without getting from contract [`#1141`](https://github.com/oceanprotocol/ocean.js/pull/1141) +- Bump typescript from 4.4.4 to 4.5.3 [`#1144`](https://github.com/oceanprotocol/ocean.js/pull/1144) +- Release 0.20.2 [`62490dc`](https://github.com/oceanprotocol/ocean.js/commit/62490dcdbb734b304522f4bccf1c761ed84ab7ff) -#### [v0.20.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.20.0...v0.20.1) +#### [v0.20.1](https://github.com/oceanprotocol/ocean.js/compare/v0.20.0...v0.20.1) > 10 December 2021 -- required only validation on user custom parameter [`#1146`](https://github.com/oceanprotocol/ocean-lib-js/pull/1146) -- add configurable request timeout for HTTP request [`#1145`](https://github.com/oceanprotocol/ocean-lib-js/pull/1145) -- Release 0.20.1 [`e216090`](https://github.com/oceanprotocol/ocean-lib-js/commit/e216090394721358ce2bf9126c94f0b8069158db) +- required only validation on user custom parameter [`#1146`](https://github.com/oceanprotocol/ocean.js/pull/1146) +- add configurable request timeout for HTTP request [`#1145`](https://github.com/oceanprotocol/ocean.js/pull/1145) +- Release 0.20.1 [`e216090`](https://github.com/oceanprotocol/ocean.js/commit/e216090394721358ce2bf9126c94f0b8069158db) -#### [v0.20.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.19.3...v0.20.0) +#### [v0.20.0](https://github.com/oceanprotocol/ocean.js/compare/v0.19.3...v0.20.0) > 29 November 2021 -- Bump @truffle/hdwallet-provider from 1.6.0 to 1.7.0 [`#1123`](https://github.com/oceanprotocol/ocean-lib-js/pull/1123) -- Bump release-it from 14.11.7 to 14.11.8 [`#1124`](https://github.com/oceanprotocol/ocean-lib-js/pull/1124) -- Bump mock-local-storage from 1.1.17 to 1.1.18 [`#1122`](https://github.com/oceanprotocol/ocean-lib-js/pull/1122) -- configurable web3 params [`#1112`](https://github.com/oceanprotocol/ocean-lib-js/pull/1112) -- add compute getResult [`#983`](https://github.com/oceanprotocol/ocean-lib-js/pull/983) -- Bump web3 from 1.6.0 to 1.6.1 [`#1115`](https://github.com/oceanprotocol/ocean-lib-js/pull/1115) -- Bump microbundle from 0.14.1 to 0.14.2 [`#1118`](https://github.com/oceanprotocol/ocean-lib-js/pull/1118) -- Release 0.20.0 [`f79194f`](https://github.com/oceanprotocol/ocean-lib-js/commit/f79194faf37e447c07963c1114f0481b0b18030b) +- Bump @truffle/hdwallet-provider from 1.6.0 to 1.7.0 [`#1123`](https://github.com/oceanprotocol/ocean.js/pull/1123) +- Bump release-it from 14.11.7 to 14.11.8 [`#1124`](https://github.com/oceanprotocol/ocean.js/pull/1124) +- Bump mock-local-storage from 1.1.17 to 1.1.18 [`#1122`](https://github.com/oceanprotocol/ocean.js/pull/1122) +- configurable web3 params [`#1112`](https://github.com/oceanprotocol/ocean.js/pull/1112) +- add compute getResult [`#983`](https://github.com/oceanprotocol/ocean.js/pull/983) +- Bump web3 from 1.6.0 to 1.6.1 [`#1115`](https://github.com/oceanprotocol/ocean.js/pull/1115) +- Bump microbundle from 0.14.1 to 0.14.2 [`#1118`](https://github.com/oceanprotocol/ocean.js/pull/1118) +- Release 0.20.0 [`f79194f`](https://github.com/oceanprotocol/ocean.js/commit/f79194faf37e447c07963c1114f0481b0b18030b) -#### [v0.19.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.19.2...v0.19.3) +#### [v0.19.3](https://github.com/oceanprotocol/ocean.js/compare/v0.19.2...v0.19.3) > 26 November 2021 -- Feature/issue 1060 change credential type [`#1073`](https://github.com/oceanprotocol/ocean-lib-js/pull/1073) -- Bump @truffle/hdwallet-provider from 1.5.1 to 1.6.0 [`#1103`](https://github.com/oceanprotocol/ocean-lib-js/pull/1103) -- Bump @types/node from 16.11.4 to 16.11.7 [`#1108`](https://github.com/oceanprotocol/ocean-lib-js/pull/1108) -- Bump release-it from 14.11.6 to 14.11.7 [`#1113`](https://github.com/oceanprotocol/ocean-lib-js/pull/1113) -- Bump typedoc from 0.22.6 to 0.22.9 [`#1114`](https://github.com/oceanprotocol/ocean-lib-js/pull/1114) -- Bump @types/node from 16.11.2 to 16.11.4 [`#1087`](https://github.com/oceanprotocol/ocean-lib-js/pull/1087) -- Bump ts-node from 10.3.1 to 10.4.0 [`#1086`](https://github.com/oceanprotocol/ocean-lib-js/pull/1086) -- Bump @types/node from 16.11.1 to 16.11.2 [`#1085`](https://github.com/oceanprotocol/ocean-lib-js/pull/1085) -- Bump ts-node from 10.3.0 to 10.3.1 [`#1084`](https://github.com/oceanprotocol/ocean-lib-js/pull/1084) -- Bump @types/node from 16.11.0 to 16.11.1 [`#1077`](https://github.com/oceanprotocol/ocean-lib-js/pull/1077) -- Bump mocha from 9.1.2 to 9.1.3 [`#1078`](https://github.com/oceanprotocol/ocean-lib-js/pull/1078) -- Bump typedoc from 0.22.5 to 0.22.6 [`#1079`](https://github.com/oceanprotocol/ocean-lib-js/pull/1079) -- Bump @types/node from 16.10.4 to 16.11.0 [`#1074`](https://github.com/oceanprotocol/ocean-lib-js/pull/1074) -- Bump microbundle from 0.14.0 to 0.14.1 [`#1075`](https://github.com/oceanprotocol/ocean-lib-js/pull/1075) -- Bump @types/node from 16.10.3 to 16.10.4 [`#1071`](https://github.com/oceanprotocol/ocean-lib-js/pull/1071) -- Bump typescript from 4.4.3 to 4.4.4 [`#1070`](https://github.com/oceanprotocol/ocean-lib-js/pull/1070) -- Bump ts-node from 10.2.1 to 10.3.0 [`#1069`](https://github.com/oceanprotocol/ocean-lib-js/pull/1069) -- Delete parameters.md [`#1063`](https://github.com/oceanprotocol/ocean-lib-js/pull/1063) -- Bump @truffle/hdwallet-provider from 1.5.0 to 1.5.1 [`#1067`](https://github.com/oceanprotocol/ocean-lib-js/pull/1067) -- Bump @types/node from 16.10.2 to 16.10.3 [`#1065`](https://github.com/oceanprotocol/ocean-lib-js/pull/1065) -- Bump microbundle from 0.13.3 to 0.14.0 [`#1066`](https://github.com/oceanprotocol/ocean-lib-js/pull/1066) -- Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0 [`#1062`](https://github.com/oceanprotocol/ocean-lib-js/pull/1062) -- Bump @typescript-eslint/parser from 4.32.0 to 4.33.0 [`#1061`](https://github.com/oceanprotocol/ocean-lib-js/pull/1061) -- #1060 Event access control validation [`d7a21e7`](https://github.com/oceanprotocol/ocean-lib-js/commit/d7a21e7e342e2094a864e1d1492324d5810f63db) -- Fix bug [`be79812`](https://github.com/oceanprotocol/ocean-lib-js/commit/be798129f9cb007d603ce78632c75dcc18506796) -- Fix codeclimate [`bd4f663`](https://github.com/oceanprotocol/ocean-lib-js/commit/bd4f663113597b9d23f44a56b57d5f1fb5ab3e7b) +- Feature/issue 1060 change credential type [`#1073`](https://github.com/oceanprotocol/ocean.js/pull/1073) +- Bump @truffle/hdwallet-provider from 1.5.1 to 1.6.0 [`#1103`](https://github.com/oceanprotocol/ocean.js/pull/1103) +- Bump @types/node from 16.11.4 to 16.11.7 [`#1108`](https://github.com/oceanprotocol/ocean.js/pull/1108) +- Bump release-it from 14.11.6 to 14.11.7 [`#1113`](https://github.com/oceanprotocol/ocean.js/pull/1113) +- Bump typedoc from 0.22.6 to 0.22.9 [`#1114`](https://github.com/oceanprotocol/ocean.js/pull/1114) +- Bump @types/node from 16.11.2 to 16.11.4 [`#1087`](https://github.com/oceanprotocol/ocean.js/pull/1087) +- Bump ts-node from 10.3.1 to 10.4.0 [`#1086`](https://github.com/oceanprotocol/ocean.js/pull/1086) +- Bump @types/node from 16.11.1 to 16.11.2 [`#1085`](https://github.com/oceanprotocol/ocean.js/pull/1085) +- Bump ts-node from 10.3.0 to 10.3.1 [`#1084`](https://github.com/oceanprotocol/ocean.js/pull/1084) +- Bump @types/node from 16.11.0 to 16.11.1 [`#1077`](https://github.com/oceanprotocol/ocean.js/pull/1077) +- Bump mocha from 9.1.2 to 9.1.3 [`#1078`](https://github.com/oceanprotocol/ocean.js/pull/1078) +- Bump typedoc from 0.22.5 to 0.22.6 [`#1079`](https://github.com/oceanprotocol/ocean.js/pull/1079) +- Bump @types/node from 16.10.4 to 16.11.0 [`#1074`](https://github.com/oceanprotocol/ocean.js/pull/1074) +- Bump microbundle from 0.14.0 to 0.14.1 [`#1075`](https://github.com/oceanprotocol/ocean.js/pull/1075) +- Bump @types/node from 16.10.3 to 16.10.4 [`#1071`](https://github.com/oceanprotocol/ocean.js/pull/1071) +- Bump typescript from 4.4.3 to 4.4.4 [`#1070`](https://github.com/oceanprotocol/ocean.js/pull/1070) +- Bump ts-node from 10.2.1 to 10.3.0 [`#1069`](https://github.com/oceanprotocol/ocean.js/pull/1069) +- Delete parameters.md [`#1063`](https://github.com/oceanprotocol/ocean.js/pull/1063) +- Bump @truffle/hdwallet-provider from 1.5.0 to 1.5.1 [`#1067`](https://github.com/oceanprotocol/ocean.js/pull/1067) +- Bump @types/node from 16.10.2 to 16.10.3 [`#1065`](https://github.com/oceanprotocol/ocean.js/pull/1065) +- Bump microbundle from 0.13.3 to 0.14.0 [`#1066`](https://github.com/oceanprotocol/ocean.js/pull/1066) +- Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0 [`#1062`](https://github.com/oceanprotocol/ocean.js/pull/1062) +- Bump @typescript-eslint/parser from 4.32.0 to 4.33.0 [`#1061`](https://github.com/oceanprotocol/ocean.js/pull/1061) +- #1060 Event access control validation [`d7a21e7`](https://github.com/oceanprotocol/ocean.js/commit/d7a21e7e342e2094a864e1d1492324d5810f63db) +- Fix bug [`be79812`](https://github.com/oceanprotocol/ocean.js/commit/be798129f9cb007d603ce78632c75dcc18506796) +- Fix codeclimate [`bd4f663`](https://github.com/oceanprotocol/ocean.js/commit/bd4f663113597b9d23f44a56b57d5f1fb5ab3e7b) -#### [v0.19.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.19.1...v0.19.2) +#### [v0.19.2](https://github.com/oceanprotocol/ocean.js/compare/v0.19.1...v0.19.2) > 4 October 2021 -- Changing files name event.d.ts -> event.ts [`#1058`](https://github.com/oceanprotocol/ocean-lib-js/pull/1058) -- Release 0.19.2 [`5af26f0`](https://github.com/oceanprotocol/ocean-lib-js/commit/5af26f08e49c9eb357e2ae9cd8e39dc0b3182448) +- Changing files name event.d.ts -> event.ts [`#1058`](https://github.com/oceanprotocol/ocean.js/pull/1058) +- Release 0.19.2 [`5af26f0`](https://github.com/oceanprotocol/ocean.js/commit/5af26f08e49c9eb357e2ae9cd8e39dc0b3182448) -#### [v0.19.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.19.0...v0.19.1) +#### [v0.19.1](https://github.com/oceanprotocol/ocean.js/compare/v0.19.0...v0.19.1) > 4 October 2021 -- bump contracts + add networks [`#1059`](https://github.com/oceanprotocol/ocean-lib-js/pull/1059) -- Bump typedoc from 0.21.9 to 0.22.5 [`#1056`](https://github.com/oceanprotocol/ocean-lib-js/pull/1056) -- Bump web3 from 1.5.3 to 1.6.0 [`#1052`](https://github.com/oceanprotocol/ocean-lib-js/pull/1052) -- Bump @types/node from 16.10.1 to 16.10.2 [`#1049`](https://github.com/oceanprotocol/ocean-lib-js/pull/1049) -- Bump @typescript-eslint/eslint-plugin from 4.31.2 to 4.32.0 [`#1045`](https://github.com/oceanprotocol/ocean-lib-js/pull/1045) -- Bump @typescript-eslint/parser from 4.31.2 to 4.32.0 [`#1044`](https://github.com/oceanprotocol/ocean-lib-js/pull/1044) -- Bump @types/node from 16.9.6 to 16.10.1 [`#1043`](https://github.com/oceanprotocol/ocean-lib-js/pull/1043) -- Bump mocha from 9.1.1 to 9.1.2 [`#1042`](https://github.com/oceanprotocol/ocean-lib-js/pull/1042) -- Release 0.19.1 [`606d5c2`](https://github.com/oceanprotocol/ocean-lib-js/commit/606d5c2a0bbe36b1f7bb7b7b79796ef77d6170bb) +- bump contracts + add networks [`#1059`](https://github.com/oceanprotocol/ocean.js/pull/1059) +- Bump typedoc from 0.21.9 to 0.22.5 [`#1056`](https://github.com/oceanprotocol/ocean.js/pull/1056) +- Bump web3 from 1.5.3 to 1.6.0 [`#1052`](https://github.com/oceanprotocol/ocean.js/pull/1052) +- Bump @types/node from 16.10.1 to 16.10.2 [`#1049`](https://github.com/oceanprotocol/ocean.js/pull/1049) +- Bump @typescript-eslint/eslint-plugin from 4.31.2 to 4.32.0 [`#1045`](https://github.com/oceanprotocol/ocean.js/pull/1045) +- Bump @typescript-eslint/parser from 4.31.2 to 4.32.0 [`#1044`](https://github.com/oceanprotocol/ocean.js/pull/1044) +- Bump @types/node from 16.9.6 to 16.10.1 [`#1043`](https://github.com/oceanprotocol/ocean.js/pull/1043) +- Bump mocha from 9.1.1 to 9.1.2 [`#1042`](https://github.com/oceanprotocol/ocean.js/pull/1042) +- Release 0.19.1 [`606d5c2`](https://github.com/oceanprotocol/ocean.js/commit/606d5c2a0bbe36b1f7bb7b7b79796ef77d6170bb) -#### [v0.19.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.18.0...v0.19.0) +#### [v0.19.0](https://github.com/oceanprotocol/ocean.js/compare/v0.18.0...v0.19.0) > 24 September 2021 -- Custom user parameters [`#944`](https://github.com/oceanprotocol/ocean-lib-js/pull/944) -- Release 0.19.0 [`9c94a87`](https://github.com/oceanprotocol/ocean-lib-js/commit/9c94a8789c8dc5ca88b798196cfa5fb807811651) +- Custom user parameters [`#944`](https://github.com/oceanprotocol/ocean.js/pull/944) +- Release 0.19.0 [`9c94a87`](https://github.com/oceanprotocol/ocean.js/commit/9c94a8789c8dc5ca88b798196cfa5fb807811651) -#### [v0.18.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.18.0-next.0...v0.18.0) +#### [v0.18.0](https://github.com/oceanprotocol/ocean.js/compare/v0.18.0-next.0...v0.18.0) > 24 September 2021 -- Bump web3-core from 1.5.2 to 1.5.3 [`#1038`](https://github.com/oceanprotocol/ocean-lib-js/pull/1038) -- fix yaml indentation [`#1041`](https://github.com/oceanprotocol/ocean-lib-js/pull/1041) -- set versioning-strategy [`#1040`](https://github.com/oceanprotocol/ocean-lib-js/pull/1040) -- Bump web3 from 1.5.2 to 1.5.3 [`#1039`](https://github.com/oceanprotocol/ocean-lib-js/pull/1039) -- Fix token amount - token allowance comparison [`#1012`](https://github.com/oceanprotocol/ocean-lib-js/pull/1012) -- Bump @types/chai from 4.2.21 to 4.2.22 [`#1036`](https://github.com/oceanprotocol/ocean-lib-js/pull/1036) -- Bump @types/node from 16.9.4 to 16.9.6 [`#1034`](https://github.com/oceanprotocol/ocean-lib-js/pull/1034) -- Bump release-it from 14.11.5 to 14.11.6 [`#1035`](https://github.com/oceanprotocol/ocean-lib-js/pull/1035) -- Bump @typescript-eslint/parser from 4.31.1 to 4.31.2 [`#1032`](https://github.com/oceanprotocol/ocean-lib-js/pull/1032) -- Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.31.2 [`#1031`](https://github.com/oceanprotocol/ocean-lib-js/pull/1031) -- Bump @types/node from 16.9.2 to 16.9.4 [`#1028`](https://github.com/oceanprotocol/ocean-lib-js/pull/1028) -- Bump @types/node from 16.9.1 to 16.9.2 [`#1026`](https://github.com/oceanprotocol/ocean-lib-js/pull/1026) -- Bump prettier from 2.4.0 to 2.4.1 [`#1027`](https://github.com/oceanprotocol/ocean-lib-js/pull/1027) -- add catenax network config [`#1025`](https://github.com/oceanprotocol/ocean-lib-js/pull/1025) -- Bump @oceanprotocol/contracts from 0.6.5 to 0.6.7 [`#1024`](https://github.com/oceanprotocol/ocean-lib-js/pull/1024) -- Bump aqua queries [`3bea2aa`](https://github.com/oceanprotocol/ocean-lib-js/commit/3bea2aaf9082bf1b61219f3d7960c14cec04fa1e) -- Release 0.17.4 [`2651b72`](https://github.com/oceanprotocol/ocean-lib-js/commit/2651b72a2f02f952eb94e0b83edaf308cbb9e130) -- Release 0.17.5 [`f893cb8`](https://github.com/oceanprotocol/ocean-lib-js/commit/f893cb8b09e325df238be243713e07d64a158269) +- Bump web3-core from 1.5.2 to 1.5.3 [`#1038`](https://github.com/oceanprotocol/ocean.js/pull/1038) +- fix yaml indentation [`#1041`](https://github.com/oceanprotocol/ocean.js/pull/1041) +- set versioning-strategy [`#1040`](https://github.com/oceanprotocol/ocean.js/pull/1040) +- Bump web3 from 1.5.2 to 1.5.3 [`#1039`](https://github.com/oceanprotocol/ocean.js/pull/1039) +- Fix token amount - token allowance comparison [`#1012`](https://github.com/oceanprotocol/ocean.js/pull/1012) +- Bump @types/chai from 4.2.21 to 4.2.22 [`#1036`](https://github.com/oceanprotocol/ocean.js/pull/1036) +- Bump @types/node from 16.9.4 to 16.9.6 [`#1034`](https://github.com/oceanprotocol/ocean.js/pull/1034) +- Bump release-it from 14.11.5 to 14.11.6 [`#1035`](https://github.com/oceanprotocol/ocean.js/pull/1035) +- Bump @typescript-eslint/parser from 4.31.1 to 4.31.2 [`#1032`](https://github.com/oceanprotocol/ocean.js/pull/1032) +- Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.31.2 [`#1031`](https://github.com/oceanprotocol/ocean.js/pull/1031) +- Bump @types/node from 16.9.2 to 16.9.4 [`#1028`](https://github.com/oceanprotocol/ocean.js/pull/1028) +- Bump @types/node from 16.9.1 to 16.9.2 [`#1026`](https://github.com/oceanprotocol/ocean.js/pull/1026) +- Bump prettier from 2.4.0 to 2.4.1 [`#1027`](https://github.com/oceanprotocol/ocean.js/pull/1027) +- add catenax network config [`#1025`](https://github.com/oceanprotocol/ocean.js/pull/1025) +- Bump @oceanprotocol/contracts from 0.6.5 to 0.6.7 [`#1024`](https://github.com/oceanprotocol/ocean.js/pull/1024) +- Bump aqua queries [`3bea2aa`](https://github.com/oceanprotocol/ocean.js/commit/3bea2aaf9082bf1b61219f3d7960c14cec04fa1e) +- Release 0.17.4 [`2651b72`](https://github.com/oceanprotocol/ocean.js/commit/2651b72a2f02f952eb94e0b83edaf308cbb9e130) +- Release 0.17.5 [`f893cb8`](https://github.com/oceanprotocol/ocean.js/commit/f893cb8b09e325df238be243713e07d64a158269) -#### [v0.18.0-next.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.17.5...v0.18.0-next.0) +#### [v0.18.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v0.17.5...v0.18.0-next.0) > 14 September 2021 -- enable create / passthrough of userData & algoData [`b1e91af`](https://github.com/oceanprotocol/ocean-lib-js/commit/b1e91afd3d9cb03edd0317bf72c89426ad16ebc7) -- refactor balance check async flows [`51ca87f`](https://github.com/oceanprotocol/ocean-lib-js/commit/51ca87f3f7eee95b749996699a8b8f8e602ed7d6) -- naming & typings [`e707d0e`](https://github.com/oceanprotocol/ocean-lib-js/commit/e707d0e5d803e0d93fdba7117dd989ce3a5b66bd) +- enable create / passthrough of userData & algoData [`b1e91af`](https://github.com/oceanprotocol/ocean.js/commit/b1e91afd3d9cb03edd0317bf72c89426ad16ebc7) +- refactor balance check async flows [`51ca87f`](https://github.com/oceanprotocol/ocean.js/commit/51ca87f3f7eee95b749996699a8b8f8e602ed7d6) +- naming & typings [`e707d0e`](https://github.com/oceanprotocol/ocean.js/commit/e707d0e5d803e0d93fdba7117dd989ce3a5b66bd) -#### [v0.17.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.17.4...v0.17.5) +#### [v0.17.5](https://github.com/oceanprotocol/ocean.js/compare/v0.17.4...v0.17.5) > 22 September 2021 -- Fix token amount - token allowance comparison [`#1012`](https://github.com/oceanprotocol/ocean-lib-js/pull/1012) -- Bump @types/chai from 4.2.21 to 4.2.22 [`#1036`](https://github.com/oceanprotocol/ocean-lib-js/pull/1036) -- Bump @types/node from 16.9.4 to 16.9.6 [`#1034`](https://github.com/oceanprotocol/ocean-lib-js/pull/1034) -- Bump release-it from 14.11.5 to 14.11.6 [`#1035`](https://github.com/oceanprotocol/ocean-lib-js/pull/1035) -- Bump @typescript-eslint/parser from 4.31.1 to 4.31.2 [`#1032`](https://github.com/oceanprotocol/ocean-lib-js/pull/1032) -- Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.31.2 [`#1031`](https://github.com/oceanprotocol/ocean-lib-js/pull/1031) -- Bump @types/node from 16.9.2 to 16.9.4 [`#1028`](https://github.com/oceanprotocol/ocean-lib-js/pull/1028) -- Bump @types/node from 16.9.1 to 16.9.2 [`#1026`](https://github.com/oceanprotocol/ocean-lib-js/pull/1026) -- Bump prettier from 2.4.0 to 2.4.1 [`#1027`](https://github.com/oceanprotocol/ocean-lib-js/pull/1027) -- Release 0.17.5 [`f893cb8`](https://github.com/oceanprotocol/ocean-lib-js/commit/f893cb8b09e325df238be243713e07d64a158269) +- Fix token amount - token allowance comparison [`#1012`](https://github.com/oceanprotocol/ocean.js/pull/1012) +- Bump @types/chai from 4.2.21 to 4.2.22 [`#1036`](https://github.com/oceanprotocol/ocean.js/pull/1036) +- Bump @types/node from 16.9.4 to 16.9.6 [`#1034`](https://github.com/oceanprotocol/ocean.js/pull/1034) +- Bump release-it from 14.11.5 to 14.11.6 [`#1035`](https://github.com/oceanprotocol/ocean.js/pull/1035) +- Bump @typescript-eslint/parser from 4.31.1 to 4.31.2 [`#1032`](https://github.com/oceanprotocol/ocean.js/pull/1032) +- Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.31.2 [`#1031`](https://github.com/oceanprotocol/ocean.js/pull/1031) +- Bump @types/node from 16.9.2 to 16.9.4 [`#1028`](https://github.com/oceanprotocol/ocean.js/pull/1028) +- Bump @types/node from 16.9.1 to 16.9.2 [`#1026`](https://github.com/oceanprotocol/ocean.js/pull/1026) +- Bump prettier from 2.4.0 to 2.4.1 [`#1027`](https://github.com/oceanprotocol/ocean.js/pull/1027) +- Release 0.17.5 [`f893cb8`](https://github.com/oceanprotocol/ocean.js/commit/f893cb8b09e325df238be243713e07d64a158269) -#### [v0.17.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.17.3...v0.17.4) +#### [v0.17.4](https://github.com/oceanprotocol/ocean.js/compare/v0.17.3...v0.17.4) > 16 September 2021 -- add catenax network config [`#1025`](https://github.com/oceanprotocol/ocean-lib-js/pull/1025) -- Bump @oceanprotocol/contracts from 0.6.5 to 0.6.7 [`#1024`](https://github.com/oceanprotocol/ocean-lib-js/pull/1024) -- Fix releases [`#1021`](https://github.com/oceanprotocol/ocean-lib-js/pull/1021) -- Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.1 [`#1019`](https://github.com/oceanprotocol/ocean-lib-js/pull/1019) -- Bump @typescript-eslint/parser from 4.31.0 to 4.31.1 [`#1018`](https://github.com/oceanprotocol/ocean-lib-js/pull/1018) -- Bump ora from 5.4.1 to 6.0.1 [`#1020`](https://github.com/oceanprotocol/ocean-lib-js/pull/1020) -- Bump typedoc from 0.21.9 to 0.22.3 [`#1016`](https://github.com/oceanprotocol/ocean-lib-js/pull/1016) -- Bump @types/node from 16.9.0 to 16.9.1 [`#1015`](https://github.com/oceanprotocol/ocean-lib-js/pull/1015) -- Bump typescript from 4.4.2 to 4.4.3 [`#1017`](https://github.com/oceanprotocol/ocean-lib-js/pull/1017) -- Bump source-map-support from 0.5.19 to 0.5.20 [`#1013`](https://github.com/oceanprotocol/ocean-lib-js/pull/1013) -- Bump prettier from 2.3.2 to 2.4.0 [`#1014`](https://github.com/oceanprotocol/ocean-lib-js/pull/1014) -- Bump @types/node from 16.7.13 to 16.9.0 [`#1011`](https://github.com/oceanprotocol/ocean-lib-js/pull/1011) -- Bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.31.0 [`#1007`](https://github.com/oceanprotocol/ocean-lib-js/pull/1007) -- Bump @types/node from 16.7.10 to 16.7.13 [`#1009`](https://github.com/oceanprotocol/ocean-lib-js/pull/1009) -- Bump @typescript-eslint/parser from 4.30.0 to 4.31.0 [`#1006`](https://github.com/oceanprotocol/ocean-lib-js/pull/1006) -- Bump @types/node-fetch from 2.5.12 to 3.0.3 [`#1004`](https://github.com/oceanprotocol/ocean-lib-js/pull/1004) -- Bump @types/node from 16.7.8 to 16.7.10 [`#1001`](https://github.com/oceanprotocol/ocean-lib-js/pull/1001) -- Release 0.17.4 [`2651b72`](https://github.com/oceanprotocol/ocean-lib-js/commit/2651b72a2f02f952eb94e0b83edaf308cbb9e130) +- add catenax network config [`#1025`](https://github.com/oceanprotocol/ocean.js/pull/1025) +- Bump @oceanprotocol/contracts from 0.6.5 to 0.6.7 [`#1024`](https://github.com/oceanprotocol/ocean.js/pull/1024) +- Fix releases [`#1021`](https://github.com/oceanprotocol/ocean.js/pull/1021) +- Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.1 [`#1019`](https://github.com/oceanprotocol/ocean.js/pull/1019) +- Bump @typescript-eslint/parser from 4.31.0 to 4.31.1 [`#1018`](https://github.com/oceanprotocol/ocean.js/pull/1018) +- Bump ora from 5.4.1 to 6.0.1 [`#1020`](https://github.com/oceanprotocol/ocean.js/pull/1020) +- Bump typedoc from 0.21.9 to 0.22.3 [`#1016`](https://github.com/oceanprotocol/ocean.js/pull/1016) +- Bump @types/node from 16.9.0 to 16.9.1 [`#1015`](https://github.com/oceanprotocol/ocean.js/pull/1015) +- Bump typescript from 4.4.2 to 4.4.3 [`#1017`](https://github.com/oceanprotocol/ocean.js/pull/1017) +- Bump source-map-support from 0.5.19 to 0.5.20 [`#1013`](https://github.com/oceanprotocol/ocean.js/pull/1013) +- Bump prettier from 2.3.2 to 2.4.0 [`#1014`](https://github.com/oceanprotocol/ocean.js/pull/1014) +- Bump @types/node from 16.7.13 to 16.9.0 [`#1011`](https://github.com/oceanprotocol/ocean.js/pull/1011) +- Bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.31.0 [`#1007`](https://github.com/oceanprotocol/ocean.js/pull/1007) +- Bump @types/node from 16.7.10 to 16.7.13 [`#1009`](https://github.com/oceanprotocol/ocean.js/pull/1009) +- Bump @typescript-eslint/parser from 4.30.0 to 4.31.0 [`#1006`](https://github.com/oceanprotocol/ocean.js/pull/1006) +- Bump @types/node-fetch from 2.5.12 to 3.0.3 [`#1004`](https://github.com/oceanprotocol/ocean.js/pull/1004) +- Bump @types/node from 16.7.8 to 16.7.10 [`#1001`](https://github.com/oceanprotocol/ocean.js/pull/1001) +- Release 0.17.4 [`2651b72`](https://github.com/oceanprotocol/ocean.js/commit/2651b72a2f02f952eb94e0b83edaf308cbb9e130) -#### [v0.17.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.17.2...v0.17.3) +#### [v0.17.3](https://github.com/oceanprotocol/ocean.js/compare/v0.17.2...v0.17.3) > 31 August 2021 -- downgrade node-abort-controller to v2.0.0 [`#999`](https://github.com/oceanprotocol/ocean-lib-js/pull/999) -- Release 0.17.3 [`0eac0c2`](https://github.com/oceanprotocol/ocean-lib-js/commit/0eac0c20e3554e99807efcc2d9b261795daf5fd7) +- downgrade node-abort-controller to v2.0.0 [`#999`](https://github.com/oceanprotocol/ocean.js/pull/999) +- Release 0.17.3 [`0eac0c2`](https://github.com/oceanprotocol/ocean.js/commit/0eac0c20e3554e99807efcc2d9b261795daf5fd7) -#### [v0.17.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.17.1...v0.17.2) +#### [v0.17.2](https://github.com/oceanprotocol/ocean.js/compare/v0.17.1...v0.17.2) > 31 August 2021 -- Bump @types/node from 16.7.6 to 16.7.8 [`#996`](https://github.com/oceanprotocol/ocean-lib-js/pull/996) -- update Gaia-X RPC [`#998`](https://github.com/oceanprotocol/ocean-lib-js/pull/998) -- Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0 [`#995`](https://github.com/oceanprotocol/ocean-lib-js/pull/995) -- Bump eslint-plugin-prettier from 3.4.1 to 4.0.0 [`#994`](https://github.com/oceanprotocol/ocean-lib-js/pull/994) -- Bump @typescript-eslint/parser from 4.29.3 to 4.30.0 [`#997`](https://github.com/oceanprotocol/ocean-lib-js/pull/997) -- Bump typedoc from 0.21.6 to 0.21.9 [`#990`](https://github.com/oceanprotocol/ocean-lib-js/pull/990) -- Bump @types/node from 16.7.2 to 16.7.6 [`#991`](https://github.com/oceanprotocol/ocean-lib-js/pull/991) -- Bump mocha from 9.1.0 to 9.1.1 [`#992`](https://github.com/oceanprotocol/ocean-lib-js/pull/992) -- Bump @types/node from 16.7.1 to 16.7.2 [`#988`](https://github.com/oceanprotocol/ocean-lib-js/pull/988) -- Bump typescript from 4.3.5 to 4.4.2 [`#987`](https://github.com/oceanprotocol/ocean-lib-js/pull/987) -- Bump @typescript-eslint/parser from 4.29.2 to 4.29.3 [`#984`](https://github.com/oceanprotocol/ocean-lib-js/pull/984) -- Bump node-abort-controller from 2.0.0 to 3.0.0 [`#953`](https://github.com/oceanprotocol/ocean-lib-js/pull/953) -- Bump ora from 5.4.1 to 6.0.0 [`#986`](https://github.com/oceanprotocol/ocean-lib-js/pull/986) -- Bump @typescript-eslint/eslint-plugin from 4.29.2 to 4.29.3 [`#985`](https://github.com/oceanprotocol/ocean-lib-js/pull/985) -- Bump @types/node from 16.6.2 to 16.7.1 [`#979`](https://github.com/oceanprotocol/ocean-lib-js/pull/979) -- Bump @truffle/hdwallet-provider from 1.4.3 to 1.5.0 [`#978`](https://github.com/oceanprotocol/ocean-lib-js/pull/978) -- Bump mocha from 9.0.3 to 9.1.0 [`#980`](https://github.com/oceanprotocol/ocean-lib-js/pull/980) -- Bump eslint-plugin-prettier from 3.4.0 to 3.4.1 [`#981`](https://github.com/oceanprotocol/ocean-lib-js/pull/981) -- Bump typedoc from 0.21.5 to 0.21.6 [`#977`](https://github.com/oceanprotocol/ocean-lib-js/pull/977) -- Bump @types/node from 16.6.1 to 16.6.2 [`#975`](https://github.com/oceanprotocol/ocean-lib-js/pull/975) -- Bump ts-node from 10.2.0 to 10.2.1 [`#974`](https://github.com/oceanprotocol/ocean-lib-js/pull/974) -- Add agreementId in ComputeJob interface [`#976`](https://github.com/oceanprotocol/ocean-lib-js/pull/976) -- Bump @typescript-eslint/eslint-plugin from 4.29.1 to 4.29.2 [`#973`](https://github.com/oceanprotocol/ocean-lib-js/pull/973) -- Bump @typescript-eslint/parser from 4.29.1 to 4.29.2 [`#972`](https://github.com/oceanprotocol/ocean-lib-js/pull/972) -- Bump web3 from 1.5.1 to 1.5.2 [`#970`](https://github.com/oceanprotocol/ocean-lib-js/pull/970) -- Bump release-it from 14.11.3 to 14.11.5 [`#968`](https://github.com/oceanprotocol/ocean-lib-js/pull/968) -- Adding event to DDO [`#965`](https://github.com/oceanprotocol/ocean-lib-js/pull/965) -- Bump @types/node from 16.6.0 to 16.6.1 [`#967`](https://github.com/oceanprotocol/ocean-lib-js/pull/967) -- Bump @types/node from 16.4.13 to 16.6.0 [`#966`](https://github.com/oceanprotocol/ocean-lib-js/pull/966) -- Bump release-it from 14.11.0 to 14.11.3 [`#962`](https://github.com/oceanprotocol/ocean-lib-js/pull/962) -- Bump @typescript-eslint/eslint-plugin from 4.29.0 to 4.29.1 [`#961`](https://github.com/oceanprotocol/ocean-lib-js/pull/961) -- Bump @typescript-eslint/parser from 4.29.0 to 4.29.1 [`#963`](https://github.com/oceanprotocol/ocean-lib-js/pull/963) -- Bump @truffle/hdwallet-provider from 1.4.2 to 1.4.3 [`#958`](https://github.com/oceanprotocol/ocean-lib-js/pull/958) -- Bump release-it from 14.10.1 to 14.11.0 [`#959`](https://github.com/oceanprotocol/ocean-lib-js/pull/959) -- Bump @types/node from 16.4.10 to 16.4.13 [`#957`](https://github.com/oceanprotocol/ocean-lib-js/pull/957) -- Bump ts-node from 10.1.0 to 10.2.0 [`#956`](https://github.com/oceanprotocol/ocean-lib-js/pull/956) -- Bump web3 from 1.5.0 to 1.5.1 [`#955`](https://github.com/oceanprotocol/ocean-lib-js/pull/955) -- downgrade ora to v5.4.1 [`c1c7c53`](https://github.com/oceanprotocol/ocean-lib-js/commit/c1c7c5342a479861161f5ff57c4eafc1739ac185) -- Release 0.17.2 [`dd62e54`](https://github.com/oceanprotocol/ocean-lib-js/commit/dd62e5422eec667fef8fc387d76d4c8c346583cb) -- Update quickstart_simple.md [`a4be156`](https://github.com/oceanprotocol/ocean-lib-js/commit/a4be156126893984e89f3a28e73b74f883d71ce8) +- Bump @types/node from 16.7.6 to 16.7.8 [`#996`](https://github.com/oceanprotocol/ocean.js/pull/996) +- update Gaia-X RPC [`#998`](https://github.com/oceanprotocol/ocean.js/pull/998) +- Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0 [`#995`](https://github.com/oceanprotocol/ocean.js/pull/995) +- Bump eslint-plugin-prettier from 3.4.1 to 4.0.0 [`#994`](https://github.com/oceanprotocol/ocean.js/pull/994) +- Bump @typescript-eslint/parser from 4.29.3 to 4.30.0 [`#997`](https://github.com/oceanprotocol/ocean.js/pull/997) +- Bump typedoc from 0.21.6 to 0.21.9 [`#990`](https://github.com/oceanprotocol/ocean.js/pull/990) +- Bump @types/node from 16.7.2 to 16.7.6 [`#991`](https://github.com/oceanprotocol/ocean.js/pull/991) +- Bump mocha from 9.1.0 to 9.1.1 [`#992`](https://github.com/oceanprotocol/ocean.js/pull/992) +- Bump @types/node from 16.7.1 to 16.7.2 [`#988`](https://github.com/oceanprotocol/ocean.js/pull/988) +- Bump typescript from 4.3.5 to 4.4.2 [`#987`](https://github.com/oceanprotocol/ocean.js/pull/987) +- Bump @typescript-eslint/parser from 4.29.2 to 4.29.3 [`#984`](https://github.com/oceanprotocol/ocean.js/pull/984) +- Bump node-abort-controller from 2.0.0 to 3.0.0 [`#953`](https://github.com/oceanprotocol/ocean.js/pull/953) +- Bump ora from 5.4.1 to 6.0.0 [`#986`](https://github.com/oceanprotocol/ocean.js/pull/986) +- Bump @typescript-eslint/eslint-plugin from 4.29.2 to 4.29.3 [`#985`](https://github.com/oceanprotocol/ocean.js/pull/985) +- Bump @types/node from 16.6.2 to 16.7.1 [`#979`](https://github.com/oceanprotocol/ocean.js/pull/979) +- Bump @truffle/hdwallet-provider from 1.4.3 to 1.5.0 [`#978`](https://github.com/oceanprotocol/ocean.js/pull/978) +- Bump mocha from 9.0.3 to 9.1.0 [`#980`](https://github.com/oceanprotocol/ocean.js/pull/980) +- Bump eslint-plugin-prettier from 3.4.0 to 3.4.1 [`#981`](https://github.com/oceanprotocol/ocean.js/pull/981) +- Bump typedoc from 0.21.5 to 0.21.6 [`#977`](https://github.com/oceanprotocol/ocean.js/pull/977) +- Bump @types/node from 16.6.1 to 16.6.2 [`#975`](https://github.com/oceanprotocol/ocean.js/pull/975) +- Bump ts-node from 10.2.0 to 10.2.1 [`#974`](https://github.com/oceanprotocol/ocean.js/pull/974) +- Add agreementId in ComputeJob interface [`#976`](https://github.com/oceanprotocol/ocean.js/pull/976) +- Bump @typescript-eslint/eslint-plugin from 4.29.1 to 4.29.2 [`#973`](https://github.com/oceanprotocol/ocean.js/pull/973) +- Bump @typescript-eslint/parser from 4.29.1 to 4.29.2 [`#972`](https://github.com/oceanprotocol/ocean.js/pull/972) +- Bump web3 from 1.5.1 to 1.5.2 [`#970`](https://github.com/oceanprotocol/ocean.js/pull/970) +- Bump release-it from 14.11.3 to 14.11.5 [`#968`](https://github.com/oceanprotocol/ocean.js/pull/968) +- Adding event to DDO [`#965`](https://github.com/oceanprotocol/ocean.js/pull/965) +- Bump @types/node from 16.6.0 to 16.6.1 [`#967`](https://github.com/oceanprotocol/ocean.js/pull/967) +- Bump @types/node from 16.4.13 to 16.6.0 [`#966`](https://github.com/oceanprotocol/ocean.js/pull/966) +- Bump release-it from 14.11.0 to 14.11.3 [`#962`](https://github.com/oceanprotocol/ocean.js/pull/962) +- Bump @typescript-eslint/eslint-plugin from 4.29.0 to 4.29.1 [`#961`](https://github.com/oceanprotocol/ocean.js/pull/961) +- Bump @typescript-eslint/parser from 4.29.0 to 4.29.1 [`#963`](https://github.com/oceanprotocol/ocean.js/pull/963) +- Bump @truffle/hdwallet-provider from 1.4.2 to 1.4.3 [`#958`](https://github.com/oceanprotocol/ocean.js/pull/958) +- Bump release-it from 14.10.1 to 14.11.0 [`#959`](https://github.com/oceanprotocol/ocean.js/pull/959) +- Bump @types/node from 16.4.10 to 16.4.13 [`#957`](https://github.com/oceanprotocol/ocean.js/pull/957) +- Bump ts-node from 10.1.0 to 10.2.0 [`#956`](https://github.com/oceanprotocol/ocean.js/pull/956) +- Bump web3 from 1.5.0 to 1.5.1 [`#955`](https://github.com/oceanprotocol/ocean.js/pull/955) +- downgrade ora to v5.4.1 [`c1c7c53`](https://github.com/oceanprotocol/ocean.js/commit/c1c7c5342a479861161f5ff57c4eafc1739ac185) +- Release 0.17.2 [`dd62e54`](https://github.com/oceanprotocol/ocean.js/commit/dd62e5422eec667fef8fc387d76d4c8c346583cb) +- Update quickstart_simple.md [`a4be156`](https://github.com/oceanprotocol/ocean.js/commit/a4be156126893984e89f3a28e73b74f883d71ce8) -#### [v0.17.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.17.0...v0.17.1) +#### [v0.17.1](https://github.com/oceanprotocol/ocean.js/compare/v0.17.0...v0.17.1) > 3 August 2021 -- Issue 950 fix allow deny [`#951`](https://github.com/oceanprotocol/ocean-lib-js/pull/951) -- Bump @typescript-eslint/eslint-plugin from 4.28.5 to 4.29.0 [`#949`](https://github.com/oceanprotocol/ocean-lib-js/pull/949) -- Bump @typescript-eslint/parser from 4.28.5 to 4.29.0 [`#948`](https://github.com/oceanprotocol/ocean-lib-js/pull/948) -- Bump @types/node from 16.4.7 to 16.4.10 [`#945`](https://github.com/oceanprotocol/ocean-lib-js/pull/945) -- Bump typedoc from 0.21.4 to 0.21.5 [`#946`](https://github.com/oceanprotocol/ocean-lib-js/pull/946) -- Bump eslint from 7.31.0 to 7.32.0 [`#947`](https://github.com/oceanprotocol/ocean-lib-js/pull/947) -- Release 0.17.1 [`8c415ab`](https://github.com/oceanprotocol/ocean-lib-js/commit/8c415ab2d9180b6b20c54ba67783df80bdbf46d4) -- Updating assets and asset credentials [`cf16ff8`](https://github.com/oceanprotocol/ocean-lib-js/commit/cf16ff89667795e12a96fb9ccdd49bc27177bb6d) -- Changing value to values [`1b58fdf`](https://github.com/oceanprotocol/ocean-lib-js/commit/1b58fdfb9d0fed48bfb827a44162a150c41ed8ca) +- Issue 950 fix allow deny [`#951`](https://github.com/oceanprotocol/ocean.js/pull/951) +- Bump @typescript-eslint/eslint-plugin from 4.28.5 to 4.29.0 [`#949`](https://github.com/oceanprotocol/ocean.js/pull/949) +- Bump @typescript-eslint/parser from 4.28.5 to 4.29.0 [`#948`](https://github.com/oceanprotocol/ocean.js/pull/948) +- Bump @types/node from 16.4.7 to 16.4.10 [`#945`](https://github.com/oceanprotocol/ocean.js/pull/945) +- Bump typedoc from 0.21.4 to 0.21.5 [`#946`](https://github.com/oceanprotocol/ocean.js/pull/946) +- Bump eslint from 7.31.0 to 7.32.0 [`#947`](https://github.com/oceanprotocol/ocean.js/pull/947) +- Release 0.17.1 [`8c415ab`](https://github.com/oceanprotocol/ocean.js/commit/8c415ab2d9180b6b20c54ba67783df80bdbf46d4) +- Updating assets and asset credentials [`cf16ff8`](https://github.com/oceanprotocol/ocean.js/commit/cf16ff89667795e12a96fb9ccdd49bc27177bb6d) +- Changing value to values [`1b58fdf`](https://github.com/oceanprotocol/ocean.js/commit/1b58fdfb9d0fed48bfb827a44162a150c41ed8ca) -#### [v0.17.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.7...v0.17.0) +#### [v0.17.0](https://github.com/oceanprotocol/ocean.js/compare/v0.16.7...v0.17.0) > 30 July 2021 -- add single metadataCacheUri for all networks [`#919`](https://github.com/oceanprotocol/ocean-lib-js/pull/919) -- move datatoken name generation out of class [`#943`](https://github.com/oceanprotocol/ocean-lib-js/pull/943) -- Bump @types/node from 16.4.6 to 16.4.7 [`#942`](https://github.com/oceanprotocol/ocean-lib-js/pull/942) -- Release 0.17.0 [`44eff0e`](https://github.com/oceanprotocol/ocean-lib-js/commit/44eff0ee2f7628d1fb165dc8a1861e91d179e839) +- add single metadataCacheUri for all networks [`#919`](https://github.com/oceanprotocol/ocean.js/pull/919) +- move datatoken name generation out of class [`#943`](https://github.com/oceanprotocol/ocean.js/pull/943) +- Bump @types/node from 16.4.6 to 16.4.7 [`#942`](https://github.com/oceanprotocol/ocean.js/pull/942) +- Release 0.17.0 [`44eff0e`](https://github.com/oceanprotocol/ocean.js/commit/44eff0ee2f7628d1fb165dc8a1861e91d179e839) -#### [v0.16.7](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.6...v0.16.7) +#### [v0.16.7](https://github.com/oceanprotocol/ocean.js/compare/v0.16.6...v0.16.7) > 29 July 2021 -- allow editable author [`#936`](https://github.com/oceanprotocol/ocean-lib-js/pull/936) -- Bump @types/node from 16.4.4 to 16.4.6 [`#939`](https://github.com/oceanprotocol/ocean-lib-js/pull/939) -- Bump web3 from 1.4.0 to 1.5.0 [`#938`](https://github.com/oceanprotocol/ocean-lib-js/pull/938) -- Bump @types/node from 16.4.3 to 16.4.4 [`#937`](https://github.com/oceanprotocol/ocean-lib-js/pull/937) -- Bump @typescript-eslint/eslint-plugin from 4.28.4 to 4.28.5 [`#934`](https://github.com/oceanprotocol/ocean-lib-js/pull/934) -- Bump @typescript-eslint/parser from 4.28.4 to 4.28.5 [`#933`](https://github.com/oceanprotocol/ocean-lib-js/pull/933) -- Bump @truffle/hdwallet-provider from 1.4.1 to 1.4.2 [`#931`](https://github.com/oceanprotocol/ocean-lib-js/pull/931) -- use decimals in account balance [`#921`](https://github.com/oceanprotocol/ocean-lib-js/pull/921) -- Bump mocha from 9.0.2 to 9.0.3 [`#932`](https://github.com/oceanprotocol/ocean-lib-js/pull/932) -- Bump @types/node from 16.4.1 to 16.4.3 [`#930`](https://github.com/oceanprotocol/ocean-lib-js/pull/930) -- Bump release-it from 14.10.0 to 14.10.1 [`#929`](https://github.com/oceanprotocol/ocean-lib-js/pull/929) -- Bump @types/node from 16.4.0 to 16.4.1 [`#925`](https://github.com/oceanprotocol/ocean-lib-js/pull/925) -- Bump @types/mocha from 8.2.3 to 9.0.0 [`#927`](https://github.com/oceanprotocol/ocean-lib-js/pull/927) -- Bump @types/node-fetch from 2.5.11 to 2.5.12 [`#926`](https://github.com/oceanprotocol/ocean-lib-js/pull/926) -- Bump crypto-js from 4.0.0 to 4.1.1 [`#924`](https://github.com/oceanprotocol/ocean-lib-js/pull/924) -- remove redundant build on publish [`#923`](https://github.com/oceanprotocol/ocean-lib-js/pull/923) -- Release 0.16.7 [`1710752`](https://github.com/oceanprotocol/ocean-lib-js/commit/1710752a7cba9db1d754540f286d92f090ea9c38) +- allow editable author [`#936`](https://github.com/oceanprotocol/ocean.js/pull/936) +- Bump @types/node from 16.4.4 to 16.4.6 [`#939`](https://github.com/oceanprotocol/ocean.js/pull/939) +- Bump web3 from 1.4.0 to 1.5.0 [`#938`](https://github.com/oceanprotocol/ocean.js/pull/938) +- Bump @types/node from 16.4.3 to 16.4.4 [`#937`](https://github.com/oceanprotocol/ocean.js/pull/937) +- Bump @typescript-eslint/eslint-plugin from 4.28.4 to 4.28.5 [`#934`](https://github.com/oceanprotocol/ocean.js/pull/934) +- Bump @typescript-eslint/parser from 4.28.4 to 4.28.5 [`#933`](https://github.com/oceanprotocol/ocean.js/pull/933) +- Bump @truffle/hdwallet-provider from 1.4.1 to 1.4.2 [`#931`](https://github.com/oceanprotocol/ocean.js/pull/931) +- use decimals in account balance [`#921`](https://github.com/oceanprotocol/ocean.js/pull/921) +- Bump mocha from 9.0.2 to 9.0.3 [`#932`](https://github.com/oceanprotocol/ocean.js/pull/932) +- Bump @types/node from 16.4.1 to 16.4.3 [`#930`](https://github.com/oceanprotocol/ocean.js/pull/930) +- Bump release-it from 14.10.0 to 14.10.1 [`#929`](https://github.com/oceanprotocol/ocean.js/pull/929) +- Bump @types/node from 16.4.0 to 16.4.1 [`#925`](https://github.com/oceanprotocol/ocean.js/pull/925) +- Bump @types/mocha from 8.2.3 to 9.0.0 [`#927`](https://github.com/oceanprotocol/ocean.js/pull/927) +- Bump @types/node-fetch from 2.5.11 to 2.5.12 [`#926`](https://github.com/oceanprotocol/ocean.js/pull/926) +- Bump crypto-js from 4.0.0 to 4.1.1 [`#924`](https://github.com/oceanprotocol/ocean.js/pull/924) +- remove redundant build on publish [`#923`](https://github.com/oceanprotocol/ocean.js/pull/923) +- Release 0.16.7 [`1710752`](https://github.com/oceanprotocol/ocean.js/commit/1710752a7cba9db1d754540f286d92f090ea9c38) -#### [v0.16.6](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.5...v0.16.6) +#### [v0.16.6](https://github.com/oceanprotocol/ocean.js/compare/v0.16.5...v0.16.6) > 22 July 2021 -- remove leading slash from all `nodeUri` [`#922`](https://github.com/oceanprotocol/ocean-lib-js/pull/922) -- Bump @types/node from 16.3.3 to 16.4.0 [`#917`](https://github.com/oceanprotocol/ocean-lib-js/pull/917) -- Bump @typescript-eslint/parser from 4.28.3 to 4.28.4 [`#914`](https://github.com/oceanprotocol/ocean-lib-js/pull/914) -- Bump eslint from 7.30.0 to 7.31.0 [`#913`](https://github.com/oceanprotocol/ocean-lib-js/pull/913) -- Bump @typescript-eslint/eslint-plugin from 4.28.3 to 4.28.4 [`#915`](https://github.com/oceanprotocol/ocean-lib-js/pull/915) -- Bump @types/node from 16.3.1 to 16.3.3 [`#912`](https://github.com/oceanprotocol/ocean-lib-js/pull/912) -- update Polygon Mumbai explorerUri [`#911`](https://github.com/oceanprotocol/ocean-lib-js/pull/911) -- Release 0.16.6 [`16f14aa`](https://github.com/oceanprotocol/ocean-lib-js/commit/16f14aaf4d792c03dd2216b7d3bb6156881de447) +- remove leading slash from all `nodeUri` [`#922`](https://github.com/oceanprotocol/ocean.js/pull/922) +- Bump @types/node from 16.3.3 to 16.4.0 [`#917`](https://github.com/oceanprotocol/ocean.js/pull/917) +- Bump @typescript-eslint/parser from 4.28.3 to 4.28.4 [`#914`](https://github.com/oceanprotocol/ocean.js/pull/914) +- Bump eslint from 7.30.0 to 7.31.0 [`#913`](https://github.com/oceanprotocol/ocean.js/pull/913) +- Bump @typescript-eslint/eslint-plugin from 4.28.3 to 4.28.4 [`#915`](https://github.com/oceanprotocol/ocean.js/pull/915) +- Bump @types/node from 16.3.1 to 16.3.3 [`#912`](https://github.com/oceanprotocol/ocean.js/pull/912) +- update Polygon Mumbai explorerUri [`#911`](https://github.com/oceanprotocol/ocean.js/pull/911) +- Release 0.16.6 [`16f14aa`](https://github.com/oceanprotocol/ocean.js/commit/16f14aaf4d792c03dd2216b7d3bb6156881de447) -#### [v0.16.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.4...v0.16.5) +#### [v0.16.5](https://github.com/oceanprotocol/ocean.js/compare/v0.16.4...v0.16.5) > 13 July 2021 -- update Gaia-X values [`#906`](https://github.com/oceanprotocol/ocean-lib-js/pull/906) -- Bump web3 from 1.3.6 to 1.4.0 [`#876`](https://github.com/oceanprotocol/ocean-lib-js/pull/876) -- Bump typedoc from 0.21.3 to 0.21.4 [`#902`](https://github.com/oceanprotocol/ocean-lib-js/pull/902) -- Bump @typescript-eslint/eslint-plugin from 4.28.2 to 4.28.3 [`#904`](https://github.com/oceanprotocol/ocean-lib-js/pull/904) -- Bump @typescript-eslint/parser from 4.28.2 to 4.28.3 [`#903`](https://github.com/oceanprotocol/ocean-lib-js/pull/903) -- Changing error message [`#898`](https://github.com/oceanprotocol/ocean-lib-js/pull/898) -- Bump ts-node from 10.0.0 to 10.1.0 [`#901`](https://github.com/oceanprotocol/ocean-lib-js/pull/901) -- Bump @types/node from 16.3.0 to 16.3.1 [`#900`](https://github.com/oceanprotocol/ocean-lib-js/pull/900) -- Bump typedoc from 0.21.2 to 0.21.3 [`#899`](https://github.com/oceanprotocol/ocean-lib-js/pull/899) -- Bump @types/chai from 4.2.20 to 4.2.21 [`#897`](https://github.com/oceanprotocol/ocean-lib-js/pull/897) -- Bump @types/node from 16.0.0 to 16.3.0 [`#896`](https://github.com/oceanprotocol/ocean-lib-js/pull/896) -- Bump @typescript-eslint/eslint-plugin from 4.28.1 to 4.28.2 [`#890`](https://github.com/oceanprotocol/ocean-lib-js/pull/890) -- Bump @types/node-fetch from 2.5.10 to 2.5.11 [`#893`](https://github.com/oceanprotocol/ocean-lib-js/pull/893) -- Bump @types/mocha from 8.2.2 to 8.2.3 [`#894`](https://github.com/oceanprotocol/ocean-lib-js/pull/894) -- update package-lock [`bd5f767`](https://github.com/oceanprotocol/ocean-lib-js/commit/bd5f7674e8d663f9d57d3f5df240c32ebe580234) -- Release 0.16.5 [`fe1828f`](https://github.com/oceanprotocol/ocean-lib-js/commit/fe1828fec945569863689c96ac9d4fa5ea694980) +- update Gaia-X values [`#906`](https://github.com/oceanprotocol/ocean.js/pull/906) +- Bump web3 from 1.3.6 to 1.4.0 [`#876`](https://github.com/oceanprotocol/ocean.js/pull/876) +- Bump typedoc from 0.21.3 to 0.21.4 [`#902`](https://github.com/oceanprotocol/ocean.js/pull/902) +- Bump @typescript-eslint/eslint-plugin from 4.28.2 to 4.28.3 [`#904`](https://github.com/oceanprotocol/ocean.js/pull/904) +- Bump @typescript-eslint/parser from 4.28.2 to 4.28.3 [`#903`](https://github.com/oceanprotocol/ocean.js/pull/903) +- Changing error message [`#898`](https://github.com/oceanprotocol/ocean.js/pull/898) +- Bump ts-node from 10.0.0 to 10.1.0 [`#901`](https://github.com/oceanprotocol/ocean.js/pull/901) +- Bump @types/node from 16.3.0 to 16.3.1 [`#900`](https://github.com/oceanprotocol/ocean.js/pull/900) +- Bump typedoc from 0.21.2 to 0.21.3 [`#899`](https://github.com/oceanprotocol/ocean.js/pull/899) +- Bump @types/chai from 4.2.20 to 4.2.21 [`#897`](https://github.com/oceanprotocol/ocean.js/pull/897) +- Bump @types/node from 16.0.0 to 16.3.0 [`#896`](https://github.com/oceanprotocol/ocean.js/pull/896) +- Bump @typescript-eslint/eslint-plugin from 4.28.1 to 4.28.2 [`#890`](https://github.com/oceanprotocol/ocean.js/pull/890) +- Bump @types/node-fetch from 2.5.10 to 2.5.11 [`#893`](https://github.com/oceanprotocol/ocean.js/pull/893) +- Bump @types/mocha from 8.2.2 to 8.2.3 [`#894`](https://github.com/oceanprotocol/ocean.js/pull/894) +- update package-lock [`bd5f767`](https://github.com/oceanprotocol/ocean.js/commit/bd5f7674e8d663f9d57d3f5df240c32ebe580234) +- Release 0.16.5 [`fe1828f`](https://github.com/oceanprotocol/ocean.js/commit/fe1828fec945569863689c96ac9d4fa5ea694980) -#### [v0.16.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.3...v0.16.4) +#### [v0.16.4](https://github.com/oceanprotocol/ocean.js/compare/v0.16.3...v0.16.4) > 7 July 2021 -- Bump @typescript-eslint/parser from 4.28.1 to 4.28.2 [`#891`](https://github.com/oceanprotocol/ocean-lib-js/pull/891) -- Bump @types/crypto-js from 4.0.1 to 4.0.2 [`#892`](https://github.com/oceanprotocol/ocean-lib-js/pull/892) -- bump ocean-contracts to 0.6.5 [`#889`](https://github.com/oceanprotocol/ocean-lib-js/pull/889) -- Bump @types/node from 15.14.0 to 16.0.0 [`#881`](https://github.com/oceanprotocol/ocean-lib-js/pull/881) -- Bump eslint from 7.29.0 to 7.30.0 [`#883`](https://github.com/oceanprotocol/ocean-lib-js/pull/883) -- Bump @types/chai from 4.2.19 to 4.2.20 [`#888`](https://github.com/oceanprotocol/ocean-lib-js/pull/888) -- Release 0.16.4 [`8e56b34`](https://github.com/oceanprotocol/ocean-lib-js/commit/8e56b34133d201a634af8bd77945a19be599053d) +- Bump @typescript-eslint/parser from 4.28.1 to 4.28.2 [`#891`](https://github.com/oceanprotocol/ocean.js/pull/891) +- Bump @types/crypto-js from 4.0.1 to 4.0.2 [`#892`](https://github.com/oceanprotocol/ocean.js/pull/892) +- bump ocean-contracts to 0.6.5 [`#889`](https://github.com/oceanprotocol/ocean.js/pull/889) +- Bump @types/node from 15.14.0 to 16.0.0 [`#881`](https://github.com/oceanprotocol/ocean.js/pull/881) +- Bump eslint from 7.29.0 to 7.30.0 [`#883`](https://github.com/oceanprotocol/ocean.js/pull/883) +- Bump @types/chai from 4.2.19 to 4.2.20 [`#888`](https://github.com/oceanprotocol/ocean.js/pull/888) +- Release 0.16.4 [`8e56b34`](https://github.com/oceanprotocol/ocean.js/commit/8e56b34133d201a634af8bd77945a19be599053d) -#### [v0.16.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.2...v0.16.3) +#### [v0.16.3](https://github.com/oceanprotocol/ocean.js/compare/v0.16.2...v0.16.3) > 7 July 2021 -- Bump mocha from 9.0.1 to 9.0.2 [`#882`](https://github.com/oceanprotocol/ocean-lib-js/pull/882) -- added chainId property to DDO class [`#887`](https://github.com/oceanprotocol/ocean-lib-js/pull/887) -- Bump typescript from 4.3.4 to 4.3.5 [`#878`](https://github.com/oceanprotocol/ocean-lib-js/pull/878) -- Bump @types/node from 15.12.5 to 15.14.0 [`#879`](https://github.com/oceanprotocol/ocean-lib-js/pull/879) -- Change this.oceanAddress to baseToken [`#880`](https://github.com/oceanprotocol/ocean-lib-js/pull/880) -- Release 0.16.3 [`3d9a7a4`](https://github.com/oceanprotocol/ocean-lib-js/commit/3d9a7a499a6dabbe76e6983145921bf671d60d9d) +- Bump mocha from 9.0.1 to 9.0.2 [`#882`](https://github.com/oceanprotocol/ocean.js/pull/882) +- added chainId property to DDO class [`#887`](https://github.com/oceanprotocol/ocean.js/pull/887) +- Bump typescript from 4.3.4 to 4.3.5 [`#878`](https://github.com/oceanprotocol/ocean.js/pull/878) +- Bump @types/node from 15.12.5 to 15.14.0 [`#879`](https://github.com/oceanprotocol/ocean.js/pull/879) +- Change this.oceanAddress to baseToken [`#880`](https://github.com/oceanprotocol/ocean.js/pull/880) +- Release 0.16.3 [`3d9a7a4`](https://github.com/oceanprotocol/ocean.js/commit/3d9a7a499a6dabbe76e6983145921bf671d60d9d) -#### [v0.16.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.1...v0.16.2) +#### [v0.16.2](https://github.com/oceanprotocol/ocean.js/compare/v0.16.1...v0.16.2) > 30 June 2021 -- validate ddo before publish on chain [`#873`](https://github.com/oceanprotocol/ocean-lib-js/pull/873) -- allow extended FRE [`#875`](https://github.com/oceanprotocol/ocean-lib-js/pull/875) -- Bump decimal.js from 10.3.0 to 10.3.1 [`#865`](https://github.com/oceanprotocol/ocean-lib-js/pull/865) -- Bump prettier from 2.3.1 to 2.3.2 [`#866`](https://github.com/oceanprotocol/ocean-lib-js/pull/866) -- Bump typedoc from 0.21.0 to 0.21.2 [`#868`](https://github.com/oceanprotocol/ocean-lib-js/pull/868) -- Bump @typescript-eslint/eslint-plugin from 4.28.0 to 4.28.1 [`#871`](https://github.com/oceanprotocol/ocean-lib-js/pull/871) -- Bump @typescript-eslint/parser from 4.28.0 to 4.28.1 [`#872`](https://github.com/oceanprotocol/ocean-lib-js/pull/872) -- Improve Ocean.assets.isConsumable return interface and message [`#869`](https://github.com/oceanprotocol/ocean-lib-js/pull/869) -- Bump @types/node from 15.12.4 to 15.12.5 [`#867`](https://github.com/oceanprotocol/ocean-lib-js/pull/867) -- Release 0.16.2 [`590a168`](https://github.com/oceanprotocol/ocean-lib-js/commit/590a1682918efe416d7a0795b86bd168f4df2718) +- validate ddo before publish on chain [`#873`](https://github.com/oceanprotocol/ocean.js/pull/873) +- allow extended FRE [`#875`](https://github.com/oceanprotocol/ocean.js/pull/875) +- Bump decimal.js from 10.3.0 to 10.3.1 [`#865`](https://github.com/oceanprotocol/ocean.js/pull/865) +- Bump prettier from 2.3.1 to 2.3.2 [`#866`](https://github.com/oceanprotocol/ocean.js/pull/866) +- Bump typedoc from 0.21.0 to 0.21.2 [`#868`](https://github.com/oceanprotocol/ocean.js/pull/868) +- Bump @typescript-eslint/eslint-plugin from 4.28.0 to 4.28.1 [`#871`](https://github.com/oceanprotocol/ocean.js/pull/871) +- Bump @typescript-eslint/parser from 4.28.0 to 4.28.1 [`#872`](https://github.com/oceanprotocol/ocean.js/pull/872) +- Improve Ocean.assets.isConsumable return interface and message [`#869`](https://github.com/oceanprotocol/ocean.js/pull/869) +- Bump @types/node from 15.12.4 to 15.12.5 [`#867`](https://github.com/oceanprotocol/ocean.js/pull/867) +- Release 0.16.2 [`590a168`](https://github.com/oceanprotocol/ocean.js/commit/590a1682918efe416d7a0795b86bd168f4df2718) -#### [v0.16.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.16.0...v0.16.1) +#### [v0.16.1](https://github.com/oceanprotocol/ocean.js/compare/v0.16.0...v0.16.1) > 25 June 2021 -- proper compare using lowercase [`#864`](https://github.com/oceanprotocol/ocean-lib-js/pull/864) -- Release 0.16.1 [`069e60b`](https://github.com/oceanprotocol/ocean-lib-js/commit/069e60baeb705f335fa749eab7e59fbc5015a27f) +- proper compare using lowercase [`#864`](https://github.com/oceanprotocol/ocean.js/pull/864) +- Release 0.16.1 [`069e60b`](https://github.com/oceanprotocol/ocean.js/commit/069e60baeb705f335fa749eab7e59fbc5015a27f) -#### [v0.16.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.15.1...v0.16.0) +#### [v0.16.0](https://github.com/oceanprotocol/ocean.js/compare/v0.15.1...v0.16.0) > 25 June 2021 -- skip coverage job for dependabot [`#863`](https://github.com/oceanprotocol/ocean-lib-js/pull/863) -- Bump @types/node from 15.12.2 to 15.12.4 [`#857`](https://github.com/oceanprotocol/ocean-lib-js/pull/857) -- Bump decimal.js from 10.2.1 to 10.3.0 [`#861`](https://github.com/oceanprotocol/ocean-lib-js/pull/861) -- Bump eslint from 7.28.0 to 7.29.0 [`#860`](https://github.com/oceanprotocol/ocean-lib-js/pull/860) -- Bump contracts to 0.6.4 [`#837`](https://github.com/oceanprotocol/ocean-lib-js/pull/837) -- Bump release-it from 14.9.0 to 14.10.0 [`#852`](https://github.com/oceanprotocol/ocean-lib-js/pull/852) -- Bump typescript from 4.3.3 to 4.3.4 [`#851`](https://github.com/oceanprotocol/ocean-lib-js/pull/851) -- Replace Travis with GitHub Actions [`#847`](https://github.com/oceanprotocol/ocean-lib-js/pull/847) -- Bump typescript from 4.3.2 to 4.3.3 [`#849`](https://github.com/oceanprotocol/ocean-lib-js/pull/849) -- Bump prettier from 2.3.0 to 2.3.1 [`#833`](https://github.com/oceanprotocol/ocean-lib-js/pull/833) -- Bump typedoc from 0.20.36 to 0.20.37 [`#848`](https://github.com/oceanprotocol/ocean-lib-js/pull/848) -- Bump ora from 5.4.0 to 5.4.1 [`#846`](https://github.com/oceanprotocol/ocean-lib-js/pull/846) -- Bump release-it from 14.8.0 to 14.9.0 [`#845`](https://github.com/oceanprotocol/ocean-lib-js/pull/845) -- Update docs about 'getPreviousValidOrders' only working on Eth [`#842`](https://github.com/oceanprotocol/ocean-lib-js/pull/842) -- Bump eslint from 7.27.0 to 7.28.0 [`#830`](https://github.com/oceanprotocol/ocean-lib-js/pull/830) -- Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.27.0 [`#843`](https://github.com/oceanprotocol/ocean-lib-js/pull/843) -- Bump mocha from 8.4.0 to 9.0.0 [`#840`](https://github.com/oceanprotocol/ocean-lib-js/pull/840) -- Add also DDO object param where DID param is available [`#828`](https://github.com/oceanprotocol/ocean-lib-js/pull/828) -- Bump microbundle from 0.13.1 to 0.13.3 [`#839`](https://github.com/oceanprotocol/ocean-lib-js/pull/839) -- Bump release-it from 14.7.0 to 14.8.0 [`#832`](https://github.com/oceanprotocol/ocean-lib-js/pull/832) -- Bump @types/node from 15.12.0 to 15.12.2 [`#835`](https://github.com/oceanprotocol/ocean-lib-js/pull/835) -- used type guard to detect if ddo or did and resolve just when needed [`ec2e67d`](https://github.com/oceanprotocol/ocean-lib-js/commit/ec2e67db353f0cf6199ea5551a73eac0e1f6b611) -- added ddo object param to function that expect did and asset resolve is called [`f0404f3`](https://github.com/oceanprotocol/ocean-lib-js/commit/f0404f3204b44fd6042edd26c2ca87a0cae083c8) -- added AssetResolverHelper [`c88680f`](https://github.com/oceanprotocol/ocean-lib-js/commit/c88680f10061b47d1d72d1339975466df0ec5804) +- skip coverage job for dependabot [`#863`](https://github.com/oceanprotocol/ocean.js/pull/863) +- Bump @types/node from 15.12.2 to 15.12.4 [`#857`](https://github.com/oceanprotocol/ocean.js/pull/857) +- Bump decimal.js from 10.2.1 to 10.3.0 [`#861`](https://github.com/oceanprotocol/ocean.js/pull/861) +- Bump eslint from 7.28.0 to 7.29.0 [`#860`](https://github.com/oceanprotocol/ocean.js/pull/860) +- Bump contracts to 0.6.4 [`#837`](https://github.com/oceanprotocol/ocean.js/pull/837) +- Bump release-it from 14.9.0 to 14.10.0 [`#852`](https://github.com/oceanprotocol/ocean.js/pull/852) +- Bump typescript from 4.3.3 to 4.3.4 [`#851`](https://github.com/oceanprotocol/ocean.js/pull/851) +- Replace Travis with GitHub Actions [`#847`](https://github.com/oceanprotocol/ocean.js/pull/847) +- Bump typescript from 4.3.2 to 4.3.3 [`#849`](https://github.com/oceanprotocol/ocean.js/pull/849) +- Bump prettier from 2.3.0 to 2.3.1 [`#833`](https://github.com/oceanprotocol/ocean.js/pull/833) +- Bump typedoc from 0.20.36 to 0.20.37 [`#848`](https://github.com/oceanprotocol/ocean.js/pull/848) +- Bump ora from 5.4.0 to 5.4.1 [`#846`](https://github.com/oceanprotocol/ocean.js/pull/846) +- Bump release-it from 14.8.0 to 14.9.0 [`#845`](https://github.com/oceanprotocol/ocean.js/pull/845) +- Update docs about 'getPreviousValidOrders' only working on Eth [`#842`](https://github.com/oceanprotocol/ocean.js/pull/842) +- Bump eslint from 7.27.0 to 7.28.0 [`#830`](https://github.com/oceanprotocol/ocean.js/pull/830) +- Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.27.0 [`#843`](https://github.com/oceanprotocol/ocean.js/pull/843) +- Bump mocha from 8.4.0 to 9.0.0 [`#840`](https://github.com/oceanprotocol/ocean.js/pull/840) +- Add also DDO object param where DID param is available [`#828`](https://github.com/oceanprotocol/ocean.js/pull/828) +- Bump microbundle from 0.13.1 to 0.13.3 [`#839`](https://github.com/oceanprotocol/ocean.js/pull/839) +- Bump release-it from 14.7.0 to 14.8.0 [`#832`](https://github.com/oceanprotocol/ocean.js/pull/832) +- Bump @types/node from 15.12.0 to 15.12.2 [`#835`](https://github.com/oceanprotocol/ocean.js/pull/835) +- used type guard to detect if ddo or did and resolve just when needed [`ec2e67d`](https://github.com/oceanprotocol/ocean.js/commit/ec2e67db353f0cf6199ea5551a73eac0e1f6b611) +- added ddo object param to function that expect did and asset resolve is called [`f0404f3`](https://github.com/oceanprotocol/ocean.js/commit/f0404f3204b44fd6042edd26c2ca87a0cae083c8) +- added AssetResolverHelper [`c88680f`](https://github.com/oceanprotocol/ocean.js/commit/c88680f10061b47d1d72d1339975466df0ec5804) -#### [v0.15.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.15.0...v0.15.1) +#### [v0.15.1](https://github.com/oceanprotocol/ocean.js/compare/v0.15.0...v0.15.1) > 3 June 2021 -- Bump microbundle from 0.13.0 to 0.13.1 [`#820`](https://github.com/oceanprotocol/ocean-lib-js/pull/820) -- Bump @types/node from 15.9.0 to 15.12.0 [`#829`](https://github.com/oceanprotocol/ocean-lib-js/pull/829) -- Bump @typescript-eslint/eslint-plugin from 4.25.0 to 4.26.0 [`#824`](https://github.com/oceanprotocol/ocean-lib-js/pull/824) -- Bump @typescript-eslint/parser from 4.25.0 to 4.26.0 [`#823`](https://github.com/oceanprotocol/ocean-lib-js/pull/823) -- Bump @types/node from 15.6.1 to 15.9.0 [`#826`](https://github.com/oceanprotocol/ocean-lib-js/pull/826) -- Add order checks for credentials [`#827`](https://github.com/oceanprotocol/ocean-lib-js/pull/827) -- Feature/credentials support in asset [`#787`](https://github.com/oceanprotocol/ocean-lib-js/pull/787) -- add "valid" boolean in File.ts [`#825`](https://github.com/oceanprotocol/ocean-lib-js/pull/825) -- Add ocean.assets.isConsumable function [`#786`](https://github.com/oceanprotocol/ocean-lib-js/pull/786) -- fix ddo encrypt for browsers [`#822`](https://github.com/oceanprotocol/ocean-lib-js/pull/822) -- add type 'free' to BestPrice [`#821`](https://github.com/oceanprotocol/ocean-lib-js/pull/821) -- Release 0.15.1 [`727a550`](https://github.com/oceanprotocol/ocean-lib-js/commit/727a55046c44c1841360f6aa2a4f94befe157860) -- fix version [`6735e8a`](https://github.com/oceanprotocol/ocean-lib-js/commit/6735e8a33f8a6e2fb513d5412a0a1db70d8b59ff) +- Bump microbundle from 0.13.0 to 0.13.1 [`#820`](https://github.com/oceanprotocol/ocean.js/pull/820) +- Bump @types/node from 15.9.0 to 15.12.0 [`#829`](https://github.com/oceanprotocol/ocean.js/pull/829) +- Bump @typescript-eslint/eslint-plugin from 4.25.0 to 4.26.0 [`#824`](https://github.com/oceanprotocol/ocean.js/pull/824) +- Bump @typescript-eslint/parser from 4.25.0 to 4.26.0 [`#823`](https://github.com/oceanprotocol/ocean.js/pull/823) +- Bump @types/node from 15.6.1 to 15.9.0 [`#826`](https://github.com/oceanprotocol/ocean.js/pull/826) +- Add order checks for credentials [`#827`](https://github.com/oceanprotocol/ocean.js/pull/827) +- Feature/credentials support in asset [`#787`](https://github.com/oceanprotocol/ocean.js/pull/787) +- add "valid" boolean in File.ts [`#825`](https://github.com/oceanprotocol/ocean.js/pull/825) +- Add ocean.assets.isConsumable function [`#786`](https://github.com/oceanprotocol/ocean.js/pull/786) +- fix ddo encrypt for browsers [`#822`](https://github.com/oceanprotocol/ocean.js/pull/822) +- add type 'free' to BestPrice [`#821`](https://github.com/oceanprotocol/ocean.js/pull/821) +- Release 0.15.1 [`727a550`](https://github.com/oceanprotocol/ocean.js/commit/727a55046c44c1841360f6aa2a4f94befe157860) +- fix version [`6735e8a`](https://github.com/oceanprotocol/ocean.js/commit/6735e8a33f8a6e2fb513d5412a0a1db70d8b59ff) -#### [v0.15.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.9...v0.15.0) +#### [v0.15.0](https://github.com/oceanprotocol/ocean.js/compare/v0.14.9...v0.15.0) > 28 May 2021 -- Bump typescript from 4.2.4 to 4.3.2 [`#819`](https://github.com/oceanprotocol/ocean-lib-js/pull/819) -- Bump @truffle/hdwallet-provider from 1.3.0 to 1.4.0 [`#816`](https://github.com/oceanprotocol/ocean-lib-js/pull/816) -- Bump mocha from 8.3.2 to 8.4.0 [`#817`](https://github.com/oceanprotocol/ocean-lib-js/pull/817) -- Fix/ Order method should throw error messages [`#803`](https://github.com/oceanprotocol/ocean-lib-js/pull/803) -- Bump @oceanprotocol/contracts from 0.6.2 to 0.6.3 [`#814`](https://github.com/oceanprotocol/ocean-lib-js/pull/814) -- Bump release-it from 14.6.1 to 14.7.0 [`#815`](https://github.com/oceanprotocol/ocean-lib-js/pull/815) -- Bump auto-changelog from 2.2.1 to 2.3.0 [`#813`](https://github.com/oceanprotocol/ocean-lib-js/pull/813) -- Bump @types/node from 15.0.2 to 15.6.1 [`#810`](https://github.com/oceanprotocol/ocean-lib-js/pull/810) -- remove all doo price tests [`#805`](https://github.com/oceanprotocol/ocean-lib-js/pull/805) -- Bump ts-node from 9.1.1 to 10.0.0 [`#811`](https://github.com/oceanprotocol/ocean-lib-js/pull/811) -- Bump @typescript-eslint/parser from 4.22.1 to 4.25.0 [`#812`](https://github.com/oceanprotocol/ocean-lib-js/pull/812) -- Bump web3-eth-contract from 1.3.5 to 1.3.6 [`#802`](https://github.com/oceanprotocol/ocean-lib-js/pull/802) -- Bump prettier from 2.2.1 to 2.3.0 [`#793`](https://github.com/oceanprotocol/ocean-lib-js/pull/793) -- Bump @types/chai from 4.2.17 to 4.2.18 [`#797`](https://github.com/oceanprotocol/ocean-lib-js/pull/797) -- Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.25.0 [`#809`](https://github.com/oceanprotocol/ocean-lib-js/pull/809) -- Bump eslint from 7.25.0 to 7.27.0 [`#808`](https://github.com/oceanprotocol/ocean-lib-js/pull/808) -- building package-lock.json with npm v7 [`#804`](https://github.com/oceanprotocol/ocean-lib-js/pull/804) -- Bump mocha from 8.3.2 to 8.4.0 [`#801`](https://github.com/oceanprotocol/ocean-lib-js/pull/801) -- Bump release-it from 14.6.1 to 14.6.2 [`#795`](https://github.com/oceanprotocol/ocean-lib-js/pull/795) -- Bump lodash from 4.17.19 to 4.17.21 [`#799`](https://github.com/oceanprotocol/ocean-lib-js/pull/799) -- Bump @truffle/hdwallet-provider from 1.3.0 to 1.4.0 [`#800`](https://github.com/oceanprotocol/ocean-lib-js/pull/800) -- building package.json with npm v7 [`5aa8d7d`](https://github.com/oceanprotocol/ocean-lib-js/commit/5aa8d7d10113a829f5c6a62bc21bf46d6e03e2ac) -- Release 0.15.0 [`ffcdfb2`](https://github.com/oceanprotocol/ocean-lib-js/commit/ffcdfb299da05a8b2ecd3e449a0aeeaf5f1cc875) -- fix ddo encrypt for browsers [`b85d85b`](https://github.com/oceanprotocol/ocean-lib-js/commit/b85d85b569731a3b68d7b2c4913a15e5bf1395db) +- Bump typescript from 4.2.4 to 4.3.2 [`#819`](https://github.com/oceanprotocol/ocean.js/pull/819) +- Bump @truffle/hdwallet-provider from 1.3.0 to 1.4.0 [`#816`](https://github.com/oceanprotocol/ocean.js/pull/816) +- Bump mocha from 8.3.2 to 8.4.0 [`#817`](https://github.com/oceanprotocol/ocean.js/pull/817) +- Fix/ Order method should throw error messages [`#803`](https://github.com/oceanprotocol/ocean.js/pull/803) +- Bump @oceanprotocol/contracts from 0.6.2 to 0.6.3 [`#814`](https://github.com/oceanprotocol/ocean.js/pull/814) +- Bump release-it from 14.6.1 to 14.7.0 [`#815`](https://github.com/oceanprotocol/ocean.js/pull/815) +- Bump auto-changelog from 2.2.1 to 2.3.0 [`#813`](https://github.com/oceanprotocol/ocean.js/pull/813) +- Bump @types/node from 15.0.2 to 15.6.1 [`#810`](https://github.com/oceanprotocol/ocean.js/pull/810) +- remove all doo price tests [`#805`](https://github.com/oceanprotocol/ocean.js/pull/805) +- Bump ts-node from 9.1.1 to 10.0.0 [`#811`](https://github.com/oceanprotocol/ocean.js/pull/811) +- Bump @typescript-eslint/parser from 4.22.1 to 4.25.0 [`#812`](https://github.com/oceanprotocol/ocean.js/pull/812) +- Bump web3-eth-contract from 1.3.5 to 1.3.6 [`#802`](https://github.com/oceanprotocol/ocean.js/pull/802) +- Bump prettier from 2.2.1 to 2.3.0 [`#793`](https://github.com/oceanprotocol/ocean.js/pull/793) +- Bump @types/chai from 4.2.17 to 4.2.18 [`#797`](https://github.com/oceanprotocol/ocean.js/pull/797) +- Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.25.0 [`#809`](https://github.com/oceanprotocol/ocean.js/pull/809) +- Bump eslint from 7.25.0 to 7.27.0 [`#808`](https://github.com/oceanprotocol/ocean.js/pull/808) +- building package-lock.json with npm v7 [`#804`](https://github.com/oceanprotocol/ocean.js/pull/804) +- Bump mocha from 8.3.2 to 8.4.0 [`#801`](https://github.com/oceanprotocol/ocean.js/pull/801) +- Bump release-it from 14.6.1 to 14.6.2 [`#795`](https://github.com/oceanprotocol/ocean.js/pull/795) +- Bump lodash from 4.17.19 to 4.17.21 [`#799`](https://github.com/oceanprotocol/ocean.js/pull/799) +- Bump @truffle/hdwallet-provider from 1.3.0 to 1.4.0 [`#800`](https://github.com/oceanprotocol/ocean.js/pull/800) +- building package.json with npm v7 [`5aa8d7d`](https://github.com/oceanprotocol/ocean.js/commit/5aa8d7d10113a829f5c6a62bc21bf46d6e03e2ac) +- Release 0.15.0 [`ffcdfb2`](https://github.com/oceanprotocol/ocean.js/commit/ffcdfb299da05a8b2ecd3e449a0aeeaf5f1cc875) +- fix ddo encrypt for browsers [`b85d85b`](https://github.com/oceanprotocol/ocean.js/commit/b85d85b569731a3b68d7b2c4913a15e5bf1395db) -#### [v0.14.9](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.8...v0.14.9) +#### [v0.14.9](https://github.com/oceanprotocol/ocean.js/compare/v0.14.8...v0.14.9) > 11 May 2021 -- Feature/dispenser [`#790`](https://github.com/oceanprotocol/ocean-lib-js/pull/790) -- Bump handlebars from 4.7.6 to 4.7.7 [`#791`](https://github.com/oceanprotocol/ocean-lib-js/pull/791) -- Bump @types/node from 15.0.1 to 15.0.2 [`#785`](https://github.com/oceanprotocol/ocean-lib-js/pull/785) -- Bump @typescript-eslint/parser from 4.22.0 to 4.22.1 [`#784`](https://github.com/oceanprotocol/ocean-lib-js/pull/784) -- Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1 [`#783`](https://github.com/oceanprotocol/ocean-lib-js/pull/783) -- Revert "creating interface for the dispenser contract" [`53b401d`](https://github.com/oceanprotocol/ocean-lib-js/commit/53b401dcd059234197e0119e7eca2fecc8d19109) -- creating interface for the dispenser contract [`413b17e`](https://github.com/oceanprotocol/ocean-lib-js/commit/413b17e668a4d92e2ab9d43092b604bc2b2f2914) -- Release 0.14.9 [`804a6a6`](https://github.com/oceanprotocol/ocean-lib-js/commit/804a6a62facbe9f6b110d4d864cd63424555316b) +- Feature/dispenser [`#790`](https://github.com/oceanprotocol/ocean.js/pull/790) +- Bump handlebars from 4.7.6 to 4.7.7 [`#791`](https://github.com/oceanprotocol/ocean.js/pull/791) +- Bump @types/node from 15.0.1 to 15.0.2 [`#785`](https://github.com/oceanprotocol/ocean.js/pull/785) +- Bump @typescript-eslint/parser from 4.22.0 to 4.22.1 [`#784`](https://github.com/oceanprotocol/ocean.js/pull/784) +- Bump @typescript-eslint/eslint-plugin from 4.22.0 to 4.22.1 [`#783`](https://github.com/oceanprotocol/ocean.js/pull/783) +- Revert "creating interface for the dispenser contract" [`53b401d`](https://github.com/oceanprotocol/ocean.js/commit/53b401dcd059234197e0119e7eca2fecc8d19109) +- creating interface for the dispenser contract [`413b17e`](https://github.com/oceanprotocol/ocean.js/commit/413b17e668a4d92e2ab9d43092b604bc2b2f2914) +- Release 0.14.9 [`804a6a6`](https://github.com/oceanprotocol/ocean.js/commit/804a6a62facbe9f6b110d4d864cd63424555316b) -#### [v0.14.8](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.7...v0.14.8) +#### [v0.14.8](https://github.com/oceanprotocol/ocean.js/compare/v0.14.7...v0.14.8) > 30 April 2021 -- update CodeClimate badges [`#782`](https://github.com/oceanprotocol/ocean-lib-js/pull/782) -- Feature/use decimal in pool [`#775`](https://github.com/oceanprotocol/ocean-lib-js/pull/775) -- lock ocean-contracts to 0.5.16 [`#781`](https://github.com/oceanprotocol/ocean-lib-js/pull/781) -- Bump @types/node from 15.0.0 to 15.0.1 [`#776`](https://github.com/oceanprotocol/ocean-lib-js/pull/776) -- Bump @types/node from 14.14.41 to 15.0.0 [`#773`](https://github.com/oceanprotocol/ocean-lib-js/pull/773) -- Bump @types/chai from 4.2.16 to 4.2.17 [`#774`](https://github.com/oceanprotocol/ocean-lib-js/pull/774) -- Bump typedoc from 0.20.35 to 0.20.36 [`#768`](https://github.com/oceanprotocol/ocean-lib-js/pull/768) -- Bump eslint from 7.24.0 to 7.25.0 [`#767`](https://github.com/oceanprotocol/ocean-lib-js/pull/767) -- Bump eslint-config-prettier from 8.2.0 to 8.3.0 [`#769`](https://github.com/oceanprotocol/ocean-lib-js/pull/769) -- Bump @truffle/hdwallet-provider from 1.2.6 to 1.3.0 [`#770`](https://github.com/oceanprotocol/ocean-lib-js/pull/770) -- Bump node-abort-controller from 1.2.1 to 2.0.0 [`#771`](https://github.com/oceanprotocol/ocean-lib-js/pull/771) -- Release 0.14.8 [`ae46477`](https://github.com/oceanprotocol/ocean-lib-js/commit/ae464774a487127b5f6f89e9200184a54d231f6d) +- update CodeClimate badges [`#782`](https://github.com/oceanprotocol/ocean.js/pull/782) +- Feature/use decimal in pool [`#775`](https://github.com/oceanprotocol/ocean.js/pull/775) +- lock ocean-contracts to 0.5.16 [`#781`](https://github.com/oceanprotocol/ocean.js/pull/781) +- Bump @types/node from 15.0.0 to 15.0.1 [`#776`](https://github.com/oceanprotocol/ocean.js/pull/776) +- Bump @types/node from 14.14.41 to 15.0.0 [`#773`](https://github.com/oceanprotocol/ocean.js/pull/773) +- Bump @types/chai from 4.2.16 to 4.2.17 [`#774`](https://github.com/oceanprotocol/ocean.js/pull/774) +- Bump typedoc from 0.20.35 to 0.20.36 [`#768`](https://github.com/oceanprotocol/ocean.js/pull/768) +- Bump eslint from 7.24.0 to 7.25.0 [`#767`](https://github.com/oceanprotocol/ocean.js/pull/767) +- Bump eslint-config-prettier from 8.2.0 to 8.3.0 [`#769`](https://github.com/oceanprotocol/ocean.js/pull/769) +- Bump @truffle/hdwallet-provider from 1.2.6 to 1.3.0 [`#770`](https://github.com/oceanprotocol/ocean.js/pull/770) +- Bump node-abort-controller from 1.2.1 to 2.0.0 [`#771`](https://github.com/oceanprotocol/ocean.js/pull/771) +- Release 0.14.8 [`ae46477`](https://github.com/oceanprotocol/ocean.js/commit/ae464774a487127b5f6f89e9200184a54d231f6d) -#### [v0.14.7](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.6...v0.14.7) +#### [v0.14.7](https://github.com/oceanprotocol/ocean.js/compare/v0.14.6...v0.14.7) > 23 April 2021 -- Fix address.json import [`#765`](https://github.com/oceanprotocol/ocean-lib-js/pull/765) -- Release 0.14.7 [`beb877b`](https://github.com/oceanprotocol/ocean-lib-js/commit/beb877b5e3ed07228b05636c0eff0dae15ff0025) +- Fix address.json import [`#765`](https://github.com/oceanprotocol/ocean.js/pull/765) +- Release 0.14.7 [`beb877b`](https://github.com/oceanprotocol/ocean.js/commit/beb877b5e3ed07228b05636c0eff0dae15ff0025) -#### [v0.14.6](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.5...v0.14.6) +#### [v0.14.6](https://github.com/oceanprotocol/ocean.js/compare/v0.14.5...v0.14.6) > 22 April 2021 -- add moonbeamalpha [`#751`](https://github.com/oceanprotocol/ocean-lib-js/pull/751) -- Bump @ethereum-navigator/navigator from 0.5.2 to 0.5.3 [`#763`](https://github.com/oceanprotocol/ocean-lib-js/pull/763) -- Release 0.14.6 [`01b0654`](https://github.com/oceanprotocol/ocean-lib-js/commit/01b0654470a29a3c106fb31da4f35a8007b965d5) +- add moonbeamalpha [`#751`](https://github.com/oceanprotocol/ocean.js/pull/751) +- Bump @ethereum-navigator/navigator from 0.5.2 to 0.5.3 [`#763`](https://github.com/oceanprotocol/ocean.js/pull/763) +- Release 0.14.6 [`01b0654`](https://github.com/oceanprotocol/ocean.js/commit/01b0654470a29a3c106fb31da4f35a8007b965d5) -#### [v0.14.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.4...v0.14.5) +#### [v0.14.5](https://github.com/oceanprotocol/ocean.js/compare/v0.14.4...v0.14.5) > 19 April 2021 -- updating path names in package.json [`#756`](https://github.com/oceanprotocol/ocean-lib-js/pull/756) -- Release 0.14.5 [`69a01c7`](https://github.com/oceanprotocol/ocean-lib-js/commit/69a01c75dfc468b951b7af5ef17cbd4d04d1c32c) +- updating path names in package.json [`#756`](https://github.com/oceanprotocol/ocean.js/pull/756) +- Release 0.14.5 [`69a01c7`](https://github.com/oceanprotocol/ocean.js/commit/69a01c75dfc468b951b7af5ef17cbd4d04d1c32c) -#### [v0.14.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.3...v0.14.4) +#### [v0.14.4](https://github.com/oceanprotocol/ocean.js/compare/v0.14.3...v0.14.4) > 19 April 2021 -- add seachPreviousOrder [`#755`](https://github.com/oceanprotocol/ocean-lib-js/pull/755) -- updating export name [`#754`](https://github.com/oceanprotocol/ocean-lib-js/pull/754) -- Bump @types/node from 14.14.39 to 14.14.41 [`#748`](https://github.com/oceanprotocol/ocean-lib-js/pull/748) -- Release 0.14.4 [`aad461c`](https://github.com/oceanprotocol/ocean-lib-js/commit/aad461c7e9c123546e8cb3ee0d16238763bceac1) +- add seachPreviousOrder [`#755`](https://github.com/oceanprotocol/ocean.js/pull/755) +- updating export name [`#754`](https://github.com/oceanprotocol/ocean.js/pull/754) +- Bump @types/node from 14.14.39 to 14.14.41 [`#748`](https://github.com/oceanprotocol/ocean.js/pull/748) +- Release 0.14.4 [`aad461c`](https://github.com/oceanprotocol/ocean.js/commit/aad461c7e9c123546e8cb3ee0d16238763bceac1) -#### [v0.14.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.2...v0.14.3) +#### [v0.14.3](https://github.com/oceanprotocol/ocean.js/compare/v0.14.2...v0.14.3) > 16 April 2021 -- export provider, fix circular dependency [`#750`](https://github.com/oceanprotocol/ocean-lib-js/pull/750) -- Bump eslint-plugin-prettier from 3.3.1 to 3.4.0 [`#749`](https://github.com/oceanprotocol/ocean-lib-js/pull/749) -- Release 0.14.3 [`4b50788`](https://github.com/oceanprotocol/ocean-lib-js/commit/4b50788600a9167a0050dfde8b409fa45dd1ed17) +- export provider, fix circular dependency [`#750`](https://github.com/oceanprotocol/ocean.js/pull/750) +- Bump eslint-plugin-prettier from 3.3.1 to 3.4.0 [`#749`](https://github.com/oceanprotocol/ocean.js/pull/749) +- Release 0.14.3 [`4b50788`](https://github.com/oceanprotocol/ocean.js/commit/4b50788600a9167a0050dfde8b409fa45dd1ed17) -#### [v0.14.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.1...v0.14.2) +#### [v0.14.2](https://github.com/oceanprotocol/ocean.js/compare/v0.14.1...v0.14.2) > 16 April 2021 -- fix compute status [`#746`](https://github.com/oceanprotocol/ocean-lib-js/pull/746) -- Bump @types/node-fetch from 2.5.8 to 2.5.10 [`#744`](https://github.com/oceanprotocol/ocean-lib-js/pull/744) -- Bump @typescript-eslint/eslint-plugin from 4.20.0 to 4.22.0 [`#743`](https://github.com/oceanprotocol/ocean-lib-js/pull/743) -- Bump cross-fetch from 3.1.2 to 3.1.4 [`#742`](https://github.com/oceanprotocol/ocean-lib-js/pull/742) -- Bump @types/node from 14.14.37 to 14.14.39 [`#745`](https://github.com/oceanprotocol/ocean-lib-js/pull/745) -- Release 0.14.2 [`9bb1b01`](https://github.com/oceanprotocol/ocean-lib-js/commit/9bb1b012a12e21e63955e4a3dbea6a5dfcee8c16) +- fix compute status [`#746`](https://github.com/oceanprotocol/ocean.js/pull/746) +- Bump @types/node-fetch from 2.5.8 to 2.5.10 [`#744`](https://github.com/oceanprotocol/ocean.js/pull/744) +- Bump @typescript-eslint/eslint-plugin from 4.20.0 to 4.22.0 [`#743`](https://github.com/oceanprotocol/ocean.js/pull/743) +- Bump cross-fetch from 3.1.2 to 3.1.4 [`#742`](https://github.com/oceanprotocol/ocean.js/pull/742) +- Bump @types/node from 14.14.37 to 14.14.39 [`#745`](https://github.com/oceanprotocol/ocean.js/pull/745) +- Release 0.14.2 [`9bb1b01`](https://github.com/oceanprotocol/ocean.js/commit/9bb1b012a12e21e63955e4a3dbea6a5dfcee8c16) -#### [v0.14.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.14.0...v0.14.1) +#### [v0.14.1](https://github.com/oceanprotocol/ocean.js/compare/v0.14.0...v0.14.1) > 14 April 2021 -- Bump @types/chai from 4.2.15 to 4.2.16 [`#740`](https://github.com/oceanprotocol/ocean-lib-js/pull/740) -- Bump eslint-config-prettier from 8.1.0 to 8.2.0 [`#739`](https://github.com/oceanprotocol/ocean-lib-js/pull/739) -- Bump release-it from 14.5.1 to 14.6.1 [`#738`](https://github.com/oceanprotocol/ocean-lib-js/pull/738) -- Bump eslint from 7.23.0 to 7.24.0 [`#737`](https://github.com/oceanprotocol/ocean-lib-js/pull/737) -- Bump @typescript-eslint/parser from 4.20.0 to 4.22.0 [`#736`](https://github.com/oceanprotocol/ocean-lib-js/pull/736) -- add inputDID & algoDID [`#735`](https://github.com/oceanprotocol/ocean-lib-js/pull/735) -- Release 0.14.1 [`5d2251f`](https://github.com/oceanprotocol/ocean-lib-js/commit/5d2251fdc97a9b096f7ded20adf4b5e10c9b34e0) +- Bump @types/chai from 4.2.15 to 4.2.16 [`#740`](https://github.com/oceanprotocol/ocean.js/pull/740) +- Bump eslint-config-prettier from 8.1.0 to 8.2.0 [`#739`](https://github.com/oceanprotocol/ocean.js/pull/739) +- Bump release-it from 14.5.1 to 14.6.1 [`#738`](https://github.com/oceanprotocol/ocean.js/pull/738) +- Bump eslint from 7.23.0 to 7.24.0 [`#737`](https://github.com/oceanprotocol/ocean.js/pull/737) +- Bump @typescript-eslint/parser from 4.20.0 to 4.22.0 [`#736`](https://github.com/oceanprotocol/ocean.js/pull/736) +- add inputDID & algoDID [`#735`](https://github.com/oceanprotocol/ocean.js/pull/735) +- Release 0.14.1 [`5d2251f`](https://github.com/oceanprotocol/ocean.js/commit/5d2251fdc97a9b096f7ded20adf4b5e10c9b34e0) -#### [v0.14.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.13.0...v0.14.0) +#### [v0.14.0](https://github.com/oceanprotocol/ocean.js/compare/v0.13.0...v0.14.0) > 13 April 2021 -- refactor compute [`#731`](https://github.com/oceanprotocol/ocean-lib-js/pull/731) -- Issue 668/documentation improvements [`#669`](https://github.com/oceanprotocol/ocean-lib-js/pull/669) -- Release 0.14.0 [`b68cc55`](https://github.com/oceanprotocol/ocean-lib-js/commit/b68cc55149ca130a6877b246dce4da7af0b35d9c) -- package fix [`8b58fb4`](https://github.com/oceanprotocol/ocean-lib-js/commit/8b58fb4111e36b69b0d8319b0c4d076e4e3bf016) +- refactor compute [`#731`](https://github.com/oceanprotocol/ocean.js/pull/731) +- Issue 668/documentation improvements [`#669`](https://github.com/oceanprotocol/ocean.js/pull/669) +- Release 0.14.0 [`b68cc55`](https://github.com/oceanprotocol/ocean.js/commit/b68cc55149ca130a6877b246dce4da7af0b35d9c) +- package fix [`8b58fb4`](https://github.com/oceanprotocol/ocean.js/commit/8b58fb4111e36b69b0d8319b0c4d076e4e3bf016) -#### [v0.13.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.12.2...v0.13.0) +#### [v0.13.0](https://github.com/oceanprotocol/ocean.js/compare/v0.12.2...v0.13.0) > 13 April 2021 -- re-building package-lock.json with npm v7 [`#704`](https://github.com/oceanprotocol/ocean-lib-js/pull/704) -- [KianYee] #459 enhance file info function [`#710`](https://github.com/oceanprotocol/ocean-lib-js/pull/710) -- Optimize compute job status calls [`#717`](https://github.com/oceanprotocol/ocean-lib-js/pull/717) -- Bump web3 from 1.3.4 to 1.3.5 [`#712`](https://github.com/oceanprotocol/ocean-lib-js/pull/712) -- Bump @typescript-eslint/eslint-plugin from 4.21.0 to 4.22.0 [`#733`](https://github.com/oceanprotocol/ocean-lib-js/pull/733) -- Bump @typescript-eslint/parser from 4.21.0 to 4.22.0 [`#732`](https://github.com/oceanprotocol/ocean-lib-js/pull/732) -- Bump @typescript-eslint/eslint-plugin from 4.20.0 to 4.21.0 [`#728`](https://github.com/oceanprotocol/ocean-lib-js/pull/728) -- Bump release-it from 14.5.1 to 14.6.1 [`#729`](https://github.com/oceanprotocol/ocean-lib-js/pull/729) -- Bump eslint from 7.23.0 to 7.24.0 [`#730`](https://github.com/oceanprotocol/ocean-lib-js/pull/730) -- Bump cross-fetch from 3.1.2 to 3.1.4 [`#725`](https://github.com/oceanprotocol/ocean-lib-js/pull/725) -- Bump @types/chai from 4.2.15 to 4.2.16 [`#726`](https://github.com/oceanprotocol/ocean-lib-js/pull/726) -- Bump @typescript-eslint/parser from 4.20.0 to 4.21.0 [`#727`](https://github.com/oceanprotocol/ocean-lib-js/pull/727) -- remove references to V3 [`#723`](https://github.com/oceanprotocol/ocean-lib-js/pull/723) -- Feature/more tests [`#718`](https://github.com/oceanprotocol/ocean-lib-js/pull/718) -- Bump @types/node-fetch from 2.5.8 to 2.5.10 [`#722`](https://github.com/oceanprotocol/ocean-lib-js/pull/722) -- Bump @truffle/hdwallet-provider from 1.2.5 to 1.2.6 [`#719`](https://github.com/oceanprotocol/ocean-lib-js/pull/719) -- Bump typescript from 4.2.3 to 4.2.4 [`#720`](https://github.com/oceanprotocol/ocean-lib-js/pull/720) -- Bump node-abort-controller from 1.2.0 to 1.2.1 [`#721`](https://github.com/oceanprotocol/ocean-lib-js/pull/721) -- Building CommonJS, ES and UMD modules with microbundle [`#698`](https://github.com/oceanprotocol/ocean-lib-js/pull/698) -- Bump @typescript-eslint/eslint-plugin from 4.20.0 to 4.21.0 [`#714`](https://github.com/oceanprotocol/ocean-lib-js/pull/714) -- Bump @typescript-eslint/parser from 4.20.0 to 4.21.0 [`#715`](https://github.com/oceanprotocol/ocean-lib-js/pull/715) -- add compute dataset/compute algo [`#711`](https://github.com/oceanprotocol/ocean-lib-js/pull/711) -- Release 0.13.0 [`833a287`](https://github.com/oceanprotocol/ocean-lib-js/commit/833a287070566c77286a73b8429a2c64d6089cfb) +- re-building package-lock.json with npm v7 [`#704`](https://github.com/oceanprotocol/ocean.js/pull/704) +- [KianYee] #459 enhance file info function [`#710`](https://github.com/oceanprotocol/ocean.js/pull/710) +- Optimize compute job status calls [`#717`](https://github.com/oceanprotocol/ocean.js/pull/717) +- Bump web3 from 1.3.4 to 1.3.5 [`#712`](https://github.com/oceanprotocol/ocean.js/pull/712) +- Bump @typescript-eslint/eslint-plugin from 4.21.0 to 4.22.0 [`#733`](https://github.com/oceanprotocol/ocean.js/pull/733) +- Bump @typescript-eslint/parser from 4.21.0 to 4.22.0 [`#732`](https://github.com/oceanprotocol/ocean.js/pull/732) +- Bump @typescript-eslint/eslint-plugin from 4.20.0 to 4.21.0 [`#728`](https://github.com/oceanprotocol/ocean.js/pull/728) +- Bump release-it from 14.5.1 to 14.6.1 [`#729`](https://github.com/oceanprotocol/ocean.js/pull/729) +- Bump eslint from 7.23.0 to 7.24.0 [`#730`](https://github.com/oceanprotocol/ocean.js/pull/730) +- Bump cross-fetch from 3.1.2 to 3.1.4 [`#725`](https://github.com/oceanprotocol/ocean.js/pull/725) +- Bump @types/chai from 4.2.15 to 4.2.16 [`#726`](https://github.com/oceanprotocol/ocean.js/pull/726) +- Bump @typescript-eslint/parser from 4.20.0 to 4.21.0 [`#727`](https://github.com/oceanprotocol/ocean.js/pull/727) +- remove references to V3 [`#723`](https://github.com/oceanprotocol/ocean.js/pull/723) +- Feature/more tests [`#718`](https://github.com/oceanprotocol/ocean.js/pull/718) +- Bump @types/node-fetch from 2.5.8 to 2.5.10 [`#722`](https://github.com/oceanprotocol/ocean.js/pull/722) +- Bump @truffle/hdwallet-provider from 1.2.5 to 1.2.6 [`#719`](https://github.com/oceanprotocol/ocean.js/pull/719) +- Bump typescript from 4.2.3 to 4.2.4 [`#720`](https://github.com/oceanprotocol/ocean.js/pull/720) +- Bump node-abort-controller from 1.2.0 to 1.2.1 [`#721`](https://github.com/oceanprotocol/ocean.js/pull/721) +- Building CommonJS, ES and UMD modules with microbundle [`#698`](https://github.com/oceanprotocol/ocean.js/pull/698) +- Bump @typescript-eslint/eslint-plugin from 4.20.0 to 4.21.0 [`#714`](https://github.com/oceanprotocol/ocean.js/pull/714) +- Bump @typescript-eslint/parser from 4.20.0 to 4.21.0 [`#715`](https://github.com/oceanprotocol/ocean.js/pull/715) +- add compute dataset/compute algo [`#711`](https://github.com/oceanprotocol/ocean.js/pull/711) +- Release 0.13.0 [`833a287`](https://github.com/oceanprotocol/ocean.js/commit/833a287070566c77286a73b8429a2c64d6089cfb) -#### [v0.12.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.12.1...v0.12.2) +#### [v0.12.2](https://github.com/oceanprotocol/ocean.js/compare/v0.12.1...v0.12.2) > 4 April 2021 -- Bump cross-fetch from 3.1.3 to 3.1.4 [`#706`](https://github.com/oceanprotocol/ocean-lib-js/pull/706) -- Bump typedoc from 0.20.34 to 0.20.35 [`#707`](https://github.com/oceanprotocol/ocean-lib-js/pull/707) -- Bump @types/node-fetch from 2.5.8 to 2.5.9 [`#708`](https://github.com/oceanprotocol/ocean-lib-js/pull/708) -- Bump @types/chai from 4.2.15 to 4.2.16 [`#709`](https://github.com/oceanprotocol/ocean-lib-js/pull/709) -- Bump release-it from 14.5.0 to 14.5.1 [`#705`](https://github.com/oceanprotocol/ocean-lib-js/pull/705) -- Bump y18n from 4.0.0 to 4.0.1 [`#702`](https://github.com/oceanprotocol/ocean-lib-js/pull/702) -- Bump @truffle/hdwallet-provider from 1.2.5 to 1.2.6 [`#701`](https://github.com/oceanprotocol/ocean-lib-js/pull/701) -- use blob instead of buffer [`#694`](https://github.com/oceanprotocol/ocean-lib-js/pull/694) -- Bump cross-fetch from 3.1.2 to 3.1.3 [`#700`](https://github.com/oceanprotocol/ocean-lib-js/pull/700) -- Bump @typescript-eslint/eslint-plugin from 4.19.0 to 4.20.0 [`#695`](https://github.com/oceanprotocol/ocean-lib-js/pull/695) -- Bump @typescript-eslint/parser from 4.19.0 to 4.20.0 [`#696`](https://github.com/oceanprotocol/ocean-lib-js/pull/696) -- improve tests speed [`#691`](https://github.com/oceanprotocol/ocean-lib-js/pull/691) -- Bump @types/node from 14.14.36 to 14.14.37 [`#693`](https://github.com/oceanprotocol/ocean-lib-js/pull/693) -- Bump eslint from 7.22.0 to 7.23.0 [`#692`](https://github.com/oceanprotocol/ocean-lib-js/pull/692) -- Replacing node-fetch with cross-fetch [`#687`](https://github.com/oceanprotocol/ocean-lib-js/pull/687) -- Bump @truffle/hdwallet-provider from 1.2.4 to 1.2.5 [`#688`](https://github.com/oceanprotocol/ocean-lib-js/pull/688) -- Bump @types/node from 14.14.35 to 14.14.36 [`#689`](https://github.com/oceanprotocol/ocean-lib-js/pull/689) -- Bump typedoc from 0.20.33 to 0.20.34 [`#690`](https://github.com/oceanprotocol/ocean-lib-js/pull/690) -- Release 0.12.2 [`08fb294`](https://github.com/oceanprotocol/ocean-lib-js/commit/08fb29418d0511ef80d696e81910fc7e4dde64a0) +- Bump cross-fetch from 3.1.3 to 3.1.4 [`#706`](https://github.com/oceanprotocol/ocean.js/pull/706) +- Bump typedoc from 0.20.34 to 0.20.35 [`#707`](https://github.com/oceanprotocol/ocean.js/pull/707) +- Bump @types/node-fetch from 2.5.8 to 2.5.9 [`#708`](https://github.com/oceanprotocol/ocean.js/pull/708) +- Bump @types/chai from 4.2.15 to 4.2.16 [`#709`](https://github.com/oceanprotocol/ocean.js/pull/709) +- Bump release-it from 14.5.0 to 14.5.1 [`#705`](https://github.com/oceanprotocol/ocean.js/pull/705) +- Bump y18n from 4.0.0 to 4.0.1 [`#702`](https://github.com/oceanprotocol/ocean.js/pull/702) +- Bump @truffle/hdwallet-provider from 1.2.5 to 1.2.6 [`#701`](https://github.com/oceanprotocol/ocean.js/pull/701) +- use blob instead of buffer [`#694`](https://github.com/oceanprotocol/ocean.js/pull/694) +- Bump cross-fetch from 3.1.2 to 3.1.3 [`#700`](https://github.com/oceanprotocol/ocean.js/pull/700) +- Bump @typescript-eslint/eslint-plugin from 4.19.0 to 4.20.0 [`#695`](https://github.com/oceanprotocol/ocean.js/pull/695) +- Bump @typescript-eslint/parser from 4.19.0 to 4.20.0 [`#696`](https://github.com/oceanprotocol/ocean.js/pull/696) +- improve tests speed [`#691`](https://github.com/oceanprotocol/ocean.js/pull/691) +- Bump @types/node from 14.14.36 to 14.14.37 [`#693`](https://github.com/oceanprotocol/ocean.js/pull/693) +- Bump eslint from 7.22.0 to 7.23.0 [`#692`](https://github.com/oceanprotocol/ocean.js/pull/692) +- Replacing node-fetch with cross-fetch [`#687`](https://github.com/oceanprotocol/ocean.js/pull/687) +- Bump @truffle/hdwallet-provider from 1.2.4 to 1.2.5 [`#688`](https://github.com/oceanprotocol/ocean.js/pull/688) +- Bump @types/node from 14.14.35 to 14.14.36 [`#689`](https://github.com/oceanprotocol/ocean.js/pull/689) +- Bump typedoc from 0.20.33 to 0.20.34 [`#690`](https://github.com/oceanprotocol/ocean.js/pull/690) +- Release 0.12.2 [`08fb294`](https://github.com/oceanprotocol/ocean.js/commit/08fb29418d0511ef80d696e81910fc7e4dde64a0) -#### [v0.12.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.12.0...v0.12.1) +#### [v0.12.1](https://github.com/oceanprotocol/ocean.js/compare/v0.12.0...v0.12.1) > 24 March 2021 -- add allowAllPublishedAlgorithms [`#686`](https://github.com/oceanprotocol/ocean-lib-js/pull/686) -- Add remove ocean liquidity function [`#685`](https://github.com/oceanprotocol/ocean-lib-js/pull/685) -- Bump @typescript-eslint/parser from 4.18.0 to 4.19.0 [`#681`](https://github.com/oceanprotocol/ocean-lib-js/pull/681) -- Bump @typescript-eslint/eslint-plugin from 4.18.0 to 4.19.0 [`#682`](https://github.com/oceanprotocol/ocean-lib-js/pull/682) -- Bump @types/mocha from 8.2.1 to 8.2.2 [`#672`](https://github.com/oceanprotocol/ocean-lib-js/pull/672) -- Bump release-it from 14.4.1 to 14.5.0 [`#673`](https://github.com/oceanprotocol/ocean-lib-js/pull/673) -- Bump @truffle/hdwallet-provider from 1.2.3 to 1.2.4 [`#674`](https://github.com/oceanprotocol/ocean-lib-js/pull/674) -- Bump typedoc from 0.20.32 to 0.20.33 [`#675`](https://github.com/oceanprotocol/ocean-lib-js/pull/675) -- Release 0.12.1 [`c968388`](https://github.com/oceanprotocol/ocean-lib-js/commit/c968388d17c74dc3efe160e6e4bbdee8417e3a43) +- add allowAllPublishedAlgorithms [`#686`](https://github.com/oceanprotocol/ocean.js/pull/686) +- Add remove ocean liquidity function [`#685`](https://github.com/oceanprotocol/ocean.js/pull/685) +- Bump @typescript-eslint/parser from 4.18.0 to 4.19.0 [`#681`](https://github.com/oceanprotocol/ocean.js/pull/681) +- Bump @typescript-eslint/eslint-plugin from 4.18.0 to 4.19.0 [`#682`](https://github.com/oceanprotocol/ocean.js/pull/682) +- Bump @types/mocha from 8.2.1 to 8.2.2 [`#672`](https://github.com/oceanprotocol/ocean.js/pull/672) +- Bump release-it from 14.4.1 to 14.5.0 [`#673`](https://github.com/oceanprotocol/ocean.js/pull/673) +- Bump @truffle/hdwallet-provider from 1.2.3 to 1.2.4 [`#674`](https://github.com/oceanprotocol/ocean.js/pull/674) +- Bump typedoc from 0.20.32 to 0.20.33 [`#675`](https://github.com/oceanprotocol/ocean.js/pull/675) +- Release 0.12.1 [`c968388`](https://github.com/oceanprotocol/ocean.js/commit/c968388d17c74dc3efe160e6e4bbdee8417e3a43) -#### [v0.12.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.11.5...v0.12.0) +#### [v0.12.0](https://github.com/oceanprotocol/ocean.js/compare/v0.11.5...v0.12.0) > 18 March 2021 -- add encrypt ddo support [`#662`](https://github.com/oceanprotocol/ocean-lib-js/pull/662) -- Release 0.12.0 [`b8fc15e`](https://github.com/oceanprotocol/ocean-lib-js/commit/b8fc15e4df6e700c809ff937b0ae712cbe00e222) +- add encrypt ddo support [`#662`](https://github.com/oceanprotocol/ocean.js/pull/662) +- Release 0.12.0 [`b8fc15e`](https://github.com/oceanprotocol/ocean.js/commit/b8fc15e4df6e700c809ff937b0ae712cbe00e222) -#### [v0.11.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.11.4...v0.11.5) +#### [v0.11.5](https://github.com/oceanprotocol/ocean.js/compare/v0.11.4...v0.11.5) > 18 March 2021 -- add oceanTokenSymbol to ConfigHelper [`#670`](https://github.com/oceanprotocol/ocean-lib-js/pull/670) -- Bump ora from 5.3.0 to 5.4.0 [`#671`](https://github.com/oceanprotocol/ocean-lib-js/pull/671) -- Bump @typescript-eslint/eslint-plugin from 4.17.0 to 4.18.0 [`#664`](https://github.com/oceanprotocol/ocean-lib-js/pull/664) -- Issue 666/docs test commands [`#667`](https://github.com/oceanprotocol/ocean-lib-js/pull/667) -- Bump @types/node from 14.14.34 to 14.14.35 [`#663`](https://github.com/oceanprotocol/ocean-lib-js/pull/663) -- Bump @typescript-eslint/parser from 4.17.0 to 4.18.0 [`#665`](https://github.com/oceanprotocol/ocean-lib-js/pull/665) -- dependency fixes [`#661`](https://github.com/oceanprotocol/ocean-lib-js/pull/661) -- Bump mocha from 8.3.1 to 8.3.2 [`#660`](https://github.com/oceanprotocol/ocean-lib-js/pull/660) -- Bump @typescript-eslint/parser from 4.16.1 to 4.17.0 [`#651`](https://github.com/oceanprotocol/ocean-lib-js/pull/651) -- Bump @typescript-eslint/eslint-plugin from 4.16.1 to 4.17.0 [`#652`](https://github.com/oceanprotocol/ocean-lib-js/pull/652) -- Bump chai from 4.3.3 to 4.3.4 [`#659`](https://github.com/oceanprotocol/ocean-lib-js/pull/659) -- Bump typedoc from 0.20.30 to 0.20.32 [`#658`](https://github.com/oceanprotocol/ocean-lib-js/pull/658) -- Bump @truffle/hdwallet-provider from 1.2.2 to 1.2.3 [`#655`](https://github.com/oceanprotocol/ocean-lib-js/pull/655) -- Bump @types/node from 14.14.33 to 14.14.34 [`#656`](https://github.com/oceanprotocol/ocean-lib-js/pull/656) -- Bump eslint from 7.21.0 to 7.22.0 [`#657`](https://github.com/oceanprotocol/ocean-lib-js/pull/657) -- Bump @types/node from 14.14.32 to 14.14.33 [`#653`](https://github.com/oceanprotocol/ocean-lib-js/pull/653) -- npm audit fix [`4ccc13d`](https://github.com/oceanprotocol/ocean-lib-js/commit/4ccc13db39a14588334ab9f09b463e7ab8fb00d7) -- Release 0.11.5 [`bb82b4a`](https://github.com/oceanprotocol/ocean-lib-js/commit/bb82b4afb5eb3bb20b7a35b3dd68c6698020dc37) -- updating unit test command [`09d3703`](https://github.com/oceanprotocol/ocean-lib-js/commit/09d3703f723fbf763a35b06834f95a619fe019ef) +- add oceanTokenSymbol to ConfigHelper [`#670`](https://github.com/oceanprotocol/ocean.js/pull/670) +- Bump ora from 5.3.0 to 5.4.0 [`#671`](https://github.com/oceanprotocol/ocean.js/pull/671) +- Bump @typescript-eslint/eslint-plugin from 4.17.0 to 4.18.0 [`#664`](https://github.com/oceanprotocol/ocean.js/pull/664) +- Issue 666/docs test commands [`#667`](https://github.com/oceanprotocol/ocean.js/pull/667) +- Bump @types/node from 14.14.34 to 14.14.35 [`#663`](https://github.com/oceanprotocol/ocean.js/pull/663) +- Bump @typescript-eslint/parser from 4.17.0 to 4.18.0 [`#665`](https://github.com/oceanprotocol/ocean.js/pull/665) +- dependency fixes [`#661`](https://github.com/oceanprotocol/ocean.js/pull/661) +- Bump mocha from 8.3.1 to 8.3.2 [`#660`](https://github.com/oceanprotocol/ocean.js/pull/660) +- Bump @typescript-eslint/parser from 4.16.1 to 4.17.0 [`#651`](https://github.com/oceanprotocol/ocean.js/pull/651) +- Bump @typescript-eslint/eslint-plugin from 4.16.1 to 4.17.0 [`#652`](https://github.com/oceanprotocol/ocean.js/pull/652) +- Bump chai from 4.3.3 to 4.3.4 [`#659`](https://github.com/oceanprotocol/ocean.js/pull/659) +- Bump typedoc from 0.20.30 to 0.20.32 [`#658`](https://github.com/oceanprotocol/ocean.js/pull/658) +- Bump @truffle/hdwallet-provider from 1.2.2 to 1.2.3 [`#655`](https://github.com/oceanprotocol/ocean.js/pull/655) +- Bump @types/node from 14.14.33 to 14.14.34 [`#656`](https://github.com/oceanprotocol/ocean.js/pull/656) +- Bump eslint from 7.21.0 to 7.22.0 [`#657`](https://github.com/oceanprotocol/ocean.js/pull/657) +- Bump @types/node from 14.14.32 to 14.14.33 [`#653`](https://github.com/oceanprotocol/ocean.js/pull/653) +- npm audit fix [`4ccc13d`](https://github.com/oceanprotocol/ocean.js/commit/4ccc13db39a14588334ab9f09b463e7ab8fb00d7) +- Release 0.11.5 [`bb82b4a`](https://github.com/oceanprotocol/ocean.js/commit/bb82b4afb5eb3bb20b7a35b3dd68c6698020dc37) +- updating unit test command [`09d3703`](https://github.com/oceanprotocol/ocean.js/commit/09d3703f723fbf763a35b06834f95a619fe019ef) -#### [v0.11.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.11.3...v0.11.4) +#### [v0.11.4](https://github.com/oceanprotocol/ocean.js/compare/v0.11.3...v0.11.4) > 8 March 2021 -- fix typo [`#650`](https://github.com/oceanprotocol/ocean-lib-js/pull/650) -- fix fre bug [`#649`](https://github.com/oceanprotocol/ocean-lib-js/pull/649) -- add explorerUri for each network [`#643`](https://github.com/oceanprotocol/ocean-lib-js/pull/643) -- Bump typescript from 4.1.5 to 4.2.3 [`#645`](https://github.com/oceanprotocol/ocean-lib-js/pull/645) -- Bump typedoc from 0.20.29 to 0.20.30 [`#646`](https://github.com/oceanprotocol/ocean-lib-js/pull/646) -- Bump @types/node from 14.14.31 to 14.14.32 [`#647`](https://github.com/oceanprotocol/ocean-lib-js/pull/647) -- Bump mocha from 8.3.0 to 8.3.1 [`#648`](https://github.com/oceanprotocol/ocean-lib-js/pull/648) -- Bump typedoc from 0.20.28 to 0.20.29 [`#642`](https://github.com/oceanprotocol/ocean-lib-js/pull/642) -- Bump chai from 4.3.1 to 4.3.3 [`#641`](https://github.com/oceanprotocol/ocean-lib-js/pull/641) -- Release 0.11.4 [`f9afbc8`](https://github.com/oceanprotocol/ocean-lib-js/commit/f9afbc87b1fbe31703153fd718b82de603640e90) +- fix typo [`#650`](https://github.com/oceanprotocol/ocean.js/pull/650) +- fix fre bug [`#649`](https://github.com/oceanprotocol/ocean.js/pull/649) +- add explorerUri for each network [`#643`](https://github.com/oceanprotocol/ocean.js/pull/643) +- Bump typescript from 4.1.5 to 4.2.3 [`#645`](https://github.com/oceanprotocol/ocean.js/pull/645) +- Bump typedoc from 0.20.29 to 0.20.30 [`#646`](https://github.com/oceanprotocol/ocean.js/pull/646) +- Bump @types/node from 14.14.31 to 14.14.32 [`#647`](https://github.com/oceanprotocol/ocean.js/pull/647) +- Bump mocha from 8.3.0 to 8.3.1 [`#648`](https://github.com/oceanprotocol/ocean.js/pull/648) +- Bump typedoc from 0.20.28 to 0.20.29 [`#642`](https://github.com/oceanprotocol/ocean.js/pull/642) +- Bump chai from 4.3.1 to 4.3.3 [`#641`](https://github.com/oceanprotocol/ocean.js/pull/641) +- Release 0.11.4 [`f9afbc8`](https://github.com/oceanprotocol/ocean.js/commit/f9afbc87b1fbe31703153fd718b82de603640e90) -#### [v0.11.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.11.2...v0.11.3) +#### [v0.11.3](https://github.com/oceanprotocol/ocean.js/compare/v0.11.2...v0.11.3) > 8 March 2021 -- Release 0.11.3 [`9412449`](https://github.com/oceanprotocol/ocean-lib-js/commit/9412449fe56d7f75fdee2cc2adbb08b9f0730a26) +- Release 0.11.3 [`9412449`](https://github.com/oceanprotocol/ocean.js/commit/9412449fe56d7f75fdee2cc2adbb08b9f0730a26) -#### [v0.11.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.11.1...v0.11.2) +#### [v0.11.2](https://github.com/oceanprotocol/ocean.js/compare/v0.11.1...v0.11.2) > 3 March 2021 -- Add explicit testing docs [`#639`](https://github.com/oceanprotocol/ocean-lib-js/pull/639) -- Asset metadata sample links removal [`#598`](https://github.com/oceanprotocol/ocean-lib-js/pull/598) -- Bump chai from 4.3.0 to 4.3.1 [`#638`](https://github.com/oceanprotocol/ocean-lib-js/pull/638) -- Release 0.11.2 [`0db6897`](https://github.com/oceanprotocol/ocean-lib-js/commit/0db6897c03692c631dc37c2898eb0baef0f8daa9) -- remove asset sample link if not send on metadata update [`3608472`](https://github.com/oceanprotocol/ocean-lib-js/commit/3608472e758c5d0ba1c871c15776a8bc3cf3480b) -- update integration test [`d6a84e7`](https://github.com/oceanprotocol/ocean-lib-js/commit/d6a84e7935dc0f3e219a3ca88a1b9231fd66bd72) +- Add explicit testing docs [`#639`](https://github.com/oceanprotocol/ocean.js/pull/639) +- Asset metadata sample links removal [`#598`](https://github.com/oceanprotocol/ocean.js/pull/598) +- Bump chai from 4.3.0 to 4.3.1 [`#638`](https://github.com/oceanprotocol/ocean.js/pull/638) +- Release 0.11.2 [`0db6897`](https://github.com/oceanprotocol/ocean.js/commit/0db6897c03692c631dc37c2898eb0baef0f8daa9) +- remove asset sample link if not send on metadata update [`3608472`](https://github.com/oceanprotocol/ocean.js/commit/3608472e758c5d0ba1c871c15776a8bc3cf3480b) +- update integration test [`d6a84e7`](https://github.com/oceanprotocol/ocean.js/commit/d6a84e7935dc0f3e219a3ca88a1b9231fd66bd72) -#### [v0.11.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.11.0...v0.11.1) +#### [v0.11.1](https://github.com/oceanprotocol/ocean.js/compare/v0.11.0...v0.11.1) > 3 March 2021 -- small improvement on FRE tests [`#636`](https://github.com/oceanprotocol/ocean-lib-js/pull/636) -- More integration tests [`#630`](https://github.com/oceanprotocol/ocean-lib-js/pull/630) -- Bump @typescript-eslint/parser from 4.15.2 to 4.16.1 [`#635`](https://github.com/oceanprotocol/ocean-lib-js/pull/635) -- Bump @typescript-eslint/eslint-plugin from 4.15.2 to 4.16.1 [`#634`](https://github.com/oceanprotocol/ocean-lib-js/pull/634) -- Bump eslint from 7.20.0 to 7.21.0 [`#632`](https://github.com/oceanprotocol/ocean-lib-js/pull/632) -- Bump eslint-config-prettier from 8.0.0 to 8.1.0 [`#631`](https://github.com/oceanprotocol/ocean-lib-js/pull/631) -- wip tests [`8b46472`](https://github.com/oceanprotocol/ocean-lib-js/commit/8b464722ef4b88cb66b672e230564cd27e2eea7b) -- more tests [`228c01c`](https://github.com/oceanprotocol/ocean-lib-js/commit/228c01c98f0dd1554ad639efbd72ecd52f50eaad) -- add ' tokens are not deducted' test for bad URL [`5e7c6cb`](https://github.com/oceanprotocol/ocean-lib-js/commit/5e7c6cb497c34bc1f4d750a876aa9b0848b1e8b6) +- small improvement on FRE tests [`#636`](https://github.com/oceanprotocol/ocean.js/pull/636) +- More integration tests [`#630`](https://github.com/oceanprotocol/ocean.js/pull/630) +- Bump @typescript-eslint/parser from 4.15.2 to 4.16.1 [`#635`](https://github.com/oceanprotocol/ocean.js/pull/635) +- Bump @typescript-eslint/eslint-plugin from 4.15.2 to 4.16.1 [`#634`](https://github.com/oceanprotocol/ocean.js/pull/634) +- Bump eslint from 7.20.0 to 7.21.0 [`#632`](https://github.com/oceanprotocol/ocean.js/pull/632) +- Bump eslint-config-prettier from 8.0.0 to 8.1.0 [`#631`](https://github.com/oceanprotocol/ocean.js/pull/631) +- wip tests [`8b46472`](https://github.com/oceanprotocol/ocean.js/commit/8b464722ef4b88cb66b672e230564cd27e2eea7b) +- more tests [`228c01c`](https://github.com/oceanprotocol/ocean.js/commit/228c01c98f0dd1554ad639efbd72ecd52f50eaad) +- add ' tokens are not deducted' test for bad URL [`5e7c6cb`](https://github.com/oceanprotocol/ocean.js/commit/5e7c6cb497c34bc1f4d750a876aa9b0848b1e8b6) -#### [v0.11.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.10.1...v0.11.0) +#### [v0.11.0](https://github.com/oceanprotocol/ocean.js/compare/v0.10.1...v0.11.0) > 24 February 2021 -- Bump @typescript-eslint/eslint-plugin from 4.15.1 to 4.15.2 [`#624`](https://github.com/oceanprotocol/ocean-lib-js/pull/624) -- Bump eslint-config-prettier from 7.2.0 to 8.0.0 [`#622`](https://github.com/oceanprotocol/ocean-lib-js/pull/622) -- Bump release-it from 14.4.0 to 14.4.1 [`#623`](https://github.com/oceanprotocol/ocean-lib-js/pull/623) -- Bump typedoc from 0.20.27 to 0.20.28 [`#629`](https://github.com/oceanprotocol/ocean-lib-js/pull/629) -- Add polygon network [`#627`](https://github.com/oceanprotocol/ocean-lib-js/pull/627) -- Bump typedoc from 0.20.25 to 0.20.27 [`#621`](https://github.com/oceanprotocol/ocean-lib-js/pull/621) -- Bump @typescript-eslint/parser from 4.15.1 to 4.15.2 [`#625`](https://github.com/oceanprotocol/ocean-lib-js/pull/625) -- Bump @types/node from 14.14.28 to 14.14.31 [`#620`](https://github.com/oceanprotocol/ocean-lib-js/pull/620) -- Feature/compute nextv [`#612`](https://github.com/oceanprotocol/ocean-lib-js/pull/612) -- Feature/travis dockerhub auth [`#617`](https://github.com/oceanprotocol/ocean-lib-js/pull/617) -- Bump @types/mocha from 8.2.0 to 8.2.1 [`#618`](https://github.com/oceanprotocol/ocean-lib-js/pull/618) -- Bump @typescript-eslint/parser from 4.15.0 to 4.15.1 [`#615`](https://github.com/oceanprotocol/ocean-lib-js/pull/615) -- Bump @typescript-eslint/eslint-plugin from 4.15.0 to 4.15.1 [`#616`](https://github.com/oceanprotocol/ocean-lib-js/pull/616) -- Bump typedoc from 0.20.24 to 0.20.25 [`#614`](https://github.com/oceanprotocol/ocean-lib-js/pull/614) -- Dynamic provider endpoints [`#558`](https://github.com/oceanprotocol/ocean-lib-js/pull/558) -- Bump @types/node from 14.14.26 to 14.14.28 [`#611`](https://github.com/oceanprotocol/ocean-lib-js/pull/611) -- Bump release-it from 14.3.0 to 14.4.0 [`#609`](https://github.com/oceanprotocol/ocean-lib-js/pull/609) -- Bump eslint from 7.19.0 to 7.20.0 [`#610`](https://github.com/oceanprotocol/ocean-lib-js/pull/610) -- Bump typedoc from 0.20.23 to 0.20.24 [`#605`](https://github.com/oceanprotocol/ocean-lib-js/pull/605) -- Bump mocha from 8.2.1 to 8.3.0 [`#606`](https://github.com/oceanprotocol/ocean-lib-js/pull/606) -- Bump @types/node from 14.14.25 to 14.14.26 [`#607`](https://github.com/oceanprotocol/ocean-lib-js/pull/607) -- Bump @truffle/hdwallet-provider from 1.2.1 to 1.2.2 [`#608`](https://github.com/oceanprotocol/ocean-lib-js/pull/608) -- Bump typescript from 4.1.4 to 4.1.5 [`#603`](https://github.com/oceanprotocol/ocean-lib-js/pull/603) -- Bump @types/chai from 4.2.14 to 4.2.15 [`#604`](https://github.com/oceanprotocol/ocean-lib-js/pull/604) -- speed up previous order [`#599`](https://github.com/oceanprotocol/ocean-lib-js/pull/599) -- add minter roles [`#600`](https://github.com/oceanprotocol/ocean-lib-js/pull/600) -- Bump @typescript-eslint/eslint-plugin from 4.14.2 to 4.15.0 [`#594`](https://github.com/oceanprotocol/ocean-lib-js/pull/594) -- Bump @typescript-eslint/parser from 4.14.2 to 4.15.0 [`#595`](https://github.com/oceanprotocol/ocean-lib-js/pull/595) -- Bump typescript from 4.1.3 to 4.1.4 [`#596`](https://github.com/oceanprotocol/ocean-lib-js/pull/596) -- Bump typedoc from 0.20.20 to 0.20.23 [`#593`](https://github.com/oceanprotocol/ocean-lib-js/pull/593) -- Bump @oceanprotocol/contracts from 0.5.8 to 0.5.9 [`#592`](https://github.com/oceanprotocol/ocean-lib-js/pull/592) -- Bump chai from 4.2.0 to 4.3.0 [`#591`](https://github.com/oceanprotocol/ocean-lib-js/pull/591) -- remove barge defaults overwrites [`#585`](https://github.com/oceanprotocol/ocean-lib-js/pull/585) -- Bump @types/node from 14.14.22 to 14.14.25 [`#584`](https://github.com/oceanprotocol/ocean-lib-js/pull/584) -- Bump web3 from 1.3.3 to 1.3.4 [`#580`](https://github.com/oceanprotocol/ocean-lib-js/pull/580) -- Bump release-it from 14.2.2 to 14.3.0 [`#579`](https://github.com/oceanprotocol/ocean-lib-js/pull/579) -- add codeowners [`#578`](https://github.com/oceanprotocol/ocean-lib-js/pull/578) -- set default logger level to error and use only one instance of logger [`#571`](https://github.com/oceanprotocol/ocean-lib-js/pull/571) -- Bump @typescript-eslint/eslint-plugin from 4.14.1 to 4.14.2 [`#576`](https://github.com/oceanprotocol/ocean-lib-js/pull/576) -- Bump @typescript-eslint/parser from 4.14.1 to 4.14.2 [`#577`](https://github.com/oceanprotocol/ocean-lib-js/pull/577) -- Bump typedoc from 0.20.19 to 0.20.20 [`#575`](https://github.com/oceanprotocol/ocean-lib-js/pull/575) -- Bump eslint from 7.18.0 to 7.19.0 [`#574`](https://github.com/oceanprotocol/ocean-lib-js/pull/574) -- Bump web3 from 1.3.0 to 1.3.3 [`#566`](https://github.com/oceanprotocol/ocean-lib-js/pull/566) -- added logger param when instantiating datatoken [`#562`](https://github.com/oceanprotocol/ocean-lib-js/pull/562) -- Bump typedoc from 0.20.18 to 0.20.19 [`#567`](https://github.com/oceanprotocol/ocean-lib-js/pull/567) -- Bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.14.1 [`#568`](https://github.com/oceanprotocol/ocean-lib-js/pull/568) -- Bump @typescript-eslint/parser from 4.13.0 to 4.14.1 [`#569`](https://github.com/oceanprotocol/ocean-lib-js/pull/569) -- Bump typedoc from 0.20.16 to 0.20.18 [`#565`](https://github.com/oceanprotocol/ocean-lib-js/pull/565) -- Release 0.11.0 [`4f494f2`](https://github.com/oceanprotocol/ocean-lib-js/commit/4f494f21a9cc39e018b336c17db281fa00d6ec8c) -- bump web3-eth-contract to 1.3.3 [`d7ababa`](https://github.com/oceanprotocol/ocean-lib-js/commit/d7ababab24a8a168e4bb9f6f18d81fe1f413567f) -- refactor [`100e5c5`](https://github.com/oceanprotocol/ocean-lib-js/commit/100e5c5767046393a57d7d1055db2e68e0d262cb) +- Bump @typescript-eslint/eslint-plugin from 4.15.1 to 4.15.2 [`#624`](https://github.com/oceanprotocol/ocean.js/pull/624) +- Bump eslint-config-prettier from 7.2.0 to 8.0.0 [`#622`](https://github.com/oceanprotocol/ocean.js/pull/622) +- Bump release-it from 14.4.0 to 14.4.1 [`#623`](https://github.com/oceanprotocol/ocean.js/pull/623) +- Bump typedoc from 0.20.27 to 0.20.28 [`#629`](https://github.com/oceanprotocol/ocean.js/pull/629) +- Add polygon network [`#627`](https://github.com/oceanprotocol/ocean.js/pull/627) +- Bump typedoc from 0.20.25 to 0.20.27 [`#621`](https://github.com/oceanprotocol/ocean.js/pull/621) +- Bump @typescript-eslint/parser from 4.15.1 to 4.15.2 [`#625`](https://github.com/oceanprotocol/ocean.js/pull/625) +- Bump @types/node from 14.14.28 to 14.14.31 [`#620`](https://github.com/oceanprotocol/ocean.js/pull/620) +- Feature/compute nextv [`#612`](https://github.com/oceanprotocol/ocean.js/pull/612) +- Feature/travis dockerhub auth [`#617`](https://github.com/oceanprotocol/ocean.js/pull/617) +- Bump @types/mocha from 8.2.0 to 8.2.1 [`#618`](https://github.com/oceanprotocol/ocean.js/pull/618) +- Bump @typescript-eslint/parser from 4.15.0 to 4.15.1 [`#615`](https://github.com/oceanprotocol/ocean.js/pull/615) +- Bump @typescript-eslint/eslint-plugin from 4.15.0 to 4.15.1 [`#616`](https://github.com/oceanprotocol/ocean.js/pull/616) +- Bump typedoc from 0.20.24 to 0.20.25 [`#614`](https://github.com/oceanprotocol/ocean.js/pull/614) +- Dynamic provider endpoints [`#558`](https://github.com/oceanprotocol/ocean.js/pull/558) +- Bump @types/node from 14.14.26 to 14.14.28 [`#611`](https://github.com/oceanprotocol/ocean.js/pull/611) +- Bump release-it from 14.3.0 to 14.4.0 [`#609`](https://github.com/oceanprotocol/ocean.js/pull/609) +- Bump eslint from 7.19.0 to 7.20.0 [`#610`](https://github.com/oceanprotocol/ocean.js/pull/610) +- Bump typedoc from 0.20.23 to 0.20.24 [`#605`](https://github.com/oceanprotocol/ocean.js/pull/605) +- Bump mocha from 8.2.1 to 8.3.0 [`#606`](https://github.com/oceanprotocol/ocean.js/pull/606) +- Bump @types/node from 14.14.25 to 14.14.26 [`#607`](https://github.com/oceanprotocol/ocean.js/pull/607) +- Bump @truffle/hdwallet-provider from 1.2.1 to 1.2.2 [`#608`](https://github.com/oceanprotocol/ocean.js/pull/608) +- Bump typescript from 4.1.4 to 4.1.5 [`#603`](https://github.com/oceanprotocol/ocean.js/pull/603) +- Bump @types/chai from 4.2.14 to 4.2.15 [`#604`](https://github.com/oceanprotocol/ocean.js/pull/604) +- speed up previous order [`#599`](https://github.com/oceanprotocol/ocean.js/pull/599) +- add minter roles [`#600`](https://github.com/oceanprotocol/ocean.js/pull/600) +- Bump @typescript-eslint/eslint-plugin from 4.14.2 to 4.15.0 [`#594`](https://github.com/oceanprotocol/ocean.js/pull/594) +- Bump @typescript-eslint/parser from 4.14.2 to 4.15.0 [`#595`](https://github.com/oceanprotocol/ocean.js/pull/595) +- Bump typescript from 4.1.3 to 4.1.4 [`#596`](https://github.com/oceanprotocol/ocean.js/pull/596) +- Bump typedoc from 0.20.20 to 0.20.23 [`#593`](https://github.com/oceanprotocol/ocean.js/pull/593) +- Bump @oceanprotocol/contracts from 0.5.8 to 0.5.9 [`#592`](https://github.com/oceanprotocol/ocean.js/pull/592) +- Bump chai from 4.2.0 to 4.3.0 [`#591`](https://github.com/oceanprotocol/ocean.js/pull/591) +- remove barge defaults overwrites [`#585`](https://github.com/oceanprotocol/ocean.js/pull/585) +- Bump @types/node from 14.14.22 to 14.14.25 [`#584`](https://github.com/oceanprotocol/ocean.js/pull/584) +- Bump web3 from 1.3.3 to 1.3.4 [`#580`](https://github.com/oceanprotocol/ocean.js/pull/580) +- Bump release-it from 14.2.2 to 14.3.0 [`#579`](https://github.com/oceanprotocol/ocean.js/pull/579) +- add codeowners [`#578`](https://github.com/oceanprotocol/ocean.js/pull/578) +- set default logger level to error and use only one instance of logger [`#571`](https://github.com/oceanprotocol/ocean.js/pull/571) +- Bump @typescript-eslint/eslint-plugin from 4.14.1 to 4.14.2 [`#576`](https://github.com/oceanprotocol/ocean.js/pull/576) +- Bump @typescript-eslint/parser from 4.14.1 to 4.14.2 [`#577`](https://github.com/oceanprotocol/ocean.js/pull/577) +- Bump typedoc from 0.20.19 to 0.20.20 [`#575`](https://github.com/oceanprotocol/ocean.js/pull/575) +- Bump eslint from 7.18.0 to 7.19.0 [`#574`](https://github.com/oceanprotocol/ocean.js/pull/574) +- Bump web3 from 1.3.0 to 1.3.3 [`#566`](https://github.com/oceanprotocol/ocean.js/pull/566) +- added logger param when instantiating datatoken [`#562`](https://github.com/oceanprotocol/ocean.js/pull/562) +- Bump typedoc from 0.20.18 to 0.20.19 [`#567`](https://github.com/oceanprotocol/ocean.js/pull/567) +- Bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.14.1 [`#568`](https://github.com/oceanprotocol/ocean.js/pull/568) +- Bump @typescript-eslint/parser from 4.13.0 to 4.14.1 [`#569`](https://github.com/oceanprotocol/ocean.js/pull/569) +- Bump typedoc from 0.20.16 to 0.20.18 [`#565`](https://github.com/oceanprotocol/ocean.js/pull/565) +- Release 0.11.0 [`4f494f2`](https://github.com/oceanprotocol/ocean.js/commit/4f494f21a9cc39e018b336c17db281fa00d6ec8c) +- bump web3-eth-contract to 1.3.3 [`d7ababa`](https://github.com/oceanprotocol/ocean.js/commit/d7ababab24a8a168e4bb9f6f18d81fe1f413567f) +- refactor [`100e5c5`](https://github.com/oceanprotocol/ocean.js/commit/100e5c5767046393a57d7d1055db2e68e0d262cb) -#### [v0.10.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.10.0...v0.10.1) +#### [v0.10.1](https://github.com/oceanprotocol/ocean.js/compare/v0.10.0...v0.10.1) > 21 January 2021 -- fix metamask bug [`#557`](https://github.com/oceanprotocol/ocean-lib-js/pull/557) -- multithread search by dt address [`#559`](https://github.com/oceanprotocol/ocean-lib-js/pull/559) -- Bump ora from 5.2.0 to 5.3.0 [`#556`](https://github.com/oceanprotocol/ocean-lib-js/pull/556) -- Bump @types/node from 14.14.21 to 14.14.22 [`#555`](https://github.com/oceanprotocol/ocean-lib-js/pull/555) -- Bump @typescript-eslint/eslint-plugin from 4.13.0 to 4.14.0 [`#554`](https://github.com/oceanprotocol/ocean-lib-js/pull/554) -- Bump eslint-config-prettier from 7.1.0 to 7.2.0 [`#552`](https://github.com/oceanprotocol/ocean-lib-js/pull/552) -- Release 0.10.1 [`bb12807`](https://github.com/oceanprotocol/ocean-lib-js/commit/bb12807ab69fbf760d598fdb012d8b7e2e8f5b17) +- fix metamask bug [`#557`](https://github.com/oceanprotocol/ocean.js/pull/557) +- multithread search by dt address [`#559`](https://github.com/oceanprotocol/ocean.js/pull/559) +- Bump ora from 5.2.0 to 5.3.0 [`#556`](https://github.com/oceanprotocol/ocean.js/pull/556) +- Bump @types/node from 14.14.21 to 14.14.22 [`#555`](https://github.com/oceanprotocol/ocean.js/pull/555) +- Bump @typescript-eslint/eslint-plugin from 4.13.0 to 4.14.0 [`#554`](https://github.com/oceanprotocol/ocean.js/pull/554) +- Bump eslint-config-prettier from 7.1.0 to 7.2.0 [`#552`](https://github.com/oceanprotocol/ocean.js/pull/552) +- Release 0.10.1 [`bb12807`](https://github.com/oceanprotocol/ocean.js/commit/bb12807ab69fbf760d598fdb012d8b7e2e8f5b17) -#### [v0.10.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.21...v0.10.0) +#### [v0.10.0](https://github.com/oceanprotocol/ocean.js/compare/v0.9.21...v0.10.0) > 18 January 2021 -- Bump typedoc from 0.20.14 to 0.20.16 [`#549`](https://github.com/oceanprotocol/ocean-lib-js/pull/549) -- Bump eslint from 7.17.0 to 7.18.0 [`#550`](https://github.com/oceanprotocol/ocean-lib-js/pull/550) -- Bump mock-local-storage from 1.1.15 to 1.1.17 [`#548`](https://github.com/oceanprotocol/ocean-lib-js/pull/548) -- Bump @types/node-fetch from 2.5.7 to 2.5.8 [`#545`](https://github.com/oceanprotocol/ocean-lib-js/pull/545) -- Bump @types/node from 14.14.20 to 14.14.21 [`#546`](https://github.com/oceanprotocol/ocean-lib-js/pull/546) -- Refactor `OnChainMetadataCache` [`#551`](https://github.com/oceanprotocol/ocean-lib-js/pull/551) -- add updateServiceTimeout and edit ddo updates [`#544`](https://github.com/oceanprotocol/ocean-lib-js/pull/544) -- Release 0.10.0 [`6c0b5c6`](https://github.com/oceanprotocol/ocean-lib-js/commit/6c0b5c6779ec280ad4d0f19e0adb9eeb9cd7a9e0) -- typedoc fixes [`25ac01e`](https://github.com/oceanprotocol/ocean-lib-js/commit/25ac01e97dbb6a278650aae5773292d5e73af7e9) +- Bump typedoc from 0.20.14 to 0.20.16 [`#549`](https://github.com/oceanprotocol/ocean.js/pull/549) +- Bump eslint from 7.17.0 to 7.18.0 [`#550`](https://github.com/oceanprotocol/ocean.js/pull/550) +- Bump mock-local-storage from 1.1.15 to 1.1.17 [`#548`](https://github.com/oceanprotocol/ocean.js/pull/548) +- Bump @types/node-fetch from 2.5.7 to 2.5.8 [`#545`](https://github.com/oceanprotocol/ocean.js/pull/545) +- Bump @types/node from 14.14.20 to 14.14.21 [`#546`](https://github.com/oceanprotocol/ocean.js/pull/546) +- Refactor `OnChainMetadataCache` [`#551`](https://github.com/oceanprotocol/ocean.js/pull/551) +- add updateServiceTimeout and edit ddo updates [`#544`](https://github.com/oceanprotocol/ocean.js/pull/544) +- Release 0.10.0 [`6c0b5c6`](https://github.com/oceanprotocol/ocean.js/commit/6c0b5c6779ec280ad4d0f19e0adb9eeb9cd7a9e0) +- typedoc fixes [`25ac01e`](https://github.com/oceanprotocol/ocean.js/commit/25ac01e97dbb6a278650aae5773292d5e73af7e9) -#### [v0.9.21](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.20...v0.9.21) +#### [v0.9.21](https://github.com/oceanprotocol/ocean.js/compare/v0.9.20...v0.9.21) > 13 January 2021 -- Feature/decimal [`#541`](https://github.com/oceanprotocol/ocean-lib-js/pull/541) -- Datokens: check cap before mint [`#531`](https://github.com/oceanprotocol/ocean-lib-js/pull/531) -- [WIP] Adds checkURL function to use provider endpoint. [`#540`](https://github.com/oceanprotocol/ocean-lib-js/pull/540) -- package updates [`#539`](https://github.com/oceanprotocol/ocean-lib-js/pull/539) -- fix download for large files [`#537`](https://github.com/oceanprotocol/ocean-lib-js/pull/537) -- pool creation: check allowance for dt and ocean before aprove is called [`#530`](https://github.com/oceanprotocol/ocean-lib-js/pull/530) -- Bump @typescript-eslint/parser from 4.12.0 to 4.13.0 [`#534`](https://github.com/oceanprotocol/ocean-lib-js/pull/534) -- Bump @typescript-eslint/eslint-plugin from 4.12.0 to 4.13.0 [`#533`](https://github.com/oceanprotocol/ocean-lib-js/pull/533) -- Bump typedoc from 0.20.13 to 0.20.14 [`#532`](https://github.com/oceanprotocol/ocean-lib-js/pull/532) -- Bump @typescript-eslint/parser from 4.11.1 to 4.12.0 [`#528`](https://github.com/oceanprotocol/ocean-lib-js/pull/528) -- Bump eslint-plugin-prettier from 3.3.0 to 3.3.1 [`#529`](https://github.com/oceanprotocol/ocean-lib-js/pull/529) -- Bump @typescript-eslint/eslint-plugin from 4.11.1 to 4.12.0 [`#527`](https://github.com/oceanprotocol/ocean-lib-js/pull/527) -- Bump eslint from 7.16.0 to 7.17.0 [`#520`](https://github.com/oceanprotocol/ocean-lib-js/pull/520) -- Bump ora from 5.1.0 to 5.2.0 [`#521`](https://github.com/oceanprotocol/ocean-lib-js/pull/521) -- Bump typescript from 4.0.5 to 4.1.3 [`#522`](https://github.com/oceanprotocol/ocean-lib-js/pull/522) -- Bump typedoc from 0.20.10 to 0.20.13 [`#526`](https://github.com/oceanprotocol/ocean-lib-js/pull/526) -- Bump @types/node from 14.14.19 to 14.14.20 [`#523`](https://github.com/oceanprotocol/ocean-lib-js/pull/523) -- Bump @typescript-eslint/eslint-plugin from 4.11.0 to 4.11.1 [`#511`](https://github.com/oceanprotocol/ocean-lib-js/pull/511) -- Bump @typescript-eslint/parser from 4.11.0 to 4.11.1 [`#512`](https://github.com/oceanprotocol/ocean-lib-js/pull/512) -- Bump @types/node from 14.14.16 to 14.14.19 [`#519`](https://github.com/oceanprotocol/ocean-lib-js/pull/519) -- Bump typedoc from 0.19.2 to 0.20.10 [`#518`](https://github.com/oceanprotocol/ocean-lib-js/pull/518) -- Bump @truffle/hdwallet-provider from 1.2.0 to 1.2.1 [`#510`](https://github.com/oceanprotocol/ocean-lib-js/pull/510) -- Bump eslint from 7.15.0 to 7.16.0 [`#505`](https://github.com/oceanprotocol/ocean-lib-js/pull/505) -- Bump @typescript-eslint/parser from 4.10.0 to 4.11.0 [`#507`](https://github.com/oceanprotocol/ocean-lib-js/pull/507) -- Bump @typescript-eslint/eslint-plugin from 4.10.0 to 4.11.0 [`#508`](https://github.com/oceanprotocol/ocean-lib-js/pull/508) -- Bump @types/node from 14.14.14 to 14.14.16 [`#509`](https://github.com/oceanprotocol/ocean-lib-js/pull/509) -- Bump @types/node from 14.14.13 to 14.14.14 [`#502`](https://github.com/oceanprotocol/ocean-lib-js/pull/502) -- Bump @typescript-eslint/eslint-plugin from 4.9.1 to 4.10.0 [`#501`](https://github.com/oceanprotocol/ocean-lib-js/pull/501) -- Bump @typescript-eslint/parser from 4.9.1 to 4.10.0 [`#500`](https://github.com/oceanprotocol/ocean-lib-js/pull/500) -- Bump @types/node from 14.14.11 to 14.14.13 [`#498`](https://github.com/oceanprotocol/ocean-lib-js/pull/498) -- Bump eslint-plugin-prettier from 3.2.0 to 3.3.0 [`#499`](https://github.com/oceanprotocol/ocean-lib-js/pull/499) -- Bump @types/node from 14.14.11 to 14.14.12 [`#496`](https://github.com/oceanprotocol/ocean-lib-js/pull/496) -- Bump ini from 1.3.5 to 1.3.8 [`#497`](https://github.com/oceanprotocol/ocean-lib-js/pull/497) -- Release 0.9.21 [`3801c39`](https://github.com/oceanprotocol/ocean-lib-js/commit/3801c3925ba1c80003214deda3d1d734c051f995) -- wip check allowance for dt and ocean at pool creation [`a5a55b1`](https://github.com/oceanprotocol/ocean-lib-js/commit/a5a55b19a158b9e13d9061abed9d784149b2d20c) -- throw error when a condition is not valid instead of returning null [`286e737`](https://github.com/oceanprotocol/ocean-lib-js/commit/286e737e93f7b079cff932872ea61adfa621cf1e) +- Feature/decimal [`#541`](https://github.com/oceanprotocol/ocean.js/pull/541) +- Datokens: check cap before mint [`#531`](https://github.com/oceanprotocol/ocean.js/pull/531) +- [WIP] Adds checkURL function to use provider endpoint. [`#540`](https://github.com/oceanprotocol/ocean.js/pull/540) +- package updates [`#539`](https://github.com/oceanprotocol/ocean.js/pull/539) +- fix download for large files [`#537`](https://github.com/oceanprotocol/ocean.js/pull/537) +- pool creation: check allowance for dt and ocean before aprove is called [`#530`](https://github.com/oceanprotocol/ocean.js/pull/530) +- Bump @typescript-eslint/parser from 4.12.0 to 4.13.0 [`#534`](https://github.com/oceanprotocol/ocean.js/pull/534) +- Bump @typescript-eslint/eslint-plugin from 4.12.0 to 4.13.0 [`#533`](https://github.com/oceanprotocol/ocean.js/pull/533) +- Bump typedoc from 0.20.13 to 0.20.14 [`#532`](https://github.com/oceanprotocol/ocean.js/pull/532) +- Bump @typescript-eslint/parser from 4.11.1 to 4.12.0 [`#528`](https://github.com/oceanprotocol/ocean.js/pull/528) +- Bump eslint-plugin-prettier from 3.3.0 to 3.3.1 [`#529`](https://github.com/oceanprotocol/ocean.js/pull/529) +- Bump @typescript-eslint/eslint-plugin from 4.11.1 to 4.12.0 [`#527`](https://github.com/oceanprotocol/ocean.js/pull/527) +- Bump eslint from 7.16.0 to 7.17.0 [`#520`](https://github.com/oceanprotocol/ocean.js/pull/520) +- Bump ora from 5.1.0 to 5.2.0 [`#521`](https://github.com/oceanprotocol/ocean.js/pull/521) +- Bump typescript from 4.0.5 to 4.1.3 [`#522`](https://github.com/oceanprotocol/ocean.js/pull/522) +- Bump typedoc from 0.20.10 to 0.20.13 [`#526`](https://github.com/oceanprotocol/ocean.js/pull/526) +- Bump @types/node from 14.14.19 to 14.14.20 [`#523`](https://github.com/oceanprotocol/ocean.js/pull/523) +- Bump @typescript-eslint/eslint-plugin from 4.11.0 to 4.11.1 [`#511`](https://github.com/oceanprotocol/ocean.js/pull/511) +- Bump @typescript-eslint/parser from 4.11.0 to 4.11.1 [`#512`](https://github.com/oceanprotocol/ocean.js/pull/512) +- Bump @types/node from 14.14.16 to 14.14.19 [`#519`](https://github.com/oceanprotocol/ocean.js/pull/519) +- Bump typedoc from 0.19.2 to 0.20.10 [`#518`](https://github.com/oceanprotocol/ocean.js/pull/518) +- Bump @truffle/hdwallet-provider from 1.2.0 to 1.2.1 [`#510`](https://github.com/oceanprotocol/ocean.js/pull/510) +- Bump eslint from 7.15.0 to 7.16.0 [`#505`](https://github.com/oceanprotocol/ocean.js/pull/505) +- Bump @typescript-eslint/parser from 4.10.0 to 4.11.0 [`#507`](https://github.com/oceanprotocol/ocean.js/pull/507) +- Bump @typescript-eslint/eslint-plugin from 4.10.0 to 4.11.0 [`#508`](https://github.com/oceanprotocol/ocean.js/pull/508) +- Bump @types/node from 14.14.14 to 14.14.16 [`#509`](https://github.com/oceanprotocol/ocean.js/pull/509) +- Bump @types/node from 14.14.13 to 14.14.14 [`#502`](https://github.com/oceanprotocol/ocean.js/pull/502) +- Bump @typescript-eslint/eslint-plugin from 4.9.1 to 4.10.0 [`#501`](https://github.com/oceanprotocol/ocean.js/pull/501) +- Bump @typescript-eslint/parser from 4.9.1 to 4.10.0 [`#500`](https://github.com/oceanprotocol/ocean.js/pull/500) +- Bump @types/node from 14.14.11 to 14.14.13 [`#498`](https://github.com/oceanprotocol/ocean.js/pull/498) +- Bump eslint-plugin-prettier from 3.2.0 to 3.3.0 [`#499`](https://github.com/oceanprotocol/ocean.js/pull/499) +- Bump @types/node from 14.14.11 to 14.14.12 [`#496`](https://github.com/oceanprotocol/ocean.js/pull/496) +- Bump ini from 1.3.5 to 1.3.8 [`#497`](https://github.com/oceanprotocol/ocean.js/pull/497) +- Release 0.9.21 [`3801c39`](https://github.com/oceanprotocol/ocean.js/commit/3801c3925ba1c80003214deda3d1d734c051f995) +- wip check allowance for dt and ocean at pool creation [`a5a55b1`](https://github.com/oceanprotocol/ocean.js/commit/a5a55b19a158b9e13d9061abed9d784149b2d20c) +- throw error when a condition is not valid instead of returning null [`286e737`](https://github.com/oceanprotocol/ocean.js/commit/286e737e93f7b079cff932872ea61adfa621cf1e) -#### [v0.9.20](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.19...v0.9.20) +#### [v0.9.20](https://github.com/oceanprotocol/ocean.js/compare/v0.9.19...v0.9.20) > 10 December 2020 -- add subgraphUri to ConfigHelper [`#495`](https://github.com/oceanprotocol/ocean-lib-js/pull/495) -- Release 0.9.20 [`795008e`](https://github.com/oceanprotocol/ocean-lib-js/commit/795008e765c0e3afef65d2a1bf95d09c44c4027d) -- add subgraphUri [`1b7d573`](https://github.com/oceanprotocol/ocean-lib-js/commit/1b7d573434201f4225bb41f59da2ed25b947cfd0) +- add subgraphUri to ConfigHelper [`#495`](https://github.com/oceanprotocol/ocean.js/pull/495) +- Release 0.9.20 [`795008e`](https://github.com/oceanprotocol/ocean.js/commit/795008e765c0e3afef65d2a1bf95d09c44c4027d) +- add subgraphUri [`1b7d573`](https://github.com/oceanprotocol/ocean.js/commit/1b7d573434201f4225bb41f59da2ed25b947cfd0) -#### [v0.9.19](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.18...v0.9.19) +#### [v0.9.19](https://github.com/oceanprotocol/ocean.js/compare/v0.9.18...v0.9.19) > 10 December 2020 -- add ropsten [`#492`](https://github.com/oceanprotocol/ocean-lib-js/pull/492) -- Bump @types/mocha from 8.0.4 to 8.2.0 [`#491`](https://github.com/oceanprotocol/ocean-lib-js/pull/491) -- Bump @types/node from 14.14.10 to 14.14.11 [`#490`](https://github.com/oceanprotocol/ocean-lib-js/pull/490) -- Bump uuid from 8.3.1 to 8.3.2 [`#489`](https://github.com/oceanprotocol/ocean-lib-js/pull/489) -- Bump @typescript-eslint/eslint-plugin from 4.9.0 to 4.9.1 [`#488`](https://github.com/oceanprotocol/ocean-lib-js/pull/488) -- Bump ts-node from 9.1.0 to 9.1.1 [`#487`](https://github.com/oceanprotocol/ocean-lib-js/pull/487) -- Bump @typescript-eslint/parser from 4.9.0 to 4.9.1 [`#486`](https://github.com/oceanprotocol/ocean-lib-js/pull/486) -- Bump eslint from 7.14.0 to 7.15.0 [`#485`](https://github.com/oceanprotocol/ocean-lib-js/pull/485) -- Bump eslint-config-prettier from 6.15.0 to 7.0.0 [`#484`](https://github.com/oceanprotocol/ocean-lib-js/pull/484) -- Bump highlight.js from 10.2.0 to 10.4.1 [`#482`](https://github.com/oceanprotocol/ocean-lib-js/pull/482) -- Bump ts-node from 9.0.0 to 9.1.0 [`#480`](https://github.com/oceanprotocol/ocean-lib-js/pull/480) -- Bump @types/chai-spies from 1.0.2 to 1.0.3 [`#481`](https://github.com/oceanprotocol/ocean-lib-js/pull/481) -- Bump eslint-plugin-prettier from 3.1.4 to 3.2.0 [`#479`](https://github.com/oceanprotocol/ocean-lib-js/pull/479) -- Bump cross-env from 7.0.2 to 7.0.3 [`#478`](https://github.com/oceanprotocol/ocean-lib-js/pull/478) -- Bump @typescript-eslint/eslint-plugin from 4.8.2 to 4.9.0 [`#477`](https://github.com/oceanprotocol/ocean-lib-js/pull/477) -- Bump @typescript-eslint/parser from 4.8.2 to 4.9.0 [`#476`](https://github.com/oceanprotocol/ocean-lib-js/pull/476) -- Bump prettier from 2.2.0 to 2.2.1 [`#474`](https://github.com/oceanprotocol/ocean-lib-js/pull/474) -- Bump @types/node from 14.14.9 to 14.14.10 [`#471`](https://github.com/oceanprotocol/ocean-lib-js/pull/471) -- Bump @typescript-eslint/parser from 4.8.1 to 4.8.2 [`#472`](https://github.com/oceanprotocol/ocean-lib-js/pull/472) -- Bump release-it from 14.2.1 to 14.2.2 [`#473`](https://github.com/oceanprotocol/ocean-lib-js/pull/473) -- Bump @typescript-eslint/eslint-plugin from 4.8.1 to 4.8.2 [`#470`](https://github.com/oceanprotocol/ocean-lib-js/pull/470) -- Bump @typescript-eslint/parser from 4.8.1 to 4.8.2 [`#469`](https://github.com/oceanprotocol/ocean-lib-js/pull/469) -- Release 0.9.19 [`7bfcd65`](https://github.com/oceanprotocol/ocean-lib-js/commit/7bfcd65949e0bf90fe2b0331468c29dddb6cf536) +- add ropsten [`#492`](https://github.com/oceanprotocol/ocean.js/pull/492) +- Bump @types/mocha from 8.0.4 to 8.2.0 [`#491`](https://github.com/oceanprotocol/ocean.js/pull/491) +- Bump @types/node from 14.14.10 to 14.14.11 [`#490`](https://github.com/oceanprotocol/ocean.js/pull/490) +- Bump uuid from 8.3.1 to 8.3.2 [`#489`](https://github.com/oceanprotocol/ocean.js/pull/489) +- Bump @typescript-eslint/eslint-plugin from 4.9.0 to 4.9.1 [`#488`](https://github.com/oceanprotocol/ocean.js/pull/488) +- Bump ts-node from 9.1.0 to 9.1.1 [`#487`](https://github.com/oceanprotocol/ocean.js/pull/487) +- Bump @typescript-eslint/parser from 4.9.0 to 4.9.1 [`#486`](https://github.com/oceanprotocol/ocean.js/pull/486) +- Bump eslint from 7.14.0 to 7.15.0 [`#485`](https://github.com/oceanprotocol/ocean.js/pull/485) +- Bump eslint-config-prettier from 6.15.0 to 7.0.0 [`#484`](https://github.com/oceanprotocol/ocean.js/pull/484) +- Bump highlight.js from 10.2.0 to 10.4.1 [`#482`](https://github.com/oceanprotocol/ocean.js/pull/482) +- Bump ts-node from 9.0.0 to 9.1.0 [`#480`](https://github.com/oceanprotocol/ocean.js/pull/480) +- Bump @types/chai-spies from 1.0.2 to 1.0.3 [`#481`](https://github.com/oceanprotocol/ocean.js/pull/481) +- Bump eslint-plugin-prettier from 3.1.4 to 3.2.0 [`#479`](https://github.com/oceanprotocol/ocean.js/pull/479) +- Bump cross-env from 7.0.2 to 7.0.3 [`#478`](https://github.com/oceanprotocol/ocean.js/pull/478) +- Bump @typescript-eslint/eslint-plugin from 4.8.2 to 4.9.0 [`#477`](https://github.com/oceanprotocol/ocean.js/pull/477) +- Bump @typescript-eslint/parser from 4.8.2 to 4.9.0 [`#476`](https://github.com/oceanprotocol/ocean.js/pull/476) +- Bump prettier from 2.2.0 to 2.2.1 [`#474`](https://github.com/oceanprotocol/ocean.js/pull/474) +- Bump @types/node from 14.14.9 to 14.14.10 [`#471`](https://github.com/oceanprotocol/ocean.js/pull/471) +- Bump @typescript-eslint/parser from 4.8.1 to 4.8.2 [`#472`](https://github.com/oceanprotocol/ocean.js/pull/472) +- Bump release-it from 14.2.1 to 14.2.2 [`#473`](https://github.com/oceanprotocol/ocean.js/pull/473) +- Bump @typescript-eslint/eslint-plugin from 4.8.1 to 4.8.2 [`#470`](https://github.com/oceanprotocol/ocean.js/pull/470) +- Bump @typescript-eslint/parser from 4.8.1 to 4.8.2 [`#469`](https://github.com/oceanprotocol/ocean.js/pull/469) +- Release 0.9.19 [`7bfcd65`](https://github.com/oceanprotocol/ocean.js/commit/7bfcd65949e0bf90fe2b0331468c29dddb6cf536) -#### [v0.9.18](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.17...v0.9.18) +#### [v0.9.18](https://github.com/oceanprotocol/ocean.js/compare/v0.9.17...v0.9.18) > 24 November 2020 -- Handle assets with low liquidity [`#468`](https://github.com/oceanprotocol/ocean-lib-js/pull/468) -- Bump prettier from 2.1.2 to 2.2.0 [`#467`](https://github.com/oceanprotocol/ocean-lib-js/pull/467) -- Bump eslint from 7.13.0 to 7.14.0 [`#466`](https://github.com/oceanprotocol/ocean-lib-js/pull/466) -- Bump @types/node from 14.14.8 to 14.14.9 [`#465`](https://github.com/oceanprotocol/ocean-lib-js/pull/465) -- Release 0.9.18 [`832f2d8`](https://github.com/oceanprotocol/ocean-lib-js/commit/832f2d82b5d04c81a9c301a657ae7db84394871c) +- Handle assets with low liquidity [`#468`](https://github.com/oceanprotocol/ocean.js/pull/468) +- Bump prettier from 2.1.2 to 2.2.0 [`#467`](https://github.com/oceanprotocol/ocean.js/pull/467) +- Bump eslint from 7.13.0 to 7.14.0 [`#466`](https://github.com/oceanprotocol/ocean.js/pull/466) +- Bump @types/node from 14.14.8 to 14.14.9 [`#465`](https://github.com/oceanprotocol/ocean.js/pull/465) +- Release 0.9.18 [`832f2d8`](https://github.com/oceanprotocol/ocean.js/commit/832f2d82b5d04c81a9c301a657ae7db84394871c) -#### [v0.9.17](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.16...v0.9.17) +#### [v0.9.17](https://github.com/oceanprotocol/ocean.js/compare/v0.9.16...v0.9.17) > 19 November 2020 -- fix typo [`#464`](https://github.com/oceanprotocol/ocean-lib-js/pull/464) -- Bump @typescript-eslint/eslint-plugin from 4.8.0 to 4.8.1 [`#459`](https://github.com/oceanprotocol/ocean-lib-js/pull/459) -- Bump @typescript-eslint/parser from 4.8.0 to 4.8.1 [`#460`](https://github.com/oceanprotocol/ocean-lib-js/pull/460) -- Bump @types/node from 14.14.7 to 14.14.8 [`#461`](https://github.com/oceanprotocol/ocean-lib-js/pull/461) -- Bump @typescript-eslint/eslint-plugin from 4.7.0 to 4.8.0 [`#458`](https://github.com/oceanprotocol/ocean-lib-js/pull/458) -- Bump @typescript-eslint/parser from 4.7.0 to 4.8.0 [`#457`](https://github.com/oceanprotocol/ocean-lib-js/pull/457) -- Release 0.9.17 [`4345bb9`](https://github.com/oceanprotocol/ocean-lib-js/commit/4345bb94b62373d44eca6dbec6984faf6529eb9b) +- fix typo [`#464`](https://github.com/oceanprotocol/ocean.js/pull/464) +- Bump @typescript-eslint/eslint-plugin from 4.8.0 to 4.8.1 [`#459`](https://github.com/oceanprotocol/ocean.js/pull/459) +- Bump @typescript-eslint/parser from 4.8.0 to 4.8.1 [`#460`](https://github.com/oceanprotocol/ocean.js/pull/460) +- Bump @types/node from 14.14.7 to 14.14.8 [`#461`](https://github.com/oceanprotocol/ocean.js/pull/461) +- Bump @typescript-eslint/eslint-plugin from 4.7.0 to 4.8.0 [`#458`](https://github.com/oceanprotocol/ocean.js/pull/458) +- Bump @typescript-eslint/parser from 4.7.0 to 4.8.0 [`#457`](https://github.com/oceanprotocol/ocean.js/pull/457) +- Release 0.9.17 [`4345bb9`](https://github.com/oceanprotocol/ocean.js/commit/4345bb94b62373d44eca6dbec6984faf6529eb9b) -#### [v0.9.16](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.15...v0.9.16) +#### [v0.9.16](https://github.com/oceanprotocol/ocean.js/compare/v0.9.15...v0.9.16) > 16 November 2020 -- Bug/fullfill promises [`#456`](https://github.com/oceanprotocol/ocean-lib-js/pull/456) -- Release 0.9.16 [`bf19bcc`](https://github.com/oceanprotocol/ocean-lib-js/commit/bf19bcc1f5ce73a14266dc15951a74d06d6c3e74) +- Bug/fullfill promises [`#456`](https://github.com/oceanprotocol/ocean.js/pull/456) +- Release 0.9.16 [`bf19bcc`](https://github.com/oceanprotocol/ocean.js/commit/bf19bcc1f5ce73a14266dc15951a74d06d6c3e74) -#### [v0.9.15](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.14...v0.9.15) +#### [v0.9.15](https://github.com/oceanprotocol/ocean.js/compare/v0.9.14...v0.9.15) > 16 November 2020 -- fullfill promises [`#455`](https://github.com/oceanprotocol/ocean-lib-js/pull/455) -- Release 0.9.15 [`8f9ef02`](https://github.com/oceanprotocol/ocean-lib-js/commit/8f9ef02b94da8eb19948d729dde6576d5f1d43eb) +- fullfill promises [`#455`](https://github.com/oceanprotocol/ocean.js/pull/455) +- Release 0.9.15 [`8f9ef02`](https://github.com/oceanprotocol/ocean.js/commit/8f9ef02b94da8eb19948d729dde6576d5f1d43eb) -#### [v0.9.14](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.13...v0.9.14) +#### [v0.9.14](https://github.com/oceanprotocol/ocean.js/compare/v0.9.13...v0.9.14) > 16 November 2020 -- add buyDTWithExactOcean function [`#454`](https://github.com/oceanprotocol/ocean-lib-js/pull/454) -- add computeBuySlippage and computeSellSlippage [`6424cac`](https://github.com/oceanprotocol/ocean-lib-js/commit/6424caca697e8f2875b52df0721cf3e63d8e8ce0) -- remove console.log [`ff7171f`](https://github.com/oceanprotocol/ocean-lib-js/commit/ff7171f64b314db803f59be404e72afc4c77393a) -- Release 0.9.14 [`0119885`](https://github.com/oceanprotocol/ocean-lib-js/commit/0119885277cd361bc00e485168a48477276f25e6) +- add buyDTWithExactOcean function [`#454`](https://github.com/oceanprotocol/ocean.js/pull/454) +- add computeBuySlippage and computeSellSlippage [`6424cac`](https://github.com/oceanprotocol/ocean.js/commit/6424caca697e8f2875b52df0721cf3e63d8e8ce0) +- remove console.log [`ff7171f`](https://github.com/oceanprotocol/ocean.js/commit/ff7171f64b314db803f59be404e72afc4c77393a) +- Release 0.9.14 [`0119885`](https://github.com/oceanprotocol/ocean.js/commit/0119885277cd361bc00e485168a48477276f25e6) -#### [v0.9.13](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.12...v0.9.13) +#### [v0.9.13](https://github.com/oceanprotocol/ocean.js/compare/v0.9.12...v0.9.13) > 13 November 2020 -- update isInPurgatory typing [`#452`](https://github.com/oceanprotocol/ocean-lib-js/pull/452) -- Release 0.9.13 [`c2c100d`](https://github.com/oceanprotocol/ocean-lib-js/commit/c2c100d0a0b2fb5fc131b66aeb502c50280b1acf) +- update isInPurgatory typing [`#452`](https://github.com/oceanprotocol/ocean.js/pull/452) +- Release 0.9.13 [`c2c100d`](https://github.com/oceanprotocol/ocean.js/commit/c2c100d0a0b2fb5fc131b66aeb502c50280b1acf) -#### [v0.9.12](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.11...v0.9.12) +#### [v0.9.12](https://github.com/oceanprotocol/ocean.js/compare/v0.9.11...v0.9.12) > 13 November 2020 -- Update .travis.yml [`#451`](https://github.com/oceanprotocol/ocean-lib-js/pull/451) -- Release 0.9.12 [`5143120`](https://github.com/oceanprotocol/ocean-lib-js/commit/5143120204048f86c27ff97211ef1f900632fb2d) +- Update .travis.yml [`#451`](https://github.com/oceanprotocol/ocean.js/pull/451) +- Release 0.9.12 [`5143120`](https://github.com/oceanprotocol/ocean.js/commit/5143120204048f86c27ff97211ef1f900632fb2d) -#### [v0.9.11](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.10...v0.9.11) +#### [v0.9.11](https://github.com/oceanprotocol/ocean.js/compare/v0.9.10...v0.9.11) > 13 November 2020 -- chunk promises [`#450`](https://github.com/oceanprotocol/ocean-lib-js/pull/450) -- Update typedoc.js [`#449`](https://github.com/oceanprotocol/ocean-lib-js/pull/449) -- update for purgatory [`#448`](https://github.com/oceanprotocol/ocean-lib-js/pull/448) -- Bump @types/mocha from 8.0.3 to 8.0.4 [`#447`](https://github.com/oceanprotocol/ocean-lib-js/pull/447) -- logs/history speed optimizations [`#441`](https://github.com/oceanprotocol/ocean-lib-js/pull/441) -- Bump @typescript-eslint/eslint-plugin from 4.6.1 to 4.7.0 [`#445`](https://github.com/oceanprotocol/ocean-lib-js/pull/445) -- Bump @types/node from 14.14.6 to 14.14.7 [`#444`](https://github.com/oceanprotocol/ocean-lib-js/pull/444) -- Bump @typescript-eslint/parser from 4.6.1 to 4.7.0 [`#446`](https://github.com/oceanprotocol/ocean-lib-js/pull/446) -- Bump eslint from 7.12.1 to 7.13.0 [`#442`](https://github.com/oceanprotocol/ocean-lib-js/pull/442) -- Bump @truffle/hdwallet-provider from 1.1.1 to 1.2.0 [`#443`](https://github.com/oceanprotocol/ocean-lib-js/pull/443) -- complete refactor getPoolLogs & getEventData [`1d717cb`](https://github.com/oceanprotocol/ocean-lib-js/commit/1d717cb3b03b150d16bb684bd13a1d7bdafa55a6) -- parallelized get shares and tx [`33bcb47`](https://github.com/oceanprotocol/ocean-lib-js/commit/33bcb47d455cfbbbd9d8c26961f4127e9c514a82) -- fix [`eb5c298`](https://github.com/oceanprotocol/ocean-lib-js/commit/eb5c29810f0a5e6e68370322fef57520564d50c1) +- chunk promises [`#450`](https://github.com/oceanprotocol/ocean.js/pull/450) +- Update typedoc.js [`#449`](https://github.com/oceanprotocol/ocean.js/pull/449) +- update for purgatory [`#448`](https://github.com/oceanprotocol/ocean.js/pull/448) +- Bump @types/mocha from 8.0.3 to 8.0.4 [`#447`](https://github.com/oceanprotocol/ocean.js/pull/447) +- logs/history speed optimizations [`#441`](https://github.com/oceanprotocol/ocean.js/pull/441) +- Bump @typescript-eslint/eslint-plugin from 4.6.1 to 4.7.0 [`#445`](https://github.com/oceanprotocol/ocean.js/pull/445) +- Bump @types/node from 14.14.6 to 14.14.7 [`#444`](https://github.com/oceanprotocol/ocean.js/pull/444) +- Bump @typescript-eslint/parser from 4.6.1 to 4.7.0 [`#446`](https://github.com/oceanprotocol/ocean.js/pull/446) +- Bump eslint from 7.12.1 to 7.13.0 [`#442`](https://github.com/oceanprotocol/ocean.js/pull/442) +- Bump @truffle/hdwallet-provider from 1.1.1 to 1.2.0 [`#443`](https://github.com/oceanprotocol/ocean.js/pull/443) +- complete refactor getPoolLogs & getEventData [`1d717cb`](https://github.com/oceanprotocol/ocean.js/commit/1d717cb3b03b150d16bb684bd13a1d7bdafa55a6) +- parallelized get shares and tx [`33bcb47`](https://github.com/oceanprotocol/ocean.js/commit/33bcb47d455cfbbbd9d8c26961f4127e9c514a82) +- fix [`eb5c298`](https://github.com/oceanprotocol/ocean.js/commit/eb5c29810f0a5e6e68370322fef57520564d50c1) -#### [v0.9.10](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.9...v0.9.10) +#### [v0.9.10](https://github.com/oceanprotocol/ocean.js/compare/v0.9.9...v0.9.10) > 6 November 2020 -- buy/sell helpers [`#440`](https://github.com/oceanprotocol/ocean-lib-js/pull/440) -- fix datatoken search [`#439`](https://github.com/oceanprotocol/ocean-lib-js/pull/439) -- Bump @typescript-eslint/eslint-plugin from 4.6.0 to 4.6.1 [`#436`](https://github.com/oceanprotocol/ocean-lib-js/pull/436) -- Bump mocha from 8.1.3 to 8.2.1 [`#437`](https://github.com/oceanprotocol/ocean-lib-js/pull/437) -- Bump @typescript-eslint/parser from 4.6.0 to 4.6.1 [`#435`](https://github.com/oceanprotocol/ocean-lib-js/pull/435) -- Bump release-it from 14.2.0 to 14.2.1 [`#434`](https://github.com/oceanprotocol/ocean-lib-js/pull/434) -- Release 0.9.10 [`38c8b00`](https://github.com/oceanprotocol/ocean-lib-js/commit/38c8b00400e5e36eaea1c4c7ae4a2b419bbfbbfb) +- buy/sell helpers [`#440`](https://github.com/oceanprotocol/ocean.js/pull/440) +- fix datatoken search [`#439`](https://github.com/oceanprotocol/ocean.js/pull/439) +- Bump @typescript-eslint/eslint-plugin from 4.6.0 to 4.6.1 [`#436`](https://github.com/oceanprotocol/ocean.js/pull/436) +- Bump mocha from 8.1.3 to 8.2.1 [`#437`](https://github.com/oceanprotocol/ocean.js/pull/437) +- Bump @typescript-eslint/parser from 4.6.0 to 4.6.1 [`#435`](https://github.com/oceanprotocol/ocean.js/pull/435) +- Bump release-it from 14.2.0 to 14.2.1 [`#434`](https://github.com/oceanprotocol/ocean.js/pull/434) +- Release 0.9.10 [`38c8b00`](https://github.com/oceanprotocol/ocean.js/commit/38c8b00400e5e36eaea1c4c7ae4a2b419bbfbbfb) -#### [v0.9.9](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.8...v0.9.9) +#### [v0.9.9](https://github.com/oceanprotocol/ocean.js/compare/v0.9.8...v0.9.9) > 30 October 2020 -- fix fromwei conversion [`#430`](https://github.com/oceanprotocol/ocean-lib-js/pull/430) -- fix typos [`#433`](https://github.com/oceanprotocol/ocean-lib-js/pull/433) -- use event block number as start [`#432`](https://github.com/oceanprotocol/ocean-lib-js/pull/432) -- fix DTPrice if amount is too high [`#431`](https://github.com/oceanprotocol/ocean-lib-js/pull/431) -- optimise gas costs [`ead3d21`](https://github.com/oceanprotocol/ocean-lib-js/commit/ead3d212a2eabe0882f5581f6ca37bd2453399e3) -- Release 0.9.9 [`94f46ee`](https://github.com/oceanprotocol/ocean-lib-js/commit/94f46eefcf88cca02ddfb6efc67c764a52cbda47) -- more wei conversions [`17a07b4`](https://github.com/oceanprotocol/ocean-lib-js/commit/17a07b4897f4b3230a698b5654a6ef62cdfcd837) +- fix fromwei conversion [`#430`](https://github.com/oceanprotocol/ocean.js/pull/430) +- fix typos [`#433`](https://github.com/oceanprotocol/ocean.js/pull/433) +- use event block number as start [`#432`](https://github.com/oceanprotocol/ocean.js/pull/432) +- fix DTPrice if amount is too high [`#431`](https://github.com/oceanprotocol/ocean.js/pull/431) +- optimise gas costs [`ead3d21`](https://github.com/oceanprotocol/ocean.js/commit/ead3d212a2eabe0882f5581f6ca37bd2453399e3) +- Release 0.9.9 [`94f46ee`](https://github.com/oceanprotocol/ocean.js/commit/94f46eefcf88cca02ddfb6efc67c764a52cbda47) +- more wei conversions [`17a07b4`](https://github.com/oceanprotocol/ocean.js/commit/17a07b4897f4b3230a698b5654a6ef62cdfcd837) -#### [v0.9.8](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.7...v0.9.8) +#### [v0.9.8](https://github.com/oceanprotocol/ocean.js/compare/v0.9.7...v0.9.8) > 29 October 2020 -- fix getPoolSharesByAddress [`#429`](https://github.com/oceanprotocol/ocean-lib-js/pull/429) -- Release 0.9.8 [`0a0ce63`](https://github.com/oceanprotocol/ocean-lib-js/commit/0a0ce63580939ad7c59d314b5548cec1c8b23cf1) -- bug fix [`07c3835`](https://github.com/oceanprotocol/ocean-lib-js/commit/07c3835759e96efba97407147dfde7f3da445716) +- fix getPoolSharesByAddress [`#429`](https://github.com/oceanprotocol/ocean.js/pull/429) +- Release 0.9.8 [`0a0ce63`](https://github.com/oceanprotocol/ocean.js/commit/0a0ce63580939ad7c59d314b5548cec1c8b23cf1) +- bug fix [`07c3835`](https://github.com/oceanprotocol/ocean.js/commit/07c3835759e96efba97407147dfde7f3da445716) -#### [v0.9.7](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.6...v0.9.7) +#### [v0.9.7](https://github.com/oceanprotocol/ocean.js/compare/v0.9.6...v0.9.7) > 29 October 2020 -- add getPoolSharesByAddress [`#428`](https://github.com/oceanprotocol/ocean-lib-js/pull/428) -- more gas optimisations [`#427`](https://github.com/oceanprotocol/ocean-lib-js/pull/427) -- Bump @types/node from 14.14.5 to 14.14.6 [`#426`](https://github.com/oceanprotocol/ocean-lib-js/pull/426) -- more fixes [`694cde2`](https://github.com/oceanprotocol/ocean-lib-js/commit/694cde2a1359aacb03f9a09dd70a5b6770b2a031) -- add getPoolsSharesbyAddress [`087b021`](https://github.com/oceanprotocol/ocean-lib-js/commit/087b021c17ba00e5a3b8d914642a6ac0527e14a2) -- Release 0.9.7 [`7b16f75`](https://github.com/oceanprotocol/ocean-lib-js/commit/7b16f7561fc663861d5777e151092396564a239b) +- add getPoolSharesByAddress [`#428`](https://github.com/oceanprotocol/ocean.js/pull/428) +- more gas optimisations [`#427`](https://github.com/oceanprotocol/ocean.js/pull/427) +- Bump @types/node from 14.14.5 to 14.14.6 [`#426`](https://github.com/oceanprotocol/ocean.js/pull/426) +- more fixes [`694cde2`](https://github.com/oceanprotocol/ocean.js/commit/694cde2a1359aacb03f9a09dd70a5b6770b2a031) +- add getPoolsSharesbyAddress [`087b021`](https://github.com/oceanprotocol/ocean.js/commit/087b021c17ba00e5a3b8d914642a6ac0527e14a2) +- Release 0.9.7 [`7b16f75`](https://github.com/oceanprotocol/ocean.js/commit/7b16f7561fc663861d5777e151092396564a239b) -#### [v0.9.6](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.5...v0.9.6) +#### [v0.9.6](https://github.com/oceanprotocol/ocean.js/compare/v0.9.5...v0.9.6) > 28 October 2020 -- fix/remove liquidity [`#425`](https://github.com/oceanprotocol/ocean-lib-js/pull/425) -- Bump eslint-config-prettier from 6.14.0 to 6.15.0 [`#422`](https://github.com/oceanprotocol/ocean-lib-js/pull/422) -- Bump eslint from 7.12.0 to 7.12.1 [`#423`](https://github.com/oceanprotocol/ocean-lib-js/pull/423) -- more fixes [`2d31bd9`](https://github.com/oceanprotocol/ocean-lib-js/commit/2d31bd9123919358684936d720f62ada039aa7be) -- fix max amountPoolshares balancer bug [`4a077a9`](https://github.com/oceanprotocol/ocean-lib-js/commit/4a077a9fa9d22471c36eeb4b3e5e60a1f2579467) -- Release 0.9.6 [`02b4b2b`](https://github.com/oceanprotocol/ocean-lib-js/commit/02b4b2bb0550b7168076582465ca59dde76a5a77) +- fix/remove liquidity [`#425`](https://github.com/oceanprotocol/ocean.js/pull/425) +- Bump eslint-config-prettier from 6.14.0 to 6.15.0 [`#422`](https://github.com/oceanprotocol/ocean.js/pull/422) +- Bump eslint from 7.12.0 to 7.12.1 [`#423`](https://github.com/oceanprotocol/ocean.js/pull/423) +- more fixes [`2d31bd9`](https://github.com/oceanprotocol/ocean.js/commit/2d31bd9123919358684936d720f62ada039aa7be) +- fix max amountPoolshares balancer bug [`4a077a9`](https://github.com/oceanprotocol/ocean.js/commit/4a077a9fa9d22471c36eeb4b3e5e60a1f2579467) +- Release 0.9.6 [`02b4b2b`](https://github.com/oceanprotocol/ocean.js/commit/02b4b2bb0550b7168076582465ca59dde76a5a77) -#### [v0.9.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.4...v0.9.5) +#### [v0.9.5](https://github.com/oceanprotocol/ocean.js/compare/v0.9.4...v0.9.5) > 27 October 2020 -- fix addmax & removemax [`#421`](https://github.com/oceanprotocol/ocean-lib-js/pull/421) -- Release 0.9.5 [`d67beac`](https://github.com/oceanprotocol/ocean-lib-js/commit/d67beacde87a91c61c7e64ff0fae9f817ec88d5e) +- fix addmax & removemax [`#421`](https://github.com/oceanprotocol/ocean.js/pull/421) +- Release 0.9.5 [`d67beac`](https://github.com/oceanprotocol/ocean.js/commit/d67beacde87a91c61c7e64ff0fae9f817ec88d5e) -#### [v0.9.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.3...v0.9.4) +#### [v0.9.4](https://github.com/oceanprotocol/ocean.js/compare/v0.9.3...v0.9.4) > 27 October 2020 -- gas cost optimisations [`#420`](https://github.com/oceanprotocol/ocean-lib-js/pull/420) -- Release 0.9.4 [`e5c6797`](https://github.com/oceanprotocol/ocean-lib-js/commit/e5c6797af9bfa73099189c3a45cc60b68bd96ed5) +- gas cost optimisations [`#420`](https://github.com/oceanprotocol/ocean.js/pull/420) +- Release 0.9.4 [`e5c6797`](https://github.com/oceanprotocol/ocean.js/commit/e5c6797af9bfa73099189c3a45cc60b68bd96ed5) -#### [v0.9.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.1...v0.9.3) +#### [v0.9.3](https://github.com/oceanprotocol/ocean.js/compare/v0.9.1...v0.9.3) > 27 October 2020 -- update bpool creation gas estimate [`#416`](https://github.com/oceanprotocol/ocean-lib-js/pull/416) -- Bump @types/node from 14.14.3 to 14.14.5 [`#415`](https://github.com/oceanprotocol/ocean-lib-js/pull/415) -- Bump @typescript-eslint/parser from 4.5.0 to 4.6.0 [`#413`](https://github.com/oceanprotocol/ocean-lib-js/pull/413) -- Bump typescript from 4.0.3 to 4.0.5 [`#414`](https://github.com/oceanprotocol/ocean-lib-js/pull/414) -- Bump @typescript-eslint/eslint-plugin from 4.5.0 to 4.6.0 [`#412`](https://github.com/oceanprotocol/ocean-lib-js/pull/412) -- fix args names [`#411`](https://github.com/oceanprotocol/ocean-lib-js/pull/411) -- Release v0.9.2 [`19c05d5`](https://github.com/oceanprotocol/ocean-lib-js/commit/19c05d512d4eae265c96055cb6de6e9b158c4eb8) -- Release 0.9.3 [`e0bbcd1`](https://github.com/oceanprotocol/ocean-lib-js/commit/e0bbcd101f48a50c895cc958125f31162d17fb7c) -- Update PoolFactory.ts [`2b810ac`](https://github.com/oceanprotocol/ocean-lib-js/commit/2b810ac6a55f18f411ecfad56aa01dd73a6057d5) +- update bpool creation gas estimate [`#416`](https://github.com/oceanprotocol/ocean.js/pull/416) +- Bump @types/node from 14.14.3 to 14.14.5 [`#415`](https://github.com/oceanprotocol/ocean.js/pull/415) +- Bump @typescript-eslint/parser from 4.5.0 to 4.6.0 [`#413`](https://github.com/oceanprotocol/ocean.js/pull/413) +- Bump typescript from 4.0.3 to 4.0.5 [`#414`](https://github.com/oceanprotocol/ocean.js/pull/414) +- Bump @typescript-eslint/eslint-plugin from 4.5.0 to 4.6.0 [`#412`](https://github.com/oceanprotocol/ocean.js/pull/412) +- fix args names [`#411`](https://github.com/oceanprotocol/ocean.js/pull/411) +- Release v0.9.2 [`19c05d5`](https://github.com/oceanprotocol/ocean.js/commit/19c05d512d4eae265c96055cb6de6e9b158c4eb8) +- Release 0.9.3 [`e0bbcd1`](https://github.com/oceanprotocol/ocean.js/commit/e0bbcd101f48a50c895cc958125f31162d17fb7c) +- Update PoolFactory.ts [`2b810ac`](https://github.com/oceanprotocol/ocean.js/commit/2b810ac6a55f18f411ecfad56aa01dd73a6057d5) -#### [v0.9.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.9.0...v0.9.1) +#### [v0.9.1](https://github.com/oceanprotocol/ocean.js/compare/v0.9.0...v0.9.1) > 26 October 2020 -- fix args names [`6960390`](https://github.com/oceanprotocol/ocean-lib-js/commit/6960390720ae44badf40c37827e5b6e4bf151b81) -- gas limit in ddo publish [`7d62aee`](https://github.com/oceanprotocol/ocean-lib-js/commit/7d62aeee63ab1b2399a1ed85110e0dbe848054bf) -- Release 0.9.1 [`5b76676`](https://github.com/oceanprotocol/ocean-lib-js/commit/5b766763b6b7e5abf6047d512afed276356cab06) +- fix args names [`6960390`](https://github.com/oceanprotocol/ocean.js/commit/6960390720ae44badf40c37827e5b6e4bf151b81) +- gas limit in ddo publish [`7d62aee`](https://github.com/oceanprotocol/ocean.js/commit/7d62aeee63ab1b2399a1ed85110e0dbe848054bf) +- Release 0.9.1 [`5b76676`](https://github.com/oceanprotocol/ocean.js/commit/5b766763b6b7e5abf6047d512afed276356cab06) -#### [v0.9.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.8.1...v0.9.0) +#### [v0.9.0](https://github.com/oceanprotocol/ocean.js/compare/v0.8.1...v0.9.0) > 26 October 2020 -- Fix/ComputeJob interface [`#410`](https://github.com/oceanprotocol/ocean-lib-js/pull/410) -- fix pool pricing [`#409`](https://github.com/oceanprotocol/ocean-lib-js/pull/409) -- word list update [`#407`](https://github.com/oceanprotocol/ocean-lib-js/pull/407) -- Release 0.9.0 [`1b90c92`](https://github.com/oceanprotocol/ocean-lib-js/commit/1b90c92d08ae29b88ee8a0857564dffe558c69dc) -- fix ComputeJob interface [`643fd04`](https://github.com/oceanprotocol/ocean-lib-js/commit/643fd04be0db9d3628f41b7621a5232abf02910a) +- Fix/ComputeJob interface [`#410`](https://github.com/oceanprotocol/ocean.js/pull/410) +- fix pool pricing [`#409`](https://github.com/oceanprotocol/ocean.js/pull/409) +- word list update [`#407`](https://github.com/oceanprotocol/ocean.js/pull/407) +- Release 0.9.0 [`1b90c92`](https://github.com/oceanprotocol/ocean.js/commit/1b90c92d08ae29b88ee8a0857564dffe558c69dc) +- fix ComputeJob interface [`643fd04`](https://github.com/oceanprotocol/ocean.js/commit/643fd04be0db9d3628f41b7621a5232abf02910a) -#### [v0.8.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.8.0...v0.8.1) +#### [v0.8.1](https://github.com/oceanprotocol/ocean.js/compare/v0.8.0...v0.8.1) > 26 October 2020 -- gas optimisations [`#406`](https://github.com/oceanprotocol/ocean-lib-js/pull/406) -- Bump @types/node from 14.14.2 to 14.14.3 [`#403`](https://github.com/oceanprotocol/ocean-lib-js/pull/403) -- Bump eslint from 7.11.0 to 7.12.0 [`#402`](https://github.com/oceanprotocol/ocean-lib-js/pull/402) -- Release 0.8.1 [`a21f9e0`](https://github.com/oceanprotocol/ocean-lib-js/commit/a21f9e0adb3d43c822ea030c5e4a90b72d87d96c) +- gas optimisations [`#406`](https://github.com/oceanprotocol/ocean.js/pull/406) +- Bump @types/node from 14.14.2 to 14.14.3 [`#403`](https://github.com/oceanprotocol/ocean.js/pull/403) +- Bump eslint from 7.11.0 to 7.12.0 [`#402`](https://github.com/oceanprotocol/ocean.js/pull/402) +- Release 0.8.1 [`a21f9e0`](https://github.com/oceanprotocol/ocean.js/commit/a21f9e0adb3d43c822ea030c5e4a90b72d87d96c) -#### [v0.8.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.7.5...v0.8.0) +#### [v0.8.0](https://github.com/oceanprotocol/ocean.js/compare/v0.7.5...v0.8.0) > 23 October 2020 -- update metadataCacheUri & providerUri for mainnet [`#401`](https://github.com/oceanprotocol/ocean-lib-js/pull/401) -- Release 0.8.0 [`f28ba74`](https://github.com/oceanprotocol/ocean-lib-js/commit/f28ba748f2ce5efb859e84681ab309efd4811978) +- update metadataCacheUri & providerUri for mainnet [`#401`](https://github.com/oceanprotocol/ocean.js/pull/401) +- Release 0.8.0 [`f28ba74`](https://github.com/oceanprotocol/ocean.js/commit/f28ba748f2ce5efb859e84681ab309efd4811978) -#### [v0.7.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.7.4...v0.7.5) +#### [v0.7.5](https://github.com/oceanprotocol/ocean.js/compare/v0.7.4...v0.7.5) > 22 October 2020 -- bump contracts to 0.5.7 [`#399`](https://github.com/oceanprotocol/ocean-lib-js/pull/399) -- update compute status [`#398`](https://github.com/oceanprotocol/ocean-lib-js/pull/398) -- Release 0.7.5 [`f43b665`](https://github.com/oceanprotocol/ocean-lib-js/commit/f43b665e5354ce6139dcf636a6f171907c58791e) -- add mainnet uri [`aba652e`](https://github.com/oceanprotocol/ocean-lib-js/commit/aba652ecc1d37b7d96c231285cfbf94b153c62af) -- fix tests [`4c4ef66`](https://github.com/oceanprotocol/ocean-lib-js/commit/4c4ef66b8f13ba161995ad252f6886cfef3787ad) +- bump contracts to 0.5.7 [`#399`](https://github.com/oceanprotocol/ocean.js/pull/399) +- update compute status [`#398`](https://github.com/oceanprotocol/ocean.js/pull/398) +- Release 0.7.5 [`f43b665`](https://github.com/oceanprotocol/ocean.js/commit/f43b665e5354ce6139dcf636a6f171907c58791e) +- add mainnet uri [`aba652e`](https://github.com/oceanprotocol/ocean.js/commit/aba652ecc1d37b7d96c231285cfbf94b153c62af) +- fix tests [`4c4ef66`](https://github.com/oceanprotocol/ocean.js/commit/4c4ef66b8f13ba161995ad252f6886cfef3787ad) -#### [v0.7.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.7.3...v0.7.4) +#### [v0.7.4](https://github.com/oceanprotocol/ocean.js/compare/v0.7.3...v0.7.4) > 22 October 2020 -- Release 0.7.4 [`94cb7c2`](https://github.com/oceanprotocol/ocean-lib-js/commit/94cb7c278af2f501e28a59e9ff0abafbd936cb76) -- update compute status [`1aefaf8`](https://github.com/oceanprotocol/ocean-lib-js/commit/1aefaf8116f473010852ebe83b1c41a9b602de90) +- Release 0.7.4 [`94cb7c2`](https://github.com/oceanprotocol/ocean.js/commit/94cb7c278af2f501e28a59e9ff0abafbd936cb76) +- update compute status [`1aefaf8`](https://github.com/oceanprotocol/ocean.js/commit/1aefaf8116f473010852ebe83b1c41a9b602de90) -#### [v0.7.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.7.2...v0.7.3) +#### [v0.7.3](https://github.com/oceanprotocol/ocean.js/compare/v0.7.2...v0.7.3) > 22 October 2020 -- allow compute status without signature [`#396`](https://github.com/oceanprotocol/ocean-lib-js/pull/396) -- Release 0.7.3 [`6cfd79d`](https://github.com/oceanprotocol/ocean-lib-js/commit/6cfd79d3f0fe6ec7ad42120028cd787ad9edfbf5) -- small refactor [`edce381`](https://github.com/oceanprotocol/ocean-lib-js/commit/edce3812c6c0638349f406739e11b92321a08e38) -- typo [`c88040d`](https://github.com/oceanprotocol/ocean-lib-js/commit/c88040d0188a9490869c032c6924e5e305575e67) +- allow compute status without signature [`#396`](https://github.com/oceanprotocol/ocean.js/pull/396) +- Release 0.7.3 [`6cfd79d`](https://github.com/oceanprotocol/ocean.js/commit/6cfd79d3f0fe6ec7ad42120028cd787ad9edfbf5) +- small refactor [`edce381`](https://github.com/oceanprotocol/ocean.js/commit/edce3812c6c0638349f406739e11b92321a08e38) +- typo [`c88040d`](https://github.com/oceanprotocol/ocean.js/commit/c88040d0188a9490869c032c6924e5e305575e67) -#### [v0.7.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.7.1...v0.7.2) +#### [v0.7.2](https://github.com/oceanprotocol/ocean.js/compare/v0.7.1...v0.7.2) > 22 October 2020 -- remove blob content [`#391`](https://github.com/oceanprotocol/ocean-lib-js/pull/391) -- Fix/LoggerLevel [`#377`](https://github.com/oceanprotocol/ocean-lib-js/pull/377) -- make searchforDT lowercase [`#393`](https://github.com/oceanprotocol/ocean-lib-js/pull/393) -- Bump @types/node from 14.14.0 to 14.14.2 [`#394`](https://github.com/oceanprotocol/ocean-lib-js/pull/394) -- Bump eslint-config-prettier from 6.13.0 to 6.14.0 [`#395`](https://github.com/oceanprotocol/ocean-lib-js/pull/395) -- refactor confighelper to use ocean-contracts [`#390`](https://github.com/oceanprotocol/ocean-lib-js/pull/390) -- fix Balancer pool [`0801970`](https://github.com/oceanprotocol/ocean-lib-js/commit/08019706e9d46c7409b338d77f4b2f50d4787aab) -- fix DataTokens [`c4d6b48`](https://github.com/oceanprotocol/ocean-lib-js/commit/c4d6b48896a115fd72c0cfd0f5a507ad2187ed1a) -- fix error messages [`ca733f2`](https://github.com/oceanprotocol/ocean-lib-js/commit/ca733f2a064224b9df261d4c114ad3971cd89999) +- remove blob content [`#391`](https://github.com/oceanprotocol/ocean.js/pull/391) +- Fix/LoggerLevel [`#377`](https://github.com/oceanprotocol/ocean.js/pull/377) +- make searchforDT lowercase [`#393`](https://github.com/oceanprotocol/ocean.js/pull/393) +- Bump @types/node from 14.14.0 to 14.14.2 [`#394`](https://github.com/oceanprotocol/ocean.js/pull/394) +- Bump eslint-config-prettier from 6.13.0 to 6.14.0 [`#395`](https://github.com/oceanprotocol/ocean.js/pull/395) +- refactor confighelper to use ocean-contracts [`#390`](https://github.com/oceanprotocol/ocean.js/pull/390) +- fix Balancer pool [`0801970`](https://github.com/oceanprotocol/ocean.js/commit/08019706e9d46c7409b338d77f4b2f50d4787aab) +- fix DataTokens [`c4d6b48`](https://github.com/oceanprotocol/ocean.js/commit/c4d6b48896a115fd72c0cfd0f5a507ad2187ed1a) +- fix error messages [`ca733f2`](https://github.com/oceanprotocol/ocean.js/commit/ca733f2a064224b9df261d4c114ad3971cd89999) -#### [v0.7.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.7.0...v0.7.1) +#### [v0.7.1](https://github.com/oceanprotocol/ocean.js/compare/v0.7.0...v0.7.1) > 21 October 2020 -- Release 0.7.1 [`38353f4`](https://github.com/oceanprotocol/ocean-lib-js/commit/38353f4c9be56bbae7a3833656b78fabf1969c6b) -- BestPrice type tweak [`47d3282`](https://github.com/oceanprotocol/ocean-lib-js/commit/47d328219746dd4fb05e364e24492eef0a0c5907) +- Release 0.7.1 [`38353f4`](https://github.com/oceanprotocol/ocean.js/commit/38353f4c9be56bbae7a3833656b78fabf1969c6b) +- BestPrice type tweak [`47d3282`](https://github.com/oceanprotocol/ocean.js/commit/47d328219746dd4fb05e364e24492eef0a0c5907) -#### [v0.7.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.7...v0.7.0) +#### [v0.7.0](https://github.com/oceanprotocol/ocean.js/compare/v0.6.7...v0.7.0) > 21 October 2020 -- make create methods subscribable [`#389`](https://github.com/oceanprotocol/ocean-lib-js/pull/389) -- Bump @types/node from 14.11.10 to 14.14.0 [`#383`](https://github.com/oceanprotocol/ocean-lib-js/pull/383) -- make pool.create subscribable [`dec9c57`](https://github.com/oceanprotocol/ocean-lib-js/commit/dec9c57c94f777201355c1356c881989002931c1) -- change exchange.create to allow subscribe&approve [`11271a9`](https://github.com/oceanprotocol/ocean-lib-js/commit/11271a970b6fd692e26cf398973244ae1e153b9b) -- pool.create returns txid [`4db0a0d`](https://github.com/oceanprotocol/ocean-lib-js/commit/4db0a0d43d25aaefba121985dc00f5dad570db11) +- make create methods subscribable [`#389`](https://github.com/oceanprotocol/ocean.js/pull/389) +- Bump @types/node from 14.11.10 to 14.14.0 [`#383`](https://github.com/oceanprotocol/ocean.js/pull/383) +- make pool.create subscribable [`dec9c57`](https://github.com/oceanprotocol/ocean.js/commit/dec9c57c94f777201355c1356c881989002931c1) +- change exchange.create to allow subscribe&approve [`11271a9`](https://github.com/oceanprotocol/ocean.js/commit/11271a970b6fd692e26cf398973244ae1e153b9b) +- pool.create returns txid [`4db0a0d`](https://github.com/oceanprotocol/ocean.js/commit/4db0a0d43d25aaefba121985dc00f5dad570db11) -#### [v0.6.7](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.6...v0.6.7) +#### [v0.6.7](https://github.com/oceanprotocol/ocean.js/compare/v0.6.6...v0.6.7) > 21 October 2020 -- Update .travis.yml [`#384`](https://github.com/oceanprotocol/ocean-lib-js/pull/384) -- Release 0.6.7 [`f5f9e33`](https://github.com/oceanprotocol/ocean-lib-js/commit/f5f9e3308def5daea18cb4f2d2b9a2742c602fdb) +- Update .travis.yml [`#384`](https://github.com/oceanprotocol/ocean.js/pull/384) +- Release 0.6.7 [`f5f9e33`](https://github.com/oceanprotocol/ocean.js/commit/f5f9e3308def5daea18cb4f2d2b9a2742c602fdb) -#### [v0.6.6](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.5...v0.6.6) +#### [v0.6.6](https://github.com/oceanprotocol/ocean.js/compare/v0.6.5...v0.6.6) > 20 October 2020 -- add datatokeninfo to ddo creation [`#382`](https://github.com/oceanprotocol/ocean-lib-js/pull/382) -- fix getOrderHistory [`#381`](https://github.com/oceanprotocol/ocean-lib-js/pull/381) -- Bump @typescript-eslint/parser from 4.4.1 to 4.5.0 [`#378`](https://github.com/oceanprotocol/ocean-lib-js/pull/378) -- Bump @typescript-eslint/eslint-plugin from 4.4.1 to 4.5.0 [`#379`](https://github.com/oceanprotocol/ocean-lib-js/pull/379) -- Release 0.6.6 [`461ea5c`](https://github.com/oceanprotocol/ocean-lib-js/commit/461ea5c46ab8f419f5d95a59a7237052b1192edd) -- fix tests [`efaa3f6`](https://github.com/oceanprotocol/ocean-lib-js/commit/efaa3f6d1d6b425cb9faa1a4d113d9272909cf7e) +- add datatokeninfo to ddo creation [`#382`](https://github.com/oceanprotocol/ocean.js/pull/382) +- fix getOrderHistory [`#381`](https://github.com/oceanprotocol/ocean.js/pull/381) +- Bump @typescript-eslint/parser from 4.4.1 to 4.5.0 [`#378`](https://github.com/oceanprotocol/ocean.js/pull/378) +- Bump @typescript-eslint/eslint-plugin from 4.4.1 to 4.5.0 [`#379`](https://github.com/oceanprotocol/ocean.js/pull/379) +- Release 0.6.6 [`461ea5c`](https://github.com/oceanprotocol/ocean.js/commit/461ea5c46ab8f419f5d95a59a7237052b1192edd) +- fix tests [`efaa3f6`](https://github.com/oceanprotocol/ocean.js/commit/efaa3f6d1d6b425cb9faa1a4d113d9272909cf7e) -#### [v0.6.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.4...v0.6.5) +#### [v0.6.5](https://github.com/oceanprotocol/ocean.js/compare/v0.6.4...v0.6.5) > 19 October 2020 -- search for pools on-chain [`#375`](https://github.com/oceanprotocol/ocean-lib-js/pull/375) -- Fix/Error-messages [`#367`](https://github.com/oceanprotocol/ocean-lib-js/pull/367) -- Bump @types/chai from 4.2.13 to 4.2.14 [`#369`](https://github.com/oceanprotocol/ocean-lib-js/pull/369) -- Bump @types/node from 14.11.8 to 14.11.10 [`#372`](https://github.com/oceanprotocol/ocean-lib-js/pull/372) -- Bump release-it from 14.1.0 to 14.2.0 [`#370`](https://github.com/oceanprotocol/ocean-lib-js/pull/370) -- Bump eslint-config-prettier from 6.12.0 to 6.13.0 [`#371`](https://github.com/oceanprotocol/ocean-lib-js/pull/371) -- handle error messages [`d574782`](https://github.com/oceanprotocol/ocean-lib-js/commit/d574782b14f1d237317c7029ae39bcb07a61226e) -- Release 0.6.5 [`7bed54e`](https://github.com/oceanprotocol/ocean-lib-js/commit/7bed54e0a311ce2f00e5e66923fa5b6527cd5f2c) -- fix lint errors [`3a34c0c`](https://github.com/oceanprotocol/ocean-lib-js/commit/3a34c0c54c42800746d3c04572d5b68bdcd91060) +- search for pools on-chain [`#375`](https://github.com/oceanprotocol/ocean.js/pull/375) +- Fix/Error-messages [`#367`](https://github.com/oceanprotocol/ocean.js/pull/367) +- Bump @types/chai from 4.2.13 to 4.2.14 [`#369`](https://github.com/oceanprotocol/ocean.js/pull/369) +- Bump @types/node from 14.11.8 to 14.11.10 [`#372`](https://github.com/oceanprotocol/ocean.js/pull/372) +- Bump release-it from 14.1.0 to 14.2.0 [`#370`](https://github.com/oceanprotocol/ocean.js/pull/370) +- Bump eslint-config-prettier from 6.12.0 to 6.13.0 [`#371`](https://github.com/oceanprotocol/ocean.js/pull/371) +- handle error messages [`d574782`](https://github.com/oceanprotocol/ocean.js/commit/d574782b14f1d237317c7029ae39bcb07a61226e) +- Release 0.6.5 [`7bed54e`](https://github.com/oceanprotocol/ocean.js/commit/7bed54e0a311ce2f00e5e66923fa5b6527cd5f2c) +- fix lint errors [`3a34c0c`](https://github.com/oceanprotocol/ocean.js/commit/3a34c0c54c42800746d3c04572d5b68bdcd91060) -#### [v0.6.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.3...v0.6.4) +#### [v0.6.4](https://github.com/oceanprotocol/ocean.js/compare/v0.6.3...v0.6.4) > 16 October 2020 -- fix bug when amountOut>=balanceOut [`#365`](https://github.com/oceanprotocol/ocean-lib-js/pull/365) -- Bump @truffle/hdwallet-provider from 1.1.0 to 1.1.1 [`#368`](https://github.com/oceanprotocol/ocean-lib-js/pull/368) -- Release 0.6.4 [`e5e1e40`](https://github.com/oceanprotocol/ocean-lib-js/commit/e5e1e40608cb2e5e4b45dbd9f44247229a158a58) -- add test [`b341667`](https://github.com/oceanprotocol/ocean-lib-js/commit/b34166732f4ddaacb4a7ba9ab9f13cb6e5961cfc) +- fix bug when amountOut>=balanceOut [`#365`](https://github.com/oceanprotocol/ocean.js/pull/365) +- Bump @truffle/hdwallet-provider from 1.1.0 to 1.1.1 [`#368`](https://github.com/oceanprotocol/ocean.js/pull/368) +- Release 0.6.4 [`e5e1e40`](https://github.com/oceanprotocol/ocean.js/commit/e5e1e40608cb2e5e4b45dbd9f44247229a158a58) +- add test [`b341667`](https://github.com/oceanprotocol/ocean.js/commit/b34166732f4ddaacb4a7ba9ab9f13cb6e5961cfc) -#### [v0.6.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.2...v0.6.3) +#### [v0.6.3](https://github.com/oceanprotocol/ocean.js/compare/v0.6.2...v0.6.3) > 15 October 2020 -- Fix/tests-assertion [`#362`](https://github.com/oceanprotocol/ocean-lib-js/pull/362) -- Bump @oceanprotocol/contracts from 0.5.5 to 0.5.6 [`#364`](https://github.com/oceanprotocol/ocean-lib-js/pull/364) -- Feature/new aqua and provider [`#359`](https://github.com/oceanprotocol/ocean-lib-js/pull/359) -- add ddo.datatokeninfo [`#363`](https://github.com/oceanprotocol/ocean-lib-js/pull/363) -- package updates [`0f82c00`](https://github.com/oceanprotocol/ocean-lib-js/commit/0f82c00a06ffdea0d560b822ab995ebfa1ffb447) -- get polls from aquarius [`15e6518`](https://github.com/oceanprotocol/ocean-lib-js/commit/15e651801caf366ec434563dd96a57ad5d2ccf68) -- Release 0.6.3 [`7d15d2d`](https://github.com/oceanprotocol/ocean-lib-js/commit/7d15d2d1d98005bed73204bab22567953ef5746e) +- Fix/tests-assertion [`#362`](https://github.com/oceanprotocol/ocean.js/pull/362) +- Bump @oceanprotocol/contracts from 0.5.5 to 0.5.6 [`#364`](https://github.com/oceanprotocol/ocean.js/pull/364) +- Feature/new aqua and provider [`#359`](https://github.com/oceanprotocol/ocean.js/pull/359) +- add ddo.datatokeninfo [`#363`](https://github.com/oceanprotocol/ocean.js/pull/363) +- package updates [`0f82c00`](https://github.com/oceanprotocol/ocean.js/commit/0f82c00a06ffdea0d560b822ab995ebfa1ffb447) +- get polls from aquarius [`15e6518`](https://github.com/oceanprotocol/ocean.js/commit/15e651801caf366ec434563dd96a57ad5d2ccf68) +- Release 0.6.3 [`7d15d2d`](https://github.com/oceanprotocol/ocean.js/commit/7d15d2d1d98005bed73204bab22567953ef5746e) -#### [v0.6.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.1...v0.6.2) +#### [v0.6.2](https://github.com/oceanprotocol/ocean.js/compare/v0.6.1...v0.6.2) > 14 October 2020 -- add getTokensRemovedforPoolShares [`#361`](https://github.com/oceanprotocol/ocean-lib-js/pull/361) -- refactor [`8ee1172`](https://github.com/oceanprotocol/ocean-lib-js/commit/8ee1172d2154073cfbc7b4f1006e595dfd89de74) -- Release 0.6.2 [`20551cf`](https://github.com/oceanprotocol/ocean-lib-js/commit/20551cf8e18bff1ebd433ddd938a40887365429f) -- add missing test [`452b0b6`](https://github.com/oceanprotocol/ocean-lib-js/commit/452b0b6b7820999f9865b3b6efc4eea2b3f0f2f5) +- add getTokensRemovedforPoolShares [`#361`](https://github.com/oceanprotocol/ocean.js/pull/361) +- refactor [`8ee1172`](https://github.com/oceanprotocol/ocean.js/commit/8ee1172d2154073cfbc7b4f1006e595dfd89de74) +- Release 0.6.2 [`20551cf`](https://github.com/oceanprotocol/ocean.js/commit/20551cf8e18bff1ebd433ddd938a40887365429f) +- add missing test [`452b0b6`](https://github.com/oceanprotocol/ocean.js/commit/452b0b6b7820999f9865b3b6efc4eea2b3f0f2f5) -#### [v0.6.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.6.0...v0.6.1) +#### [v0.6.1](https://github.com/oceanprotocol/ocean.js/compare/v0.6.0...v0.6.1) > 14 October 2020 -- remove duplicate totalSupply [`#360`](https://github.com/oceanprotocol/ocean-lib-js/pull/360) -- Release 0.6.1 [`7f27935`](https://github.com/oceanprotocol/ocean-lib-js/commit/7f279350a0801a96edd4857df2ac6740327c8a64) -- fix balancer test [`a6d79c0`](https://github.com/oceanprotocol/ocean-lib-js/commit/a6d79c020a557bb34b4f986942e740d5adf4ce0a) -- fix balancer test [`9cad523`](https://github.com/oceanprotocol/ocean-lib-js/commit/9cad5231505b89b75eb066e8131434593ae24eca) +- remove duplicate totalSupply [`#360`](https://github.com/oceanprotocol/ocean.js/pull/360) +- Release 0.6.1 [`7f27935`](https://github.com/oceanprotocol/ocean.js/commit/7f279350a0801a96edd4857df2ac6740327c8a64) +- fix balancer test [`a6d79c0`](https://github.com/oceanprotocol/ocean.js/commit/a6d79c020a557bb34b4f986942e740d5adf4ce0a) +- fix balancer test [`9cad523`](https://github.com/oceanprotocol/ocean.js/commit/9cad5231505b89b75eb066e8131434593ae24eca) -#### [v0.6.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.5.6...v0.6.0) +#### [v0.6.0](https://github.com/oceanprotocol/ocean.js/compare/v0.5.6...v0.6.0) > 13 October 2020 -- remove ddo prof [`#358`](https://github.com/oceanprotocol/ocean-lib-js/pull/358) -- ocean-lib-js → ocean.js [`#355`](https://github.com/oceanprotocol/ocean-lib-js/pull/355) -- metadataStore → metadataCache [`#354`](https://github.com/oceanprotocol/ocean-lib-js/pull/354) -- Bump @typescript-eslint/eslint-plugin from 4.4.0 to 4.4.1 [`#352`](https://github.com/oceanprotocol/ocean-lib-js/pull/352) -- Bump @typescript-eslint/parser from 4.4.0 to 4.4.1 [`#353`](https://github.com/oceanprotocol/ocean-lib-js/pull/353) -- sort polls by blockNumber [`#357`](https://github.com/oceanprotocol/ocean-lib-js/pull/357) -- jsdocs updates [`#350`](https://github.com/oceanprotocol/ocean-lib-js/pull/350) -- add pool validation and helpers [`#348`](https://github.com/oceanprotocol/ocean-lib-js/pull/348) -- Bump eslint from 7.10.0 to 7.11.0 [`#344`](https://github.com/oceanprotocol/ocean-lib-js/pull/344) -- Bump @types/node from 14.11.7 to 14.11.8 [`#347`](https://github.com/oceanprotocol/ocean-lib-js/pull/347) -- Bump release-it from 14.0.4 to 14.1.0 [`#345`](https://github.com/oceanprotocol/ocean-lib-js/pull/345) -- Bump @types/node from 14.11.5 to 14.11.7 [`#342`](https://github.com/oceanprotocol/ocean-lib-js/pull/342) -- fix #341 [`#341`](https://github.com/oceanprotocol/ocean-lib-js/issues/341) -- Release 0.6.0 [`69a0b0d`](https://github.com/oceanprotocol/ocean-lib-js/commit/69a0b0d8a2f34ae08e37de1b21c7edc5d52a83ae) -- add more pool tests [`002a38d`](https://github.com/oceanprotocol/ocean-lib-js/commit/002a38d487ffacb54f04b74679da528d282b873c) -- more helpers [`d2b770a`](https://github.com/oceanprotocol/ocean-lib-js/commit/d2b770a9823ea0fa4252fedba6033c0634d38d5f) +- remove ddo prof [`#358`](https://github.com/oceanprotocol/ocean.js/pull/358) +- ocean-lib-js → ocean.js [`#355`](https://github.com/oceanprotocol/ocean.js/pull/355) +- metadataStore → metadataCache [`#354`](https://github.com/oceanprotocol/ocean.js/pull/354) +- Bump @typescript-eslint/eslint-plugin from 4.4.0 to 4.4.1 [`#352`](https://github.com/oceanprotocol/ocean.js/pull/352) +- Bump @typescript-eslint/parser from 4.4.0 to 4.4.1 [`#353`](https://github.com/oceanprotocol/ocean.js/pull/353) +- sort polls by blockNumber [`#357`](https://github.com/oceanprotocol/ocean.js/pull/357) +- jsdocs updates [`#350`](https://github.com/oceanprotocol/ocean.js/pull/350) +- add pool validation and helpers [`#348`](https://github.com/oceanprotocol/ocean.js/pull/348) +- Bump eslint from 7.10.0 to 7.11.0 [`#344`](https://github.com/oceanprotocol/ocean.js/pull/344) +- Bump @types/node from 14.11.7 to 14.11.8 [`#347`](https://github.com/oceanprotocol/ocean.js/pull/347) +- Bump release-it from 14.0.4 to 14.1.0 [`#345`](https://github.com/oceanprotocol/ocean.js/pull/345) +- Bump @types/node from 14.11.5 to 14.11.7 [`#342`](https://github.com/oceanprotocol/ocean.js/pull/342) +- fix #341 [`#341`](https://github.com/oceanprotocol/ocean.js/issues/341) +- Release 0.6.0 [`69a0b0d`](https://github.com/oceanprotocol/ocean.js/commit/69a0b0d8a2f34ae08e37de1b21c7edc5d52a83ae) +- add more pool tests [`002a38d`](https://github.com/oceanprotocol/ocean.js/commit/002a38d487ffacb54f04b74679da528d282b873c) +- more helpers [`d2b770a`](https://github.com/oceanprotocol/ocean.js/commit/d2b770a9823ea0fa4252fedba6033c0634d38d5f) -#### [v0.5.6](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.5.5...v0.5.6) +#### [v0.5.6](https://github.com/oceanprotocol/ocean.js/compare/v0.5.5...v0.5.6) > 8 October 2020 -- update DDO [`#340`](https://github.com/oceanprotocol/ocean-lib-js/pull/340) -- Bump release-it from 14.0.3 to 14.0.4 [`#339`](https://github.com/oceanprotocol/ocean-lib-js/pull/339) -- Bump @types/node from 14.11.4 to 14.11.5 [`#337`](https://github.com/oceanprotocol/ocean-lib-js/pull/337) -- fix incorrect dtAddress [`#338`](https://github.com/oceanprotocol/ocean-lib-js/pull/338) -- Feature/swapFee docs [`#331`](https://github.com/oceanprotocol/ocean-lib-js/pull/331) -- Bump @types/chai from 4.2.12 to 4.2.13 [`#334`](https://github.com/oceanprotocol/ocean-lib-js/pull/334) -- Bump @types/node from 14.11.2 to 14.11.4 [`#332`](https://github.com/oceanprotocol/ocean-lib-js/pull/332) -- Bump @typescript-eslint/eslint-plugin from 4.3.0 to 4.4.0 [`#335`](https://github.com/oceanprotocol/ocean-lib-js/pull/335) -- Bump @typescript-eslint/parser from 4.3.0 to 4.4.0 [`#333`](https://github.com/oceanprotocol/ocean-lib-js/pull/333) -- Bump uuid from 8.3.0 to 8.3.1 [`#330`](https://github.com/oceanprotocol/ocean-lib-js/pull/330) -- Release 0.5.6 [`a6d6a5f`](https://github.com/oceanprotocol/ocean-lib-js/commit/a6d6a5f8c9b83b4ffcfe3a584bcf2dcf23316144) -- BestPrice interface [`d3b47d6`](https://github.com/oceanprotocol/ocean-lib-js/commit/d3b47d618ba145db55f12ba2a7ffdfc247d58693) -- Update OceanPool.ts [`e1c7eeb`](https://github.com/oceanprotocol/ocean-lib-js/commit/e1c7eeb6ba050860e63aac4b9909fd475dc786a8) +- update DDO [`#340`](https://github.com/oceanprotocol/ocean.js/pull/340) +- Bump release-it from 14.0.3 to 14.0.4 [`#339`](https://github.com/oceanprotocol/ocean.js/pull/339) +- Bump @types/node from 14.11.4 to 14.11.5 [`#337`](https://github.com/oceanprotocol/ocean.js/pull/337) +- fix incorrect dtAddress [`#338`](https://github.com/oceanprotocol/ocean.js/pull/338) +- Feature/swapFee docs [`#331`](https://github.com/oceanprotocol/ocean.js/pull/331) +- Bump @types/chai from 4.2.12 to 4.2.13 [`#334`](https://github.com/oceanprotocol/ocean.js/pull/334) +- Bump @types/node from 14.11.2 to 14.11.4 [`#332`](https://github.com/oceanprotocol/ocean.js/pull/332) +- Bump @typescript-eslint/eslint-plugin from 4.3.0 to 4.4.0 [`#335`](https://github.com/oceanprotocol/ocean.js/pull/335) +- Bump @typescript-eslint/parser from 4.3.0 to 4.4.0 [`#333`](https://github.com/oceanprotocol/ocean.js/pull/333) +- Bump uuid from 8.3.0 to 8.3.1 [`#330`](https://github.com/oceanprotocol/ocean.js/pull/330) +- Release 0.5.6 [`a6d6a5f`](https://github.com/oceanprotocol/ocean.js/commit/a6d6a5f8c9b83b4ffcfe3a584bcf2dcf23316144) +- BestPrice interface [`d3b47d6`](https://github.com/oceanprotocol/ocean.js/commit/d3b47d618ba145db55f12ba2a7ffdfc247d58693) +- Update OceanPool.ts [`e1c7eeb`](https://github.com/oceanprotocol/ocean.js/commit/e1c7eeb6ba050860e63aac4b9909fd475dc786a8) -#### [v0.5.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.5.4...v0.5.5) +#### [v0.5.5](https://github.com/oceanprotocol/ocean.js/compare/v0.5.4...v0.5.5) > 2 October 2020 -- fix typo in Metadata contract address [`#329`](https://github.com/oceanprotocol/ocean-lib-js/pull/329) -- Release 0.5.5 [`bca3202`](https://github.com/oceanprotocol/ocean-lib-js/commit/bca320281401b13a0fe7e192598f60d487438d8b) -- fix type in Metadata [`4653432`](https://github.com/oceanprotocol/ocean-lib-js/commit/46534324f5a963d2214c2c70ace0022486c26a54) +- fix typo in Metadata contract address [`#329`](https://github.com/oceanprotocol/ocean.js/pull/329) +- Release 0.5.5 [`bca3202`](https://github.com/oceanprotocol/ocean.js/commit/bca320281401b13a0fe7e192598f60d487438d8b) +- fix type in Metadata [`4653432`](https://github.com/oceanprotocol/ocean.js/commit/46534324f5a963d2214c2c70ace0022486c26a54) -#### [v0.5.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.5.3...v0.5.4) +#### [v0.5.4](https://github.com/oceanprotocol/ocean.js/compare/v0.5.3...v0.5.4) > 2 October 2020 -- Feature/contracts 053 [`#328`](https://github.com/oceanprotocol/ocean-lib-js/pull/328) -- update to contracts 0.5.3 [`b78a57c`](https://github.com/oceanprotocol/ocean-lib-js/commit/b78a57c59a98cb10c0f90f14d24011c43920bfff) -- Release 0.5.4 [`cd033b5`](https://github.com/oceanprotocol/ocean-lib-js/commit/cd033b547a8e059ca37b69594aa5a66dfd5b4d7c) -- update to contracts 0.5.3 [`cc84784`](https://github.com/oceanprotocol/ocean-lib-js/commit/cc847841c5639fb0f74bea5ca5b4e43f184b923a) +- Feature/contracts 053 [`#328`](https://github.com/oceanprotocol/ocean.js/pull/328) +- update to contracts 0.5.3 [`b78a57c`](https://github.com/oceanprotocol/ocean.js/commit/b78a57c59a98cb10c0f90f14d24011c43920bfff) +- Release 0.5.4 [`cd033b5`](https://github.com/oceanprotocol/ocean.js/commit/cd033b547a8e059ca37b69594aa5a66dfd5b4d7c) +- update to contracts 0.5.3 [`cc84784`](https://github.com/oceanprotocol/ocean.js/commit/cc847841c5639fb0f74bea5ca5b4e43f184b923a) -#### [v0.5.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.5.2...v0.5.3) +#### [v0.5.3](https://github.com/oceanprotocol/ocean.js/compare/v0.5.2...v0.5.3) > 2 October 2020 -- use networkID instead of chainId [`#327`](https://github.com/oceanprotocol/ocean-lib-js/pull/327) -- Release 0.5.3 [`9a228c1`](https://github.com/oceanprotocol/ocean-lib-js/commit/9a228c131ba61d485c22f575f31e78e4689a3969) +- use networkID instead of chainId [`#327`](https://github.com/oceanprotocol/ocean.js/pull/327) +- Release 0.5.3 [`9a228c1`](https://github.com/oceanprotocol/ocean.js/commit/9a228c131ba61d485c22f575f31e78e4689a3969) -#### [v0.5.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.5.1...v0.5.2) +#### [v0.5.2](https://github.com/oceanprotocol/ocean.js/compare/v0.5.1...v0.5.2) > 1 October 2020 -- add order history [`#325`](https://github.com/oceanprotocol/ocean-lib-js/pull/325) -- Release 0.5.2 [`0526778`](https://github.com/oceanprotocol/ocean-lib-js/commit/05267781824b59ea8eb0fe5ddc38556d77f68dc8) -- add optional filter [`4d00c88`](https://github.com/oceanprotocol/ocean-lib-js/commit/4d00c882df3915eb172b3df7bcb70d3dfd7a5f5f) -- rename from OrderHistory to Order [`2a715c9`](https://github.com/oceanprotocol/ocean-lib-js/commit/2a715c94427247d92f06deedde5ecc2f717dd644) +- add order history [`#325`](https://github.com/oceanprotocol/ocean.js/pull/325) +- Release 0.5.2 [`0526778`](https://github.com/oceanprotocol/ocean.js/commit/05267781824b59ea8eb0fe5ddc38556d77f68dc8) +- add optional filter [`4d00c88`](https://github.com/oceanprotocol/ocean.js/commit/4d00c882df3915eb172b3df7bcb70d3dfd7a5f5f) +- rename from OrderHistory to Order [`2a715c9`](https://github.com/oceanprotocol/ocean.js/commit/2a715c94427247d92f06deedde5ecc2f717dd644) -#### [v0.5.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.5.0...v0.5.1) +#### [v0.5.1](https://github.com/oceanprotocol/ocean.js/compare/v0.5.0...v0.5.1) > 1 October 2020 -- Feature/contracts 0.5.1 [`#324`](https://github.com/oceanprotocol/ocean-lib-js/pull/324) -- bump contracts to 0.5.1 [`9b7f911`](https://github.com/oceanprotocol/ocean-lib-js/commit/9b7f9119348c1310e34c73dbccecc2c41db828a0) -- Release 0.5.1 [`50e2f8d`](https://github.com/oceanprotocol/ocean-lib-js/commit/50e2f8de61092f466eb139a42cb3094640dfcfc7) -- fix lint [`2e04ece`](https://github.com/oceanprotocol/ocean-lib-js/commit/2e04ece81c10ed7b765cb09844145c474230efe7) +- Feature/contracts 0.5.1 [`#324`](https://github.com/oceanprotocol/ocean.js/pull/324) +- bump contracts to 0.5.1 [`9b7f911`](https://github.com/oceanprotocol/ocean.js/commit/9b7f9119348c1310e34c73dbccecc2c41db828a0) +- Release 0.5.1 [`50e2f8d`](https://github.com/oceanprotocol/ocean.js/commit/50e2f8de61092f466eb139a42cb3094640dfcfc7) +- fix lint [`2e04ece`](https://github.com/oceanprotocol/ocean.js/commit/2e04ece81c10ed7b765cb09844145c474230efe7) -#### [v0.5.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.4.1...v0.5.0) +#### [v0.5.0](https://github.com/oceanprotocol/ocean.js/compare/v0.4.1...v0.5.0) > 1 October 2020 -- Feature/contracts 0.5.0 & account removed where possible [`#323`](https://github.com/oceanprotocol/ocean-lib-js/pull/323) -- remove need of an account for some calls [`fa2a1f8`](https://github.com/oceanprotocol/ocean-lib-js/commit/fa2a1f8944b5a158a142929bf89e09e21c169b8f) -- bump contracts to 0.5.0 [`9bbff39`](https://github.com/oceanprotocol/ocean-lib-js/commit/9bbff39cf002d50d2e923135cf35d4c2e5c26c94) -- Release 0.5.0 [`82af6ed`](https://github.com/oceanprotocol/ocean-lib-js/commit/82af6edcd3382db6241601c3e808a9827447ce59) +- Feature/contracts 0.5.0 & account removed where possible [`#323`](https://github.com/oceanprotocol/ocean.js/pull/323) +- remove need of an account for some calls [`fa2a1f8`](https://github.com/oceanprotocol/ocean.js/commit/fa2a1f8944b5a158a142929bf89e09e21c169b8f) +- bump contracts to 0.5.0 [`9bbff39`](https://github.com/oceanprotocol/ocean.js/commit/9bbff39cf002d50d2e923135cf35d4c2e5c26c94) +- Release 0.5.0 [`82af6ed`](https://github.com/oceanprotocol/ocean.js/commit/82af6edcd3382db6241601c3e808a9827447ce59) -#### [v0.4.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.4.0...v0.4.1) +#### [v0.4.1](https://github.com/oceanprotocol/ocean.js/compare/v0.4.0...v0.4.1) > 30 September 2020 -- Release 0.4.1 [`b013d97`](https://github.com/oceanprotocol/ocean-lib-js/commit/b013d970ae8c12dc4dc45e82486ea27f5699df0e) -- run build upon release [`2b5d48a`](https://github.com/oceanprotocol/ocean-lib-js/commit/2b5d48a3c977c925f9b774ac1eb794180824ea22) +- Release 0.4.1 [`b013d97`](https://github.com/oceanprotocol/ocean.js/commit/b013d970ae8c12dc4dc45e82486ea27f5699df0e) +- run build upon release [`2b5d48a`](https://github.com/oceanprotocol/ocean.js/commit/2b5d48a3c977c925f9b774ac1eb794180824ea22) -#### [v0.4.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.3.2...v0.4.0) +#### [v0.4.0](https://github.com/oceanprotocol/ocean.js/compare/v0.3.2...v0.4.0) > 30 September 2020 -- add stats/history [`#289`](https://github.com/oceanprotocol/ocean-lib-js/pull/289) -- add stats [`c6a9f7d`](https://github.com/oceanprotocol/ocean-lib-js/commit/c6a9f7d69b8ac60f349e62a3dbc161b835b4fb41) -- add stats [`b815fbf`](https://github.com/oceanprotocol/ocean-lib-js/commit/b815fbf0a135e0825674b45b64f1d911c03e6a59) -- small refactor [`6f645d6`](https://github.com/oceanprotocol/ocean-lib-js/commit/6f645d6e8fd134a69b56e862e9652a830308df12) +- add stats/history [`#289`](https://github.com/oceanprotocol/ocean.js/pull/289) +- add stats [`c6a9f7d`](https://github.com/oceanprotocol/ocean.js/commit/c6a9f7d69b8ac60f349e62a3dbc161b835b4fb41) +- add stats [`b815fbf`](https://github.com/oceanprotocol/ocean.js/commit/b815fbf0a135e0825674b45b64f1d911c03e6a59) +- small refactor [`6f645d6`](https://github.com/oceanprotocol/ocean.js/commit/6f645d6e8fd134a69b56e862e9652a830308df12) -#### [v0.3.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.3.1...v0.3.2) +#### [v0.3.2](https://github.com/oceanprotocol/ocean.js/compare/v0.3.1...v0.3.2) > 29 September 2020 -- Fix asset create [`#320`](https://github.com/oceanprotocol/ocean-lib-js/pull/320) -- Bump decimal.js from 10.2.0 to 10.2.1 [`#317`](https://github.com/oceanprotocol/ocean-lib-js/pull/317) -- Bump @typescript-eslint/eslint-plugin from 4.2.0 to 4.3.0 [`#318`](https://github.com/oceanprotocol/ocean-lib-js/pull/318) -- Bump @typescript-eslint/parser from 4.2.0 to 4.3.0 [`#319`](https://github.com/oceanprotocol/ocean-lib-js/pull/319) -- Bump eslint from 7.9.0 to 7.10.0 [`#314`](https://github.com/oceanprotocol/ocean-lib-js/pull/314) -- Bump eslint-config-prettier from 6.11.0 to 6.12.0 [`#313`](https://github.com/oceanprotocol/ocean-lib-js/pull/313) -- Release 0.3.2 [`43a96cc`](https://github.com/oceanprotocol/ocean-lib-js/commit/43a96cc9c3570d306528aa4683cba3da6ba2a1bd) -- fix test spy [`cde752f`](https://github.com/oceanprotocol/ocean-lib-js/commit/cde752f4ae6927ce5acd680bea27f23325e8de02) -- dt check [`fc534c3`](https://github.com/oceanprotocol/ocean-lib-js/commit/fc534c3ce9d25a20774bdb9f29166d39add840c2) +- Fix asset create [`#320`](https://github.com/oceanprotocol/ocean.js/pull/320) +- Bump decimal.js from 10.2.0 to 10.2.1 [`#317`](https://github.com/oceanprotocol/ocean.js/pull/317) +- Bump @typescript-eslint/eslint-plugin from 4.2.0 to 4.3.0 [`#318`](https://github.com/oceanprotocol/ocean.js/pull/318) +- Bump @typescript-eslint/parser from 4.2.0 to 4.3.0 [`#319`](https://github.com/oceanprotocol/ocean.js/pull/319) +- Bump eslint from 7.9.0 to 7.10.0 [`#314`](https://github.com/oceanprotocol/ocean.js/pull/314) +- Bump eslint-config-prettier from 6.11.0 to 6.12.0 [`#313`](https://github.com/oceanprotocol/ocean.js/pull/313) +- Release 0.3.2 [`43a96cc`](https://github.com/oceanprotocol/ocean.js/commit/43a96cc9c3570d306528aa4683cba3da6ba2a1bd) +- fix test spy [`cde752f`](https://github.com/oceanprotocol/ocean.js/commit/cde752f4ae6927ce5acd680bea27f23325e8de02) +- dt check [`fc534c3`](https://github.com/oceanprotocol/ocean.js/commit/fc534c3ce9d25a20774bdb9f29166d39add840c2) -#### [v0.3.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.3.0...v0.3.1) +#### [v0.3.1](https://github.com/oceanprotocol/ocean.js/compare/v0.3.0...v0.3.1) > 25 September 2020 -- replace lzma library [`#311`](https://github.com/oceanprotocol/ocean-lib-js/pull/311) -- refactor getting local contract addresses [`#312`](https://github.com/oceanprotocol/ocean-lib-js/pull/312) -- make it work with lzma-native [`2896a8e`](https://github.com/oceanprotocol/ocean-lib-js/commit/2896a8e24f8469e2590ccdab13c45c8c3a942a8e) -- test lz-string [`7188f33`](https://github.com/oceanprotocol/ocean-lib-js/commit/7188f337076278ea4ca52c9e9401b37d8e035196) -- use limited, compress-only version of lzma.js [`3b8858a`](https://github.com/oceanprotocol/ocean-lib-js/commit/3b8858a201329fc3489b0d72ebfd86e5e0362003) +- replace lzma library [`#311`](https://github.com/oceanprotocol/ocean.js/pull/311) +- refactor getting local contract addresses [`#312`](https://github.com/oceanprotocol/ocean.js/pull/312) +- make it work with lzma-native [`2896a8e`](https://github.com/oceanprotocol/ocean.js/commit/2896a8e24f8469e2590ccdab13c45c8c3a942a8e) +- test lz-string [`7188f33`](https://github.com/oceanprotocol/ocean.js/commit/7188f337076278ea4ca52c9e9401b37d8e035196) +- use limited, compress-only version of lzma.js [`3b8858a`](https://github.com/oceanprotocol/ocean.js/commit/3b8858a201329fc3489b0d72ebfd86e5e0362003) -#### [v0.3.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.2.5...v0.3.0) +#### [v0.3.0](https://github.com/oceanprotocol/ocean.js/compare/v0.2.5...v0.3.0) > 23 September 2020 -- fix getOwnerAssets response [`#308`](https://github.com/oceanprotocol/ocean-lib-js/pull/308) -- use dtAddress as did, update metadata contract [`#309`](https://github.com/oceanprotocol/ocean-lib-js/pull/309) -- Feature/custom provider [`#288`](https://github.com/oceanprotocol/ocean-lib-js/pull/288) -- Bump @typescript-eslint/parser from 4.1.1 to 4.2.0 [`#303`](https://github.com/oceanprotocol/ocean-lib-js/pull/303) -- add data token address validity check [`#296`](https://github.com/oceanprotocol/ocean-lib-js/pull/296) -- Bump typedoc from 0.19.1 to 0.19.2 [`#305`](https://github.com/oceanprotocol/ocean-lib-js/pull/305) -- Bump @types/node from 14.11.1 to 14.11.2 [`#306`](https://github.com/oceanprotocol/ocean-lib-js/pull/306) -- Bump @typescript-eslint/eslint-plugin from 4.1.1 to 4.2.0 [`#304`](https://github.com/oceanprotocol/ocean-lib-js/pull/304) -- Bump typescript from 4.0.2 to 4.0.3 [`#302`](https://github.com/oceanprotocol/ocean-lib-js/pull/302) -- Bump auto-changelog from 2.2.0 to 2.2.1 [`#301`](https://github.com/oceanprotocol/ocean-lib-js/pull/301) -- Bump @types/node from 14.10.2 to 14.11.1 [`#294`](https://github.com/oceanprotocol/ocean-lib-js/pull/294) -- Bump @truffle/hdwallet-provider from 1.0.44 to 1.1.0 [`#295`](https://github.com/oceanprotocol/ocean-lib-js/pull/295) -- add startOrder [`#271`](https://github.com/oceanprotocol/ocean-lib-js/pull/271) -- Feature/decentralized ddo (based on feature/StartOrder) [`#287`](https://github.com/oceanprotocol/ocean-lib-js/pull/287) -- add decentralized DDO [`c37c169`](https://github.com/oceanprotocol/ocean-lib-js/commit/c37c169d6af78c1cfd67130ba48d41a9a70b9a77) -- add edit helpers [`323e57e`](https://github.com/oceanprotocol/ocean-lib-js/commit/323e57e6f4fbe82d4195653e1027795a54825981) -- use custom provider [`8665649`](https://github.com/oceanprotocol/ocean-lib-js/commit/86656490d8b0e295dbd06da1ca0036b07dd62d1c) +- fix getOwnerAssets response [`#308`](https://github.com/oceanprotocol/ocean.js/pull/308) +- use dtAddress as did, update metadata contract [`#309`](https://github.com/oceanprotocol/ocean.js/pull/309) +- Feature/custom provider [`#288`](https://github.com/oceanprotocol/ocean.js/pull/288) +- Bump @typescript-eslint/parser from 4.1.1 to 4.2.0 [`#303`](https://github.com/oceanprotocol/ocean.js/pull/303) +- add data token address validity check [`#296`](https://github.com/oceanprotocol/ocean.js/pull/296) +- Bump typedoc from 0.19.1 to 0.19.2 [`#305`](https://github.com/oceanprotocol/ocean.js/pull/305) +- Bump @types/node from 14.11.1 to 14.11.2 [`#306`](https://github.com/oceanprotocol/ocean.js/pull/306) +- Bump @typescript-eslint/eslint-plugin from 4.1.1 to 4.2.0 [`#304`](https://github.com/oceanprotocol/ocean.js/pull/304) +- Bump typescript from 4.0.2 to 4.0.3 [`#302`](https://github.com/oceanprotocol/ocean.js/pull/302) +- Bump auto-changelog from 2.2.0 to 2.2.1 [`#301`](https://github.com/oceanprotocol/ocean.js/pull/301) +- Bump @types/node from 14.10.2 to 14.11.1 [`#294`](https://github.com/oceanprotocol/ocean.js/pull/294) +- Bump @truffle/hdwallet-provider from 1.0.44 to 1.1.0 [`#295`](https://github.com/oceanprotocol/ocean.js/pull/295) +- add startOrder [`#271`](https://github.com/oceanprotocol/ocean.js/pull/271) +- Feature/decentralized ddo (based on feature/StartOrder) [`#287`](https://github.com/oceanprotocol/ocean.js/pull/287) +- add decentralized DDO [`c37c169`](https://github.com/oceanprotocol/ocean.js/commit/c37c169d6af78c1cfd67130ba48d41a9a70b9a77) +- add edit helpers [`323e57e`](https://github.com/oceanprotocol/ocean.js/commit/323e57e6f4fbe82d4195653e1027795a54825981) +- use custom provider [`8665649`](https://github.com/oceanprotocol/ocean.js/commit/86656490d8b0e295dbd06da1ca0036b07dd62d1c) -#### [v0.2.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.2.4...v0.2.5) +#### [v0.2.5](https://github.com/oceanprotocol/ocean.js/compare/v0.2.4...v0.2.5) > 16 September 2020 -- Bump web3 from 1.2.11 to 1.3.0 [`#282`](https://github.com/oceanprotocol/ocean-lib-js/pull/282) -- Bump @types/node from 14.10.1 to 14.10.2 [`#281`](https://github.com/oceanprotocol/ocean-lib-js/pull/281) -- Bump prettier from 2.1.1 to 2.1.2 [`#283`](https://github.com/oceanprotocol/ocean-lib-js/pull/283) -- Bump @typescript-eslint/eslint-plugin from 4.1.0 to 4.1.1 [`#274`](https://github.com/oceanprotocol/ocean-lib-js/pull/274) -- Bump @typescript-eslint/parser from 4.1.0 to 4.1.1 [`#275`](https://github.com/oceanprotocol/ocean-lib-js/pull/275) -- Bump release-it from 14.0.2 to 14.0.3 [`#276`](https://github.com/oceanprotocol/ocean-lib-js/pull/276) -- Bump @types/node from 14.10.0 to 14.10.1 [`#273`](https://github.com/oceanprotocol/ocean-lib-js/pull/273) -- Bump eslint from 7.8.1 to 7.9.0 [`#272`](https://github.com/oceanprotocol/ocean-lib-js/pull/272) -- Bump @types/node from 14.6.4 to 14.10.0 [`#269`](https://github.com/oceanprotocol/ocean-lib-js/pull/269) -- Bump @truffle/hdwallet-provider from 1.0.43 to 1.0.44 [`#268`](https://github.com/oceanprotocol/ocean-lib-js/pull/268) -- bump web3-eth-contract [`132d89e`](https://github.com/oceanprotocol/ocean-lib-js/commit/132d89e302188f404e6003d29845eedc0e02f3d7) -- Release 0.2.5 [`e3e2108`](https://github.com/oceanprotocol/ocean-lib-js/commit/e3e210865d624e8c5f4dff6af6b04f6d81209cb4) +- Bump web3 from 1.2.11 to 1.3.0 [`#282`](https://github.com/oceanprotocol/ocean.js/pull/282) +- Bump @types/node from 14.10.1 to 14.10.2 [`#281`](https://github.com/oceanprotocol/ocean.js/pull/281) +- Bump prettier from 2.1.1 to 2.1.2 [`#283`](https://github.com/oceanprotocol/ocean.js/pull/283) +- Bump @typescript-eslint/eslint-plugin from 4.1.0 to 4.1.1 [`#274`](https://github.com/oceanprotocol/ocean.js/pull/274) +- Bump @typescript-eslint/parser from 4.1.0 to 4.1.1 [`#275`](https://github.com/oceanprotocol/ocean.js/pull/275) +- Bump release-it from 14.0.2 to 14.0.3 [`#276`](https://github.com/oceanprotocol/ocean.js/pull/276) +- Bump @types/node from 14.10.0 to 14.10.1 [`#273`](https://github.com/oceanprotocol/ocean.js/pull/273) +- Bump eslint from 7.8.1 to 7.9.0 [`#272`](https://github.com/oceanprotocol/ocean.js/pull/272) +- Bump @types/node from 14.6.4 to 14.10.0 [`#269`](https://github.com/oceanprotocol/ocean.js/pull/269) +- Bump @truffle/hdwallet-provider from 1.0.43 to 1.0.44 [`#268`](https://github.com/oceanprotocol/ocean.js/pull/268) +- bump web3-eth-contract [`132d89e`](https://github.com/oceanprotocol/ocean.js/commit/132d89e302188f404e6003d29845eedc0e02f3d7) +- Release 0.2.5 [`e3e2108`](https://github.com/oceanprotocol/ocean.js/commit/e3e210865d624e8c5f4dff6af6b04f6d81209cb4) -#### [v0.2.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.2.3...v0.2.4) +#### [v0.2.4](https://github.com/oceanprotocol/ocean.js/compare/v0.2.3...v0.2.4) > 10 September 2020 -- Fix/check in searchForDT [`#267`](https://github.com/oceanprotocol/ocean-lib-js/pull/267) -- Release 0.2.4 [`57e8014`](https://github.com/oceanprotocol/ocean-lib-js/commit/57e8014060c9388d9aefc281611676a7dae8bdec) -- add more unit tests [`dafbb1a`](https://github.com/oceanprotocol/ocean-lib-js/commit/dafbb1a6ce33dccb616406d18d9b639b794c7f76) -- fix lint [`d6053d5`](https://github.com/oceanprotocol/ocean-lib-js/commit/d6053d5dbb98e39f5e630737a6c756bc2459b5fe) +- Fix/check in searchForDT [`#267`](https://github.com/oceanprotocol/ocean.js/pull/267) +- Release 0.2.4 [`57e8014`](https://github.com/oceanprotocol/ocean.js/commit/57e8014060c9388d9aefc281611676a7dae8bdec) +- add more unit tests [`dafbb1a`](https://github.com/oceanprotocol/ocean.js/commit/dafbb1a6ce33dccb616406d18d9b639b794c7f76) +- fix lint [`d6053d5`](https://github.com/oceanprotocol/ocean.js/commit/d6053d5dbb98e39f5e630737a6c756bc2459b5fe) -#### [v0.2.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.2.2...v0.2.3) +#### [v0.2.3](https://github.com/oceanprotocol/ocean.js/compare/v0.2.2...v0.2.3) > 9 September 2020 -- increase default gas [`#266`](https://github.com/oceanprotocol/ocean-lib-js/pull/266) -- Release 0.2.3 [`6932dfd`](https://github.com/oceanprotocol/ocean-lib-js/commit/6932dfd7703292df1bcf7a02d3ef5a4bbd7f83b9) -- hardcode create gas limit [`a2decb0`](https://github.com/oceanprotocol/ocean-lib-js/commit/a2decb0f1a34f533900f9072b181dec8b57813e5) -- lint [`99c6716`](https://github.com/oceanprotocol/ocean-lib-js/commit/99c67168213485929d9913dd8fbc98e98fc2d23f) +- increase default gas [`#266`](https://github.com/oceanprotocol/ocean.js/pull/266) +- Release 0.2.3 [`6932dfd`](https://github.com/oceanprotocol/ocean.js/commit/6932dfd7703292df1bcf7a02d3ef5a4bbd7f83b9) +- hardcode create gas limit [`a2decb0`](https://github.com/oceanprotocol/ocean.js/commit/a2decb0f1a34f533900f9072b181dec8b57813e5) +- lint [`99c6716`](https://github.com/oceanprotocol/ocean.js/commit/99c67168213485929d9913dd8fbc98e98fc2d23f) -#### [v0.2.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.2.1...v0.2.2) +#### [v0.2.2](https://github.com/oceanprotocol/ocean.js/compare/v0.2.1...v0.2.2) > 9 September 2020 -- refactor config helper [`#263`](https://github.com/oceanprotocol/ocean-lib-js/pull/263) -- More typings fixes [`#262`](https://github.com/oceanprotocol/ocean-lib-js/pull/262) -- run against latest Node.js [`#261`](https://github.com/oceanprotocol/ocean-lib-js/pull/261) -- test tweaks [`455983f`](https://github.com/oceanprotocol/ocean-lib-js/commit/455983f7b63ec084fd5029b5852ad5cdbe5c9471) -- more pool tests [`6f85014`](https://github.com/oceanprotocol/ocean-lib-js/commit/6f85014e0016e683e5dc5f69a809ddc489951ba7) -- lots of typings [`d154cff`](https://github.com/oceanprotocol/ocean-lib-js/commit/d154cffc178388edd223d68b16528d4d908869ee) +- refactor config helper [`#263`](https://github.com/oceanprotocol/ocean.js/pull/263) +- More typings fixes [`#262`](https://github.com/oceanprotocol/ocean.js/pull/262) +- run against latest Node.js [`#261`](https://github.com/oceanprotocol/ocean.js/pull/261) +- test tweaks [`455983f`](https://github.com/oceanprotocol/ocean.js/commit/455983f7b63ec084fd5029b5852ad5cdbe5c9471) +- more pool tests [`6f85014`](https://github.com/oceanprotocol/ocean.js/commit/6f85014e0016e683e5dc5f69a809ddc489951ba7) +- lots of typings [`d154cff`](https://github.com/oceanprotocol/ocean.js/commit/d154cffc178388edd223d68b16528d4d908869ee) -#### [v0.2.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.2.0...v0.2.1) +#### [v0.2.1](https://github.com/oceanprotocol/ocean.js/compare/v0.2.0...v0.2.1) > 8 September 2020 -- Remove queryMetadataByText() [`#260`](https://github.com/oceanprotocol/ocean-lib-js/pull/260) -- Bump @typescript-eslint/eslint-plugin from 4.0.1 to 4.1.0 [`#258`](https://github.com/oceanprotocol/ocean-lib-js/pull/258) -- Bump @typescript-eslint/parser from 4.0.1 to 4.1.0 [`#259`](https://github.com/oceanprotocol/ocean-lib-js/pull/259) -- remove queryMetadataByText() [`971af55`](https://github.com/oceanprotocol/ocean-lib-js/commit/971af5522dd5e2995b59f4c83afb60ffb87901f5) -- more test fixes [`f8c1cff`](https://github.com/oceanprotocol/ocean-lib-js/commit/f8c1cfff7b226d571b680bc0876d5af0ec8b3240) -- test updates [`47d1f4d`](https://github.com/oceanprotocol/ocean-lib-js/commit/47d1f4d01064d54892bb74a4f1c47dd837c3b1f3) +- Remove queryMetadataByText() [`#260`](https://github.com/oceanprotocol/ocean.js/pull/260) +- Bump @typescript-eslint/eslint-plugin from 4.0.1 to 4.1.0 [`#258`](https://github.com/oceanprotocol/ocean.js/pull/258) +- Bump @typescript-eslint/parser from 4.0.1 to 4.1.0 [`#259`](https://github.com/oceanprotocol/ocean.js/pull/259) +- remove queryMetadataByText() [`971af55`](https://github.com/oceanprotocol/ocean.js/commit/971af5522dd5e2995b59f4c83afb60ffb87901f5) +- more test fixes [`f8c1cff`](https://github.com/oceanprotocol/ocean.js/commit/f8c1cfff7b226d571b680bc0876d5af0ec8b3240) +- test updates [`47d1f4d`](https://github.com/oceanprotocol/ocean.js/commit/47d1f4d01064d54892bb74a4f1c47dd837c3b1f3) -#### [v0.2.0](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.17...v0.2.0) +#### [v0.2.0](https://github.com/oceanprotocol/ocean.js/compare/v0.1.17...v0.2.0) > 7 September 2020 -- Test coverage setup [`#252`](https://github.com/oceanprotocol/ocean-lib-js/pull/252) -- Auto-generating data token name [`#250`](https://github.com/oceanprotocol/ocean-lib-js/pull/250) -- Bump @types/node from 14.6.3 to 14.6.4 [`#251`](https://github.com/oceanprotocol/ocean-lib-js/pull/251) -- Bump @types/node from 14.6.2 to 14.6.3 [`#249`](https://github.com/oceanprotocol/ocean-lib-js/pull/249) -- Bump eslint from 7.8.0 to 7.8.1 [`#245`](https://github.com/oceanprotocol/ocean-lib-js/pull/245) -- Bump @types/chai-spies from 1.0.1 to 1.0.2 [`#244`](https://github.com/oceanprotocol/ocean-lib-js/pull/244) -- package updates [`694314c`](https://github.com/oceanprotocol/ocean-lib-js/commit/694314cae6d833ded2eea6484e9b75196675cf91) -- fix release-it dependency [`4f9477e`](https://github.com/oceanprotocol/ocean-lib-js/commit/4f9477e5ba9b0df44a642c0d6017df5015ba7d93) -- more running unit tests [`0355d04`](https://github.com/oceanprotocol/ocean-lib-js/commit/0355d0420d53786eb8d4259f642190157736d486) +- Test coverage setup [`#252`](https://github.com/oceanprotocol/ocean.js/pull/252) +- Auto-generating data token name [`#250`](https://github.com/oceanprotocol/ocean.js/pull/250) +- Bump @types/node from 14.6.3 to 14.6.4 [`#251`](https://github.com/oceanprotocol/ocean.js/pull/251) +- Bump @types/node from 14.6.2 to 14.6.3 [`#249`](https://github.com/oceanprotocol/ocean.js/pull/249) +- Bump eslint from 7.8.0 to 7.8.1 [`#245`](https://github.com/oceanprotocol/ocean.js/pull/245) +- Bump @types/chai-spies from 1.0.1 to 1.0.2 [`#244`](https://github.com/oceanprotocol/ocean.js/pull/244) +- package updates [`694314c`](https://github.com/oceanprotocol/ocean.js/commit/694314cae6d833ded2eea6484e9b75196675cf91) +- fix release-it dependency [`4f9477e`](https://github.com/oceanprotocol/ocean.js/commit/4f9477e5ba9b0df44a642c0d6017df5015ba7d93) +- more running unit tests [`0355d04`](https://github.com/oceanprotocol/ocean.js/commit/0355d0420d53786eb8d4259f642190157736d486) -#### [v0.1.17](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.16...v0.1.17) +#### [v0.1.17](https://github.com/oceanprotocol/ocean.js/compare/v0.1.16...v0.1.17) > 1 September 2020 -- FixedPriceExchange [`#231`](https://github.com/oceanprotocol/ocean-lib-js/pull/231) -- Bump @typescript-eslint/eslint-plugin from 3.10.1 to 4.0.0 [`#242`](https://github.com/oceanprotocol/ocean-lib-js/pull/242) -- Bump eslint from 7.7.0 to 7.8.0 [`#240`](https://github.com/oceanprotocol/ocean-lib-js/pull/240) -- Bump mocha from 8.1.2 to 8.1.3 [`#237`](https://github.com/oceanprotocol/ocean-lib-js/pull/237) -- Bump @types/node from 14.6.1 to 14.6.2 [`#238`](https://github.com/oceanprotocol/ocean-lib-js/pull/238) -- Bump typedoc from 0.18.0 to 0.19.0 [`#236`](https://github.com/oceanprotocol/ocean-lib-js/pull/236) -- first cut, tests are failing [`cc6cf43`](https://github.com/oceanprotocol/ocean-lib-js/commit/cc6cf435fe7ae052467e2b69c3ecf8429b66bc99) -- add more tests [`22ab447`](https://github.com/oceanprotocol/ocean-lib-js/commit/22ab44713d21d92eaf9319be26af254c165af6b5) -- update to contracts 0.4.0 [`220261c`](https://github.com/oceanprotocol/ocean-lib-js/commit/220261cada63aedc5e7f71fb41f17a73838fd657) +- FixedPriceExchange [`#231`](https://github.com/oceanprotocol/ocean.js/pull/231) +- Bump @typescript-eslint/eslint-plugin from 3.10.1 to 4.0.0 [`#242`](https://github.com/oceanprotocol/ocean.js/pull/242) +- Bump eslint from 7.7.0 to 7.8.0 [`#240`](https://github.com/oceanprotocol/ocean.js/pull/240) +- Bump mocha from 8.1.2 to 8.1.3 [`#237`](https://github.com/oceanprotocol/ocean.js/pull/237) +- Bump @types/node from 14.6.1 to 14.6.2 [`#238`](https://github.com/oceanprotocol/ocean.js/pull/238) +- Bump typedoc from 0.18.0 to 0.19.0 [`#236`](https://github.com/oceanprotocol/ocean.js/pull/236) +- first cut, tests are failing [`cc6cf43`](https://github.com/oceanprotocol/ocean.js/commit/cc6cf435fe7ae052467e2b69c3ecf8429b66bc99) +- add more tests [`22ab447`](https://github.com/oceanprotocol/ocean.js/commit/22ab44713d21d92eaf9319be26af254c165af6b5) +- update to contracts 0.4.0 [`220261c`](https://github.com/oceanprotocol/ocean.js/commit/220261cada63aedc5e7f71fb41f17a73838fd657) -#### [v0.1.16](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.15...v0.1.16) +#### [v0.1.16](https://github.com/oceanprotocol/ocean.js/compare/v0.1.15...v0.1.16) > 28 August 2020 -- fix sharesBalance [`#235`](https://github.com/oceanprotocol/ocean-lib-js/pull/235) -- pool transaction typings [`#234`](https://github.com/oceanprotocol/ocean-lib-js/pull/234) -- Bump @truffle/hdwallet-provider from 1.0.42 to 1.0.43 [`#232`](https://github.com/oceanprotocol/ocean-lib-js/pull/232) -- Bump @types/node from 14.6.0 to 14.6.1 [`#233`](https://github.com/oceanprotocol/ocean-lib-js/pull/233) -- feature/setup-pool [`#230`](https://github.com/oceanprotocol/ocean-lib-js/pull/230) -- Bump ts-node from 8.10.2 to 9.0.0 [`#220`](https://github.com/oceanprotocol/ocean-lib-js/pull/220) -- Bump whatwg-url from 8.1.0 to 8.2.1 [`#225`](https://github.com/oceanprotocol/ocean-lib-js/pull/225) -- Bump @typescript-eslint/eslint-plugin from 3.9.1 to 3.10.1 [`#226`](https://github.com/oceanprotocol/ocean-lib-js/pull/226) -- Bump mocha from 8.1.1 to 8.1.2 [`#229`](https://github.com/oceanprotocol/ocean-lib-js/pull/229) -- Bump prettier from 2.0.5 to 2.1.1 [`#228`](https://github.com/oceanprotocol/ocean-lib-js/pull/228) -- Bump @typescript-eslint/parser from 3.9.1 to 3.10.1 [`#227`](https://github.com/oceanprotocol/ocean-lib-js/pull/227) -- Bump typescript from 3.9.7 to 4.0.2 [`#219`](https://github.com/oceanprotocol/ocean-lib-js/pull/219) -- use solidity setup pool function when creating new pool. [`d47a9f0`](https://github.com/oceanprotocol/ocean-lib-js/commit/d47a9f02a65342a682b904b28100ac376c61d290) -- Fix lint issues. [`5af50c4`](https://github.com/oceanprotocol/ocean-lib-js/commit/5af50c4c9297c2b98124ae609ff61a0c32626958) -- pool typings [`6584023`](https://github.com/oceanprotocol/ocean-lib-js/commit/65840235704bdd9f2e0b07418e65addcc86849ba) +- fix sharesBalance [`#235`](https://github.com/oceanprotocol/ocean.js/pull/235) +- pool transaction typings [`#234`](https://github.com/oceanprotocol/ocean.js/pull/234) +- Bump @truffle/hdwallet-provider from 1.0.42 to 1.0.43 [`#232`](https://github.com/oceanprotocol/ocean.js/pull/232) +- Bump @types/node from 14.6.0 to 14.6.1 [`#233`](https://github.com/oceanprotocol/ocean.js/pull/233) +- feature/setup-pool [`#230`](https://github.com/oceanprotocol/ocean.js/pull/230) +- Bump ts-node from 8.10.2 to 9.0.0 [`#220`](https://github.com/oceanprotocol/ocean.js/pull/220) +- Bump whatwg-url from 8.1.0 to 8.2.1 [`#225`](https://github.com/oceanprotocol/ocean.js/pull/225) +- Bump @typescript-eslint/eslint-plugin from 3.9.1 to 3.10.1 [`#226`](https://github.com/oceanprotocol/ocean.js/pull/226) +- Bump mocha from 8.1.1 to 8.1.2 [`#229`](https://github.com/oceanprotocol/ocean.js/pull/229) +- Bump prettier from 2.0.5 to 2.1.1 [`#228`](https://github.com/oceanprotocol/ocean.js/pull/228) +- Bump @typescript-eslint/parser from 3.9.1 to 3.10.1 [`#227`](https://github.com/oceanprotocol/ocean.js/pull/227) +- Bump typescript from 3.9.7 to 4.0.2 [`#219`](https://github.com/oceanprotocol/ocean.js/pull/219) +- use solidity setup pool function when creating new pool. [`d47a9f0`](https://github.com/oceanprotocol/ocean.js/commit/d47a9f02a65342a682b904b28100ac376c61d290) +- Fix lint issues. [`5af50c4`](https://github.com/oceanprotocol/ocean.js/commit/5af50c4c9297c2b98124ae609ff61a0c32626958) +- pool typings [`6584023`](https://github.com/oceanprotocol/ocean.js/commit/65840235704bdd9f2e0b07418e65addcc86849ba) -#### [v0.1.15](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.14...v0.1.15) +#### [v0.1.15](https://github.com/oceanprotocol/ocean.js/compare/v0.1.14...v0.1.15) > 20 August 2020 -- add ocean.pool.totalSupply() [`#218`](https://github.com/oceanprotocol/ocean-lib-js/pull/218) -- refactor [`af7964c`](https://github.com/oceanprotocol/ocean-lib-js/commit/af7964ca84394574fb78fece1ca75a6799746fc8) -- simplification, make it work [`dee24e8`](https://github.com/oceanprotocol/ocean-lib-js/commit/dee24e87a3081373e055422702cff7633ad95131) -- Release 0.1.15 [`3607f49`](https://github.com/oceanprotocol/ocean-lib-js/commit/3607f49472352c11f14cfb95f5182f9c6254adfe) +- add ocean.pool.totalSupply() [`#218`](https://github.com/oceanprotocol/ocean.js/pull/218) +- refactor [`af7964c`](https://github.com/oceanprotocol/ocean.js/commit/af7964ca84394574fb78fece1ca75a6799746fc8) +- simplification, make it work [`dee24e8`](https://github.com/oceanprotocol/ocean.js/commit/dee24e87a3081373e055422702cff7633ad95131) +- Release 0.1.15 [`3607f49`](https://github.com/oceanprotocol/ocean.js/commit/3607f49472352c11f14cfb95f5182f9c6254adfe) -#### [v0.1.14](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.13...v0.1.14) +#### [v0.1.14](https://github.com/oceanprotocol/ocean.js/compare/v0.1.13...v0.1.14) > 19 August 2020 -- fix getDTPrice [`#217`](https://github.com/oceanprotocol/ocean-lib-js/pull/217) -- Release 0.1.14 [`8667e33`](https://github.com/oceanprotocol/ocean-lib-js/commit/8667e3396d6c74440e64de7a3a98f7def281030f) +- fix getDTPrice [`#217`](https://github.com/oceanprotocol/ocean.js/pull/217) +- Release 0.1.14 [`8667e33`](https://github.com/oceanprotocol/ocean.js/commit/8667e3396d6c74440e64de7a3a98f7def281030f) -#### [v0.1.13](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.12...v0.1.13) +#### [v0.1.13](https://github.com/oceanprotocol/ocean.js/compare/v0.1.12...v0.1.13) > 19 August 2020 -- pool docs updates, small refactor [`#216`](https://github.com/oceanprotocol/ocean-lib-js/pull/216) -- Bump @oceanprotocol/contracts from 0.3.4 to 0.3.5 [`#215`](https://github.com/oceanprotocol/ocean-lib-js/pull/215) -- remove balancer artifacts [`7cf85f6`](https://github.com/oceanprotocol/ocean-lib-js/commit/7cf85f6392bf2e12f95d834dfde0159af519718c) -- lots of ABI typings [`bbd4659`](https://github.com/oceanprotocol/ocean-lib-js/commit/bbd465992b25e824d5c8b8934ce2fa61629ed8dc) -- never stop typing [`76423a4`](https://github.com/oceanprotocol/ocean-lib-js/commit/76423a4ff84f1bdcf0a57af2ed2ad9acce5a5ea6) +- pool docs updates, small refactor [`#216`](https://github.com/oceanprotocol/ocean.js/pull/216) +- Bump @oceanprotocol/contracts from 0.3.4 to 0.3.5 [`#215`](https://github.com/oceanprotocol/ocean.js/pull/215) +- remove balancer artifacts [`7cf85f6`](https://github.com/oceanprotocol/ocean.js/commit/7cf85f6392bf2e12f95d834dfde0159af519718c) +- lots of ABI typings [`bbd4659`](https://github.com/oceanprotocol/ocean.js/commit/bbd465992b25e824d5c8b8934ce2fa61629ed8dc) +- never stop typing [`76423a4`](https://github.com/oceanprotocol/ocean.js/commit/76423a4ff84f1bdcf0a57af2ed2ad9acce5a5ea6) -#### [v0.1.12](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.11...v0.1.12) +#### [v0.1.12](https://github.com/oceanprotocol/ocean.js/compare/v0.1.11...v0.1.12) > 18 August 2020 -- artifacts path fix [`#213`](https://github.com/oceanprotocol/ocean-lib-js/pull/213) -- package updates & lots of typing fixes [`#210`](https://github.com/oceanprotocol/ocean-lib-js/pull/210) -- Bump @types/node from 14.0.26 to 14.6.0 [`#211`](https://github.com/oceanprotocol/ocean-lib-js/pull/211) -- Bump @types/mocha from 8.0.2 to 8.0.3 [`#212`](https://github.com/oceanprotocol/ocean-lib-js/pull/212) -- added chainId in configs [`#204`](https://github.com/oceanprotocol/ocean-lib-js/pull/204) -- Bump @types/mocha from 8.0.1 to 8.0.2 [`#207`](https://github.com/oceanprotocol/ocean-lib-js/pull/207) -- Bump typedoc from 0.17.8 to 0.18.0 [`#202`](https://github.com/oceanprotocol/ocean-lib-js/pull/202) -- Bump @truffle/hdwallet-provider from 1.0.40 to 1.0.42 [`#203`](https://github.com/oceanprotocol/ocean-lib-js/pull/203) -- Bump ora from 4.1.0 to 5.0.0 [`#201`](https://github.com/oceanprotocol/ocean-lib-js/pull/201) -- Bump ora from 4.0.5 to 4.1.0 [`#200`](https://github.com/oceanprotocol/ocean-lib-js/pull/200) -- Bump mocha from 8.1.0 to 8.1.1 [`#199`](https://github.com/oceanprotocol/ocean-lib-js/pull/199) -- formatting and typings and lint fixes [`7b1403c`](https://github.com/oceanprotocol/ocean-lib-js/commit/7b1403c8546c09f657bc68cf6307f02641c67899) -- package updates [`ea5f505`](https://github.com/oceanprotocol/ocean-lib-js/commit/ea5f505edf685d4efb5fb581e8ecb4849989560d) -- formatting [`dcdd40b`](https://github.com/oceanprotocol/ocean-lib-js/commit/dcdd40bd2d2e84058b889709f77c08bead14b299) +- artifacts path fix [`#213`](https://github.com/oceanprotocol/ocean.js/pull/213) +- package updates & lots of typing fixes [`#210`](https://github.com/oceanprotocol/ocean.js/pull/210) +- Bump @types/node from 14.0.26 to 14.6.0 [`#211`](https://github.com/oceanprotocol/ocean.js/pull/211) +- Bump @types/mocha from 8.0.2 to 8.0.3 [`#212`](https://github.com/oceanprotocol/ocean.js/pull/212) +- added chainId in configs [`#204`](https://github.com/oceanprotocol/ocean.js/pull/204) +- Bump @types/mocha from 8.0.1 to 8.0.2 [`#207`](https://github.com/oceanprotocol/ocean.js/pull/207) +- Bump typedoc from 0.17.8 to 0.18.0 [`#202`](https://github.com/oceanprotocol/ocean.js/pull/202) +- Bump @truffle/hdwallet-provider from 1.0.40 to 1.0.42 [`#203`](https://github.com/oceanprotocol/ocean.js/pull/203) +- Bump ora from 4.1.0 to 5.0.0 [`#201`](https://github.com/oceanprotocol/ocean.js/pull/201) +- Bump ora from 4.0.5 to 4.1.0 [`#200`](https://github.com/oceanprotocol/ocean.js/pull/200) +- Bump mocha from 8.1.0 to 8.1.1 [`#199`](https://github.com/oceanprotocol/ocean.js/pull/199) +- formatting and typings and lint fixes [`7b1403c`](https://github.com/oceanprotocol/ocean.js/commit/7b1403c8546c09f657bc68cf6307f02641c67899) +- package updates [`ea5f505`](https://github.com/oceanprotocol/ocean.js/commit/ea5f505edf685d4efb5fb581e8ecb4849989560d) +- formatting [`dcdd40b`](https://github.com/oceanprotocol/ocean.js/commit/dcdd40bd2d2e84058b889709f77c08bead14b299) -#### [v0.1.11](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.10...v0.1.11) +#### [v0.1.11](https://github.com/oceanprotocol/ocean.js/compare/v0.1.10...v0.1.11) > 4 August 2020 -- add getOceanNeeded [`#197`](https://github.com/oceanprotocol/ocean-lib-js/pull/197) -- Bump @types/mocha from 8.0.0 to 8.0.1 [`#196`](https://github.com/oceanprotocol/ocean-lib-js/pull/196) -- Bump mocha from 8.0.1 to 8.1.0 [`#195`](https://github.com/oceanprotocol/ocean-lib-js/pull/195) -- Release 0.1.11 [`c2d49a4`](https://github.com/oceanprotocol/ocean-lib-js/commit/c2d49a4e3c6cdcbdf588f46bfec4a2dd88eb5f37) +- add getOceanNeeded [`#197`](https://github.com/oceanprotocol/ocean.js/pull/197) +- Bump @types/mocha from 8.0.0 to 8.0.1 [`#196`](https://github.com/oceanprotocol/ocean.js/pull/196) +- Bump mocha from 8.0.1 to 8.1.0 [`#195`](https://github.com/oceanprotocol/ocean.js/pull/195) +- Release 0.1.11 [`c2d49a4`](https://github.com/oceanprotocol/ocean.js/commit/c2d49a4e3c6cdcbdf588f46bfec4a2dd88eb5f37) -#### [v0.1.10](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.9...v0.1.10) +#### [v0.1.10](https://github.com/oceanprotocol/ocean.js/compare/v0.1.9...v0.1.10) > 30 July 2020 -- add nonce to provider signature [`#194`](https://github.com/oceanprotocol/ocean-lib-js/pull/194) -- Bump @types/node from 14.0.25 to 14.0.26 [`#187`](https://github.com/oceanprotocol/ocean-lib-js/pull/187) -- Bump @truffle/hdwallet-provider from 1.0.39 to 1.0.40 [`#186`](https://github.com/oceanprotocol/ocean-lib-js/pull/186) -- Bump @types/node from 14.0.24 to 14.0.25 [`#185`](https://github.com/oceanprotocol/ocean-lib-js/pull/185) -- Bump @types/chai from 4.2.11 to 4.2.12 [`#184`](https://github.com/oceanprotocol/ocean-lib-js/pull/184) -- Bump mock-local-storage from 1.1.14 to 1.1.15 [`#183`](https://github.com/oceanprotocol/ocean-lib-js/pull/183) -- Release 0.1.10 [`1e19165`](https://github.com/oceanprotocol/ocean-lib-js/commit/1e19165d1fd1f53ba07705ff41b7452f97993732) +- add nonce to provider signature [`#194`](https://github.com/oceanprotocol/ocean.js/pull/194) +- Bump @types/node from 14.0.25 to 14.0.26 [`#187`](https://github.com/oceanprotocol/ocean.js/pull/187) +- Bump @truffle/hdwallet-provider from 1.0.39 to 1.0.40 [`#186`](https://github.com/oceanprotocol/ocean.js/pull/186) +- Bump @types/node from 14.0.24 to 14.0.25 [`#185`](https://github.com/oceanprotocol/ocean.js/pull/185) +- Bump @types/chai from 4.2.11 to 4.2.12 [`#184`](https://github.com/oceanprotocol/ocean.js/pull/184) +- Bump mock-local-storage from 1.1.14 to 1.1.15 [`#183`](https://github.com/oceanprotocol/ocean.js/pull/183) +- Release 0.1.10 [`1e19165`](https://github.com/oceanprotocol/ocean.js/commit/1e19165d1fd1f53ba07705ff41b7452f97993732) -#### [v0.1.9](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.8...v0.1.9) +#### [v0.1.9](https://github.com/oceanprotocol/ocean.js/compare/v0.1.8...v0.1.9) > 22 July 2020 -- allow passing infuraProjectId to getConfig [`#182`](https://github.com/oceanprotocol/ocean-lib-js/pull/182) -- Bump @oceanprotocol/contracts from 0.3.1 to 0.3.3 [`#180`](https://github.com/oceanprotocol/ocean-lib-js/pull/180) -- fix transfers [`#179`](https://github.com/oceanprotocol/ocean-lib-js/pull/179) -- Update Datatokens.ts [`#178`](https://github.com/oceanprotocol/ocean-lib-js/pull/178) -- Feature/balancer [`#138`](https://github.com/oceanprotocol/ocean-lib-js/pull/138) -- refactor [`40a8149`](https://github.com/oceanprotocol/ocean-lib-js/commit/40a8149905fd0023b3f8cb486ddb18121d325ea3) -- first cut [`b42b992`](https://github.com/oceanprotocol/ocean-lib-js/commit/b42b992e84a0c6f8723db3a6f5a8395e71bdd4f9) -- refactor [`7b8f08e`](https://github.com/oceanprotocol/ocean-lib-js/commit/7b8f08e3c13ef2782fc83a9eadefe2f7354df605) +- allow passing infuraProjectId to getConfig [`#182`](https://github.com/oceanprotocol/ocean.js/pull/182) +- Bump @oceanprotocol/contracts from 0.3.1 to 0.3.3 [`#180`](https://github.com/oceanprotocol/ocean.js/pull/180) +- fix transfers [`#179`](https://github.com/oceanprotocol/ocean.js/pull/179) +- Update Datatokens.ts [`#178`](https://github.com/oceanprotocol/ocean.js/pull/178) +- Feature/balancer [`#138`](https://github.com/oceanprotocol/ocean.js/pull/138) +- refactor [`40a8149`](https://github.com/oceanprotocol/ocean.js/commit/40a8149905fd0023b3f8cb486ddb18121d325ea3) +- first cut [`b42b992`](https://github.com/oceanprotocol/ocean.js/commit/b42b992e84a0c6f8723db3a6f5a8395e71bdd4f9) +- refactor [`7b8f08e`](https://github.com/oceanprotocol/ocean.js/commit/7b8f08e3c13ef2782fc83a9eadefe2f7354df605) -#### [v0.1.8](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.7...v0.1.8) +#### [v0.1.8](https://github.com/oceanprotocol/ocean.js/compare/v0.1.7...v0.1.8) > 21 July 2020 -- Bump @types/node from 14.0.23 to 14.0.24 [`#177`](https://github.com/oceanprotocol/ocean-lib-js/pull/177) -- Release 0.1.8 [`6b1bf5b`](https://github.com/oceanprotocol/ocean-lib-js/commit/6b1bf5b0b212e4a83a52c523443f880a71313c7b) -- update factoryAddress [`ffda6cc`](https://github.com/oceanprotocol/ocean-lib-js/commit/ffda6ccd08af26a8cf6af6421bd50bc55c3285da) +- Bump @types/node from 14.0.23 to 14.0.24 [`#177`](https://github.com/oceanprotocol/ocean.js/pull/177) +- Release 0.1.8 [`6b1bf5b`](https://github.com/oceanprotocol/ocean.js/commit/6b1bf5b0b212e4a83a52c523443f880a71313c7b) +- update factoryAddress [`ffda6cc`](https://github.com/oceanprotocol/ocean.js/commit/ffda6ccd08af26a8cf6af6421bd50bc55c3285da) -#### [v0.1.7](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.6...v0.1.7) +#### [v0.1.7](https://github.com/oceanprotocol/ocean.js/compare/v0.1.6...v0.1.7) > 20 July 2020 -- update ocean-contracts version [`#176`](https://github.com/oceanprotocol/ocean-lib-js/pull/176) -- Bump ora from 4.0.4 to 4.0.5 [`#172`](https://github.com/oceanprotocol/ocean-lib-js/pull/172) -- Bump @oceanprotocol/contracts from 0.2.3 to 0.3.0 [`#171`](https://github.com/oceanprotocol/ocean-lib-js/pull/171) -- Bump @truffle/hdwallet-provider from 1.0.38 to 1.0.39 [`#170`](https://github.com/oceanprotocol/ocean-lib-js/pull/170) -- Release 0.1.7 [`7d67fcb`](https://github.com/oceanprotocol/ocean-lib-js/commit/7d67fcb54465380daa01196251f2c8e8a0db17ef) +- update ocean-contracts version [`#176`](https://github.com/oceanprotocol/ocean.js/pull/176) +- Bump ora from 4.0.4 to 4.0.5 [`#172`](https://github.com/oceanprotocol/ocean.js/pull/172) +- Bump @oceanprotocol/contracts from 0.2.3 to 0.3.0 [`#171`](https://github.com/oceanprotocol/ocean.js/pull/171) +- Bump @truffle/hdwallet-provider from 1.0.38 to 1.0.39 [`#170`](https://github.com/oceanprotocol/ocean.js/pull/170) +- Release 0.1.7 [`7d67fcb`](https://github.com/oceanprotocol/ocean.js/commit/7d67fcb54465380daa01196251f2c8e8a0db17ef) -#### [v0.1.6](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.5...v0.1.6) +#### [v0.1.6](https://github.com/oceanprotocol/ocean.js/compare/v0.1.5...v0.1.6) > 17 July 2020 -- revert fetch require [`#169`](https://github.com/oceanprotocol/ocean-lib-js/pull/169) -- Bump typescript from 3.9.6 to 3.9.7 [`#168`](https://github.com/oceanprotocol/ocean-lib-js/pull/168) -- Bump mock-local-storage from 1.1.12 to 1.1.14 [`#167`](https://github.com/oceanprotocol/ocean-lib-js/pull/167) -- Release 0.1.6 [`83bf7c6`](https://github.com/oceanprotocol/ocean-lib-js/commit/83bf7c6e040eb5ddd4c0eaa2a313e56270915e99) +- revert fetch require [`#169`](https://github.com/oceanprotocol/ocean.js/pull/169) +- Bump typescript from 3.9.6 to 3.9.7 [`#168`](https://github.com/oceanprotocol/ocean.js/pull/168) +- Bump mock-local-storage from 1.1.12 to 1.1.14 [`#167`](https://github.com/oceanprotocol/ocean.js/pull/167) +- Release 0.1.6 [`83bf7c6`](https://github.com/oceanprotocol/ocean.js/commit/83bf7c6e040eb5ddd4c0eaa2a313e56270915e99) -#### [v0.1.5](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.4...v0.1.5) +#### [v0.1.5](https://github.com/oceanprotocol/ocean.js/compare/v0.1.4...v0.1.5) > 16 July 2020 -- Fix DDO interfaces typings export [`#165`](https://github.com/oceanprotocol/ocean-lib-js/pull/165) -- add rinkeby to known configs [`#164`](https://github.com/oceanprotocol/ocean-lib-js/pull/164) -- security fixes [`108d794`](https://github.com/oceanprotocol/ocean-lib-js/commit/108d794c2293a4eee3be994b52b77dd508574e75) -- more config helpers [`2426561`](https://github.com/oceanprotocol/ocean-lib-js/commit/24265617b068ace688814f45fcc668749d1a04a5) -- Release 0.1.5 [`c1592eb`](https://github.com/oceanprotocol/ocean-lib-js/commit/c1592eb7b5e7c47d38a5fa1b0a7fb672edd2776f) +- Fix DDO interfaces typings export [`#165`](https://github.com/oceanprotocol/ocean.js/pull/165) +- add rinkeby to known configs [`#164`](https://github.com/oceanprotocol/ocean.js/pull/164) +- security fixes [`108d794`](https://github.com/oceanprotocol/ocean.js/commit/108d794c2293a4eee3be994b52b77dd508574e75) +- more config helpers [`2426561`](https://github.com/oceanprotocol/ocean.js/commit/24265617b068ace688814f45fcc668749d1a04a5) +- Release 0.1.5 [`c1592eb`](https://github.com/oceanprotocol/ocean.js/commit/c1592eb7b5e7c47d38a5fa1b0a7fb672edd2776f) -#### [v0.1.4](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.3...v0.1.4) +#### [v0.1.4](https://github.com/oceanprotocol/ocean.js/compare/v0.1.3...v0.1.4) > 15 July 2020 -- Fix default abi's are not initialized correctly when initializing oceanlib [`#163`](https://github.com/oceanprotocol/ocean-lib-js/pull/163) -- Release 0.1.4 [`8252990`](https://github.com/oceanprotocol/ocean-lib-js/commit/82529909817abe8273396e14165ff7a75d8869ee) -- bump contracts [`faff5f1`](https://github.com/oceanprotocol/ocean-lib-js/commit/faff5f143d541319a5a9d558be70098320ed1620) -- Update README_marketplace_flow.md [`2230098`](https://github.com/oceanprotocol/ocean-lib-js/commit/2230098ca5cfc26a720f212ea6dd37d6619a0e2d) +- Fix default abi's are not initialized correctly when initializing oceanlib [`#163`](https://github.com/oceanprotocol/ocean.js/pull/163) +- Release 0.1.4 [`8252990`](https://github.com/oceanprotocol/ocean.js/commit/82529909817abe8273396e14165ff7a75d8869ee) +- bump contracts [`faff5f1`](https://github.com/oceanprotocol/ocean.js/commit/faff5f143d541319a5a9d558be70098320ed1620) +- Update README_marketplace_flow.md [`2230098`](https://github.com/oceanprotocol/ocean.js/commit/2230098ca5cfc26a720f212ea6dd37d6619a0e2d) -#### [v0.1.3](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.2...v0.1.3) +#### [v0.1.3](https://github.com/oceanprotocol/ocean.js/compare/v0.1.2...v0.1.3) > 15 July 2020 -- always use Strings in Datatoken class [`#161`](https://github.com/oceanprotocol/ocean-lib-js/pull/161) -- Fix ABIs data types [`#159`](https://github.com/oceanprotocol/ocean-lib-js/pull/159) -- add ocean token & any token balance to Account [`#158`](https://github.com/oceanprotocol/ocean-lib-js/pull/158) -- feature/cleanup-test [`#157`](https://github.com/oceanprotocol/ocean-lib-js/pull/157) -- Update .travis.yml [`#155`](https://github.com/oceanprotocol/ocean-lib-js/pull/155) -- Update ConfigHelper.ts [`#156`](https://github.com/oceanprotocol/ocean-lib-js/pull/156) -- Fix/contracts dependencies [`#150`](https://github.com/oceanprotocol/ocean-lib-js/pull/150) -- added missing section [`#153`](https://github.com/oceanprotocol/ocean-lib-js/pull/153) -- dependencies cleanup [`3716c5d`](https://github.com/oceanprotocol/ocean-lib-js/commit/3716c5d1b6f60a6760975688361271c8948d9a62) -- Release 0.1.3 [`36ba35f`](https://github.com/oceanprotocol/ocean-lib-js/commit/36ba35f23825c130e5ff95cb3a09113a463c52ce) -- fix (#152) [`edb2d53`](https://github.com/oceanprotocol/ocean-lib-js/commit/edb2d53fe398dd0fb30f38b327ea3898e6bfe526) +- always use Strings in Datatoken class [`#161`](https://github.com/oceanprotocol/ocean.js/pull/161) +- Fix ABIs data types [`#159`](https://github.com/oceanprotocol/ocean.js/pull/159) +- add ocean token & any token balance to Account [`#158`](https://github.com/oceanprotocol/ocean.js/pull/158) +- feature/cleanup-test [`#157`](https://github.com/oceanprotocol/ocean.js/pull/157) +- Update .travis.yml [`#155`](https://github.com/oceanprotocol/ocean.js/pull/155) +- Update ConfigHelper.ts [`#156`](https://github.com/oceanprotocol/ocean.js/pull/156) +- Fix/contracts dependencies [`#150`](https://github.com/oceanprotocol/ocean.js/pull/150) +- added missing section [`#153`](https://github.com/oceanprotocol/ocean.js/pull/153) +- dependencies cleanup [`3716c5d`](https://github.com/oceanprotocol/ocean.js/commit/3716c5d1b6f60a6760975688361271c8948d9a62) +- Release 0.1.3 [`36ba35f`](https://github.com/oceanprotocol/ocean.js/commit/36ba35f23825c130e5ff95cb3a09113a463c52ce) +- fix (#152) [`edb2d53`](https://github.com/oceanprotocol/ocean.js/commit/edb2d53fe398dd0fb30f38b327ea3898e6bfe526) -#### [v0.1.2](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.1...v0.1.2) +#### [v0.1.2](https://github.com/oceanprotocol/ocean.js/compare/v0.1.1...v0.1.2) > 14 July 2020 -- DataTokens - use wei in the library [`#147`](https://github.com/oceanprotocol/ocean-lib-js/pull/147) -- Fix/documentation [`#146`](https://github.com/oceanprotocol/ocean-lib-js/pull/146) -- Bump @types/node from 14.0.22 to 14.0.23 [`#148`](https://github.com/oceanprotocol/ocean-lib-js/pull/148) -- feature/compute-interface [`#130`](https://github.com/oceanprotocol/ocean-lib-js/pull/130) -- Feature/compute test [`#143`](https://github.com/oceanprotocol/ocean-lib-js/pull/143) -- Bump @types/mocha from 7.0.2 to 8.0.0 [`#142`](https://github.com/oceanprotocol/ocean-lib-js/pull/142) -- Bump yargs from 15.4.0 to 15.4.1 [`#141`](https://github.com/oceanprotocol/ocean-lib-js/pull/141) -- Bump @types/node from 14.0.20 to 14.0.22 [`#140`](https://github.com/oceanprotocol/ocean-lib-js/pull/140) -- Bump @types/node from 14.0.19 to 14.0.20 [`#137`](https://github.com/oceanprotocol/ocean-lib-js/pull/137) -- Bump @truffle/hdwallet-provider from 1.0.37 to 1.0.38 [`#139`](https://github.com/oceanprotocol/ocean-lib-js/pull/139) -- Bump @types/node from 14.0.18 to 14.0.19 [`#135`](https://github.com/oceanprotocol/ocean-lib-js/pull/135) -- Bump @types/node from 14.0.14 to 14.0.18 [`#133`](https://github.com/oceanprotocol/ocean-lib-js/pull/133) -- fixes #144 [`#144`](https://github.com/oceanprotocol/ocean-lib-js/issues/144) -- wip: compute module, compute tests, create compute service. [`dad7a56`](https://github.com/oceanprotocol/ocean-lib-js/commit/dad7a56c1e102c8666e7d44fcc2ed7e50ffc462f) -- move compute to separate file [`95325a7`](https://github.com/oceanprotocol/ocean-lib-js/commit/95325a733d47d9314c55d78c08bad8f30b8563c9) -- add provider compute mock [`60c406b`](https://github.com/oceanprotocol/ocean-lib-js/commit/60c406bcea73403df8c1899db382e73974969be8) +- DataTokens - use wei in the library [`#147`](https://github.com/oceanprotocol/ocean.js/pull/147) +- Fix/documentation [`#146`](https://github.com/oceanprotocol/ocean.js/pull/146) +- Bump @types/node from 14.0.22 to 14.0.23 [`#148`](https://github.com/oceanprotocol/ocean.js/pull/148) +- feature/compute-interface [`#130`](https://github.com/oceanprotocol/ocean.js/pull/130) +- Feature/compute test [`#143`](https://github.com/oceanprotocol/ocean.js/pull/143) +- Bump @types/mocha from 7.0.2 to 8.0.0 [`#142`](https://github.com/oceanprotocol/ocean.js/pull/142) +- Bump yargs from 15.4.0 to 15.4.1 [`#141`](https://github.com/oceanprotocol/ocean.js/pull/141) +- Bump @types/node from 14.0.20 to 14.0.22 [`#140`](https://github.com/oceanprotocol/ocean.js/pull/140) +- Bump @types/node from 14.0.19 to 14.0.20 [`#137`](https://github.com/oceanprotocol/ocean.js/pull/137) +- Bump @truffle/hdwallet-provider from 1.0.37 to 1.0.38 [`#139`](https://github.com/oceanprotocol/ocean.js/pull/139) +- Bump @types/node from 14.0.18 to 14.0.19 [`#135`](https://github.com/oceanprotocol/ocean.js/pull/135) +- Bump @types/node from 14.0.14 to 14.0.18 [`#133`](https://github.com/oceanprotocol/ocean.js/pull/133) +- fixes #144 [`#144`](https://github.com/oceanprotocol/ocean.js/issues/144) +- wip: compute module, compute tests, create compute service. [`dad7a56`](https://github.com/oceanprotocol/ocean.js/commit/dad7a56c1e102c8666e7d44fcc2ed7e50ffc462f) +- move compute to separate file [`95325a7`](https://github.com/oceanprotocol/ocean.js/commit/95325a733d47d9314c55d78c08bad8f30b8563c9) +- add provider compute mock [`60c406b`](https://github.com/oceanprotocol/ocean.js/commit/60c406bcea73403df8c1899db382e73974969be8) -#### [v0.1.1](https://github.com/oceanprotocol/ocean-lib-js/compare/v0.1.0...v0.1.1) +#### [v0.1.1](https://github.com/oceanprotocol/ocean.js/compare/v0.1.0...v0.1.1) > 3 July 2020 -- Fix/releases [`#128`](https://github.com/oceanprotocol/ocean-lib-js/pull/128) -- Release 0.1.0 [`#127`](https://github.com/oceanprotocol/ocean-lib-js/pull/127) -- add release to travis [`f3dd76f`](https://github.com/oceanprotocol/ocean-lib-js/commit/f3dd76fe80a0229649f83aaa0b2eb627a5e4cb93) -- Release 0.1.1 [`487b430`](https://github.com/oceanprotocol/ocean-lib-js/commit/487b4305461d3aedf87d290f5f339f8adb6c2e96) +- Fix/releases [`#128`](https://github.com/oceanprotocol/ocean.js/pull/128) +- Release 0.1.0 [`#127`](https://github.com/oceanprotocol/ocean.js/pull/127) +- add release to travis [`f3dd76f`](https://github.com/oceanprotocol/ocean.js/commit/f3dd76fe80a0229649f83aaa0b2eb627a5e4cb93) +- Release 0.1.1 [`487b430`](https://github.com/oceanprotocol/ocean.js/commit/487b4305461d3aedf87d290f5f339f8adb6c2e96) #### v0.1.0 > 3 July 2020 -- Fix/ocean assets [`#126`](https://github.com/oceanprotocol/ocean-lib-js/pull/126) -- Bump yargs from 15.3.1 to 15.4.0 [`#125`](https://github.com/oceanprotocol/ocean-lib-js/pull/125) -- Bump @truffle/hdwallet-provider from 1.0.36 to 1.0.37 [`#124`](https://github.com/oceanprotocol/ocean-lib-js/pull/124) -- Feature/marketplace flow [`#110`](https://github.com/oceanprotocol/ocean-lib-js/pull/110) -- Feature/assets download [`#119`](https://github.com/oceanprotocol/ocean-lib-js/pull/119) -- Fix/unit test [`#116`](https://github.com/oceanprotocol/ocean-lib-js/pull/116) -- Update .travis.yml [`#123`](https://github.com/oceanprotocol/ocean-lib-js/pull/123) -- Bump typescript from 3.9.5 to 3.9.6 [`#122`](https://github.com/oceanprotocol/ocean-lib-js/pull/122) -- Bump typedoc from 0.17.7 to 0.17.8 [`#120`](https://github.com/oceanprotocol/ocean-lib-js/pull/120) -- feature/resolve-assets [`#117`](https://github.com/oceanprotocol/ocean-lib-js/pull/117) -- barge contains ganache now [`#115`](https://github.com/oceanprotocol/ocean-lib-js/pull/115) -- Feature/integrate barge [`#113`](https://github.com/oceanprotocol/ocean-lib-js/pull/113) -- Bump @truffle/hdwallet-provider from 1.0.35 to 1.0.36 [`#111`](https://github.com/oceanprotocol/ocean-lib-js/pull/111) -- Feature/unit-testing-beta [Part-1] [`#99`](https://github.com/oceanprotocol/ocean-lib-js/pull/99) -- Fix/args for encrypt method [`#107`](https://github.com/oceanprotocol/ocean-lib-js/pull/107) -- fix/readme [`#106`](https://github.com/oceanprotocol/ocean-lib-js/pull/106) -- Bump @types/node from 14.0.13 to 14.0.14 [`#105`](https://github.com/oceanprotocol/ocean-lib-js/pull/105) -- fix resolveByDTAddress [`#102`](https://github.com/oceanprotocol/ocean-lib-js/pull/102) -- Fix/integration test-beta [`#94`](https://github.com/oceanprotocol/ocean-lib-js/pull/94) -- Bump uuid from 8.1.0 to 8.2.0 [`#100`](https://github.com/oceanprotocol/ocean-lib-js/pull/100) -- Fix/integration test beta firstcut [`#97`](https://github.com/oceanprotocol/ocean-lib-js/pull/97) -- add coverage report tool [`#96`](https://github.com/oceanprotocol/ocean-lib-js/pull/96) -- Feature/beta version phase 2 [`#79`](https://github.com/oceanprotocol/ocean-lib-js/pull/79) -- Bump prettier from 1.19.1 to 2.0.5 [`#85`](https://github.com/oceanprotocol/ocean-lib-js/pull/85) -- Bump @types/node from 14.0.5 to 14.0.13 [`#86`](https://github.com/oceanprotocol/ocean-lib-js/pull/86) -- Feature/phase-2 [`#50`](https://github.com/oceanprotocol/ocean-lib-js/pull/50) -- Full flow for Phase-2 [Part-1] [`#78`](https://github.com/oceanprotocol/ocean-lib-js/pull/78) -- Bump @release-it/bumper from 1.1.1 to 1.4.0 [`#76`](https://github.com/oceanprotocol/ocean-lib-js/pull/76) -- Create Dependabot config file [`#64`](https://github.com/oceanprotocol/ocean-lib-js/pull/64) -- Feature/contracts [`#63`](https://github.com/oceanprotocol/ocean-lib-js/pull/63) -- init travis [`#52`](https://github.com/oceanprotocol/ocean-lib-js/pull/52) -- Feature/add detailed readme [`#51`](https://github.com/oceanprotocol/ocean-lib-js/pull/51) -- fix lint errors [`#49`](https://github.com/oceanprotocol/ocean-lib-js/pull/49) -- Feature/tests [`#41`](https://github.com/oceanprotocol/ocean-lib-js/pull/41) -- Feature/ datatokens.create [`#38`](https://github.com/oceanprotocol/ocean-lib-js/pull/38) -- Feature: datatokens class [`#36`](https://github.com/oceanprotocol/ocean-lib-js/pull/36) -- add configHelper [`#35`](https://github.com/oceanprotocol/ocean-lib-js/pull/35) -- Feature: move squid-js to ocean-lib-js [`#30`](https://github.com/oceanprotocol/ocean-lib-js/pull/30) -- Fix versions module [`#23`](https://github.com/oceanprotocol/ocean-lib-js/pull/23) -- feature: replace OceanAssets with Assets [`#27`](https://github.com/oceanprotocol/ocean-lib-js/pull/27) -- Feature/replace OceanCompute with Compute [`#22`](https://github.com/oceanprotocol/ocean-lib-js/pull/22) -- minor rendering fix [`#11`](https://github.com/oceanprotocol/ocean-lib-js/pull/11) -- cleaning [`cd9f629`](https://github.com/oceanprotocol/ocean-lib-js/commit/cd9f6295ed08110936f9a092527bae5d0a974bbb) -- remove test output files [`28d1775`](https://github.com/oceanprotocol/ocean-lib-js/commit/28d1775593ab78bf404708244c49af8f912f3117) -- add ownerAssets [`d8dadf5`](https://github.com/oceanprotocol/ocean-lib-js/commit/d8dadf5495d77e2f73d45454347c13e185bed7d4) +- Fix/ocean assets [`#126`](https://github.com/oceanprotocol/ocean.js/pull/126) +- Bump yargs from 15.3.1 to 15.4.0 [`#125`](https://github.com/oceanprotocol/ocean.js/pull/125) +- Bump @truffle/hdwallet-provider from 1.0.36 to 1.0.37 [`#124`](https://github.com/oceanprotocol/ocean.js/pull/124) +- Feature/marketplace flow [`#110`](https://github.com/oceanprotocol/ocean.js/pull/110) +- Feature/assets download [`#119`](https://github.com/oceanprotocol/ocean.js/pull/119) +- Fix/unit test [`#116`](https://github.com/oceanprotocol/ocean.js/pull/116) +- Update .travis.yml [`#123`](https://github.com/oceanprotocol/ocean.js/pull/123) +- Bump typescript from 3.9.5 to 3.9.6 [`#122`](https://github.com/oceanprotocol/ocean.js/pull/122) +- Bump typedoc from 0.17.7 to 0.17.8 [`#120`](https://github.com/oceanprotocol/ocean.js/pull/120) +- feature/resolve-assets [`#117`](https://github.com/oceanprotocol/ocean.js/pull/117) +- barge contains ganache now [`#115`](https://github.com/oceanprotocol/ocean.js/pull/115) +- Feature/integrate barge [`#113`](https://github.com/oceanprotocol/ocean.js/pull/113) +- Bump @truffle/hdwallet-provider from 1.0.35 to 1.0.36 [`#111`](https://github.com/oceanprotocol/ocean.js/pull/111) +- Feature/unit-testing-beta [Part-1] [`#99`](https://github.com/oceanprotocol/ocean.js/pull/99) +- Fix/args for encrypt method [`#107`](https://github.com/oceanprotocol/ocean.js/pull/107) +- fix/readme [`#106`](https://github.com/oceanprotocol/ocean.js/pull/106) +- Bump @types/node from 14.0.13 to 14.0.14 [`#105`](https://github.com/oceanprotocol/ocean.js/pull/105) +- fix resolveByDTAddress [`#102`](https://github.com/oceanprotocol/ocean.js/pull/102) +- Fix/integration test-beta [`#94`](https://github.com/oceanprotocol/ocean.js/pull/94) +- Bump uuid from 8.1.0 to 8.2.0 [`#100`](https://github.com/oceanprotocol/ocean.js/pull/100) +- Fix/integration test beta firstcut [`#97`](https://github.com/oceanprotocol/ocean.js/pull/97) +- add coverage report tool [`#96`](https://github.com/oceanprotocol/ocean.js/pull/96) +- Feature/beta version phase 2 [`#79`](https://github.com/oceanprotocol/ocean.js/pull/79) +- Bump prettier from 1.19.1 to 2.0.5 [`#85`](https://github.com/oceanprotocol/ocean.js/pull/85) +- Bump @types/node from 14.0.5 to 14.0.13 [`#86`](https://github.com/oceanprotocol/ocean.js/pull/86) +- Feature/phase-2 [`#50`](https://github.com/oceanprotocol/ocean.js/pull/50) +- Full flow for Phase-2 [Part-1] [`#78`](https://github.com/oceanprotocol/ocean.js/pull/78) +- Bump @release-it/bumper from 1.1.1 to 1.4.0 [`#76`](https://github.com/oceanprotocol/ocean.js/pull/76) +- Create Dependabot config file [`#64`](https://github.com/oceanprotocol/ocean.js/pull/64) +- Feature/contracts [`#63`](https://github.com/oceanprotocol/ocean.js/pull/63) +- init travis [`#52`](https://github.com/oceanprotocol/ocean.js/pull/52) +- Feature/add detailed readme [`#51`](https://github.com/oceanprotocol/ocean.js/pull/51) +- fix lint errors [`#49`](https://github.com/oceanprotocol/ocean.js/pull/49) +- Feature/tests [`#41`](https://github.com/oceanprotocol/ocean.js/pull/41) +- Feature/ datatokens.create [`#38`](https://github.com/oceanprotocol/ocean.js/pull/38) +- Feature: datatokens class [`#36`](https://github.com/oceanprotocol/ocean.js/pull/36) +- add configHelper [`#35`](https://github.com/oceanprotocol/ocean.js/pull/35) +- Feature: move squid-js to ocean-lib-js [`#30`](https://github.com/oceanprotocol/ocean.js/pull/30) +- Fix versions module [`#23`](https://github.com/oceanprotocol/ocean.js/pull/23) +- feature: replace OceanAssets with Assets [`#27`](https://github.com/oceanprotocol/ocean.js/pull/27) +- Feature/replace OceanCompute with Compute [`#22`](https://github.com/oceanprotocol/ocean.js/pull/22) +- minor rendering fix [`#11`](https://github.com/oceanprotocol/ocean.js/pull/11) +- cleaning [`cd9f629`](https://github.com/oceanprotocol/ocean.js/commit/cd9f6295ed08110936f9a092527bae5d0a974bbb) +- remove test output files [`28d1775`](https://github.com/oceanprotocol/ocean.js/commit/28d1775593ab78bf404708244c49af8f912f3117) +- add ownerAssets [`d8dadf5`](https://github.com/oceanprotocol/ocean.js/commit/d8dadf5495d77e2f73d45454347c13e185bed7d4) diff --git a/package-lock.json b/package-lock.json index b13ba8ec..21e270d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@oceanprotocol/lib", - "version": "1.0.0-next.41", + "version": "1.0.0-next.44", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@oceanprotocol/lib", - "version": "1.0.0-next.40", + "version": "1.0.0-next.44", "license": "Apache-2.0", "dependencies": { - "@oceanprotocol/contracts": "^1.0.0-alpha.31", + "@oceanprotocol/contracts": "^1.0.0-alpha.34", "bignumber.js": "^9.0.2", "cross-fetch": "^3.1.5", "crypto-js": "^4.1.1", @@ -24,7 +24,7 @@ "@types/chai-spies": "^1.0.3", "@types/crypto-js": "^4.1.1", "@types/mocha": "^9.1.1", - "@types/node": "^17.0.31", + "@types/node": "^17.0.34", "@types/node-fetch": "^3.0.3", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", @@ -2471,9 +2471,9 @@ } }, "node_modules/@oceanprotocol/contracts": { - "version": "1.0.0-alpha.31", - "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.31.tgz", - "integrity": "sha512-WqrhjO0Qu8Bxdr2dAkdUL1Q/rHEkTuhx8OT4J/uJltnlxykCo6F8raNQAlhdh+84hm2Bv1irXE+PdpizNLwntQ==" + "version": "1.0.0-alpha.34", + "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.34.tgz", + "integrity": "sha512-ZhNCakYbUpXrffpS98Hj0r5K70IzzTXNoYKBX4Ks3Qqc2T7mhXIxtakzygkM0lEk038ImWuzS2PAZKTATz+X2w==" }, "node_modules/@octokit/auth-token": { "version": "2.5.0", @@ -3021,9 +3021,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "17.0.31", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz", - "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==" + "version": "17.0.34", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.34.tgz", + "integrity": "sha512-XImEz7XwTvDBtzlTnm8YvMqGW/ErMWBsKZ+hMTvnDIjGCKxwK5Xpc+c/oQjOauwq8M4OS11hEkpjX8rrI/eEgA==" }, "node_modules/@types/node-fetch": { "version": "3.0.3", @@ -19610,9 +19610,9 @@ } }, "@oceanprotocol/contracts": { - "version": "1.0.0-alpha.31", - "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.31.tgz", - "integrity": "sha512-WqrhjO0Qu8Bxdr2dAkdUL1Q/rHEkTuhx8OT4J/uJltnlxykCo6F8raNQAlhdh+84hm2Bv1irXE+PdpizNLwntQ==" + "version": "1.0.0-alpha.34", + "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-1.0.0-alpha.34.tgz", + "integrity": "sha512-ZhNCakYbUpXrffpS98Hj0r5K70IzzTXNoYKBX4Ks3Qqc2T7mhXIxtakzygkM0lEk038ImWuzS2PAZKTATz+X2w==" }, "@octokit/auth-token": { "version": "2.5.0", @@ -20079,9 +20079,9 @@ "dev": true }, "@types/node": { - "version": "17.0.31", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz", - "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==" + "version": "17.0.34", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.34.tgz", + "integrity": "sha512-XImEz7XwTvDBtzlTnm8YvMqGW/ErMWBsKZ+hMTvnDIjGCKxwK5Xpc+c/oQjOauwq8M4OS11hEkpjX8rrI/eEgA==" }, "@types/node-fetch": { "version": "3.0.3", diff --git a/package.json b/package.json index 1ba2ddcc..1e426022 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oceanprotocol/lib", "source": "./src/index.ts", - "version": "1.0.0-next.41", + "version": "1.0.0-next.44", "description": "JavaScript client library for Ocean Protocol", "main": "./dist/lib.js", "umd:main": "dist/lib.umd.js", @@ -61,7 +61,7 @@ "web3": "^1.7.3" }, "dependencies": { - "@oceanprotocol/contracts": "^1.0.0-alpha.31", + "@oceanprotocol/contracts": "^1.0.0-alpha.34", "bignumber.js": "^9.0.2", "cross-fetch": "^3.1.5", "crypto-js": "^4.1.1", @@ -76,7 +76,7 @@ "@types/chai-spies": "^1.0.3", "@types/crypto-js": "^4.1.1", "@types/mocha": "^9.1.1", - "@types/node": "^17.0.31", + "@types/node": "^17.0.34", "@types/node-fetch": "^3.0.3", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", diff --git a/src/@types/Provider.ts b/src/@types/Provider.ts index d7ae662e..a8be432c 100644 --- a/src/@types/Provider.ts +++ b/src/@types/Provider.ts @@ -15,3 +15,14 @@ export interface ProviderInitialize { computeAddress: string providerFee: ProviderFees } + +export interface ProviderComputeInitialize { + datatoken?: string + validOrder?: string + providerFee?: ProviderFees +} + +export interface ProviderComputeInitializeResults { + algorithm?: ProviderComputeInitialize + datasets?: ProviderComputeInitialize[] +} diff --git a/src/factories/NFTFactory.ts b/src/factories/NFTFactory.ts index 8dff31b1..9b697282 100644 --- a/src/factories/NFTFactory.ts +++ b/src/factories/NFTFactory.ts @@ -11,6 +11,7 @@ import { getErcCreationParams, getPoolCreationParams, setContractDefaults, + estimateGas, ZERO_ADDRESS, ConfigHelper } from '../utils' @@ -50,7 +51,6 @@ export interface NftCreateData { * Provides an interface for NFT Factory contract */ export class NftFactory { - public GASLIMIT_DEFAULT = 1000000 public factory721Address: string public factory721Abi: AbiItem | AbiItem[] public web3: Web3 @@ -87,25 +87,18 @@ export class NftFactory { * @return {Promise} NFT datatoken address */ public async estGasCreateNFT(address: string, nftData: NftCreateData): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .deployERC721Contract( - nftData.name, - nftData.symbol, - nftData.templateIndex, - ZERO_ADDRESS, - ZERO_ADDRESS, - nftData.tokenURI, - nftData.transferable, - nftData.owner - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.factory721.methods.deployERC721Contract, + nftData.name, + nftData.symbol, + nftData.templateIndex, + ZERO_ADDRESS, + ZERO_ADDRESS, + nftData.tokenURI, + nftData.transferable, + nftData.owner + ) } /** @@ -132,7 +125,18 @@ export class NftFactory { if ((await this.getNFTTemplate(nftData.templateIndex)).isActive === false) { throw new Error(`Template is not active`) } - const estGas = await this.estGasCreateNFT(address, nftData) + const estGas = await estimateGas( + address, + this.factory721.methods.deployERC721Contract, + nftData.name, + nftData.symbol, + nftData.templateIndex, + ZERO_ADDRESS, + ZERO_ADDRESS, + nftData.tokenURI, + nftData.transferable, + nftData.owner + ) // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods @@ -254,16 +258,11 @@ export class NftFactory { address: string, templateAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .add721TokenTemplate(templateAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.factory721.methods.add721TokenTemplate, + templateAddress + ) } /** @@ -283,7 +282,11 @@ export class NftFactory { throw new Error(`Template cannot be ZERO address`) } - const estGas = await this.estGasAddNFTTemplate(address, templateAddress) + const estGas = await estimateGas( + address, + this.factory721.methods.add721TokenTemplate, + templateAddress + ) // Invoke add721TokenTemplate function of the contract const trxReceipt = await this.factory721.methods @@ -307,16 +310,11 @@ export class NftFactory { address: string, templateIndex: number ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .disable721TokenTemplate(templateIndex) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.factory721.methods.disable721TokenTemplate, + templateIndex + ) } /** @@ -339,7 +337,11 @@ export class NftFactory { if (templateIndex === 0) { throw new Error(`Template index cannot be ZERO`) } - const estGas = await this.estGasDisableNFTTemplate(address, templateIndex) + const estGas = await estimateGas( + address, + this.factory721.methods.disable721TokenTemplate, + templateIndex + ) // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods @@ -363,16 +365,11 @@ export class NftFactory { address: string, templateIndex: number ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .reactivate721TokenTemplate(templateIndex) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.factory721.methods.reactivate721TokenTemplate, + templateIndex + ) } /** @@ -396,7 +393,11 @@ export class NftFactory { throw new Error(`Template index cannot be ZERO`) } - const estGas = await this.estGasReactivateNFTTemplate(address, templateIndex) + const estGas = await estimateGas( + address, + this.factory721.methods.reactivate721TokenTemplate, + templateIndex + ) // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods @@ -420,17 +421,7 @@ export class NftFactory { address: string, templateAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .addTokenTemplate(templateAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.factory721.methods.addTokenTemplate, templateAddress) } /** @@ -450,7 +441,11 @@ export class NftFactory { throw new Error(`Template cannot be address ZERO`) } - const estGas = await this.estGasAddTokenTemplate(address, templateAddress) + const estGas = await estimateGas( + address, + this.factory721.methods.addTokenTemplate, + templateAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods @@ -474,16 +469,11 @@ export class NftFactory { address: string, templateIndex: number ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .disableTokenTemplate(templateIndex) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.factory721.methods.disableTokenTemplate, + templateIndex + ) } /** @@ -509,7 +499,11 @@ export class NftFactory { if ((await this.getTokenTemplate(templateIndex)).isActive === false) { throw new Error(`Template is already disabled`) } - const estGas = await this.estGasDisableTokenTemplate(address, templateIndex) + const estGas = await estimateGas( + address, + this.factory721.methods.disableTokenTemplate, + templateIndex + ) // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods @@ -533,16 +527,11 @@ export class NftFactory { address: string, templateIndex: number ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .reactivateTokenTemplate(templateIndex) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.factory721.methods.reactivateTokenTemplate, + templateIndex + ) } /** @@ -569,7 +558,11 @@ export class NftFactory { throw new Error(`Template is already active`) } - const estGas = await this.estGasReactivateTokenTemplate(address, templateIndex) + const estGas = await estimateGas( + address, + this.factory721.methods.reactivateTokenTemplate, + templateIndex + ) // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods @@ -592,16 +585,7 @@ export class NftFactory { address: string, orders: TokenOrder[] ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.factory721.methods - .startMultipleTokenOrder(orders) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, this.factory721.methods.startMultipleTokenOrder, orders) } /** @@ -624,7 +608,11 @@ export class NftFactory { throw new Error(`Too many orders`) } - const estGas = await this.estGasStartMultipleTokenOrder(address, orders) + const estGas = await estimateGas( + address, + this.factory721.methods.startMultipleTokenOrder, + orders + ) // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods @@ -651,18 +639,13 @@ export class NftFactory { nftCreateData: NftCreateData, ercParams: Erc20CreateParams ): Promise { - // Get estimated gas value - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - const ercCreateData = getErcCreationParams(ercParams) - estGas = await this.factory721.methods - .createNftWithErc20(nftCreateData, ercCreateData) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + const ercCreateData = getErcCreationParams(ercParams) + return estimateGas( + address, + this.factory721.methods.createNftWithErc20, + nftCreateData, + ercCreateData + ) } /** @@ -681,7 +664,13 @@ export class NftFactory { ): Promise { const ercCreateData = getErcCreationParams(ercParams) - const estGas = await this.estGasCreateNftWithErc20(address, nftCreateData, ercParams) + const estGas = await estimateGas( + address, + this.factory721.methods.createNftWithErc20, + nftCreateData, + ercCreateData + ) + // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods .createNftWithErc20(nftCreateData, ercCreateData) @@ -708,18 +697,15 @@ export class NftFactory { ercParams: Erc20CreateParams, poolParams: PoolCreationParams ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - const ercCreateData = getErcCreationParams(ercParams) - const poolData = await getPoolCreationParams(this.web3, poolParams) - estGas = await this.factory721.methods - .createNftWithErc20WithPool(nftCreateData, ercCreateData, poolData) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + const ercCreateData = getErcCreationParams(ercParams) + const poolData = await getPoolCreationParams(this.web3, poolParams) + return estimateGas( + address, + this.factory721.methods.createNftWithErc20WithPool, + nftCreateData, + ercCreateData, + poolData + ) } /** @@ -738,15 +724,17 @@ export class NftFactory { ercParams: Erc20CreateParams, poolParams: PoolCreationParams ): Promise { - const estGas = await this.estGasCreateNftErc20WithPool( - address, - nftCreateData, - ercParams, - poolParams - ) const ercCreateData = getErcCreationParams(ercParams) const poolData = await getPoolCreationParams(this.web3, poolParams) + const estGas = await estimateGas( + address, + this.factory721.methods.createNftWithErc20WithPool, + nftCreateData, + ercCreateData, + poolData + ) + // Invoke createToken function of the contract const trxReceipt = await this.factory721.methods .createNftWithErc20WithPool(nftCreateData, ercCreateData, poolData) @@ -772,20 +760,15 @@ export class NftFactory { ercParams: Erc20CreateParams, freParams: FreCreationParams ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - const ercCreateData = getErcCreationParams(ercParams) const fixedData = await getFreCreationParams(freParams) - - try { - estGas = await this.factory721.methods - .createNftWithErc20WithFixedRate(nftCreateData, ercCreateData, fixedData) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.factory721.methods.createNftWithErc20WithFixedRate, + nftCreateData, + ercCreateData, + fixedData + ) } /** @@ -807,11 +790,12 @@ export class NftFactory { const ercCreateData = getErcCreationParams(ercParams) const fixedData = getFreCreationParams(freParams) - const estGas = await this.estGasCreateNftErc20WithFixedRate( + const estGas = await estimateGas( address, + this.factory721.methods.createNftWithErc20WithFixedRate, nftCreateData, - ercParams, - freParams + ercCreateData, + fixedData ) // Invoke createToken function of the contract @@ -839,20 +823,14 @@ export class NftFactory { ercParams: Erc20CreateParams, dispenserParams: DispenserCreationParams ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - const ercCreateData = getErcCreationParams(ercParams) - - try { - estGas = await this.factory721.methods - .createNftWithErc20WithDispenser(nftCreateData, ercCreateData, dispenserParams) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - LoggerInstance.error('Failed to estimate gas for createNftErc20WithDispenser', e) - } - return estGas + return estimateGas( + address, + this.factory721.methods.createNftWithErc20WithDispenser, + nftCreateData, + ercCreateData, + dispenserParams + ) } /** @@ -876,10 +854,11 @@ export class NftFactory { dispenserParams.maxBalance = Web3.utils.toWei(dispenserParams.maxBalance) dispenserParams.maxTokens = Web3.utils.toWei(dispenserParams.maxTokens) - const estGas = await this.estGasCreateNftErc20WithDispenser( + const estGas = await estimateGas( address, + this.factory721.methods.createNftWithErc20WithDispenser, nftCreateData, - ercParams, + ercCreateData, dispenserParams ) diff --git a/src/pools/Router.ts b/src/pools/Router.ts index a111eec4..25567847 100644 --- a/src/pools/Router.ts +++ b/src/pools/Router.ts @@ -3,7 +3,7 @@ import Web3 from 'web3' import { TransactionReceipt } from 'web3-core' import { AbiItem } from 'web3-utils' import defaultRouter from '@oceanprotocol/contracts/artifacts/contracts/pools/FactoryRouter.sol/FactoryRouter.json' -import { getFairGasPrice, setContractDefaults, ConfigHelper } from '../utils' +import { getFairGasPrice, setContractDefaults, ConfigHelper, estimateGas } from '../utils' import { Operation } from '../@types/Router' import { Config } from '../models/index.js' @@ -11,7 +11,6 @@ import { Config } from '../models/index.js' * Provides an interface for FactoryRouter contract */ export class Router { - public GASLIMIT_DEFAULT = 1000000 public routerAddress: string public RouterAbi: AbiItem | AbiItem[] public web3: Web3 @@ -48,16 +47,7 @@ export class Router { * @return {Promise} Transaction receipt */ public async estGasBuyDTBatch(address: string, operations: Operation[]): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .buyDTBatch(operations) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, this.router.methods.buyDTBatch, operations) } /** @@ -70,7 +60,7 @@ export class Router { address: string, operations: Operation[] ): Promise { - const estGas = await this.estGasBuyDTBatch(address, operations) + const estGas = await estimateGas(address, this.router.methods.buyDTBatch, operations) // Invoke createToken function of the contract const trxReceipt = await this.router.methods.buyDTBatch(operations).send({ @@ -135,19 +125,8 @@ export class Router { address: string, tokenAddress: string, contractInstance?: Contract - ) { - const routerContract = contractInstance || this.router - - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await routerContract.methods - .addApprovedToken(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + ): Promise { + return estimateGas(address, this.router.methods.addApprovedToken, tokenAddress) } /** @@ -164,7 +143,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasAddApprovedToken(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.addApprovedToken, + tokenAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.router.methods.addApprovedToken(tokenAddress).send({ @@ -187,19 +170,8 @@ export class Router { address: string, tokenAddress: string, contractInstance?: Contract - ) { - const routerContract = contractInstance || this.router - - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await routerContract.methods - .removeApprovedToken(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + ): Promise { + return estimateGas(address, this.router.methods.removeApprovedToken, tokenAddress) } /** @@ -216,7 +188,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasRemoveApprovedToken(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.removeApprovedToken, + tokenAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.router.methods.removeApprovedToken(tokenAddress).send({ @@ -235,17 +211,7 @@ export class Router { * @return {Promise} */ public async estGasAddSSContract(address: string, tokenAddress: string): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .addSSContract(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.router.methods.addSSContract, tokenAddress) } /** @@ -262,7 +228,12 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasAddSSContract(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.addSSContract, + tokenAddress + ) + // Invoke createToken function of the contract const trxReceipt = await this.router.methods.addSSContract(tokenAddress).send({ from: address, @@ -283,17 +254,7 @@ export class Router { address: string, tokenAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .removeSSContract(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.router.methods.removeSSContract, tokenAddress) } /** @@ -310,7 +271,12 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasRemoveSSContract(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.removeSSContract, + tokenAddress + ) + // Invoke createToken function of the contract const trxReceipt = await this.router.methods.removeSSContract(tokenAddress).send({ from: address, @@ -331,17 +297,7 @@ export class Router { address: string, tokenAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .addFixedRateContract(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.router.methods.addFixedRateContract, tokenAddress) } /** @@ -358,7 +314,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasAddFixedRateContract(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.addFixedRateContract, + tokenAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.router.methods.addFixedRateContract(tokenAddress).send({ @@ -380,17 +340,7 @@ export class Router { address: string, tokenAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .removeFixedRateContract(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.router.methods.removeFixedRateContract, tokenAddress) } /** @@ -407,7 +357,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasRemoveFixedRateContract(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.removeFixedRateContract, + tokenAddress + ) // Invoke removeFixedRateContract function of the contract const trxReceipt = await this.router.methods @@ -431,17 +385,7 @@ export class Router { address: string, tokenAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .addDispenserContract(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.router.methods.addDispenserContract, tokenAddress) } /** @@ -458,7 +402,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasAddDispenserContract(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.addDispenserContract, + tokenAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.router.methods.addDispenserContract(tokenAddress).send({ @@ -480,17 +428,7 @@ export class Router { address: string, tokenAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .removeDispenserContract(tokenAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.router.methods.removeDispenserContract, tokenAddress) } /** @@ -507,7 +445,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasRemoveDispenserContract(address, tokenAddress) + const estGas = await estimateGas( + address, + this.router.methods.removeDispenserContract, + tokenAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.router.methods @@ -548,17 +490,14 @@ export class Router { newConsumeFee: number, newProviderFee: number ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .updateOPCFee(newSwapOceanFee, newSwapNonOceanFee, newConsumeFee, newProviderFee) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + address, + this.router.methods.updateOPCFee, + newSwapOceanFee, + newSwapNonOceanFee, + newConsumeFee, + newProviderFee + ) } /** @@ -581,8 +520,9 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasUpdateOPCFee( + const estGas = await estimateGas( address, + this.router.methods.updateOPCFee, newSwapOceanFee, newSwapNonOceanFee, newConsumeFee, @@ -611,17 +551,7 @@ export class Router { address: string, templateAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .addPoolTemplate(templateAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, this.router.methods.addPoolTemplate, templateAddress) } /** @@ -638,7 +568,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasAddPoolTemplate(address, templateAddress) + const estGas = await estimateGas( + address, + this.router.methods.addPoolTemplate, + templateAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.router.methods.addPoolTemplate(templateAddress).send({ @@ -660,16 +594,7 @@ export class Router { address: string, templateAddress: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.router.methods - .removePoolTemplate(templateAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, this.router.methods.removePoolTemplate, templateAddress) } /** @@ -686,7 +611,11 @@ export class Router { throw new Error(`Caller is not Router Owner`) } - const estGas = await this.estGasRemovePoolTemplate(address, templateAddress) + const estGas = await estimateGas( + address, + this.router.methods.removePoolTemplate, + templateAddress + ) // Invoke createToken function of the contract const trxReceipt = await this.router.methods diff --git a/src/pools/balancer/Pool.ts b/src/pools/balancer/Pool.ts index ca43bb0b..95096265 100644 --- a/src/pools/balancer/Pool.ts +++ b/src/pools/balancer/Pool.ts @@ -8,6 +8,7 @@ import { unitsToAmount, amountToUnits, LoggerInstance, + estimateGas, ConfigHelper } from '../../utils' import BigNumber from 'bignumber.js' @@ -37,7 +38,6 @@ const MaxUint256 = export class Pool { public poolAbi: AbiItem | AbiItem[] public web3: Web3 - public GASLIMIT_DEFAULT = 1000000 private config: Config constructor( @@ -112,16 +112,7 @@ export class Pool { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await poolContract.methods - .setSwapFee(fee) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(account, poolContract.methods.setSwapFee, fee) } /** @@ -142,7 +133,7 @@ export class Pool { this.config ) let result = null - const estGas = await this.estSetSwapFee(account, poolAddress, fee) + const estGas = await estimateGas(account, pool.methods.setSwapFee, fee) try { result = await pool.methods.setSwapFee(this.web3.utils.toWei(fee)).send({ @@ -338,25 +329,6 @@ export class Pool { return result } - /** - * Get OPC Collector of this pool - * @param {String} poolAddress - * @return {String} - */ - async getOPCCollector(poolAddress: string): Promise { - const pool = setContractDefaults( - new this.web3.eth.Contract(this.poolAbi, poolAddress), - this.config - ) - let result = null - try { - result = await pool.methods._opcCollector().call() - } catch (e) { - LoggerInstance.error(`ERROR: Failed to get OPF Collector address: ${e.message}`) - } - return result - } - /** * Get if a token is bounded to a pool * Returns true if token is bound @@ -631,16 +603,7 @@ export class Pool { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await poolContract.methods - .collectOPC() - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, poolContract.methods.collectOPC) } /** @@ -655,7 +618,7 @@ export class Pool { this.config ) let result = null - const estGas = await this.estCollectOPC(address, poolAddress) + const estGas = await estimateGas(address, pool.methods.collectOPC) try { result = await pool.methods.collectOPC().send({ @@ -689,16 +652,7 @@ export class Pool { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await poolContract.methods - .collectMarketFee() - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, poolContract.methods.collectMarketFee) } /** @@ -720,7 +674,7 @@ export class Pool { this.config ) let result = null - const estGas = await this.estCollectMarketFee(address, poolAddress) + const estGas = await estimateGas(address, pool.methods.collectMarketFee) try { result = await pool.methods.collectMarketFee().send({ @@ -757,16 +711,12 @@ export class Pool { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await poolContract.methods - .updatePublishMarketFee(newPublishMarketAddress, newPublishMarketSwapFee) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + poolContract.methods.updatePublishMarketFee, + newPublishMarketAddress, + this.web3.utils.toWei(newPublishMarketSwapFee) + ) } /** @@ -792,9 +742,9 @@ export class Pool { ) let result = null - const estGas = await this.estUpdatePublishMarketFee( + const estGas = await estimateGas( address, - poolAddress, + pool.methods.updatePublishMarketFee, newPublishMarketAddress, this.web3.utils.toWei(newPublishMarketSwapFee) ) @@ -857,28 +807,21 @@ export class Pool { ) : MaxUint256 - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await poolContract.methods - .swapExactAmountIn( - [ - tokenInOutMarket.tokenIn, - tokenInOutMarket.tokenOut, - tokenInOutMarket.marketFeeAddress - ], - [ - tokenAmountIn, - minAmountOut, - maxPrice, - this.web3.utils.toWei(amountsInOutMaxFee.swapMarketFee) - ] - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + poolContract.methods.swapExactAmountIn, + [ + tokenInOutMarket.tokenIn, + tokenInOutMarket.tokenOut, + tokenInOutMarket.marketFeeAddress + ], + [ + tokenAmountIn, + minAmountOut, + maxPrice, + this.web3.utils.toWei(amountsInOutMaxFee.swapMarketFee) + ] + ) } /** @@ -910,13 +853,6 @@ export class Pool { throw new Error(`tokenAmountIn is greater than ${maxSwap.toString()}`) } - const estGas = await this.estSwapExactAmountIn( - address, - poolAddress, - tokenInOutMarket, - amountsInOutMaxFee - ) - const tokenAmountIn = await this.amountToUnits( tokenInOutMarket.tokenIn, amountsInOutMaxFee.tokenAmountIn, @@ -929,8 +865,6 @@ export class Pool { tokenInOutMarket.tokenOutDecimals ) - let result = null - const maxPrice = amountsInOutMaxFee.maxPrice ? await this.amountToUnits( await this.getBaseToken(poolAddress), @@ -938,6 +872,23 @@ export class Pool { ) : MaxUint256 + const estGas = await estimateGas( + address, + pool.methods.swapExactAmountIn, + [ + tokenInOutMarket.tokenIn, + tokenInOutMarket.tokenOut, + tokenInOutMarket.marketFeeAddress + ], + [ + tokenAmountIn, + minAmountOut, + maxPrice, + this.web3.utils.toWei(amountsInOutMaxFee.swapMarketFee) + ] + ) + + let result = null try { result = await pool.methods .swapExactAmountIn( @@ -988,8 +939,6 @@ export class Pool { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - const maxAmountIn = await this.amountToUnits( tokenInOutMarket.tokenIn, amountsInOutMaxFee.maxAmountIn, @@ -1009,27 +958,21 @@ export class Pool { ) : MaxUint256 - let estGas - try { - estGas = await poolContract.methods - .swapExactAmountOut( - [ - tokenInOutMarket.tokenIn, - tokenInOutMarket.tokenOut, - tokenInOutMarket.marketFeeAddress - ], - [ - maxAmountIn, - tokenAmountOut, - maxPrice, - this.web3.utils.toWei(amountsInOutMaxFee.swapMarketFee) - ] - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + poolContract.methods.swapExactAmountOut, + [ + tokenInOutMarket.tokenIn, + tokenInOutMarket.tokenOut, + tokenInOutMarket.marketFeeAddress + ], + [ + maxAmountIn, + tokenAmountOut, + maxPrice, + this.web3.utils.toWei(amountsInOutMaxFee.swapMarketFee) + ] + ) } /** @@ -1057,13 +1000,6 @@ export class Pool { throw new Error(`tokenAmountOut is greater than ${maxSwap.toString()}`) } - const estGas = await this.estSwapExactAmountOut( - account, - poolAddress, - tokenInOutMarket, - amountsInOutMaxFee - ) - const maxAmountIn = await this.amountToUnits( tokenInOutMarket.tokenIn, amountsInOutMaxFee.maxAmountIn, @@ -1083,6 +1019,22 @@ export class Pool { ) : MaxUint256 + const estGas = await estimateGas( + account, + pool.methods.swapExactAmountOut, + [ + tokenInOutMarket.tokenIn, + tokenInOutMarket.tokenOut, + tokenInOutMarket.marketFeeAddress + ], + [ + maxAmountIn, + tokenAmountOut, + maxPrice, + this.web3.utils.toWei(amountsInOutMaxFee.swapMarketFee) + ] + ) + try { result = await pool.methods .swapExactAmountOut( @@ -1133,16 +1085,12 @@ export class Pool { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await poolContract.methods - .joinswapExternAmountIn(tokenAmountIn, minPoolAmountOut) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + poolContract.methods.joinswapExternAmountIn, + tokenAmountIn, + minPoolAmountOut + ) } /** @@ -1153,13 +1101,15 @@ export class Pool { * @param {String} poolAddress * @param {String} tokenAmountIn exact number of base tokens to spend * @param {String} minPoolAmountOut minimum of pool shares expectex + * @param {number} tokenInDecimals optional number of decimals of the token * @return {TransactionReceipt} */ async joinswapExternAmountIn( account: string, poolAddress: string, tokenAmountIn: string, - minPoolAmountOut: string + minPoolAmountOut: string, + tokenInDecimals?: number ): Promise { const pool = setContractDefaults( new this.web3.eth.Contract(this.poolAbi, poolAddress), @@ -1172,10 +1122,14 @@ export class Pool { throw new Error(`tokenAmountOut is greater than ${maxSwap.toString()}`) } - const amountInFormatted = await this.amountToUnits(tokenIn, tokenAmountIn) - const estGas = await this.estJoinswapExternAmountIn( + const amountInFormatted = await this.amountToUnits( + tokenIn, + tokenAmountIn, + tokenInDecimals + ) + const estGas = await estimateGas( account, - poolAddress, + pool.methods.joinswapExternAmountIn, amountInFormatted, this.web3.utils.toWei(minPoolAmountOut) ) @@ -1221,16 +1175,12 @@ export class Pool { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await poolContract.methods - .exitswapPoolAmountIn(poolAmountIn, minTokenAmountOut) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + poolContract.methods.exitswapPoolAmountIn, + poolAmountIn, + minTokenAmountOut + ) } /** @@ -1241,13 +1191,15 @@ export class Pool { * @param {String} poolAddress * @param {String} poolAmountIn exact number of pool shares to spend * @param {String} minTokenAmountOut minimum amount of basetokens expected + * @param {number} poolDecimals optional number of decimals of the poool * @return {TransactionReceipt} */ async exitswapPoolAmountIn( account: string, poolAddress: string, poolAmountIn: string, - minTokenAmountOut: string + minTokenAmountOut: string, + poolDecimals?: number ): Promise { const pool = setContractDefaults( new this.web3.eth.Contract(this.poolAbi, poolAddress), @@ -1269,11 +1221,12 @@ export class Pool { const minTokenOutFormatted = await this.amountToUnits( await this.getBaseToken(poolAddress), - minTokenAmountOut + minTokenAmountOut, + poolDecimals ) - const estGas = await this.estExitswapPoolAmountIn( + const estGas = await estimateGas( account, - poolAddress, + pool.methods.exitswapPoolAmountIn, this.web3.utils.toWei(poolAmountIn), minTokenOutFormatted ) diff --git a/src/pools/dispenser/Dispenser.ts b/src/pools/dispenser/Dispenser.ts index 31916eb8..c26e0ea4 100644 --- a/src/pools/dispenser/Dispenser.ts +++ b/src/pools/dispenser/Dispenser.ts @@ -8,6 +8,7 @@ import { LoggerInstance as logger, getFairGasPrice, setContractDefaults, + estimateGas, ConfigHelper } from '../../utils/' import { Datatoken } from '../../tokens' @@ -24,7 +25,6 @@ export interface DispenserToken { } export class Dispenser { - public GASLIMIT_DEFAULT = 1000000 public web3: Web3 = null public dispenserAddress: string public config: Config @@ -91,23 +91,15 @@ export class Dispenser { maxBalance: string, allowedSwapper: string ): Promise { - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await this.dispenserContract.methods - .create( - dtAddress, - this.web3.utils.toWei(maxTokens), - this.web3.utils.toWei(maxBalance), - address, - allowedSwapper - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + address, + this.dispenserContract.methods.create, + dtAddress, + this.web3.utils.toWei(maxTokens), + this.web3.utils.toWei(maxBalance), + address, + allowedSwapper + ) } /** @@ -126,11 +118,13 @@ export class Dispenser { maxBalance: string, allowedSwapper: string ): Promise { - const estGas = await this.estGasCreate( - dtAddress, + const estGas = await estimateGas( + address, + this.dispenserContract.methods.create, + dtAddress, + this.web3.utils.toWei(maxTokens), + this.web3.utils.toWei(maxBalance), address, - maxTokens, - maxBalance, allowedSwapper ) @@ -165,20 +159,13 @@ export class Dispenser { maxBalance: string, address: string ): Promise { - let estGas - const gasLimitDefault = this.GASLIMIT_DEFAULT - try { - estGas = await this.dispenserContract.methods - .activate( - dtAddress, - this.web3.utils.toWei(maxTokens), - this.web3.utils.toWei(maxBalance) - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.dispenserContract.methods.activate, + dtAddress, + this.web3.utils.toWei(maxTokens), + this.web3.utils.toWei(maxBalance) + ) } /** @@ -196,7 +183,14 @@ export class Dispenser { address: string ): Promise { try { - const estGas = await this.estGasActivate(dtAddress, maxTokens, maxBalance, address) + const estGas = await estimateGas( + address, + this.dispenserContract.methods.activate, + dtAddress, + this.web3.utils.toWei(maxTokens), + this.web3.utils.toWei(maxBalance) + ) + const trxReceipt = await this.dispenserContract.methods .activate( dtAddress, @@ -222,16 +216,7 @@ export class Dispenser { * @return {Promise} */ public async estGasDeactivate(dtAddress: string, address: string): Promise { - let estGas - const gasLimitDefault = this.GASLIMIT_DEFAULT - try { - estGas = await this.dispenserContract.methods - .deactivate(dtAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, this.dispenserContract.methods.deactivate, dtAddress) } /** @@ -245,7 +230,12 @@ export class Dispenser { address: string ): Promise { try { - const estGas = await this.estGasDeactivate(dtAddress, address) + const estGas = await estimateGas( + address, + this.dispenserContract.methods.deactivate, + dtAddress + ) + const trxReceipt = await this.dispenserContract.methods.deactivate(dtAddress).send({ from: address, gas: estGas + 1, @@ -270,16 +260,12 @@ export class Dispenser { address: string, newAllowedSwapper: string ): Promise { - let estGas - const gasLimitDefault = this.GASLIMIT_DEFAULT - try { - estGas = await this.dispenserContract.methods - .setAllowedSwapper(dtAddress, newAllowedSwapper) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.dispenserContract.methods.setAllowedSwapper, + dtAddress, + newAllowedSwapper + ) } /** @@ -295,11 +281,13 @@ export class Dispenser { newAllowedSwapper: string ): Promise { try { - const estGas = await this.estGasSetAllowedSwapper( - dtAddress, + const estGas = await estimateGas( address, + this.dispenserContract.methods.setAllowedSwapper, + dtAddress, newAllowedSwapper ) + const trxReceipt = await this.dispenserContract.methods .setAllowedSwapper(dtAddress, newAllowedSwapper) .send({ @@ -327,16 +315,13 @@ export class Dispenser { amount: string = '1', destination: string ): Promise { - let estGas - const gasLimitDefault = this.GASLIMIT_DEFAULT - try { - estGas = await this.dispenserContract.methods - .dispense(dtAddress, this.web3.utils.toWei(amount), destination) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + this.dispenserContract.methods.dispense, + dtAddress, + this.web3.utils.toWei(amount), + destination + ) } /** @@ -355,7 +340,14 @@ export class Dispenser { amount: string = '1', destination: string ): Promise { - const estGas = await this.estGasDispense(dtAddress, address, amount, destination) + const estGas = await estimateGas( + address, + this.dispenserContract.methods.dispense, + dtAddress, + this.web3.utils.toWei(amount), + destination + ) + try { const trxReceipt = await this.dispenserContract.methods .dispense(dtAddress, this.web3.utils.toWei(amount), destination) @@ -379,16 +371,7 @@ export class Dispenser { * @return {Promise} */ public async estGasOwnerWithdraw(dtAddress: string, address: string): Promise { - let estGas - const gasLimitDefault = this.GASLIMIT_DEFAULT - try { - estGas = await this.dispenserContract.methods - .ownerWithdraw(dtAddress) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, this.dispenserContract.methods.ownerWithdraw, dtAddress) } /** @@ -401,7 +384,12 @@ export class Dispenser { dtAddress: string, address: string ): Promise { - const estGas = await this.estGasOwnerWithdraw(dtAddress, address) + const estGas = await estimateGas( + address, + this.dispenserContract.methods.ownerWithdraw, + dtAddress + ) + try { const trxReceipt = await this.dispenserContract.methods .ownerWithdraw(dtAddress) diff --git a/src/pools/fixedRate/FixedRateExchange.ts b/src/pools/fixedRate/FixedRateExchange.ts index e1bdcf56..75c381cf 100644 --- a/src/pools/fixedRate/FixedRateExchange.ts +++ b/src/pools/fixedRate/FixedRateExchange.ts @@ -9,6 +9,7 @@ import { setContractDefaults, amountToUnits, unitsToAmount, + estimateGas, ZERO_ADDRESS, ConfigHelper } from '../../utils' @@ -55,7 +56,6 @@ export enum FixedRateCreateProgressStep { /* eslint-enable no-unused-vars */ export class FixedRateExchange { - public GASLIMIT_DEFAULT = 1000000 /** Ocean related functions */ public oceanAddress: string = null public fixedRateAddress: string @@ -141,22 +141,16 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .buyDT( - datatokenAddress, - dtAmount, - maxBaseTokenAmount, - consumeMarketAddress, - consumeMarketFee - ) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas( + account, + fixedRate.methods.buyDT, + datatokenAddress, + dtAmount, + maxBaseTokenAmount, + consumeMarketAddress, + consumeMarketFee + ) } /** @@ -190,8 +184,9 @@ export class FixedRateExchange { +exchange.btDecimals ) - const estGas = await this.estBuyDT( + const estGas = await estimateGas( address, + this.contract.methods.buyDT, exchangeId, dtAmountFormatted, maxBtFormatted, @@ -239,22 +234,16 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .sellDT( - datatokenAddress, - dtAmount, - maxBaseTokenAmount, - consumeMarketAddress, - consumeMarketFee - ) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas( + account, + fixedRate.methods.sellDT, + datatokenAddress, + dtAmount, + maxBaseTokenAmount, + consumeMarketAddress, + consumeMarketFee + ) } /** @@ -287,8 +276,9 @@ export class FixedRateExchange { minBaseTokenAmount, +exchange.btDecimals ) - const estGas = await this.estBuyDT( + const estGas = await estimateGas( address, + this.contract.methods.sellDT, exchangeId, dtAmountFormatted, minBtFormatted, @@ -342,16 +332,13 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .setRate(exchangeId, await this.web3.utils.toWei(newRate)) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas( + account, + fixedRate.methods.setRate, + exchangeId, + await this.web3.utils.toWei(newRate) + ) } /** @@ -366,7 +353,12 @@ export class FixedRateExchange { exchangeId: string, newRate: string ): Promise { - const estGas = await this.estSetRate(address, exchangeId, newRate) + const estGas = await estimateGas( + address, + this.contract.methods.setRate, + exchangeId, + this.web3.utils.toWei(newRate) + ) const trxReceipt = await this.contract.methods .setRate(exchangeId, this.web3.utils.toWei(newRate)) .send({ @@ -392,16 +384,8 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .setRate(exchangeId, newAllowedSwapper) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas(account, fixedRate.methods.setRate, exchangeId, newAllowedSwapper) } /** @@ -416,7 +400,12 @@ export class FixedRateExchange { exchangeId: string, newAllowedSwapper: string ): Promise { - const estGas = await this.estSetAllowedSwapper(address, exchangeId, newAllowedSwapper) + const estGas = await estimateGas( + address, + this.contract.methods.setAllowedSwapper, + exchangeId, + newAllowedSwapper + ) const trxReceipt = await this.contract.methods .setAllowedSwapper(exchangeId, newAllowedSwapper) .send({ @@ -440,16 +429,8 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .toggleExchangeState(exchangeId) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas(account, fixedRate.methods.toggleExchangeState, exchangeId) } /** @@ -466,7 +447,11 @@ export class FixedRateExchange { if (!exchange) return null if (exchange.active === true) return null - const estGas = await this.estActivate(address, exchangeId) + const estGas = await estimateGas( + address, + this.contract.methods.toggleExchangeState, + exchangeId + ) const trxReceipt = await this.contract.methods.toggleExchangeState(exchangeId).send({ from: address, gas: estGas + 1, @@ -488,16 +473,8 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .toggleExchangeState(exchangeId) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas(account, fixedRate.methods.toggleExchangeState, exchangeId) } /** @@ -514,7 +491,11 @@ export class FixedRateExchange { if (!exchange) return null if (exchange.active === false) return null - const estGas = await this.estDeactivate(address, exchangeId) + const estGas = await estimateGas( + address, + this.contract.methods.toggleExchangeState, + exchangeId + ) const trxReceipt = await this.contract.methods.toggleExchangeState(exchangeId).send({ from: address, @@ -739,16 +720,8 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .toggleMintState(exchangeId, true) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas(account, fixedRate.methods.toggleMintState, exchangeId, true) } /** @@ -765,7 +738,12 @@ export class FixedRateExchange { if (!exchange) return null if (exchange.withMint === true) return null - const estGas = await this.estActivateMint(address, exchangeId) + const estGas = await estimateGas( + address, + this.contract.methods.toggleMintState, + exchangeId, + true + ) const trxReceipt = await this.contract.methods .toggleMintState(exchangeId, true) .send({ @@ -789,16 +767,8 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .toggleMintState(exchangeId) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas(account, fixedRate.methods.toggleMintState, exchangeId) } /** @@ -815,7 +785,12 @@ export class FixedRateExchange { if (!exchange) return null if (exchange.withMint === false) return null - const estGas = await this.estDeactivate(address, exchangeId) + const estGas = await estimateGas( + address, + this.contract.methods.toggleMintState, + exchangeId, + false + ) const trxReceipt = await this.contract.methods .toggleMintState(exchangeId, false) @@ -843,8 +818,6 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas const fixedrate: FixedPriceExchange = await this.contract.methods .getExchange(exchangeId) .call() @@ -853,14 +826,7 @@ export class FixedRateExchange { amount, +fixedrate.btDecimals ) - try { - estGas = await fixedRate.methods - .collectBT(exchangeId, amountWei) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(account, fixedRate.methods.collectBT, exchangeId, amountWei) } /** @@ -878,7 +844,6 @@ export class FixedRateExchange { const exchange = await this.getExchange(exchangeId) if (!exchange) return null - const estGas = await this.estCollectBT(address, exchangeId, amount) const fixedrate: FixedPriceExchange = await this.contract.methods .getExchange(exchangeId) .call() @@ -887,6 +852,14 @@ export class FixedRateExchange { amount, +fixedrate.btDecimals ) + + const estGas = await estimateGas( + address, + this.contract.methods.collectBT, + exchangeId, + amountWei + ) + const trxReceipt = await this.contract.methods.collectBT(exchangeId, amountWei).send({ from: address, gas: estGas + 1, @@ -910,24 +883,16 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas const fixedrate: FixedPriceExchange = await this.contract.methods .getExchange(exchangeId) .call() + const amountWei = await this.amountToUnits( fixedrate.datatoken, amount, +fixedrate.dtDecimals ) - try { - estGas = await fixedRate.methods - .collectDT(exchangeId, amountWei) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(account, fixedRate.methods.collectDT, exchangeId, amountWei) } /** @@ -945,7 +910,6 @@ export class FixedRateExchange { const exchange = await this.getExchange(exchangeId) if (!exchange) return null - const estGas = await this.estCollectDT(address, exchangeId, amount) const fixedrate: FixedPriceExchange = await this.contract.methods .getExchange(exchangeId) .call() @@ -954,6 +918,14 @@ export class FixedRateExchange { amount, +fixedrate.dtDecimals ) + + const estGas = await estimateGas( + address, + this.contract.methods.collectDT, + exchangeId, + amountWei + ) + const trxReceipt = await this.contract.methods.collectDT(exchangeId, amountWei).send({ from: address, gas: estGas + 1, @@ -975,16 +947,8 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .collectMarketFee(exchangeId) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas(account, fixedRate.methods.collectMarketFee, exchangeId) } /** @@ -1000,7 +964,11 @@ export class FixedRateExchange { const exchange = await this.getExchange(exchangeId) if (!exchange) return null - const estGas = await this.estCollectMarketFee(address, exchangeId) + const estGas = await estimateGas( + address, + this.contract.methods.collectMarketFee, + exchangeId + ) const trxReceipt = await this.contract.methods.collectMarketFee(exchangeId).send({ from: address, gas: estGas + 1, @@ -1022,16 +990,8 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .collectMarketFee(exchangeId) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas(account, fixedRate.methods.collectMarketFee, exchangeId) } /** @@ -1047,7 +1007,11 @@ export class FixedRateExchange { const exchange = await this.getExchange(exchangeId) if (!exchange) return null - const estGas = await this.estCollectOceanFee(address, exchangeId) + const estGas = await estimateGas( + address, + this.contract.methods.collectOceanFee, + exchangeId + ) const trxReceipt = await this.contract.methods.collectOceanFee(exchangeId).send({ from: address, gas: estGas + 1, @@ -1056,20 +1020,6 @@ export class FixedRateExchange { return trxReceipt } - /** - * Get OPF Collector of fixed rate contract - * @return {String} - */ - async getOPCCollector(): Promise { - let result = null - try { - result = await this.contract.methods.opcCollector().call() - } catch (e) { - LoggerInstance.error(`ERROR: Failed to get OPC Collector address: ${e.message}`) - } - return result - } - /** * Get Router address set in fixed rate contract * @return {String} @@ -1114,16 +1064,13 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .updateMarketFee(exchangeId, newMarketFee) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas( + account, + fixedRate.methods.updateMarketFee, + exchangeId, + newMarketFee + ) } /** @@ -1138,8 +1085,9 @@ export class FixedRateExchange { exchangeId: string, newMarketFee: string ): Promise { - const estGas = await this.estSetRate( + const estGas = await estimateGas( address, + this.contract.methods.updateMarketFee, exchangeId, this.web3.utils.toWei(newMarketFee) ) @@ -1168,16 +1116,13 @@ export class FixedRateExchange { contractInstance?: Contract ): Promise { const fixedRate = contractInstance || this.fixedRateContract - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await fixedRate.methods - .updateMarketFeeCollector(exchangeId, newMarketFeeCollector) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + + return estimateGas( + account, + fixedRate.methods.updateMarketFeeCollector, + exchangeId, + newMarketFeeCollector + ) } /** @@ -1192,8 +1137,9 @@ export class FixedRateExchange { exchangeId: string, newMarketFeeCollector: string ): Promise { - const estGas = await this.estUpdateMarketFeeCollector( + const estGas = await estimateGas( address, + this.contract.methods.updateMarketFeeCollector, exchangeId, newMarketFeeCollector ) diff --git a/src/pools/ssContracts/SideStaking.ts b/src/pools/ssContracts/SideStaking.ts index 957514bf..154ea1a5 100644 --- a/src/pools/ssContracts/SideStaking.ts +++ b/src/pools/ssContracts/SideStaking.ts @@ -2,14 +2,19 @@ import Web3 from 'web3' import { AbiItem } from 'web3-utils/types' import { TransactionReceipt } from 'web3-core' import { Contract } from 'web3-eth-contract' -import { LoggerInstance, getFairGasPrice, ConfigHelper, unitsToAmount } from '../../utils' +import { + LoggerInstance, + getFairGasPrice, + ConfigHelper, + estimateGas, + unitsToAmount +} from '../../utils' import SideStakingTemplate from '@oceanprotocol/contracts/artifacts/contracts/pools/ssContracts/SideStaking.sol/SideStaking.json' import { Config } from '../../models' export class SideStaking { public ssAbi: AbiItem | AbiItem[] public web3: Web3 - public GASLIMIT_DEFAULT = 1000000 public config: Config constructor( @@ -274,16 +279,7 @@ export class SideStaking { const sideStaking = contractInstance || new this.web3.eth.Contract(this.ssAbi as AbiItem[], ssAddress) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await sideStaking.methods - .getVesting(datatokenAddress) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(account, sideStaking.methods.getVesting, datatokenAddress) } /** Send vested tokens available to the publisher address, can be called by anyone @@ -301,12 +297,12 @@ export class SideStaking { const sideStaking = new this.web3.eth.Contract(this.ssAbi, ssAddress) let result = null - const estGas = await this.estGetVesting( + const estGas = await estimateGas( account, - ssAddress, - datatokenAddress, - sideStaking + sideStaking.methods.getVesting, + datatokenAddress ) + try { result = await sideStaking.methods.getVesting(datatokenAddress).send({ from: account, @@ -338,16 +334,13 @@ export class SideStaking { const sideStaking = contractInstance || new this.web3.eth.Contract(this.ssAbi as AbiItem[], ssAddress) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await sideStaking.methods - .setPoolSwapFee(datatokenAddress, poolAddress, swapFee) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + account, + sideStaking.methods.setPoolSwapFee, + datatokenAddress, + poolAddress, + swapFee + ) } /** Send vested tokens available to the publisher address, can be called by anyone @@ -367,14 +360,14 @@ export class SideStaking { const sideStaking = new this.web3.eth.Contract(this.ssAbi, ssAddress) let result = null - const estGas = await this.estSetPoolSwapFee( + const estGas = await estimateGas( account, - ssAddress, + sideStaking.methods.setPoolSwapFee, datatokenAddress, poolAddress, - swapFee, - sideStaking + swapFee ) + try { result = await sideStaking.methods .setPoolSwapFee(datatokenAddress, poolAddress, swapFee) diff --git a/src/provider/Provider.ts b/src/provider/Provider.ts index f2116541..2bd87733 100644 --- a/src/provider/Provider.ts +++ b/src/provider/Provider.ts @@ -7,7 +7,8 @@ import { ComputeAlgorithm, ComputeAsset, ComputeEnvironment, - ProviderInitialize + ProviderInitialize, + ProviderComputeInitializeResults } from '../@types/' import { noZeroX } from '../utils/ConversionTypeHelper' import fetch from 'cross-fetch' @@ -327,6 +328,60 @@ export class Provider { } } + /** Initialize a compute request. + * @param {ComputeAsset} assets + * @param {ComputeAlgorithmber} algorithm + * @param {string} computeEnv + * @param {number} validUntil + * @param {string} providerUri Identifier of the asset to be registered in ocean + * @param {string} accountId + * @param {AbortSignal} signal abort signal + * @return {Promise} ProviderComputeInitialize data + */ + public async initializeCompute( + assets: ComputeAsset[], + algorithm: ComputeAlgorithm, + computeEnv: string, + validUntil: number, + providerUri: string, + accountId: string, + signal?: AbortSignal + ): Promise { + const providerEndpoints = await this.getEndpoints(providerUri) + const serviceEndpoints = await this.getServiceEndpoints( + providerUri, + providerEndpoints + ) + const providerData = { + datasets: assets, + algorithm: algorithm, + compute: { + env: computeEnv, + validUntil: validUntil + }, + consumerAddress: accountId + } + const initializeUrl = this.getEndpointURL(serviceEndpoints, 'initializeCompute') + ? this.getEndpointURL(serviceEndpoints, 'initializeCompute').urlPath + : null + if (!initializeUrl) return null + try { + const response = await fetch(initializeUrl, { + method: 'POST', + body: JSON.stringify(providerData), + headers: { + 'Content-Type': 'application/json' + }, + signal: signal + }) + const results = await response.json() + return results + } catch (e) { + LoggerInstance.error(e) + throw new Error('ComputeJob cannot be initialized') + } + } + /** Gets fully signed URL for download * @param {string} did * @param {string} accountId diff --git a/src/tokens/Datatoken.ts b/src/tokens/Datatoken.ts index d1197b5f..152cc498 100644 --- a/src/tokens/Datatoken.ts +++ b/src/tokens/Datatoken.ts @@ -10,6 +10,7 @@ import { getFairGasPrice, setContractDefaults, getFreOrderParams, + estimateGas, ZERO_ADDRESS, ConfigHelper } from '../utils' @@ -45,7 +46,6 @@ export interface DispenserParams { } export class Datatoken { - public GASLIMIT_DEFAULT = 1000000 public factoryAddress: string public factoryABI: AbiItem | AbiItem[] public datatokensAbi: AbiItem | AbiItem[] @@ -97,17 +97,12 @@ export class Datatoken { this.config ) - // Estimate gas cost for mint method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .approve(spender, this.web3.utils.toWei(amount)) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + dtContract.methods.approve, + spender, + this.web3.utils.toWei(amount) + ) } /** @@ -129,12 +124,11 @@ export class Datatoken { this.config ) - const estGas = await this.estGasApprove( - dtAddress, - spender, - amount, + const estGas = await estimateGas( address, - dtContract + dtContract.methods.approve, + spender, + this.web3.utils.toWei(amount) ) // Call mint contract method @@ -171,17 +165,12 @@ export class Datatoken { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .mint(toAddress || address, this.web3.utils.toWei(amount)) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + address, + dtContract.methods.mint, + toAddress || address, + this.web3.utils.toWei(amount) + ) } /** @@ -206,36 +195,27 @@ export class Datatoken { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - if (!fixedRateParams.allowedConsumer) fixedRateParams.allowedConsumer = ZERO_ADDRESS const withMint = fixedRateParams.withMint ? 1 : 0 - let estGas - try { - estGas = await dtContract.methods - .createFixedRate( - fixedRateParams.fixedRateAddress, - [ - fixedRateParams.baseTokenAddress, - address, - fixedRateParams.marketFeeCollector, - fixedRateParams.allowedConsumer - ], - [ - fixedRateParams.baseTokenDecimals, - fixedRateParams.datatokenDecimals, - fixedRateParams.fixedRate, - fixedRateParams.marketFee, - withMint - ] - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + address, + dtContract.methods.createFixedRate, + fixedRateParams.fixedRateAddress, + [ + fixedRateParams.baseTokenAddress, + address, + fixedRateParams.marketFeeCollector, + fixedRateParams.allowedConsumer + ], + [ + fixedRateParams.baseTokenDecimals, + fixedRateParams.datatokenDecimals, + fixedRateParams.fixedRate, + fixedRateParams.marketFee, + withMint + ] + ) } /** @@ -264,11 +244,23 @@ export class Datatoken { // should check ERC20Deployer role using erc721 level .. - const estGas = await this.estGasCreateFixedRate( - dtAddress, + const estGas = await estimateGas( address, - fixedRateParams, - dtContract + dtContract.methods.createFixedRate, + fixedRateParams.fixedRateAddress, + [ + fixedRateParams.baseTokenAddress, + fixedRateParams.owner, + fixedRateParams.marketFeeCollector, + fixedRateParams.allowedConsumer + ], + [ + fixedRateParams.baseTokenDecimals, + fixedRateParams.datatokenDecimals, + fixedRateParams.fixedRate, + fixedRateParams.marketFee, + withMint + ] ) // Call createFixedRate contract method @@ -324,23 +316,15 @@ export class Datatoken { if (!dispenserParams.withMint) dispenserParams.withMint = false - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .createDispenser( - dispenserAddress, - dispenserParams.maxTokens, - dispenserParams.maxBalance, - dispenserParams.withMint, - dispenserParams.allowedSwapper - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + address, + dtContract.methods.createDispenser, + dispenserAddress, + dispenserParams.maxTokens, + dispenserParams.maxBalance, + dispenserParams.withMint, + dispenserParams.allowedSwapper + ) } /** @@ -372,12 +356,14 @@ export class Datatoken { // should check ERC20Deployer role using erc721 level .. - const estGas = await this.estGasCreateDispenser( - dtAddress, + const estGas = await estimateGas( address, + dtContract.methods.createDispenser, dispenserAddress, - dispenserParams, - dtContract + dispenserParams.maxTokens, + dispenserParams.maxBalance, + dispenserParams.withMint, + dispenserParams.allowedSwapper ) // Call createFixedRate contract method @@ -422,12 +408,11 @@ export class Datatoken { const capAvailble = await this.getCap(dtAddress) if (new Decimal(capAvailble).gte(amount)) { - const estGas = await this.estGasMint( - dtAddress, + const estGas = await estimateGas( address, - amount, - toAddress, - dtContract + dtContract.methods.mint, + toAddress || address, + this.web3.utils.toWei(amount) ) // Call mint contract method @@ -465,17 +450,7 @@ export class Datatoken { this.config ) - // Estimate gas cost for addMinter method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .addMinter(minter) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, dtContract.methods.addMinter, minter) } /** @@ -500,7 +475,7 @@ export class Datatoken { throw new Error(`Caller is not ERC20Deployer`) } // Estimate gas cost for addMinter method - const estGas = await this.estGasAddMinter(dtAddress, address, minter, dtContract) + const estGas = await estimateGas(address, dtContract.methods.addMinter, minter) // Call addMinter function of the contract const trxReceipt = await dtContract.methods.addMinter(minter).send({ @@ -535,18 +510,7 @@ export class Datatoken { // should check ERC20Deployer role using erc721 level .. - // Estimate gas for removeMinter method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .removeMinter(minter) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, dtContract.methods.removeMinter, minter) } /** @@ -572,7 +536,7 @@ export class Datatoken { throw new Error(`Caller is not ERC20Deployer`) } - const estGas = await this.estGasRemoveMinter(dtAddress, address, minter, dtContract) + const estGas = await estimateGas(address, dtContract.methods.removeMinter, minter) // Call dtContract function of the contract const trxReceipt = await dtContract.methods.removeMinter(minter).send({ @@ -605,18 +569,7 @@ export class Datatoken { this.config ) - // Estimate gas for addFeeManager method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .addPaymentManager(paymentManager) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, dtContract.methods.addPaymentManager, paymentManager) } /** @@ -641,11 +594,10 @@ export class Datatoken { throw new Error(`Caller is not ERC20Deployer`) } - const estGas = await this.estGasAddPaymentManager( - dtAddress, + const estGas = await estimateGas( address, - paymentManager, - dtContract + dtContract.methods.addPaymentManager, + paymentManager ) // Call addPaymentManager function of the contract @@ -679,16 +631,7 @@ export class Datatoken { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .removePaymentManager(paymentManager) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, dtContract.methods.removePaymentManager, paymentManager) } /** @@ -713,11 +656,10 @@ export class Datatoken { throw new Error(`Caller is not ERC20Deployer`) } - const estGas = await this.estGasRemovePaymentManager( - dtAddress, + const estGas = await estimateGas( address, - paymentManager, - dtContract + dtContract.methods.removePaymentManager, + paymentManager ) // Call removeFeeManager function of the contract @@ -753,16 +695,7 @@ export class Datatoken { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .setPaymentCollector(paymentCollector) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, dtContract.methods.setPaymentCollector, paymentCollector) } /** @@ -794,11 +727,10 @@ export class Datatoken { throw new Error(`Caller is not Fee Manager, owner or erc20 Deployer`) } - const estGas = await this.estGasSetPaymentCollector( - dtAddress, + const estGas = await estimateGas( address, - paymentCollector, - dtContract + dtContract.methods.setPaymentCollector, + paymentCollector ) // Call setFeeCollector method of the contract @@ -867,16 +799,7 @@ export class Datatoken { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .transfer(toAddress, amount) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, dtContract.methods.transfer, toAddress, amount) } /** @@ -898,12 +821,11 @@ export class Datatoken { this.config ) try { - const estGas = await this.estGasTransfer( - dtAddress, - toAddress, - amount, + const estGas = await estimateGas( address, - dtContract + dtContract.methods.transfer, + toAddress, + amount ) // Call transfer function of the contract const trxReceipt = await dtContract.methods.transfer(toAddress, amount).send({ @@ -944,17 +866,14 @@ export class Datatoken { this.config ) - // Estimate gas for startOrder method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .startOrder(consumer, serviceIndex, providerFees, consumeMarketFee) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + dtContract.methods.startOrder, + consumer, + serviceIndex, + providerFees, + consumeMarketFee + ) } /** Start Order: called by payer or consumer prior ordering a service consume on a marketplace. @@ -986,14 +905,13 @@ export class Datatoken { } } try { - const estGas = await this.estGasStartOrder( - dtAddress, + const estGas = await estimateGas( address, + dtContract.methods.startOrder, consumer, serviceIndex, providerFees, - consumeMarketFee, - dtContract + consumeMarketFee ) const trxReceipt = await dtContract.methods @@ -1032,17 +950,7 @@ export class Datatoken { this.config ) - // Estimate gas for reuseOrder method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .reuseOrder(orderTxId, providerFees) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, dtContract.methods.reuseOrder, orderTxId, providerFees) } /** Reuse Order: called by payer or consumer having a valid order, but with expired provider access. @@ -1065,12 +973,11 @@ export class Datatoken { this.config ) try { - const estGas = await this.estGasReuseOrder( - dtAddress, + const estGas = await estimateGas( address, + dtContract.methods.reuseOrder, orderTxId, - providerFees, - dtContract + providerFees ) const trxReceipt = await dtContract.methods @@ -1106,17 +1013,12 @@ export class Datatoken { contractInstance || new this.web3.eth.Contract(this.datatokensEnterpriseAbi, dtAddress) - // Estimate gas for startOrder method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .buyFromFreAndOrder(orderParams, freParams) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + dtContract.methods.buyFromFreAndOrder, + orderParams, + freParams + ) } /** Buys 1 DT from the FRE and then startsOrder, while burning that DT @@ -1136,12 +1038,11 @@ export class Datatoken { try { const freContractParams = getFreOrderParams(freParams) - const estGas = await this.estGasBuyFromFreAndOrder( - dtAddress, + const estGas = await estimateGas( address, + dtContract.methods.buyFromFreAndOrder, orderParams, - freContractParams, - dtContract + freContractParams ) const trxReceipt = await dtContract.methods @@ -1177,17 +1078,12 @@ export class Datatoken { contractInstance || new this.web3.eth.Contract(this.datatokensEnterpriseAbi, dtAddress) - // Estimate gas for startOrder method - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .buyFromDispenserAndOrder(orderParams, dispenserContract) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + dtContract.methods.buyFromDispenserAndOrder, + orderParams, + dispenserContract + ) } /** Gets DT from dispenser and then startsOrder, while burning that DT @@ -1205,12 +1101,11 @@ export class Datatoken { ): Promise { const dtContract = new this.web3.eth.Contract(this.datatokensEnterpriseAbi, dtAddress) try { - const estGas = await this.estGasBuyFromDispenserAndOrder( - dtAddress, + const estGas = await estimateGas( address, + dtContract.methods.buyFromDispenserAndOrder, orderParams, - dispenserContract, - dtContract + dispenserContract ) const trxReceipt = await dtContract.methods @@ -1247,16 +1142,7 @@ export class Datatoken { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .setData(value) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, dtContract.methods.setData, value) } /** setData @@ -1281,7 +1167,7 @@ export class Datatoken { this.config ) - const estGas = await this.estGasSetData(dtAddress, address, value, dtContract) + const estGas = await estimateGas(address, dtContract.methods.setData, value) // Call setData function of the contract const trxReceipt = await dtContract.methods.setData(value).send({ @@ -1311,17 +1197,7 @@ export class Datatoken { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await dtContract.methods - .cleanPermissions() - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, dtContract.methods.cleanPermissions) } /** @@ -1343,7 +1219,7 @@ export class Datatoken { this.config ) - const estGas = await this.estGasCleanPermissions(dtAddress, address, dtContract) + const estGas = await estimateGas(address, dtContract.methods.cleanPermissions) // Call cleanPermissions function of the contract const trxReceipt = await dtContract.methods.cleanPermissions().send({ diff --git a/src/tokens/NFT.ts b/src/tokens/NFT.ts index 0b93160b..7fd2b4b1 100644 --- a/src/tokens/NFT.ts +++ b/src/tokens/NFT.ts @@ -7,6 +7,7 @@ import { getFairGasPrice, generateDtName, setContractDefaults, + estimateGas, ConfigHelper } from '../utils' import { Contract } from 'web3-eth-contract' @@ -25,7 +26,6 @@ interface Roles { } export class Nft { - public GASLIMIT_DEFAULT = 1000000 public factory721Address: string public factory721Abi: AbiItem | AbiItem[] public nftAbi: AbiItem | AbiItem[] @@ -80,22 +80,15 @@ export class Nft { new this.web3.eth.Contract(this.nftAbi, nftAddress), this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .createERC20( - templateIndex, - [name, symbol], - [minter, paymentCollector, mpFeeAddress, feeToken], - [this.web3.utils.toWei(cap), this.web3.utils.toWei(feeAmount)], - [] - ) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas( + address, + nftContract.methods.createERC20, + templateIndex, + [name, symbol], + [minter, paymentCollector, mpFeeAddress, feeToken], + [this.web3.utils.toWei(cap), this.web3.utils.toWei(feeAmount)], + [] + ) } /** @@ -142,19 +135,14 @@ export class Nft { this.config ) - const estGas = await this.estGasCreateErc20( - nftAddress, + const estGas = await estimateGas( address, - minter, - paymentCollector, - mpFeeAddress, - feeToken, - feeAmount, - cap, - name, - symbol, + nftContract.methods.createERC20, templateIndex, - nftContract + [name, symbol], + [minter, paymentCollector, mpFeeAddress, feeToken], + [this.web3.utils.toWei(cap), this.web3.utils.toWei(feeAmount)], + [] ) // Call createERC20 token function of the contract @@ -202,16 +190,7 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .addManager(manager) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, nftContract.methods.addManager, manager) } /** @@ -231,7 +210,7 @@ export class Nft { throw new Error(`Caller is not NFT Owner`) } - const estGas = await this.estGasAddManager(nftAddress, address, manager, nftContract) + const estGas = await estimateGas(address, nftContract.methods.addManager, manager) // Invoke addManager function of the contract const trxReceipt = await nftContract.methods.addManager(manager).send({ @@ -263,16 +242,7 @@ export class Nft { new this.web3.eth.Contract(this.nftAbi, nftAddress), this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .removeManager(manager) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, nftContract.methods.removeManager, manager) } /** @@ -292,12 +262,7 @@ export class Nft { throw new Error(`Caller is not NFT Owner`) } - const estGas = await this.estGasRemoveManager( - nftAddress, - address, - manager, - nftContract - ) + const estGas = await estimateGas(address, nftContract.methods.removeManager, manager) // Invoke removeManager function of the contract const trxReceipt = await nftContract.methods.removeManager(manager).send({ @@ -329,17 +294,7 @@ export class Nft { new this.web3.eth.Contract(this.nftAbi, nftAddress), this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .addToCreateERC20List(erc20Deployer) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, nftContract.methods.addToCreateERC20List, erc20Deployer) } /** @@ -364,11 +319,10 @@ export class Nft { } // Estimate gas for addToCreateERC20List method - const estGas = await this.estGasAddErc20Deployer( - nftAddress, + const estGas = await estimateGas( address, - erc20Deployer, - nftContract + nftContract.methods.addToCreateERC20List, + erc20Deployer ) // Invoke addToCreateERC20List function of the contract @@ -404,17 +358,11 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .removeFromCreateErc20List(erc20Deployer) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + address, + nftContract.methods.removeFromCreateERC20List, + erc20Deployer + ) } /** @@ -441,11 +389,10 @@ export class Nft { ) { throw new Error(`Caller is not Manager nor ERC20Deployer`) } - const estGas = await this.estGasRemoveErc20Deployer( - nftAddress, + const estGas = await estimateGas( address, - erc20Deployer, - nftContract + nftContract.methods.removeFromCreateERC20List, + erc20Deployer ) // Call removeFromCreateERC20List function of the contract @@ -481,16 +428,7 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .addToMetadataList(metadataUpdater) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, nftContract.methods.addToMetadataList, metadataUpdater) } /** @@ -514,11 +452,10 @@ export class Nft { throw new Error(`Caller is not Manager`) } - const estGas = await this.estGasAddMetadataUpdater( - nftAddress, + const estGas = await estimateGas( address, - metadataUpdater, - nftContract + nftContract.methods.addToMetadataList, + metadataUpdater ) // Call addToMetadataList function of the contract @@ -552,17 +489,11 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .removeFromMetadataList(metadataUpdater) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + address, + nftContract.methods.removeFromMetadataList, + metadataUpdater + ) } /** @@ -630,16 +561,7 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .addTo725StoreList(storeUpdater) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, nftContract.methods.addTo725StoreList, storeUpdater) } /** @@ -663,11 +585,10 @@ export class Nft { throw new Error(`Caller is not Manager`) } - const estGas = await this.estGasAddStoreUpdater( - nftAddress, + const estGas = await estimateGas( address, - storeUpdater, - nftContract + nftContract.methods.addTo725StoreList, + storeUpdater ) // Call addTo725StoreList function of the contract @@ -701,16 +622,7 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .removeFrom725StoreList(storeUpdater) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, nftContract.methods.removeFrom725StoreList, storeUpdater) } /** @@ -738,11 +650,10 @@ export class Nft { throw new Error(`Caller is not Manager nor storeUpdater`) } - const estGas = await this.estGasRemoveStoreUpdater( - nftAddress, + const estGas = await estimateGas( address, - storeUpdater, - nftContract + nftContract.methods.removeFrom725StoreList, + storeUpdater ) // Call removeFrom725StoreList function of the contract @@ -776,16 +687,7 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .cleanPermissions() - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - return estGas + return estimateGas(address, nftContract.methods.cleanPermissions) } /** @@ -811,7 +713,7 @@ export class Nft { throw new Error(`Caller is not NFT Owner`) } - const estGas = await this.estGasCleanPermissions(nftAddress, address, nftContract) + const estGas = await estimateGas(address, nftContract.methods.cleanPermissions) // Call cleanPermissions function of the contract const trxReceipt = await nftContract.methods.cleanPermissions().send({ @@ -846,19 +748,13 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .transferFrom(nftOwner, nftReceiver, tokenId) - .estimateGas({ from: nftOwner }, (err, estGas) => - err ? gasLimitDefault : estGas - ) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + nftOwner, + nftContract.methods.transferFrom, + nftOwner, + nftReceiver, + tokenId + ) } /** @@ -887,12 +783,12 @@ export class Nft { const tokenIdentifier = tokenId || 1 - const estGas = await this.estGasTransferNft( - nftAddress, + const estGas = await estimateGas( + nftOwner, + nftContract.methods.transferFrom, nftOwner, nftReceiver, - tokenIdentifier, - nftContract + tokenIdentifier ) // Call transferFrom function of the contract @@ -930,19 +826,13 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .safeTransferFrom(nftOwner, nftReceiver, tokenId) - .estimateGas({ from: nftOwner }, (err, estGas) => - err ? gasLimitDefault : estGas - ) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + nftOwner, + nftContract.methods.safeTransferFrom, + nftOwner, + nftReceiver, + tokenId + ) } /** @@ -971,12 +861,12 @@ export class Nft { const tokenIdentifier = tokenId || 1 - const estGas = await this.estGasSafeTransferNft( - nftAddress, + const estGas = await estimateGas( + nftOwner, + nftContract.methods.safeTransferFrom, nftOwner, nftReceiver, - tokenIdentifier, - nftContract + tokenIdentifier ) // Call transferFrom function of the contract @@ -1021,28 +911,17 @@ export class Nft { this.config ) if (!metadataProofs) metadataProofs = [] - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .setMetaData( - metadataState, - metadataDecryptorUrl, - metadataDecryptorAddress, - flags, - data, - metadataHash, - metadataProofs - ) - .estimateGas({ from: metadataUpdater }, (err, estGas) => - err ? gasLimitDefault : estGas - ) - } catch (e) { - LoggerInstance.error('estGasSetMetadata error: ', e.message) - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + metadataUpdater, + nftContract.methods.setMetaData, + metadataState, + metadataDecryptorUrl, + metadataDecryptorAddress, + flags, + data, + metadataHash, + metadataProofs + ) } /** @@ -1071,17 +950,16 @@ export class Nft { if (!(await this.getNftPermissions(nftAddress, address)).updateMetadata) { throw new Error(`Caller is not Metadata updater`) } - const estGas = await this.estGasSetMetadata( - nftAddress, + const estGas = await estimateGas( address, + nftContract.methods.setMetaData, metadataState, metadataDecryptorUrl, metadataDecryptorAddress, flags, data, metadataHash, - metadataProofs, - nftContract + metadataProofs ) const trxReceipt = await nftContract.methods .setMetaData( @@ -1122,23 +1000,15 @@ export class Nft { new this.web3.eth.Contract(this.nftAbi, nftAddress), this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas const sanitizedMetadataAndTokenURI = { ...metadataAndTokenURI, metadataProofs: metadataAndTokenURI.metadataProofs || [] } - try { - estGas = await nftContract.methods - .setMetaDataAndTokenURI(sanitizedMetadataAndTokenURI) - .estimateGas({ from: metadataUpdater }, (err, estGas) => - err ? gasLimitDefault : estGas - ) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + metadataUpdater, + nftContract.methods.setMetaDataAndTokenURI, + sanitizedMetadataAndTokenURI + ) } /** @@ -1160,16 +1030,15 @@ export class Nft { if (!(await this.getNftPermissions(nftAddress, metadataUpdater)).updateMetadata) { throw new Error(`Caller is not Metadata updater`) } - const estGas = await this.estGasSetMetadataAndTokenURI( - nftAddress, - metadataUpdater, - metadataAndTokenURI, - nftContract - ) const sanitizedMetadataAndTokenURI = { ...metadataAndTokenURI, metadataProofs: metadataAndTokenURI.metadataProofs || [] } + const estGas = await estimateGas( + metadataUpdater, + nftContract.methods.setMetaDataAndTokenURI, + sanitizedMetadataAndTokenURI + ) const trxReceipt = await nftContract.methods .setMetaDataAndTokenURI(sanitizedMetadataAndTokenURI) .send({ @@ -1202,19 +1071,11 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .setMetaDataState(metadataState) - .estimateGas({ from: metadataUpdater }, (err, estGas) => - err ? gasLimitDefault : estGas - ) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas( + metadataUpdater, + nftContract.methods.setMetaDataState, + metadataState + ) } /** @@ -1238,7 +1099,11 @@ export class Nft { throw new Error(`Caller is not Metadata updater`) } - const estGas = await this.estGasSetMetadataState(nftAddress, address, metadataState) + const estGas = await estimateGas( + address, + nftContract.methods.setMetaDataState, + metadataState + ) // Call transferFrom function of the contract const trxReceipt = await nftContract.methods.setMetaDataState(metadataState).send({ @@ -1266,17 +1131,7 @@ export class Nft { this.config ) - const gasLimitDefault = this.GASLIMIT_DEFAULT - let estGas - try { - estGas = await nftContract.methods - .setTokenURI('1', data) - .estimateGas({ from: address }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - } - - return estGas + return estimateGas(address, nftContract.methods.setTokenURI, '1', data) } /** set TokenURI on an nft @@ -1295,7 +1150,7 @@ export class Nft { this.config ) - const estGas = await this.estSetTokenURI(nftAddress, address, data) + const estGas = await estimateGas(address, nftContract.methods.setTokenURI, '1', data) const trxReceipt = await nftContract.methods.setTokenURI('1', data).send({ from: address, gas: estGas + 1, diff --git a/src/utils/ContractUtils.ts b/src/utils/ContractUtils.ts index d7502b9f..17066603 100644 --- a/src/utils/ContractUtils.ts +++ b/src/utils/ContractUtils.ts @@ -11,7 +11,7 @@ import { import { Config } from '../models' import { minAbi } from './minAbi' import LoggerInstance from './Logger' -import { ZERO_ADDRESS } from './Constants' +import { GASLIMIT_DEFAULT, ZERO_ADDRESS } from './Constants' export function setContractDefaults(contract: Contract, config: Config): Contract { if (config) { @@ -164,3 +164,29 @@ export async function amountToUnits( LoggerInstance.error(`ERROR: FAILED TO CALL DECIMALS(), USING 18', ${e.message}`) } } + +/** + * Estimates the gas used when a function would be executed on chain + * @param {string} from account that calls the function + * @param {Function} functionToEstimateGas function that we need to estimate the gas + * @param {...any[]} args arguments of the function + * @return {Promise} gas cost of the function + */ +export async function estimateGas( + from: string, + functionToEstimateGas: Function, + ...args: any[] +): Promise { + let estimatedGas = GASLIMIT_DEFAULT + try { + estimatedGas = await functionToEstimateGas.apply(null, args).estimateGas( + { + from: from + }, + (err, estGas) => (err ? GASLIMIT_DEFAULT : estGas) + ) + } catch (e) { + LoggerInstance.error(`ERROR: Estimate gas failed!`, e) + } + return estimatedGas +} diff --git a/src/utils/PoolHelpers.ts b/src/utils/PoolHelpers.ts index c817d64d..dc93b0a7 100644 --- a/src/utils/PoolHelpers.ts +++ b/src/utils/PoolHelpers.ts @@ -2,11 +2,11 @@ import Decimal from 'decimal.js' import { Pool } from '..' export function calcMaxExactOut(balance: string): Decimal { - return new Decimal(balance).div(3.01) + return new Decimal(balance).div(2) } export function calcMaxExactIn(balance: string): Decimal { - return new Decimal(balance).div(2.01) + return new Decimal(balance).div(2) } export async function getMaxSwapExactOut( poolInstance: Pool, diff --git a/src/utils/TokenUtils.ts b/src/utils/TokenUtils.ts index 64e9f83f..c8008c3f 100644 --- a/src/utils/TokenUtils.ts +++ b/src/utils/TokenUtils.ts @@ -1,11 +1,15 @@ import Decimal from 'decimal.js' import { Contract } from 'web3-eth-contract' -import { amountToUnits, getFairGasPrice, unitsToAmount } from './ContractUtils' +import { + amountToUnits, + estimateGas, + getFairGasPrice, + unitsToAmount +} from './ContractUtils' import { minAbi } from './minAbi' import LoggerInstance from './Logger' import { TransactionReceipt } from 'web3-core' import Web3 from 'web3' -import { GASLIMIT_DEFAULT } from './Constants' /** * Estimate gas cost for approval function @@ -27,17 +31,7 @@ export async function estApprove( ): Promise { const tokenContract = contractInstance || new web3.eth.Contract(minAbi, tokenAddress) - const gasLimitDefault = GASLIMIT_DEFAULT - let estGas - try { - estGas = await tokenContract.methods - .approve(spender, amount) - .estimateGas({ from: account }, (err, estGas) => (err ? gasLimitDefault : estGas)) - } catch (e) { - estGas = gasLimitDefault - LoggerInstance.error('estimate gas failed for approve!', e) - } - return estGas + return estimateGas(account, tokenContract.methods.approve, spender, amount) } /** @@ -45,7 +39,7 @@ export async function estApprove( * @param {String} account * @param {String} tokenAddress * @param {String} spender - * @param {String} amount (always expressed as wei) + * @param {String} amount amount of ERC20 tokens (always expressed as wei) * @param {boolean} force if true, will overwrite any previous allowence. Else, will check if allowence is enough and will not send a transaction if it's not needed * @param {number} tokenDecimals optional number of decimals of the token */ @@ -67,13 +61,11 @@ export async function approve( } let result = null const amountFormatted = await amountToUnits(web3, tokenAddress, amount, tokenDecimals) - const estGas = await estApprove( - web3, + const estGas = await estimateGas( account, - tokenAddress, + tokenContract.methods.approve, spender, - amountFormatted, - tokenContract + amountFormatted ) try { @@ -84,12 +76,73 @@ export async function approve( }) } catch (e) { LoggerInstance.error( - `ERRPR: Failed to approve spender to spend tokens : ${e.message}` + `ERROR: Failed to approve spender to spend tokens : ${e.message}` ) } return result } +/** + * Estimate gas cost for transfer function + * @param {String} account + * @param {String} tokenAddress + * @param {String} recipient + * @param {String} amount + * @param {String} force + * @param {Contract} contractInstance optional contract instance + * @return {Promise} + */ +export async function estTransfer( + web3: Web3, + account: string, + tokenAddress: string, + recipient: string, + amount: string, + contractInstance?: Contract +): Promise { + const tokenContract = contractInstance || new web3.eth.Contract(minAbi, tokenAddress) + + return estimateGas(account, tokenContract.methods.transfer, recipient, amount) +} + +/** + * Moves amount tokens from the caller’s account to recipient. + * @param {String} account + * @param {String} tokenAddress + * @param {String} recipient + * @param {String} amount amount of ERC20 tokens (not as wei) + * @param {String} force if true, will overwrite any previous allowence. Else, will check if allowence is enough and will not send a transaction if it's not needed + */ +export async function transfer( + web3: Web3, + account: string, + tokenAddress: string, + recipient: string, + amount: string +): Promise { + const tokenContract = new web3.eth.Contract(minAbi, tokenAddress) + + let result = null + const amountFormatted = await amountToUnits(web3, tokenAddress, amount) + const estGas = await estimateGas( + account, + tokenContract.methods.transfer, + recipient, + amountFormatted + ) + + try { + result = await tokenContract.methods.transfer(recipient, amountFormatted).send({ + from: account, + gas: estGas + 1, + gasPrice: await getFairGasPrice(web3, null) + }) + } catch (e) { + LoggerInstance.error(`ERROR: Failed to transfer tokens : ${e.message}`) + } + return result +} + /** * Get Allowance for any erc20 * @param {Web3} web3 diff --git a/test/integration/ComputeFlow.test.ts b/test/integration/ComputeFlow.test.ts index 3a231035..aa494b08 100644 --- a/test/integration/ComputeFlow.test.ts +++ b/test/integration/ComputeFlow.test.ts @@ -8,11 +8,39 @@ import { NftFactory, NftCreateData, Datatoken, - getHash, Nft, - sleep + sleep, + ZERO_ADDRESS } from '../../src' -import { ProviderFees, Erc20CreateParams, ComputeJob, Asset } from '../../src/@types' +import { + Erc20CreateParams, + ComputeJob, + ComputeAsset, + ComputeAlgorithm, + ProviderComputeInitialize, + ConsumeMarketFee +} from '../../src/@types' + +let config: Config + +let aquarius: Aquarius +let datatoken: Datatoken +let providerUrl: string +let consumerAccount: string +let publisherAccount: string +let computeJobId: string +let providerInitializeComputeResults +let computeEnvs +let addresses: any +let ddoWith1mTimeoutId +let ddoWithNoTimeoutId +let algoDdoWith1mTimeoutId +let algoDdoWithNoTimeoutId + +let resolvedDdoWith1mTimeout +let resolvedDdoWithNoTimeout +let resolvedAlgoDdoWith1mTimeout +let resolvedAlgoDdoWithNoTimeout const assetUrl = [ { @@ -21,7 +49,7 @@ const assetUrl = [ method: 'GET' } ] -const ddo = { +const ddoWithNoTimeout = { '@context': ['https://w3id.org/did/v1'], id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c', version: '4.0.0', @@ -52,13 +80,44 @@ const ddo = { publisherTrustedAlgorithmPublishers: [], publisherTrustedAlgorithms: [], allowRawAlgorithm: true, - allowNetworkAccess: true, - namespace: 'ocean-compute', - cpus: 2, - gpus: 4, - gpuType: 'NVIDIA Tesla V100 GPU', - memory: '128M', - volumeSize: '2G' + allowNetworkAccess: true + } + } + ] +} + +const ddoWith1mTimeout = { + '@context': ['https://w3id.org/did/v1'], + id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c', + version: '4.0.0', + chainId: 4, + nftAddress: '0x0', + metadata: { + created: '2021-12-20T14:35:20Z', + updated: '2021-12-20T14:35:20Z', + type: 'dataset', + name: 'dfgdfgdg', + description: 'd dfgd fgd dfg dfgdfgd dfgdf', + tags: [''], + author: 'dd', + license: 'https://market.oceanprotocol.com/terms', + additionalInformation: { + termsAndConditions: true + } + }, + services: [ + { + id: 'notAnId', + type: 'compute', + files: '', + datatokenAddress: '0xa15024b732A8f2146423D14209eFd074e61964F3', + serviceEndpoint: 'https://providerv4.rinkeby.oceanprotocol.com', + timeout: 60, + compute: { + publisherTrustedAlgorithmPublishers: [], + publisherTrustedAlgorithms: [], + allowRawAlgorithm: true, + allowNetworkAccess: true } } ] @@ -70,7 +129,7 @@ const algoAssetUrl = [ method: 'GET' } ] -const algoDdo = { +const algoDdoWithNoTimeout = { '@context': ['https://w3id.org/did/v1'], id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c', version: '4.0.0', @@ -110,144 +169,246 @@ const algoDdo = { } ] } -let providerUrl: string -let consumerAccount: string -let computeJobId: string -let resolvedDDOAsset: Asset + +const algoDdoWith1mTimeout = { + '@context': ['https://w3id.org/did/v1'], + id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c', + version: '4.0.0', + chainId: 4, + nftAddress: '0x0', + metadata: { + created: '2021-12-20T14:35:20Z', + updated: '2021-12-20T14:35:20Z', + type: 'algorithm', + name: 'dfgdfgdg', + description: 'd dfgd fgd dfg dfgdfgd dfgdf', + tags: [''], + author: 'dd', + license: 'https://market.oceanprotocol.com/terms', + additionalInformation: { + termsAndConditions: true + }, + algorithm: { + language: 'Node.js', + version: '1.0.0', + container: { + entrypoint: 'node $ALGO', + image: 'ubuntu', + tag: 'latest', + checksum: '44e10daa6637893f4276bb8d7301eb35306ece50f61ca34dcab550' + } + } + }, + services: [ + { + id: 'notAnId', + type: 'access', + files: '', + datatokenAddress: '0xa15024b732A8f2146423D14209eFd074e61964F3', + serviceEndpoint: 'https://providerv4.rinkeby.oceanprotocol.com', + timeout: 60 + } + ] +} + +async function createAsset( + name: string, + symbol: string, + owner: string, + assetUrl: any, + ddo: any, + providerUrl: string +) { + const nft = new Nft(web3) + const Factory = new NftFactory(addresses.ERC721Factory, web3) + + const chain = await web3.eth.getChainId() + ddo.chainId = parseInt(chain.toString(10)) + const nftParamsAsset: NftCreateData = { + name: name, + symbol: symbol, + templateIndex: 1, + tokenURI: 'aaa', + transferable: true, + owner: owner + } + const erc20ParamsAsset: Erc20CreateParams = { + templateIndex: 1, + cap: '100000', + feeAmount: '0', + paymentCollector: ZERO_ADDRESS, + feeToken: ZERO_ADDRESS, + minter: owner, + mpFeeAddress: ZERO_ADDRESS + } + + const result = await Factory.createNftWithErc20(owner, nftParamsAsset, erc20ParamsAsset) + + const erc721AddressAsset = result.events.NFTCreated.returnValues[0] + const datatokenAddressAsset = result.events.TokenCreated.returnValues[0] + // create the files encrypted string + let providerResponse = await ProviderInstance.encrypt(assetUrl, providerUrl) + ddo.services[0].files = await providerResponse + ddo.services[0].datatokenAddress = datatokenAddressAsset + ddo.services[0].serviceEndpoint = providerUrl + // update ddo and set the right did + ddo.nftAddress = web3.utils.toChecksumAddress(erc721AddressAsset) + ddo.id = + 'did:op:' + + SHA256(web3.utils.toChecksumAddress(erc721AddressAsset) + chain.toString(10)) + providerResponse = await ProviderInstance.encrypt(ddo, providerUrl) + const encryptedResponse = await providerResponse + const validateResult = await aquarius.validate(ddo) + assert(validateResult.valid, 'Could not validate metadata') + await nft.setMetadata( + erc721AddressAsset, + owner, + 0, + providerUrl, + '', + '0x2', + encryptedResponse, + validateResult.hash + ) + return ddo.id +} + +async function handleOrder( + order: ProviderComputeInitialize, + datatokenAddress: string, + payerAccount: string, + consumerAccount: string, + serviceIndex: number, + consumeMarkerFee?: ConsumeMarketFee +) { + /* We do have 3 possible situations: + - have validOrder and no providerFees -> then order is valid, providerFees are valid, just use it in startCompute + - have validOrder and providerFees -> then order is valid but providerFees are not valid, we need to call reuseOrder and pay only providerFees + - no validOrder -> we need to call startOrder, to pay 1 DT & providerFees + */ + if (order.providerFee && order.providerFee.providerFeeAmount) { + await datatoken.approve( + order.providerFee.providerFeeToken, + datatokenAddress, + order.providerFee.providerFeeAmount, + payerAccount + ) + } + if (order.validOrder) { + if (!order.providerFee) return order.validOrder + const tx = await datatoken.reuseOrder( + datatokenAddress, + payerAccount, + order.validOrder, + order.providerFee + ) + return tx.transactionHash + } + const tx = await datatoken.startOrder( + datatokenAddress, + payerAccount, + consumerAccount, + serviceIndex, + order.providerFee, + consumeMarkerFee + ) + return tx.transactionHash +} describe('Simple compute tests', async () => { - let config: Config - let addresses: any - let aquarius: Aquarius - before(async () => { config = await getTestConfig(web3) addresses = getAddresses() aquarius = new Aquarius(config.metadataCacheUri) providerUrl = config.providerUri + datatoken = new Datatoken(web3) }) - it('should publish a dataset, algorithm and start a compute job', async () => { - const nft = new Nft(web3) - const datatoken = new Datatoken(web3) - const Factory = new NftFactory(addresses.ERC721Factory, web3) + it('should publish datasets and algorithms', async () => { const accounts = await web3.eth.getAccounts() - const publisherAccount = accounts[0] + publisherAccount = accounts[0] consumerAccount = accounts[1] - const chain = await web3.eth.getChainId() - const nftParamsAsset: NftCreateData = { - name: 'testNFT', - symbol: 'TST', - templateIndex: 1, - tokenURI: 'aaa', - transferable: true, - owner: publisherAccount - } - const erc20ParamsAsset: Erc20CreateParams = { - templateIndex: 1, - cap: '100000', - feeAmount: '0', - paymentCollector: '0x0000000000000000000000000000000000000000', - feeToken: '0x0000000000000000000000000000000000000000', - minter: publisherAccount, - mpFeeAddress: '0x0000000000000000000000000000000000000000' - } - - const result = await Factory.createNftWithErc20( + ddoWith1mTimeoutId = await createAsset( + 'D1Min', + 'D1M', publisherAccount, - nftParamsAsset, - erc20ParamsAsset + assetUrl, + ddoWith1mTimeout, + providerUrl + ) + ddoWithNoTimeoutId = await createAsset( + 'D1Min', + 'D1M', + publisherAccount, + assetUrl, + ddoWithNoTimeout, + providerUrl + ) + algoDdoWith1mTimeoutId = await createAsset( + 'A1Min', + 'A1M', + publisherAccount, + algoAssetUrl, + algoDdoWith1mTimeout, + providerUrl ) - const erc721AddressAsset = result.events.NFTCreated.returnValues[0] - const datatokenAddressAsset = result.events.TokenCreated.returnValues[0] - // create the files encrypted string - let providerResponse = await ProviderInstance.encrypt(assetUrl, providerUrl) - ddo.services[0].files = await providerResponse - ddo.services[0].datatokenAddress = datatokenAddressAsset - // update ddo and set the right did - ddo.nftAddress = erc721AddressAsset - ddo.id = - 'did:op:' + - SHA256(web3.utils.toChecksumAddress(erc721AddressAsset) + chain.toString(10)) - - providerResponse = await ProviderInstance.encrypt(ddo, providerUrl) - - let encryptedResponse = await providerResponse - let metadataHash = getHash(JSON.stringify(ddo)) - let res = await nft.setMetadata( - erc721AddressAsset, + algoDdoWithNoTimeoutId = await createAsset( + 'A1Min', + 'A1M', publisherAccount, - 0, - providerUrl, - '', - '0x2', - encryptedResponse, - '0x' + metadataHash + algoAssetUrl, + algoDdoWithNoTimeout, + providerUrl ) - // let's publish the algorithm as well - const nftParamsAlgo: NftCreateData = { - name: 'testNFT', - symbol: 'TST', - templateIndex: 1, - tokenURI: '', - transferable: true, - owner: publisherAccount - } - const erc20ParamsAlgo: Erc20CreateParams = { - templateIndex: 1, - cap: '100000', - feeAmount: '0', - paymentCollector: '0x0000000000000000000000000000000000000000', - feeToken: '0x0000000000000000000000000000000000000000', - minter: publisherAccount, - mpFeeAddress: '0x0000000000000000000000000000000000000000' - } - const resultAlgo = await Factory.createNftWithErc20( + }) + + it('should resolve published datasets and algorithms', async () => { + resolvedDdoWith1mTimeout = await aquarius.waitForAqua(ddoWith1mTimeoutId) + assert(resolvedDdoWith1mTimeout, 'Cannot fetch DDO from Aquarius') + resolvedDdoWithNoTimeout = await aquarius.waitForAqua(ddoWithNoTimeoutId) + assert(resolvedDdoWithNoTimeout, 'Cannot fetch DDO from Aquarius') + resolvedAlgoDdoWith1mTimeout = await aquarius.waitForAqua(algoDdoWith1mTimeoutId) + assert(resolvedAlgoDdoWith1mTimeout, 'Cannot fetch DDO from Aquarius') + resolvedAlgoDdoWithNoTimeout = await aquarius.waitForAqua(algoDdoWithNoTimeoutId) + assert(resolvedAlgoDdoWithNoTimeout, 'Cannot fetch DDO from Aquarius') + }) + + it('should send DT to consumer', async () => { + const datatoken = new Datatoken(web3) + await datatoken.mint( + resolvedDdoWith1mTimeout.services[0].datatokenAddress, publisherAccount, - nftParamsAlgo, - erc20ParamsAlgo + '10', + consumerAccount ) - const erc721AddressAlgo = resultAlgo.events.NFTCreated.returnValues[0] - const datatokenAddressAlgo = resultAlgo.events.TokenCreated.returnValues[0] - - // create the files encrypted string - providerResponse = await ProviderInstance.encrypt(algoAssetUrl, providerUrl) - algoDdo.services[0].files = await providerResponse - algoDdo.services[0].datatokenAddress = datatokenAddressAlgo - // update ddo and set the right did - algoDdo.nftAddress = erc721AddressAlgo - - algoDdo.id = - 'did:op:' + - SHA256(web3.utils.toChecksumAddress(erc721AddressAlgo) + chain.toString(10)) - - providerResponse = await ProviderInstance.encrypt(algoDdo, providerUrl) - encryptedResponse = await providerResponse - metadataHash = getHash(JSON.stringify(algoDdo)) - res = await nft.setMetadata( - erc721AddressAlgo, + await datatoken.mint( + resolvedDdoWithNoTimeout.services[0].datatokenAddress, publisherAccount, - 0, - providerUrl, - '', - '0x2', - encryptedResponse, - '0x' + metadataHash + '10', + consumerAccount ) + await datatoken.mint( + resolvedAlgoDdoWith1mTimeout.services[0].datatokenAddress, + publisherAccount, + '10', + consumerAccount + ) + await datatoken.mint( + resolvedAlgoDdoWithNoTimeout.services[0].datatokenAddress, + publisherAccount, + '10', + consumerAccount + ) + }) - // let's wait - resolvedDDOAsset = await aquarius.waitForAqua(ddo.id) - assert(resolvedDDOAsset, 'Cannot fetch DDO from Aquarius') - const resolvedDDOAlgo = await aquarius.waitForAqua(algoDdo.id) - assert(resolvedDDOAlgo, 'Cannot fetch DDO from Aquarius') - // mint 1 ERC20 and send it to the consumer - await datatoken.mint(datatokenAddressAsset, publisherAccount, '1', consumerAccount) - await datatoken.mint(datatokenAddressAlgo, publisherAccount, '1', consumerAccount) - + it('should fetch compute environments from provider', async () => { // get compute environments - const computeEnvs = await ProviderInstance.getComputeEnvironments(providerUrl) + computeEnvs = await ProviderInstance.getComputeEnvironments(providerUrl) assert(computeEnvs, 'No Compute environments found') + }) + + it('should start a computeJob', async () => { // we choose the first env const computeEnv = computeEnvs[0].id const computeConsumerAddress = computeEnvs[0].consumerAddress @@ -255,89 +416,53 @@ describe('Simple compute tests', async () => { const mytime = new Date() mytime.setMinutes(mytime.getMinutes() + 19) const computeValidUntil = Math.floor(mytime.getTime() / 1000) - // initialize provider orders for algo - const initializeDataAlgo = await ProviderInstance.initialize( - resolvedDDOAlgo.id, - resolvedDDOAlgo.services[0].id, - 0, - consumerAccount, - providerUrl, - null, - null, - computeEnv, - computeValidUntil - ) - const providerAlgoFees: ProviderFees = { - providerFeeAddress: initializeDataAlgo.providerFee.providerFeeAddress, - providerFeeToken: initializeDataAlgo.providerFee.providerFeeToken, - providerFeeAmount: initializeDataAlgo.providerFee.providerFeeAmount, - v: initializeDataAlgo.providerFee.v, - r: initializeDataAlgo.providerFee.r, - s: initializeDataAlgo.providerFee.s, - providerData: initializeDataAlgo.providerFee.providerData, - validUntil: initializeDataAlgo.providerFee.validUntil + const assets: ComputeAsset[] = [ + { + documentId: resolvedDdoWith1mTimeout.id, + serviceId: resolvedDdoWith1mTimeout.services[0].id + } + ] + const dtAddressArray = [resolvedDdoWith1mTimeout.services[0].datatokenAddress] + const algo: ComputeAlgorithm = { + documentId: resolvedAlgoDdoWith1mTimeout.id, + serviceId: resolvedAlgoDdoWith1mTimeout.services[0].id } - // make the payment - const txidAlgo = await datatoken.startOrder( - datatokenAddressAlgo, - consumerAccount, - computeConsumerAddress, // this is important because the c2d is the consumer, and user is the payer. Otherwise, c2d will have no access to the asset - 0, - providerAlgoFees - ) - assert(txidAlgo, 'Failed to order algo') - - const providerValidUntil = new Date() - providerValidUntil.setHours(providerValidUntil.getHours() + 1) - - // initialize provider orders for asset - const initializeData = await ProviderInstance.initialize( - resolvedDDOAsset.id, - resolvedDDOAsset.services[0].id, - 0, - consumerAccount, - providerUrl, - null, - null, + providerInitializeComputeResults = await ProviderInstance.initializeCompute( + assets, + algo, computeEnv, - computeValidUntil + computeValidUntil, + providerUrl, + consumerAccount ) - const providerDatasetFees: ProviderFees = { - providerFeeAddress: initializeData.providerFee.providerFeeAddress, - providerFeeToken: initializeData.providerFee.providerFeeToken, - providerFeeAmount: initializeData.providerFee.providerFeeAmount, - v: initializeData.providerFee.v, - r: initializeData.providerFee.r, - s: initializeData.providerFee.s, - providerData: initializeData.providerFee.providerData, - validUntil: initializeData.providerFee.validUntil - } - // make the payment - const txidAsset = await datatoken.startOrder( - datatokenAddressAsset, + assert( + !('error' in providerInitializeComputeResults.algorithm), + 'Cannot order algorithm' + ) + algo.transferTxId = await handleOrder( + providerInitializeComputeResults.algorithm, + resolvedAlgoDdoWith1mTimeout.services[0].datatokenAddress, consumerAccount, - computeConsumerAddress, // this is important because the c2d is the consumer, and user is the payer. Otherwise, c2d will have no access to the asset - 0, - providerDatasetFees + computeConsumerAddress, + 0 ) - assert(txidAsset, 'Failed to order algo') - // start the compute job + for (let i = 0; i < providerInitializeComputeResults.datasets.length; i++) { + assets[i].transferTxId = await handleOrder( + providerInitializeComputeResults.datasets[i], + dtAddressArray[i], + consumerAccount, + computeConsumerAddress, + 0 + ) + } const computeJobs = await ProviderInstance.computeStart( providerUrl, web3, consumerAccount, computeEnv, - { - documentId: resolvedDDOAsset.id, - serviceId: resolvedDDOAsset.services[0].id, - transferTxId: txidAsset.transactionHash - }, - { - documentId: resolvedDDOAlgo.id, - serviceId: resolvedDDOAlgo.services[0].id, - transferTxId: txidAlgo.transactionHash - } + assets[0], + algo ) assert(computeJobs, 'Cannot start compute job') computeJobId = computeJobs[0].jobId @@ -348,7 +473,7 @@ describe('Simple compute tests', async () => { providerUrl, consumerAccount, computeJobId, - resolvedDDOAsset.id + resolvedDdoWith1mTimeout.id )) as ComputeJob assert(jobStatus, 'Cannot retrieve compute status!') }) diff --git a/test/integration/SimplePublishConsumeFlow.test.ts b/test/integration/SimplePublishConsumeFlow.test.ts index 0dab2e4e..6cd62f15 100644 --- a/test/integration/SimplePublishConsumeFlow.test.ts +++ b/test/integration/SimplePublishConsumeFlow.test.ts @@ -10,9 +10,11 @@ import { Datatoken, getHash, Nft, - downloadFile + downloadFile, + ZERO_ADDRESS } from '../../src' import { ProviderFees, Erc20CreateParams, DDO } from '../../src/@types' +<<<<<<< HEAD const assetUrl = [ { @@ -51,51 +53,93 @@ const ddo: DDO = { } ] } +======= +>>>>>>> 620b5d3a24e3d76a7b9ac1fc78a370add76f549a describe('Simple Publish & consume test', async () => { let config: Config let addresses: any let aquarius: Aquarius let providerUrl: any + let publisherAccount: string + let consumerAccount: string + + const assetUrl = [ + { + type: 'url', + url: 'https://raw.githubusercontent.com/oceanprotocol/testdatasets/main/shs_dataset_test.txt', + method: 'GET' + } + ] + + const ddo: DDO = { + '@context': ['https://w3id.org/did/v1'], + id: '', + version: '4.0.0', + chainId: 4, + nftAddress: '0x0', + metadata: { + created: '2021-12-20T14:35:20Z', + updated: '2021-12-20T14:35:20Z', + type: 'dataset', + name: 'dataset-name', + description: 'Ocean protocol test dataset description', + author: 'oceanprotocol-team', + license: 'MIT' + }, + services: [ + { + id: 'testFakeId', + type: 'access', + files: '', + datatokenAddress: '0x0', + serviceEndpoint: 'https://providerv4.rinkeby.oceanprotocol.com', + timeout: 0 + } + ] + } before(async () => { config = await getTestConfig(web3) - addresses = getAddresses() aquarius = new Aquarius(config.metadataCacheUri) providerUrl = config.providerUri + + addresses = getAddresses() + }) + + it('Initialize accounts', async () => { + const accounts = await web3.eth.getAccounts() + publisherAccount = accounts[0] + consumerAccount = accounts[1] }) it('should publish a dataset (create NFT + ERC20)', async () => { const nft = new Nft(web3) const datatoken = new Datatoken(web3) const Factory = new NftFactory(addresses.ERC721Factory, web3) - const accounts = await web3.eth.getAccounts() - const publisherAccount = accounts[0] - const consumerAccount = accounts[1] + const nftParams: NftCreateData = { - name: 'testNFT', - symbol: 'TST', + name: '72120Bundle', + symbol: '72Bundle', templateIndex: 1, - tokenURI: '', + tokenURI: 'https://oceanprotocol.com/nft/', transferable: true, owner: publisherAccount } + const erc20Params: Erc20CreateParams = { templateIndex: 1, cap: '100000', feeAmount: '0', - paymentCollector: '0x0000000000000000000000000000000000000000', - feeToken: '0x0000000000000000000000000000000000000000', + paymentCollector: ZERO_ADDRESS, + feeToken: ZERO_ADDRESS, minter: publisherAccount, - mpFeeAddress: '0x0000000000000000000000000000000000000000' + mpFeeAddress: ZERO_ADDRESS } - const result = await Factory.createNftWithErc20( - publisherAccount, - nftParams, - erc20Params - ) - const erc721Address = result.events.NFTCreated.returnValues[0] - const datatokenAddress = result.events.TokenCreated.returnValues[0] + + const tx = await Factory.createNftWithErc20(publisherAccount, nftParams, erc20Params) + const erc721Address = tx.events.NFTCreated.returnValues[0] + const datatokenAddress = tx.events.TokenCreated.returnValues[0] // create the files encrypted string let providerResponse = await ProviderInstance.encrypt(assetUrl, providerUrl) @@ -110,7 +154,7 @@ describe('Simple Publish & consume test', async () => { providerResponse = await ProviderInstance.encrypt(ddo, providerUrl) const encryptedResponse = await providerResponse const metadataHash = getHash(JSON.stringify(ddo)) - const res = await nft.setMetadata( + await nft.setMetadata( erc721Address, publisherAccount, 0, @@ -120,10 +164,13 @@ describe('Simple Publish & consume test', async () => { encryptedResponse, '0x' + metadataHash ) + const resolvedDDO = await aquarius.waitForAqua(ddo.id) assert(resolvedDDO, 'Cannot fetch DDO from Aquarius') + // mint 1 ERC20 and send it to the consumer await datatoken.mint(datatokenAddress, publisherAccount, '1', consumerAccount) + // initialize provider const initializeData = await ProviderInstance.initialize( resolvedDDO.id, @@ -132,6 +179,7 @@ describe('Simple Publish & consume test', async () => { consumerAccount, providerUrl ) + const providerFees: ProviderFees = { providerFeeAddress: initializeData.providerFee.providerFeeAddress, providerFeeToken: initializeData.providerFee.providerFeeToken, @@ -142,6 +190,7 @@ describe('Simple Publish & consume test', async () => { providerData: initializeData.providerFee.providerData, validUntil: initializeData.providerFee.validUntil } + // make the payment const txid = await datatoken.startOrder( datatokenAddress, @@ -150,6 +199,7 @@ describe('Simple Publish & consume test', async () => { 0, providerFees ) + // get the url const downloadURL = await ProviderInstance.getDownloadUrl( ddo.id, @@ -160,9 +210,10 @@ describe('Simple Publish & consume test', async () => { providerUrl, web3 ) + assert(downloadURL, 'Provider getDownloadUrl failed') try { - const fileData = await downloadFile(downloadURL) + await downloadFile(downloadURL) } catch (e) { assert.fail('Download failed') } diff --git a/test/unit/pools/balancer/Pool.test.ts b/test/unit/pools/balancer/Pool.test.ts index 68ce2b4e..1b2452c2 100644 --- a/test/unit/pools/balancer/Pool.test.ts +++ b/test/unit/pools/balancer/Pool.test.ts @@ -468,13 +468,6 @@ describe('Pool unit test', () => { assert((await pool.getMarketFeeCollector(poolAddress)) === factoryOwner) }) - it('#getOPCCollector- should get market fees for each token', async () => { - assert( - (await pool.getOPCCollector(poolAddress)) === - contracts.opfCommunityFeeCollectorAddress - ) - }) - it('#collectCommunityFee- should get community fees for each token', async () => { const spotPriceBefore = await pool.getSpotPrice( poolAddress, @@ -953,13 +946,6 @@ describe('Pool unit test', () => { assert((await pool.getMarketFeeCollector(poolAddress)) === factoryOwner) }) - it('#getOPCCollector- should get market fees for each token', async () => { - assert( - (await pool.getOPCCollector(poolAddress)) === - contracts.opfCommunityFeeCollectorAddress - ) - }) - it('#getCurrentMarketFees- should get curent market fees for each token', async () => { const currentMarketFees: CurrentFees = await pool.getCurrentMarketFees(poolAddress) assert(currentMarketFees !== null) diff --git a/test/unit/pools/fixedRate/FixedRateExchange.test.ts b/test/unit/pools/fixedRate/FixedRateExchange.test.ts index 28e43472..58744acd 100644 --- a/test/unit/pools/fixedRate/FixedRateExchange.test.ts +++ b/test/unit/pools/fixedRate/FixedRateExchange.test.ts @@ -132,11 +132,6 @@ describe('Fixed Rate unit test', () => { it('#getOwner - should get exchange owner given an id', async () => { expect(await fixedRate.getExchangeOwner(exchangeId)).to.equal(exchangeOwner) }) - it('#getOPFCollector - should get OPF collector', async () => { - expect(await fixedRate.getOPCCollector()).to.equal( - contracts.opfCommunityFeeCollectorAddress - ) - }) it('#getRouter - should get Router address', async () => { expect(await fixedRate.getRouter()).to.equal(contracts.routerAddress) }) @@ -453,11 +448,6 @@ describe('Fixed Rate unit test', () => { it('#getOwner - should get exchange owner given an id', async () => { expect(await fixedRate.getExchangeOwner(exchangeId)).to.equal(exchangeOwner) }) - it('#getOPFCollector - should get OPF collector', async () => { - expect(await fixedRate.getOPCCollector()).to.equal( - contracts.opfCommunityFeeCollectorAddress - ) - }) it('#getRouter - should get Router address', async () => { expect(await fixedRate.getRouter()).to.equal(contracts.routerAddress) })