@oceanprotocol/lib 3.4.2 → 3.4.4
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.
- package/CHANGELOG.md +30 -0
- package/CodeExamples.md +1 -1
- package/ComputeExamples.md +2 -2
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.js +1 -1
- package/dist/lib.module.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/types/@types/Asset.d.ts +148 -0
- package/dist/types/@types/Compute.d.ts +71 -0
- package/dist/types/@types/Contracts.d.ts +26 -0
- package/dist/types/@types/DDO/ConsumerParameter.d.ts +37 -0
- package/dist/types/@types/DDO/Credentials.d.ts +8 -0
- package/dist/types/@types/DDO/DDO.d.ts +55 -0
- package/dist/types/@types/DDO/Event.d.ts +27 -0
- package/dist/types/@types/DDO/Metadata.d.ts +141 -0
- package/dist/types/@types/DDO/Service.d.ts +106 -0
- package/dist/types/@types/Datatoken.d.ts +42 -0
- package/dist/types/@types/Dispenser.d.ts +16 -0
- package/dist/types/@types/DownloadResponse.d.ts +4 -0
- package/dist/types/@types/File.d.ts +89 -0
- package/dist/types/@types/FileInfo.d.ts +43 -0
- package/dist/types/@types/FixedPrice.d.ts +51 -0
- package/dist/types/@types/NFT.d.ts +18 -0
- package/dist/types/@types/NFTFactory.d.ts +20 -0
- package/dist/types/@types/Provider.d.ts +33 -0
- package/dist/types/@types/ReturnTypes.d.ts +3 -0
- package/dist/types/@types/Router.d.ts +59 -0
- package/dist/types/@types/index.d.ts +20 -0
- package/dist/types/config/Config.d.ts +162 -0
- package/dist/types/config/ConfigHelper.d.ts +13 -0
- package/dist/types/config/index.d.ts +2 -0
- package/dist/types/contracts/AccessList.d.ts +85 -0
- package/dist/types/contracts/AccessListFactory.d.ts +56 -0
- package/dist/types/contracts/Datatoken.d.ts +278 -0
- package/dist/types/contracts/Datatoken4.d.ts +72 -0
- package/dist/types/contracts/Dispenser.d.ts +73 -0
- package/dist/types/contracts/FixedRateExchange.d.ts +209 -0
- package/dist/types/contracts/NFT.d.ts +227 -0
- package/dist/types/contracts/NFTFactory.d.ts +165 -0
- package/dist/types/contracts/Router.d.ts +107 -0
- package/dist/types/contracts/SmartContract.d.ts +46 -0
- package/dist/types/contracts/SmartContractWithAddress.d.ts +17 -0
- package/dist/types/contracts/df/DfRewards.d.ts +31 -0
- package/dist/types/contracts/df/DfStrategyV1.d.ts +21 -0
- package/dist/types/contracts/index.d.ts +20 -0
- package/dist/types/contracts/ve/VeAllocate.d.ts +38 -0
- package/dist/types/contracts/ve/VeFeeDistributor.d.ts +29 -0
- package/dist/types/contracts/ve/VeFeeEstimate.d.ts +14 -0
- package/dist/types/contracts/ve/VeOcean.d.ts +68 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/services/Aquarius.d.ts +53 -0
- package/dist/types/services/Provider.d.ts +197 -0
- package/dist/types/services/index.d.ts +2 -0
- package/dist/types/utils/Assets.d.ts +56 -0
- package/dist/types/utils/Constants.d.ts +4 -0
- package/dist/types/utils/ContractUtils.d.ts +46 -0
- package/dist/types/utils/DatatokenName.d.ts +14 -0
- package/dist/types/utils/DdoHelpers.d.ts +13 -0
- package/dist/types/utils/FetchHelper.d.ts +14 -0
- package/dist/types/utils/General.d.ts +5 -0
- package/dist/types/utils/Logger.d.ts +19 -0
- package/dist/types/utils/OrderUtils.d.ts +20 -0
- package/dist/types/utils/ProviderErrors.d.ts +1 -0
- package/dist/types/utils/SignatureUtils.d.ts +12 -0
- package/dist/types/utils/TokenUtils.d.ts +70 -0
- package/dist/types/utils/index.d.ts +13 -0
- package/dist/types/utils/minAbi.d.ts +38 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,39 @@ 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.4.4](https://github.com/oceanprotocol/ocean.js/compare/v4.0.0-next.1...v3.4.4)
|
|
8
|
+
|
|
9
|
+
- Remove checks from publishing. ADded chain ID check for ordering. [`#1875`](https://github.com/oceanprotocol/ocean.js/pull/1875)
|
|
10
|
+
|
|
11
|
+
#### [v4.0.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v4.0.0-next.0...v4.0.0-next.1)
|
|
12
|
+
|
|
13
|
+
> 12 November 2024
|
|
14
|
+
|
|
15
|
+
- add datasets on ComputeAsset, new start compute fn [`8563429`](https://github.com/oceanprotocol/ocean.js/commit/85634293306fca9aaa3ab5ae06a114149ccc8911)
|
|
16
|
+
- support for consumer signature on initialize compute [`71c5923`](https://github.com/oceanprotocol/ocean.js/commit/71c59230db99a08a6c28df66c26e32ca61c71089)
|
|
17
|
+
- add file object types [`cd936c2`](https://github.com/oceanprotocol/ocean.js/commit/cd936c24a989633d3d8e71b908a375802d2e2970)
|
|
18
|
+
|
|
19
|
+
#### [v4.0.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.4.3...v4.0.0-next.0)
|
|
20
|
+
|
|
21
|
+
> 12 November 2024
|
|
22
|
+
|
|
23
|
+
- Release 4.0.0-next.0 [`658cfe8`](https://github.com/oceanprotocol/ocean.js/commit/658cfe83ff855a83eb97e3cbf1276bed6022a1a6)
|
|
24
|
+
|
|
25
|
+
#### [v3.4.3](https://github.com/oceanprotocol/ocean.js/compare/v3.4.2...v3.4.3)
|
|
26
|
+
|
|
27
|
+
> 5 November 2024
|
|
28
|
+
|
|
29
|
+
- Add checks for ddo chain id and did. [`#1868`](https://github.com/oceanprotocol/ocean.js/pull/1868)
|
|
30
|
+
- generate types to dist/types [`#1862`](https://github.com/oceanprotocol/ocean.js/pull/1862)
|
|
31
|
+
- Release 3.4.3 [`9d385b0`](https://github.com/oceanprotocol/ocean.js/commit/9d385b0f0be4df0d280b8c6353b25ed0f005b66a)
|
|
32
|
+
- fix tests tsconfig path in eslint [`bae1874`](https://github.com/oceanprotocol/ocean.js/commit/bae18749bf96d8cc34592aa6dd271b7c1fd6dbfb)
|
|
33
|
+
|
|
7
34
|
#### [v3.4.2](https://github.com/oceanprotocol/ocean.js/compare/v3.4.1...v3.4.2)
|
|
8
35
|
|
|
36
|
+
> 16 October 2024
|
|
37
|
+
|
|
9
38
|
- Add confidential EVM flag when creating a datatoken 4 in NFT class [`#1859`](https://github.com/oceanprotocol/ocean.js/pull/1859)
|
|
39
|
+
- Release 3.4.2 [`0e42ce3`](https://github.com/oceanprotocol/ocean.js/commit/0e42ce3f64413b5a88532c1fe22eb76fb3823968)
|
|
10
40
|
|
|
11
41
|
#### [v3.4.1](https://github.com/oceanprotocol/ocean.js/compare/v3.4.0...v3.4.1)
|
|
12
42
|
|
package/CodeExamples.md
CHANGED
|
@@ -167,7 +167,7 @@ Next, we define the metadata that will describe our data asset. This is what we
|
|
|
167
167
|
'@context': ['https://w3id.org/did/v1'],
|
|
168
168
|
id: '',
|
|
169
169
|
version: '4.1.0',
|
|
170
|
-
chainId:
|
|
170
|
+
chainId: 8996,
|
|
171
171
|
nftAddress: '0x0',
|
|
172
172
|
metadata: {
|
|
173
173
|
created: '2021-12-20T14:35:20Z',
|
package/ComputeExamples.md
CHANGED
|
@@ -183,7 +183,7 @@ const DATASET_DDO: DDO = {
|
|
|
183
183
|
'@context': ['https://w3id.org/did/v1'],
|
|
184
184
|
id: 'id:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c',
|
|
185
185
|
version: '4.1.0',
|
|
186
|
-
chainId:
|
|
186
|
+
chainId: 8996,
|
|
187
187
|
nftAddress: '0x0',
|
|
188
188
|
metadata: {
|
|
189
189
|
created: '2021-12-20T14:35:20Z',
|
|
@@ -219,7 +219,7 @@ const ALGORITHM_DDO: DDO = {
|
|
|
219
219
|
'@context': ['https://w3id.org/did/v1'],
|
|
220
220
|
id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c',
|
|
221
221
|
version: '4.1.0',
|
|
222
|
-
chainId:
|
|
222
|
+
chainId: 8996,
|
|
223
223
|
nftAddress: '0x0',
|
|
224
224
|
metadata: {
|
|
225
225
|
created: '2021-12-20T14:35:20Z',
|