@oceanprotocol/lib 4.2.1 → 4.3.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.
- package/CHANGELOG.md +8 -0
- package/ComputeExamples.md +7 -1
- package/dist/lib.cjs +1 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.mjs +1 -1
- package/dist/lib.module.mjs.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/types/@types/Compute.d.ts +4 -0
- package/dist/types/@types/PolicyServer.d.ts +7 -0
- package/dist/types/services/Provider.d.ts +12 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,18 @@ 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
|
+
#### [v4.3.0](https://github.com/oceanprotocol/ocean.js/compare/v4.2.1...v4.3.0)
|
|
8
|
+
|
|
9
|
+
- Add policyServer object in compute routes. [`#1964`](https://github.com/oceanprotocol/ocean.js/pull/1964)
|
|
10
|
+
- C2D Metadata [`#1963`](https://github.com/oceanprotocol/ocean.js/pull/1963)
|
|
11
|
+
|
|
7
12
|
#### [v4.2.1](https://github.com/oceanprotocol/ocean.js/compare/v4.2.0...v4.2.1)
|
|
8
13
|
|
|
14
|
+
> 25 June 2025
|
|
15
|
+
|
|
9
16
|
- Refactor auth [`#1959`](https://github.com/oceanprotocol/ocean.js/pull/1959)
|
|
10
17
|
- optional checks [`#1957`](https://github.com/oceanprotocol/ocean.js/pull/1957)
|
|
18
|
+
- Release 4.2.1 [`5ccfb8f`](https://github.com/oceanprotocol/ocean.js/commit/5ccfb8fb9ec2bfa433878e512fbce61be589e2b2)
|
|
11
19
|
|
|
12
20
|
#### [v4.2.0](https://github.com/oceanprotocol/ocean.js/compare/v4.1.4...v4.2.0)
|
|
13
21
|
|
package/ComputeExamples.md
CHANGED
|
@@ -214,7 +214,13 @@ const DATASET_DDO: DDO = {
|
|
|
214
214
|
timeout: 300,
|
|
215
215
|
compute: {
|
|
216
216
|
publisherTrustedAlgorithmPublishers: ['*'] as any,
|
|
217
|
-
publisherTrustedAlgorithms: [
|
|
217
|
+
publisherTrustedAlgorithms: [
|
|
218
|
+
{
|
|
219
|
+
did: '*',
|
|
220
|
+
filesChecksum: '*',
|
|
221
|
+
containerSectionChecksum: '*'
|
|
222
|
+
}
|
|
223
|
+
] as any,
|
|
218
224
|
allowRawAlgorithm: false,
|
|
219
225
|
allowNetworkAccess: true
|
|
220
226
|
}
|