@oceanprotocol/lib 3.3.4-next.1 → 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 CHANGED
@@ -4,9 +4,18 @@ 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.3.4-next.1](https://github.com/oceanprotocol/ocean.js/compare/v3.3.4-next.0...v3.3.4-next.1)
8
-
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)
9
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)
10
19
 
11
20
  #### [v3.3.4-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.3.3...v3.3.4-next.0)
12
21
 
@@ -190,21 +199,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
190
199
  - Merge 8699e4a8bb30b3ecb7ee894412ebe85267fddd67 into ae2ff1ccde53ace9841844c316a855de271f9a3f [`9da0268`](https://github.com/oceanprotocol/ocean.js/commit/9da0268be6ddfb1e4f110ee48725e8c9a492f6fb)
191
200
  - Adding tests to check if the number of decimals is correct for the publishMarketFee [`8699e4a`](https://github.com/oceanprotocol/ocean.js/commit/8699e4a8bb30b3ecb7ee894412ebe85267fddd67)
192
201
 
193
- #### [v3.0.1](https://github.com/oceanprotocol/ocean.js/compare/v3.0.1-next.0...v3.0.1)
202
+ #### [v3.0.1](https://github.com/oceanprotocol/ocean.js/compare/v3.0.0...v3.0.1)
194
203
 
195
204
  > 6 June 2023
196
205
 
197
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)
198
207
  - Release 3.0.1 [`ae2ff1c`](https://github.com/oceanprotocol/ocean.js/commit/ae2ff1ccde53ace9841844c316a855de271f9a3f)
199
208
 
200
- #### [v3.0.1-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.0.0...v3.0.1-next.0)
201
-
202
- > 31 May 2023
203
-
204
- - Release 3.0.1-next.0 [`b670073`](https://github.com/oceanprotocol/ocean.js/commit/b67007363a8e2a3b640411c3b6471edeacdf5d19)
205
- - Merge 04deabccd3ffbc8d3620e42a8b1bc4a2d5019e54 into 543f71f7cda1b3d0099cc26975d34b89bead7452 [`c33663c`](https://github.com/oceanprotocol/ocean.js/commit/c33663cfdbf501c407d3e1e17f56b17761f9e556)
206
- - set min gas fee 30 gwei on priority fees for polygon and mumbai as well [`04deabc`](https://github.com/oceanprotocol/ocean.js/commit/04deabccd3ffbc8d3620e42a8b1bc4a2d5019e54)
207
-
208
209
  #### [v3.0.0](https://github.com/oceanprotocol/ocean.js/compare/v3.0.0-next.5...v3.0.0)
209
210
 
210
211
  > 29 May 2023
@@ -274,7 +275,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
274
275
  - more cleanup and jsdoc updates [`967f664`](https://github.com/oceanprotocol/ocean.js/commit/967f6642fb1a0cf9c20d4f4fa28d36527d8e43ba)
275
276
  - Updating CodeExamples.md [`815ee37`](https://github.com/oceanprotocol/ocean.js/commit/815ee37c52f9aa64f2cac4948fb137f447d1c6b4)
276
277
 
277
- #### [v2.7.0](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.2...v2.7.0)
278
+ #### [v2.7.0](https://github.com/oceanprotocol/ocean.js/compare/v2.6.3...v2.7.0)
278
279
 
279
280
  > 20 March 2023
280
281
 
@@ -285,29 +286,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
285
286
  - Updated copyright year. [`#1700`](https://github.com/oceanprotocol/ocean.js/pull/1700)
286
287
  - Release 2.7.0 [`a2e9901`](https://github.com/oceanprotocol/ocean.js/commit/a2e9901697b32c6aaaa489c3bec1a19fcfa185ab)
287
288
 
288
- #### [v2.7.0-next.2](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.1...v2.7.0-next.2)
289
-
290
- > 22 February 2023
291
-
292
- - Release 2.7.0-next.2 [`2687751`](https://github.com/oceanprotocol/ocean.js/commit/26877517ff8a7537729e37cf6c68260ca3b3bcf4)
293
- - fix isValid provider method [`010306c`](https://github.com/oceanprotocol/ocean.js/commit/010306c92e003021b08df0b8b8ad6743ae6b240c)
294
-
295
- #### [v2.7.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.0...v2.7.0-next.1)
296
-
297
- > 22 February 2023
298
-
299
- - Release 2.7.0-next.0 [`500062b`](https://github.com/oceanprotocol/ocean.js/commit/500062beb575b21ab7210a675bdf5174d11842c8)
300
- - Updating CodeExamples.md [`6cc891a`](https://github.com/oceanprotocol/ocean.js/commit/6cc891a5da9e4042e3eee243b651e8a7188d1786)
301
- - Release 2.7.0-next.1 [`ba27412`](https://github.com/oceanprotocol/ocean.js/commit/ba2741296167de4c112560f2807b1a45e86eba94)
302
-
303
- #### [v2.7.0-next.0](https://github.com/oceanprotocol/ocean.js/compare/v2.6.3...v2.7.0-next.0)
304
-
305
- > 21 February 2023
306
-
307
- - add needed multichain provider changes [`95551ee`](https://github.com/oceanprotocol/ocean.js/commit/95551eeb669395357149dd923ecec304955add14)
308
- - Release 2.7.0-next.0 [`95886a1`](https://github.com/oceanprotocol/ocean.js/commit/95886a184faadd4a13e857e285e016ef4c20966f)
309
- - fix code example [`c4a00e4`](https://github.com/oceanprotocol/ocean.js/commit/c4a00e45848ace6a4fe3d4fa1a2aeac518aa44ce)
310
-
311
289
  #### [v2.6.3](https://github.com/oceanprotocol/ocean.js/compare/v2.6.2...v2.6.3)
312
290
 
313
291
  > 13 February 2023
@@ -609,21 +587,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
609
587
  - Bump typedoc from 0.22.15 to 0.22.17 [`#1514`](https://github.com/oceanprotocol/ocean.js/pull/1514)
610
588
  - Release 1.1.3 [`7772e93`](https://github.com/oceanprotocol/ocean.js/commit/7772e9387ef9d63f98ea80cfd4eefbea963dd0ad)
611
589
 
612
- #### [v1.1.2](https://github.com/oceanprotocol/ocean.js/compare/v1.1.1...v1.1.2)
613
-
614
- > 15 June 2022
615
-
616
- - Release 1.1.2 [`85bf271`](https://github.com/oceanprotocol/ocean.js/commit/85bf2716e26d8691aeb9d5504e563d557419dc2e)
617
- - manual bump fix [`5674a54`](https://github.com/oceanprotocol/ocean.js/commit/5674a547d1d367ce88b3595f0be8ebbf12274266)
618
-
619
- #### [v1.1.1](https://github.com/oceanprotocol/ocean.js/compare/v1.1.0...v1.1.1)
620
-
621
- > 15 June 2022
622
-
623
- - Release 1.1.1 [`ea48e01`](https://github.com/oceanprotocol/ocean.js/commit/ea48e015ac8299f71d57a929f8f30c5d1a8446e7)
624
- - manual bump fix [`a362410`](https://github.com/oceanprotocol/ocean.js/commit/a36241004b1d9578ec5c02d9d6e64d9750c53a7b)
625
-
626
- #### [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)
627
591
 
628
592
  > 15 June 2022
629
593
 
@@ -631,7 +595,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
631
595
  - Bump @types/node from 17.0.35 to 17.0.44 [`#1513`](https://github.com/oceanprotocol/ocean.js/pull/1513)
632
596
  - Bump eslint-config-oceanprotocol from 1.5.0 to 2.0.1 [`#1466`](https://github.com/oceanprotocol/ocean.js/pull/1466)
633
597
  - update to new schema & compute fixes [`#1510`](https://github.com/oceanprotocol/ocean.js/pull/1510)
634
- - Release 1.1.0 [`112c27e`](https://github.com/oceanprotocol/ocean.js/commit/112c27edab58ef0681ea3e87fb09978411924753)
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)
635
601
 
636
602
  #### [v1.0.0](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.45...v1.0.0)
637
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