@oceanprotocol/lib 2.5.2 → 2.6.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 +15 -0
- package/CodeExamples.md +2 -2
- package/ComputeExamples.md +703 -0
- package/README.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/src/@types/File.d.ts +14 -0
- package/dist/src/contracts/Datatoken.d.ts +10 -0
- package/dist/src/services/Provider.d.ts +6 -4
- package/dist/test/integration/ComputeExamples.test.d.ts +1 -0
- package/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +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
|
+
#### [v2.6.0](https://github.com/oceanprotocol/ocean.js/compare/v2.5.2...v2.6.0)
|
|
8
|
+
|
|
9
|
+
- Add missing symbol and name helper on datatoken [`#1667`](https://github.com/oceanprotocol/ocean.js/pull/1667)
|
|
10
|
+
- add headers [`#1665`](https://github.com/oceanprotocol/ocean.js/pull/1665)
|
|
11
|
+
- Compute Example Readme flow [`#1615`](https://github.com/oceanprotocol/ocean.js/pull/1615)
|
|
12
|
+
- Updating test command in readme [`#1663`](https://github.com/oceanprotocol/ocean.js/pull/1663)
|
|
13
|
+
- Bump qs from 6.5.2 to 6.5.3 [`#1664`](https://github.com/oceanprotocol/ocean.js/pull/1664)
|
|
14
|
+
- Bump decode-uri-component from 0.2.0 to 0.2.2 [`#1662`](https://github.com/oceanprotocol/ocean.js/pull/1662)
|
|
15
|
+
- Bump @typescript-eslint/eslint-plugin from 5.38.1 to 5.45.0 [`#1657`](https://github.com/oceanprotocol/ocean.js/pull/1657)
|
|
16
|
+
- Bump @truffle/hdwallet-provider from 2.1.0 to 2.1.2 [`#1656`](https://github.com/oceanprotocol/ocean.js/pull/1656)
|
|
17
|
+
- Bump web3 from 1.8.0 to 1.8.1 [`#1659`](https://github.com/oceanprotocol/ocean.js/pull/1659)
|
|
18
|
+
|
|
7
19
|
#### [v2.5.2](https://github.com/oceanprotocol/ocean.js/compare/v2.5.1...v2.5.2)
|
|
8
20
|
|
|
21
|
+
> 15 November 2022
|
|
22
|
+
|
|
9
23
|
- add subgraph url to barge config and fix metadatacache config [`#1652`](https://github.com/oceanprotocol/ocean.js/pull/1652)
|
|
10
24
|
- Updating types to include the price which is sent from Aquarius [`#1651`](https://github.com/oceanprotocol/ocean.js/pull/1651)
|
|
11
25
|
- Bump loader-utils from 1.4.0 to 1.4.2 [`#1650`](https://github.com/oceanprotocol/ocean.js/pull/1650)
|
|
26
|
+
- Release 2.5.2 [`6bc9f0e`](https://github.com/oceanprotocol/ocean.js/commit/6bc9f0ee37ffd8ec4e092db66e476cbfa8fc179d)
|
|
12
27
|
|
|
13
28
|
#### [v2.5.1](https://github.com/oceanprotocol/ocean.js/compare/v2.5.0...v2.5.1)
|
|
14
29
|
|
package/CodeExamples.md
CHANGED
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
ZERO_ADDRESS,
|
|
111
111
|
calculateEstimatedGas,
|
|
112
112
|
sendTx
|
|
113
|
-
} from '
|
|
113
|
+
} from '@oceanprotocol/lib'
|
|
114
114
|
import { getAddresses, getTestConfig, web3 } from '../config'
|
|
115
115
|
```
|
|
116
116
|
|
|
@@ -166,7 +166,7 @@ Next, we define the metadata that will describe our data asset. This is what we
|
|
|
166
166
|
'@context': ['https://w3id.org/did/v1'],
|
|
167
167
|
id: '',
|
|
168
168
|
version: '4.1.0',
|
|
169
|
-
chainId:
|
|
169
|
+
chainId: 5,
|
|
170
170
|
nftAddress: '0x0',
|
|
171
171
|
metadata: {
|
|
172
172
|
created: '2021-12-20T14:35:20Z',
|