@oceanprotocol/lib 3.4.4 → 3.4.6
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 +41 -3
- package/CodeExamples.md +2 -2
- 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/DDO/Metadata.d.ts +1 -1
- package/dist/types/contracts/NFTFactory.d.ts +1 -1
- package/dist/types/services/Aquarius.d.ts +2 -2
- package/dist/types/utils/Adresses.d.ts +23 -0
- package/dist/types/utils/Assets.d.ts +0 -22
- package/dist/types/utils/OrderUtils.d.ts +5 -1
- package/docs/classes/Aquarius.md +6 -4
- package/docs/classes/NftFactory.md +1 -1
- package/docs/interfaces/Metadata.md +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +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.4.
|
|
8
|
-
|
|
7
|
+
#### [v3.4.6](https://github.com/oceanprotocol/ocean.js/compare/v4.0.0-next.1...v3.4.6)
|
|
8
|
+
|
|
9
|
+
- make retries and interval bigger & configurable on waitForAqua [`#1895`](https://github.com/oceanprotocol/ocean.js/pull/1895)
|
|
10
|
+
- Bump eslint-config-prettier from 9.0.0 to 9.1.0 [`#1884`](https://github.com/oceanprotocol/ocean.js/pull/1884)
|
|
11
|
+
- Add back check for access list factory. [`#1889`](https://github.com/oceanprotocol/ocean.js/pull/1889)
|
|
12
|
+
- Remove circular dependencies, fix imports and improve build [`#1881`](https://github.com/oceanprotocol/ocean.js/pull/1881)
|
|
13
|
+
- chore: remove redundant words in comment [`#1890`](https://github.com/oceanprotocol/ocean.js/pull/1890)
|
|
14
|
+
- Bump @truffle/hdwallet-provider from 2.1.10 to 2.1.15 [`#1886`](https://github.com/oceanprotocol/ocean.js/pull/1886)
|
|
15
|
+
- Bump nyc from 15.1.0 to 17.1.0 [`#1883`](https://github.com/oceanprotocol/ocean.js/pull/1883)
|
|
16
|
+
- Bump @types/crypto-js from 4.1.2 to 4.2.2 [`#1882`](https://github.com/oceanprotocol/ocean.js/pull/1882)
|
|
17
|
+
- Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows [`#1844`](https://github.com/oceanprotocol/ocean.js/pull/1844)
|
|
18
|
+
- Remove node:16 docker image from workflow. [`#1879`](https://github.com/oceanprotocol/ocean.js/pull/1879)
|
|
19
|
+
- Bump rollup from 2.61.1 to 2.79.2 [`#1866`](https://github.com/oceanprotocol/ocean.js/pull/1866)
|
|
9
20
|
- Remove checks from publishing. ADded chain ID check for ordering. [`#1875`](https://github.com/oceanprotocol/ocean.js/pull/1875)
|
|
21
|
+
- done [`60d0272`](https://github.com/oceanprotocol/ocean.js/commit/60d027294a2893410860f1180ff47177e12e45de)
|
|
22
|
+
- rename waitForAqua as waitForIndexer [`6381795`](https://github.com/oceanprotocol/ocean.js/commit/6381795c957f301b93461d84a14ff59991b58738)
|
|
23
|
+
- 4th pass [`bf94e10`](https://github.com/oceanprotocol/ocean.js/commit/bf94e102e53dd07eac6c671ef222b96e34ffca7f)
|
|
10
24
|
|
|
11
25
|
#### [v4.0.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v4.0.0-next.0...v4.0.0-next.1)
|
|
12
26
|
|
|
@@ -16,12 +30,36 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
16
30
|
- support for consumer signature on initialize compute [`71c5923`](https://github.com/oceanprotocol/ocean.js/commit/71c59230db99a08a6c28df66c26e32ca61c71089)
|
|
17
31
|
- add file object types [`cd936c2`](https://github.com/oceanprotocol/ocean.js/commit/cd936c24a989633d3d8e71b908a375802d2e2970)
|
|
18
32
|
|
|
19
|
-
#### [v4.0.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.4.
|
|
33
|
+
#### [v4.0.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.4.5...v4.0.0-next.0)
|
|
20
34
|
|
|
21
35
|
> 12 November 2024
|
|
22
36
|
|
|
23
37
|
- Release 4.0.0-next.0 [`658cfe8`](https://github.com/oceanprotocol/ocean.js/commit/658cfe83ff855a83eb97e3cbf1276bed6022a1a6)
|
|
24
38
|
|
|
39
|
+
#### [v3.4.5](https://github.com/oceanprotocol/ocean.js/compare/v3.4.4...v3.4.5)
|
|
40
|
+
|
|
41
|
+
> 19 December 2024
|
|
42
|
+
|
|
43
|
+
- Add back check for access list factory. [`#1889`](https://github.com/oceanprotocol/ocean.js/pull/1889)
|
|
44
|
+
- Remove circular dependencies, fix imports and improve build [`#1881`](https://github.com/oceanprotocol/ocean.js/pull/1881)
|
|
45
|
+
- chore: remove redundant words in comment [`#1890`](https://github.com/oceanprotocol/ocean.js/pull/1890)
|
|
46
|
+
- Bump @truffle/hdwallet-provider from 2.1.10 to 2.1.15 [`#1886`](https://github.com/oceanprotocol/ocean.js/pull/1886)
|
|
47
|
+
- Bump nyc from 15.1.0 to 17.1.0 [`#1883`](https://github.com/oceanprotocol/ocean.js/pull/1883)
|
|
48
|
+
- Bump @types/crypto-js from 4.1.2 to 4.2.2 [`#1882`](https://github.com/oceanprotocol/ocean.js/pull/1882)
|
|
49
|
+
- Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows [`#1844`](https://github.com/oceanprotocol/ocean.js/pull/1844)
|
|
50
|
+
- Remove node:16 docker image from workflow. [`#1879`](https://github.com/oceanprotocol/ocean.js/pull/1879)
|
|
51
|
+
- Bump rollup from 2.61.1 to 2.79.2 [`#1866`](https://github.com/oceanprotocol/ocean.js/pull/1866)
|
|
52
|
+
- done [`60d0272`](https://github.com/oceanprotocol/ocean.js/commit/60d027294a2893410860f1180ff47177e12e45de)
|
|
53
|
+
- 4th pass [`bf94e10`](https://github.com/oceanprotocol/ocean.js/commit/bf94e102e53dd07eac6c671ef222b96e34ffca7f)
|
|
54
|
+
- Release 3.4.5 [`a1ee835`](https://github.com/oceanprotocol/ocean.js/commit/a1ee835294b6a51721c3c215dd3c16f741b0573b)
|
|
55
|
+
|
|
56
|
+
#### [v3.4.4](https://github.com/oceanprotocol/ocean.js/compare/v3.4.3...v3.4.4)
|
|
57
|
+
|
|
58
|
+
> 20 November 2024
|
|
59
|
+
|
|
60
|
+
- Remove checks from publishing. ADded chain ID check for ordering. [`#1875`](https://github.com/oceanprotocol/ocean.js/pull/1875)
|
|
61
|
+
- Release 3.4.4 [`fa242a5`](https://github.com/oceanprotocol/ocean.js/commit/fa242a5095d16327adf2d53830a643350fcdfa84)
|
|
62
|
+
|
|
25
63
|
#### [v3.4.3](https://github.com/oceanprotocol/ocean.js/compare/v3.4.2...v3.4.3)
|
|
26
64
|
|
|
27
65
|
> 5 November 2024
|
package/CodeExamples.md
CHANGED
|
@@ -504,7 +504,7 @@ Now we can make the contract call
|
|
|
504
504
|
)
|
|
505
505
|
console.log(`Consumer ${FRE_NFT_SYMBOL} balance after swap: ${consumerDTBalance}`)
|
|
506
506
|
|
|
507
|
-
const resolvedDDO = await aquarius.
|
|
507
|
+
const resolvedDDO = await aquarius.waitForIndexer(fixedDDO.id)
|
|
508
508
|
assert(resolvedDDO, 'Cannot fetch DDO from Aquarius')
|
|
509
509
|
|
|
510
510
|
```
|
|
@@ -726,7 +726,7 @@ Now we need to encrypt file(s) using provider
|
|
|
726
726
|
`Consumer ${DISP_NFT_SYMBOL} balance after dispense: ${consumerDTBalance}`
|
|
727
727
|
)
|
|
728
728
|
|
|
729
|
-
const resolvedDDO = await aquarius.
|
|
729
|
+
const resolvedDDO = await aquarius.waitForIndexer(fixedDDO.id)
|
|
730
730
|
assert(resolvedDDO, 'Cannot fetch DDO from Aquarius')
|
|
731
731
|
|
|
732
732
|
datatoken = new Datatoken(consumerAccount, await consumerAccount.getChainId())
|
package/ComputeExamples.md
CHANGED
|
@@ -539,8 +539,8 @@ Now, let's check that we successfully published a algorithm (create NFT + Datato
|
|
|
539
539
|
|
|
540
540
|
### 7.1 Resolve published datasets and algorithms
|
|
541
541
|
```Typescript
|
|
542
|
-
resolvedDatasetDdo = await aquariusInstance.
|
|
543
|
-
resolvedAlgorithmDdo = await aquariusInstance.
|
|
542
|
+
resolvedDatasetDdo = await aquariusInstance.waitForIndexer(datasetId)
|
|
543
|
+
resolvedAlgorithmDdo = await aquariusInstance.waitForIndexer(algorithmId)
|
|
544
544
|
```
|
|
545
545
|
<!--
|
|
546
546
|
assert(resolvedDatasetDdo, 'Cannot fetch DDO from Aquarius')
|