@oceanprotocol/lib 4.2.0 → 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 CHANGED
@@ -4,11 +4,27 @@ 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
+
12
+ #### [v4.2.1](https://github.com/oceanprotocol/ocean.js/compare/v4.2.0...v4.2.1)
13
+
14
+ > 25 June 2025
15
+
16
+ - Refactor auth [`#1959`](https://github.com/oceanprotocol/ocean.js/pull/1959)
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)
19
+
7
20
  #### [v4.2.0](https://github.com/oceanprotocol/ocean.js/compare/v4.1.4...v4.2.0)
8
21
 
22
+ > 16 June 2025
23
+
9
24
  - Bump eslint-config-prettier from 9.1.0 to 10.1.5 [`#1951`](https://github.com/oceanprotocol/ocean.js/pull/1951)
10
25
  - Bump base-x from 3.0.10 to 3.0.11 [`#1939`](https://github.com/oceanprotocol/ocean.js/pull/1939)
11
26
  - Auth header + auth token methods [`#1953`](https://github.com/oceanprotocol/ocean.js/pull/1953)
27
+ - Release 4.2.0 [`a9865c1`](https://github.com/oceanprotocol/ocean.js/commit/a9865c1bfcc91f3f56ee06960a5a13b880f7dca7)
12
28
 
13
29
  #### [v4.1.4](https://github.com/oceanprotocol/ocean.js/compare/v4.1.3...v4.1.4)
14
30
 
@@ -214,7 +214,13 @@ const DATASET_DDO: DDO = {
214
214
  timeout: 300,
215
215
  compute: {
216
216
  publisherTrustedAlgorithmPublishers: ['*'] as any,
217
- publisherTrustedAlgorithms: ['*'] as any,
217
+ publisherTrustedAlgorithms: [
218
+ {
219
+ did: '*',
220
+ filesChecksum: '*',
221
+ containerSectionChecksum: '*'
222
+ }
223
+ ] as any,
218
224
  allowRawAlgorithm: false,
219
225
  allowNetworkAccess: true
220
226
  }
@@ -819,7 +825,10 @@ let's select compute environment which have free and paid resources
819
825
  computeValidUntil,
820
826
  providerUrl,
821
827
  consumerAccount,
822
- resources
828
+ resources,
829
+ (
830
+ await consumerAccount.provider.getNetwork()
831
+ ).chainId
823
832
  )
824
833
 
825
834
  console.log(