@oceanprotocol/lib 2.7.0 → 3.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/CodeExamples.md +273 -166
  3. package/ComputeExamples.md +106 -101
  4. package/dist/lib.js +1 -1
  5. package/dist/lib.js.map +1 -1
  6. package/dist/lib.modern.js +1 -1
  7. package/dist/lib.modern.js.map +1 -1
  8. package/dist/lib.module.js +1 -1
  9. package/dist/lib.module.js.map +1 -1
  10. package/dist/lib.umd.js +1 -1
  11. package/dist/lib.umd.js.map +1 -1
  12. package/dist/src/@types/Contracts.d.ts +26 -0
  13. package/dist/src/@types/DDO/Metadata.d.ts +2 -2
  14. package/dist/src/@types/File.d.ts +1 -1
  15. package/dist/src/@types/ReturnTypes.d.ts +3 -2
  16. package/dist/src/@types/index.d.ts +1 -0
  17. package/dist/src/config/Config.d.ts +1 -1
  18. package/dist/src/config/ConfigHelper.d.ts +6 -0
  19. package/dist/src/contracts/Datatoken.d.ts +90 -72
  20. package/dist/src/contracts/Dispenser.d.ts +27 -27
  21. package/dist/src/contracts/FixedRateExchange.d.ts +57 -60
  22. package/dist/src/contracts/NFT.d.ts +57 -34
  23. package/dist/src/contracts/NFTFactory.d.ts +78 -57
  24. package/dist/src/contracts/Router.d.ts +33 -18
  25. package/dist/src/contracts/SmartContract.d.ts +35 -12
  26. package/dist/src/contracts/SmartContractWithAddress.d.ts +7 -8
  27. package/dist/src/contracts/df/DfRewards.d.ts +6 -7
  28. package/dist/src/contracts/df/DfStrategyV1.d.ts +3 -5
  29. package/dist/src/contracts/ve/VeAllocate.d.ts +4 -7
  30. package/dist/src/contracts/ve/VeFeeDistributor.d.ts +6 -7
  31. package/dist/src/contracts/ve/VeFeeEstimate.d.ts +2 -2
  32. package/dist/src/contracts/ve/VeOcean.d.ts +12 -13
  33. package/dist/src/services/Aquarius.d.ts +3 -4
  34. package/dist/src/services/Provider.d.ts +124 -76
  35. package/dist/src/utils/ContractUtils.d.ts +34 -16
  36. package/dist/src/utils/DatatokenName.d.ts +5 -2
  37. package/dist/src/utils/DdoHelpers.d.ts +11 -0
  38. package/dist/src/utils/FetchHelper.d.ts +11 -0
  39. package/dist/src/utils/General.d.ts +1 -0
  40. package/dist/src/utils/ProviderErrors.d.ts +1 -0
  41. package/dist/src/utils/SignatureUtils.d.ts +8 -2
  42. package/dist/src/utils/TokenUtils.d.ts +43 -43
  43. package/dist/src/utils/index.d.ts +1 -0
  44. package/dist/src/utils/minAbi.d.ts +38 -2
  45. package/dist/test/config.d.ts +17 -3
  46. package/dist/test/integration/helpers.d.ts +7 -0
  47. package/package.json +10 -5
  48. package/dist/test/TestContractHandler.d.ts +0 -16
  49. /package/dist/test/integration/{SimplePublishConsumeFlow.test.d.ts → PublishEditConsume.test.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -4,13 +4,23 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v3.0.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0...v3.0.0-next.0)
8
+
9
+ - Cover all storage type support [`#1685`](https://github.com/oceanprotocol/ocean.js/pull/1685)
10
+ - fix compute flow integration test [`0750d98`](https://github.com/oceanprotocol/ocean.js/commit/0750d98b986bad063dff0dd1e14458010665fcca)
11
+ - more cleanup and jsdoc updates [`967f664`](https://github.com/oceanprotocol/ocean.js/commit/967f6642fb1a0cf9c20d4f4fa28d36527d8e43ba)
12
+ - Updating CodeExamples.md [`815ee37`](https://github.com/oceanprotocol/ocean.js/commit/815ee37c52f9aa64f2cac4948fb137f447d1c6b4)
13
+
7
14
  #### [v2.7.0](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.2...v2.7.0)
8
15
 
16
+ > 20 March 2023
17
+
9
18
  - Multichain Provider [`#1698`](https://github.com/oceanprotocol/ocean.js/pull/1698)
10
19
  - Bump release-it from 15.6.0 to 15.6.1 [`#1704`](https://github.com/oceanprotocol/ocean.js/pull/1704)
11
20
  - Bump prettier from 2.8.1 to 2.8.4 [`#1703`](https://github.com/oceanprotocol/ocean.js/pull/1703)
12
21
  - Bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.54.0 [`#1702`](https://github.com/oceanprotocol/ocean.js/pull/1702)
13
22
  - Updated copyright year. [`#1700`](https://github.com/oceanprotocol/ocean.js/pull/1700)
23
+ - Release 2.7.0 [`a2e9901`](https://github.com/oceanprotocol/ocean.js/commit/a2e9901697b32c6aaaa489c3bec1a19fcfa185ab)
14
24
 
15
25
  #### [v2.7.0-next.2](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.1...v2.7.0-next.2)
16
26