@oceanprotocol/lib 3.3.4-next.0 → 3.4.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 +21 -49
- package/README.md +16 -0
- 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/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,23 @@ 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
|
+
#### [v3.4.0](https://github.com/oceanprotocol/ocean.js/compare/v3.3.4-next.0...v3.4.0)
|
|
8
|
+
|
|
9
|
+
- Issue 1841 pub flow - createAsset Fn [`#1843`](https://github.com/oceanprotocol/ocean.js/pull/1843)
|
|
10
|
+
- add credentials to service type [`#1855`](https://github.com/oceanprotocol/ocean.js/pull/1855)
|
|
11
|
+
- Integrate contracts v2.2.0 [`#1845`](https://github.com/oceanprotocol/ocean.js/pull/1845)
|
|
12
|
+
- Added additional check for NFT tx. [`#1854`](https://github.com/oceanprotocol/ocean.js/pull/1854)
|
|
13
|
+
- throw some error msgs if no tx [`#1857`](https://github.com/oceanprotocol/ocean.js/pull/1857)
|
|
14
|
+
- Fix non existing transaction error [`#1793`](https://github.com/oceanprotocol/ocean.js/pull/1793)
|
|
15
|
+
- Fix try catch nft creation [`#1853`](https://github.com/oceanprotocol/ocean.js/pull/1853)
|
|
16
|
+
- fix review [`61fff34`](https://github.com/oceanprotocol/ocean.js/commit/61fff3441d782c4dafdc6d6def312988052d5ff1)
|
|
17
|
+
- some fix and refactor [`51ddf52`](https://github.com/oceanprotocol/ocean.js/commit/51ddf52d58dda02ee60ecd22759939b947a94f55)
|
|
18
|
+
- remove duplicate file + fix import [`c80d69e`](https://github.com/oceanprotocol/ocean.js/commit/c80d69ec3235b14dfc4cb5a26ad6f330aa1f6db1)
|
|
19
|
+
|
|
7
20
|
#### [v3.3.4-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.3.3...v3.3.4-next.0)
|
|
8
21
|
|
|
22
|
+
> 10 September 2024
|
|
23
|
+
|
|
9
24
|
- remove hardhat deps [`5611eab`](https://github.com/oceanprotocol/ocean.js/commit/5611eab8176d9eab9c86a7f38eb23a3e893930e3)
|
|
10
25
|
- use hardhat getContractAt [`a049a1a`](https://github.com/oceanprotocol/ocean.js/commit/a049a1a4880fa698a26a27d6ea8e42fd864c188d)
|
|
11
26
|
- wip: create asset [`17603be`](https://github.com/oceanprotocol/ocean.js/commit/17603be1bb1e0bae5740755c5ae0873f1d18df4b)
|
|
@@ -184,21 +199,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
184
199
|
- Merge 8699e4a8bb30b3ecb7ee894412ebe85267fddd67 into ae2ff1ccde53ace9841844c316a855de271f9a3f [`9da0268`](https://github.com/oceanprotocol/ocean.js/commit/9da0268be6ddfb1e4f110ee48725e8c9a492f6fb)
|
|
185
200
|
- Adding tests to check if the number of decimals is correct for the publishMarketFee [`8699e4a`](https://github.com/oceanprotocol/ocean.js/commit/8699e4a8bb30b3ecb7ee894412ebe85267fddd67)
|
|
186
201
|
|
|
187
|
-
#### [v3.0.1](https://github.com/oceanprotocol/ocean.js/compare/v3.0.
|
|
202
|
+
#### [v3.0.1](https://github.com/oceanprotocol/ocean.js/compare/v3.0.0...v3.0.1)
|
|
188
203
|
|
|
189
204
|
> 6 June 2023
|
|
190
205
|
|
|
191
206
|
- set min gas fee 30 gwei on priority fees for polygon and mumbai as well [`#1736`](https://github.com/oceanprotocol/ocean.js/pull/1736)
|
|
192
207
|
- Release 3.0.1 [`ae2ff1c`](https://github.com/oceanprotocol/ocean.js/commit/ae2ff1ccde53ace9841844c316a855de271f9a3f)
|
|
193
208
|
|
|
194
|
-
#### [v3.0.1-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.0.0...v3.0.1-next.0)
|
|
195
|
-
|
|
196
|
-
> 31 May 2023
|
|
197
|
-
|
|
198
|
-
- Release 3.0.1-next.0 [`b670073`](https://github.com/oceanprotocol/ocean.js/commit/b67007363a8e2a3b640411c3b6471edeacdf5d19)
|
|
199
|
-
- Merge 04deabccd3ffbc8d3620e42a8b1bc4a2d5019e54 into 543f71f7cda1b3d0099cc26975d34b89bead7452 [`c33663c`](https://github.com/oceanprotocol/ocean.js/commit/c33663cfdbf501c407d3e1e17f56b17761f9e556)
|
|
200
|
-
- set min gas fee 30 gwei on priority fees for polygon and mumbai as well [`04deabc`](https://github.com/oceanprotocol/ocean.js/commit/04deabccd3ffbc8d3620e42a8b1bc4a2d5019e54)
|
|
201
|
-
|
|
202
209
|
#### [v3.0.0](https://github.com/oceanprotocol/ocean.js/compare/v3.0.0-next.5...v3.0.0)
|
|
203
210
|
|
|
204
211
|
> 29 May 2023
|
|
@@ -268,7 +275,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
268
275
|
- more cleanup and jsdoc updates [`967f664`](https://github.com/oceanprotocol/ocean.js/commit/967f6642fb1a0cf9c20d4f4fa28d36527d8e43ba)
|
|
269
276
|
- Updating CodeExamples.md [`815ee37`](https://github.com/oceanprotocol/ocean.js/commit/815ee37c52f9aa64f2cac4948fb137f447d1c6b4)
|
|
270
277
|
|
|
271
|
-
#### [v2.7.0](https://github.com/oceanprotocol/ocean.js/compare/v2.
|
|
278
|
+
#### [v2.7.0](https://github.com/oceanprotocol/ocean.js/compare/v2.6.3...v2.7.0)
|
|
272
279
|
|
|
273
280
|
> 20 March 2023
|
|
274
281
|
|
|
@@ -279,29 +286,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
279
286
|
- Updated copyright year. [`#1700`](https://github.com/oceanprotocol/ocean.js/pull/1700)
|
|
280
287
|
- Release 2.7.0 [`a2e9901`](https://github.com/oceanprotocol/ocean.js/commit/a2e9901697b32c6aaaa489c3bec1a19fcfa185ab)
|
|
281
288
|
|
|
282
|
-
#### [v2.7.0-next.2](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.1...v2.7.0-next.2)
|
|
283
|
-
|
|
284
|
-
> 22 February 2023
|
|
285
|
-
|
|
286
|
-
- Release 2.7.0-next.2 [`2687751`](https://github.com/oceanprotocol/ocean.js/commit/26877517ff8a7537729e37cf6c68260ca3b3bcf4)
|
|
287
|
-
- fix isValid provider method [`010306c`](https://github.com/oceanprotocol/ocean.js/commit/010306c92e003021b08df0b8b8ad6743ae6b240c)
|
|
288
|
-
|
|
289
|
-
#### [v2.7.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.0...v2.7.0-next.1)
|
|
290
|
-
|
|
291
|
-
> 22 February 2023
|
|
292
|
-
|
|
293
|
-
- Release 2.7.0-next.0 [`500062b`](https://github.com/oceanprotocol/ocean.js/commit/500062beb575b21ab7210a675bdf5174d11842c8)
|
|
294
|
-
- Updating CodeExamples.md [`6cc891a`](https://github.com/oceanprotocol/ocean.js/commit/6cc891a5da9e4042e3eee243b651e8a7188d1786)
|
|
295
|
-
- Release 2.7.0-next.1 [`ba27412`](https://github.com/oceanprotocol/ocean.js/commit/ba2741296167de4c112560f2807b1a45e86eba94)
|
|
296
|
-
|
|
297
|
-
#### [v2.7.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v2.6.3...v2.7.0-next.0)
|
|
298
|
-
|
|
299
|
-
> 21 February 2023
|
|
300
|
-
|
|
301
|
-
- add needed multichain provider changes [`95551ee`](https://github.com/oceanprotocol/ocean.js/commit/95551eeb669395357149dd923ecec304955add14)
|
|
302
|
-
- Release 2.7.0-next.0 [`95886a1`](https://github.com/oceanprotocol/ocean.js/commit/95886a184faadd4a13e857e285e016ef4c20966f)
|
|
303
|
-
- fix code example [`c4a00e4`](https://github.com/oceanprotocol/ocean.js/commit/c4a00e45848ace6a4fe3d4fa1a2aeac518aa44ce)
|
|
304
|
-
|
|
305
289
|
#### [v2.6.3](https://github.com/oceanprotocol/ocean.js/compare/v2.6.2...v2.6.3)
|
|
306
290
|
|
|
307
291
|
> 13 February 2023
|
|
@@ -603,21 +587,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
603
587
|
- Bump typedoc from 0.22.15 to 0.22.17 [`#1514`](https://github.com/oceanprotocol/ocean.js/pull/1514)
|
|
604
588
|
- Release 1.1.3 [`7772e93`](https://github.com/oceanprotocol/ocean.js/commit/7772e9387ef9d63f98ea80cfd4eefbea963dd0ad)
|
|
605
589
|
|
|
606
|
-
#### [v1.1.2](https://github.com/oceanprotocol/ocean.js/compare/v1.
|
|
607
|
-
|
|
608
|
-
> 15 June 2022
|
|
609
|
-
|
|
610
|
-
- Release 1.1.2 [`85bf271`](https://github.com/oceanprotocol/ocean.js/commit/85bf2716e26d8691aeb9d5504e563d557419dc2e)
|
|
611
|
-
- manual bump fix [`5674a54`](https://github.com/oceanprotocol/ocean.js/commit/5674a547d1d367ce88b3595f0be8ebbf12274266)
|
|
612
|
-
|
|
613
|
-
#### [v1.1.1](https://github.com/oceanprotocol/ocean.js/compare/v1.1.0...v1.1.1)
|
|
614
|
-
|
|
615
|
-
> 15 June 2022
|
|
616
|
-
|
|
617
|
-
- Release 1.1.1 [`ea48e01`](https://github.com/oceanprotocol/ocean.js/commit/ea48e015ac8299f71d57a929f8f30c5d1a8446e7)
|
|
618
|
-
- manual bump fix [`a362410`](https://github.com/oceanprotocol/ocean.js/commit/a36241004b1d9578ec5c02d9d6e64d9750c53a7b)
|
|
619
|
-
|
|
620
|
-
#### [v1.1.0](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0...v1.1.0)
|
|
590
|
+
#### [v1.1.2](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0...v1.1.2)
|
|
621
591
|
|
|
622
592
|
> 15 June 2022
|
|
623
593
|
|
|
@@ -625,7 +595,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
625
595
|
- Bump @types/node from 17.0.35 to 17.0.44 [`#1513`](https://github.com/oceanprotocol/ocean.js/pull/1513)
|
|
626
596
|
- Bump eslint-config-oceanprotocol from 1.5.0 to 2.0.1 [`#1466`](https://github.com/oceanprotocol/ocean.js/pull/1466)
|
|
627
597
|
- update to new schema & compute fixes [`#1510`](https://github.com/oceanprotocol/ocean.js/pull/1510)
|
|
628
|
-
- Release 1.1.
|
|
598
|
+
- Release 1.1.2 [`85bf271`](https://github.com/oceanprotocol/ocean.js/commit/85bf2716e26d8691aeb9d5504e563d557419dc2e)
|
|
599
|
+
- manual bump fix [`5674a54`](https://github.com/oceanprotocol/ocean.js/commit/5674a547d1d367ce88b3595f0be8ebbf12274266)
|
|
600
|
+
- manual bump fix [`a362410`](https://github.com/oceanprotocol/ocean.js/commit/a36241004b1d9578ec5c02d9d6e64d9750c53a7b)
|
|
629
601
|
|
|
630
602
|
#### [v1.0.0](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.45...v1.0.0)
|
|
631
603
|
|
package/README.md
CHANGED
|
@@ -128,6 +128,22 @@ npm run test:integration
|
|
|
128
128
|
npm run test:integration:cover
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
+
### Sapphire Integration Tests
|
|
132
|
+
|
|
133
|
+
We are currently using the live Oasis Sapphire Test network for the integration tests.
|
|
134
|
+
Please export the `PRIVATE_KEY` and `PRIVATE_KEY_CONSUMER` before running the tests.
|
|
135
|
+
```bash
|
|
136
|
+
export PRIVATE_KEY='0x<YOUR_PRIVATE_KEY>'
|
|
137
|
+
export PRIVATE_KEY_CONSUMER='0x<YOUR_CONSUMER_PRIVATE_KEY>'
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Then, you can execute the tests individually with:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
npm run test:sapphire
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
|
|
131
147
|
> Note: On macOS, changes to the `provider`, `metadataCache` and `subgraph` URLs are required, as their default `barge` IPs can not be accessed due to network constraints on macOS. Instead use `http://127.0.0.1` for each direct call to the mentioned services, but keep the internal `provider` URL (`http://172.15.0.4:8030`) hardcoded inside all DDO's `serviceEndpoint`, and when calling `nft.setMetadata()`.
|
|
132
148
|
|
|
133
149
|
## 🛳 Production
|