@oceanprotocol/lib 6.1.2 → 7.0.0-next.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 +20 -5
- package/CodeExamples.md +2 -3
- package/ComputeExamples.md +254 -308
- package/dist/lib.cjs +3 -1
- package/dist/lib.cjs.map +1 -1
- package/dist/lib.modern.js +3 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.mjs +3 -1
- package/dist/lib.module.mjs.map +1 -1
- package/dist/lib.umd.js +3 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/types/@types/Compute.d.ts +1 -0
- package/dist/types/@types/File.d.ts +8 -1
- package/dist/types/config/ConfigHelper.d.ts +1 -0
- package/dist/types/services/Aquarius.d.ts +0 -1
- package/dist/types/services/Provider.d.ts +3 -270
- package/dist/types/services/providers/BaseProvider.d.ts +48 -0
- package/dist/types/services/providers/HttpProvider.d.ts +246 -0
- package/dist/types/services/providers/P2pProvider.d.ts +176 -0
- package/dist/types/utils/FetchHelper.d.ts +6 -5
- package/package.json +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,26 @@ 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
|
+
#### [v7.0.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v7.0.0-next.0...v7.0.0-next.1)
|
|
8
|
+
|
|
9
|
+
- bump uint8arrays to esm supported [`f1ff511`](https://github.com/oceanprotocol/ocean.js/commit/f1ff511e9c92cee94cd129698bc46c7700952461)
|
|
10
|
+
- getmultiaddr from peerid [`1973f27`](https://github.com/oceanprotocol/ocean.js/commit/1973f278964598b6c8abb61c85395f0608375d43)
|
|
11
|
+
- start without typesense [`db639ad`](https://github.com/oceanprotocol/ocean.js/commit/db639ad1bdee822722abe07ca58d50d837c94bbc)
|
|
12
|
+
|
|
13
|
+
#### [v7.0.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v6.1.2...v7.0.0-next.0)
|
|
14
|
+
|
|
15
|
+
> 1 April 2026
|
|
16
|
+
|
|
17
|
+
- p2p impl [`68db01f`](https://github.com/oceanprotocol/ocean.js/commit/68db01fbf8f28854e6e0abe43aba85fbf6834c28)
|
|
18
|
+
- p2p warmup [`8c2bb5a`](https://github.com/oceanprotocol/ocean.js/commit/8c2bb5ae2b17b5f2c9530800c1f3143b1b318b0e)
|
|
19
|
+
- push,fetch config and no tls [`9cda783`](https://github.com/oceanprotocol/ocean.js/commit/9cda78366ddcfe97a93ecb79dc3a8aa3264ccecc)
|
|
20
|
+
|
|
7
21
|
#### [v6.1.2](https://github.com/oceanprotocol/ocean.js/compare/v6.1.1...v6.1.2)
|
|
8
22
|
|
|
23
|
+
> 24 March 2026
|
|
24
|
+
|
|
9
25
|
- Feature/output_in_initializeCompute [`#2056`](https://github.com/oceanprotocol/ocean.js/pull/2056)
|
|
26
|
+
- Release 6.1.2 [`3b3cdeb`](https://github.com/oceanprotocol/ocean.js/commit/3b3cdebdb5ce7b89ebbbd2d49e44d5f6fa65e0d1)
|
|
10
27
|
|
|
11
28
|
#### [v6.1.1](https://github.com/oceanprotocol/ocean.js/compare/v6.1.0...v6.1.1)
|
|
12
29
|
|
|
@@ -209,7 +226,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
209
226
|
- export util addrs functions [`#2017`](https://github.com/oceanprotocol/ocean.js/pull/2017)
|
|
210
227
|
- Release 4.3.6 [`b28db44`](https://github.com/oceanprotocol/ocean.js/commit/b28db446144939e9ed864cc11559f718104d094b)
|
|
211
228
|
|
|
212
|
-
#### [v4.3.5](https://github.com/oceanprotocol/ocean.js/compare/v4.3.
|
|
229
|
+
#### [v4.3.5](https://github.com/oceanprotocol/ocean.js/compare/v4.3.3...v4.3.5)
|
|
213
230
|
|
|
214
231
|
> 17 November 2025
|
|
215
232
|
|
|
@@ -218,13 +235,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
218
235
|
- remove typo [`f199f4a`](https://github.com/oceanprotocol/ocean.js/commit/f199f4af809eb85249fe0c59303fcc3207d8e7a7)
|
|
219
236
|
- export EnterpriseFeeCollector [`68712a2`](https://github.com/oceanprotocol/ocean.js/commit/68712a2af17824bb8fc78824842376e35f582487)
|
|
220
237
|
|
|
221
|
-
#### [v4.3.
|
|
238
|
+
#### [v4.3.3](https://github.com/oceanprotocol/ocean.js/compare/v4.3.2...v4.3.3)
|
|
222
239
|
|
|
223
|
-
>
|
|
240
|
+
> 1 August 2025
|
|
224
241
|
|
|
225
242
|
- add policy server endpoints [`#1974`](https://github.com/oceanprotocol/ocean.js/pull/1974)
|
|
226
|
-
- add EnterpriseFee [`b502882`](https://github.com/oceanprotocol/ocean.js/commit/b502882d05375eda326166608730a11e779c6f42)
|
|
227
|
-
- Release 4.3.4 [`e45a7de`](https://github.com/oceanprotocol/ocean.js/commit/e45a7defa239f6800eb68a13e1a9a3d9662f509d)
|
|
228
243
|
- Release 4.3.3 [`6d6d4cf`](https://github.com/oceanprotocol/ocean.js/commit/6d6d4cfe57f2a3dee73b4957ff2f144c0e7ff9d7)
|
|
229
244
|
|
|
230
245
|
#### [v4.3.2](https://github.com/oceanprotocol/ocean.js/compare/v4.3.1...v4.3.2)
|
package/CodeExamples.md
CHANGED
|
@@ -104,6 +104,7 @@ import {
|
|
|
104
104
|
sendTx,
|
|
105
105
|
ConfigHelper,
|
|
106
106
|
configHelperNetworks,
|
|
107
|
+
getNodeEndpointConfig,
|
|
107
108
|
amountToUnits,
|
|
108
109
|
getEventFromTx,
|
|
109
110
|
LoggerInstance
|
|
@@ -206,9 +207,7 @@ Next, we define the metadata that will describe our data asset. This is what we
|
|
|
206
207
|
const config = new ConfigHelper().getConfig(
|
|
207
208
|
parseInt(String((await publisherAccount.provider.getNetwork()).chainId))
|
|
208
209
|
)
|
|
209
|
-
|
|
210
|
-
config.oceanNodeUri = process.env.NODE_URL
|
|
211
|
-
}
|
|
210
|
+
Object.assign(config, getNodeEndpointConfig())
|
|
212
211
|
aquarius = new Aquarius(config?.oceanNodeUri)
|
|
213
212
|
providerUrl = config?.oceanNodeUri
|
|
214
213
|
addresses = JSON.parse(
|