@oceanprotocol/lib 4.2.0 → 4.2.1
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 +4 -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/Jwt.d.ts +5 -0
- package/dist/types/services/Provider.d.ts +31 -26
- package/dist/types/utils/Jwt.d.ts +2 -0
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,19 @@ 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.2.1](https://github.com/oceanprotocol/ocean.js/compare/v4.2.0...v4.2.1)
|
|
8
|
+
|
|
9
|
+
- Refactor auth [`#1959`](https://github.com/oceanprotocol/ocean.js/pull/1959)
|
|
10
|
+
- optional checks [`#1957`](https://github.com/oceanprotocol/ocean.js/pull/1957)
|
|
11
|
+
|
|
7
12
|
#### [v4.2.0](https://github.com/oceanprotocol/ocean.js/compare/v4.1.4...v4.2.0)
|
|
8
13
|
|
|
14
|
+
> 16 June 2025
|
|
15
|
+
|
|
9
16
|
- Bump eslint-config-prettier from 9.1.0 to 10.1.5 [`#1951`](https://github.com/oceanprotocol/ocean.js/pull/1951)
|
|
10
17
|
- Bump base-x from 3.0.10 to 3.0.11 [`#1939`](https://github.com/oceanprotocol/ocean.js/pull/1939)
|
|
11
18
|
- Auth header + auth token methods [`#1953`](https://github.com/oceanprotocol/ocean.js/pull/1953)
|
|
19
|
+
- Release 4.2.0 [`a9865c1`](https://github.com/oceanprotocol/ocean.js/commit/a9865c1bfcc91f3f56ee06960a5a13b880f7dca7)
|
|
12
20
|
|
|
13
21
|
#### [v4.1.4](https://github.com/oceanprotocol/ocean.js/compare/v4.1.3...v4.1.4)
|
|
14
22
|
|
package/ComputeExamples.md
CHANGED
|
@@ -819,7 +819,10 @@ let's select compute environment which have free and paid resources
|
|
|
819
819
|
computeValidUntil,
|
|
820
820
|
providerUrl,
|
|
821
821
|
consumerAccount,
|
|
822
|
-
resources
|
|
822
|
+
resources,
|
|
823
|
+
(
|
|
824
|
+
await consumerAccount.provider.getNetwork()
|
|
825
|
+
).chainId
|
|
823
826
|
)
|
|
824
827
|
|
|
825
828
|
console.log(
|