@oceanprotocol/lib 3.3.2 → 3.3.3-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 CHANGED
@@ -4,14 +4,32 @@ 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.3-next.1](https://github.com/oceanprotocol/ocean.js/compare/v3.3.3-next.0...v3.3.3-next.1)
8
+
9
+ - wip: update compute status/stop to support `agreementId`, not `documentId`, sig fix [`#1822`](https://github.com/oceanprotocol/ocean.js/pull/1822)
10
+ - put timeout back and test order,mut be ipfs side temporary [`557289e`](https://github.com/oceanprotocol/ocean.js/commit/557289e5f2c3a667abb6645a07c8342be881c186)
11
+ - try swap tests order , debug [`fb50bee`](https://github.com/oceanprotocol/ocean.js/commit/fb50bee3804d943949da33cfdfb615449d6c39c1)
12
+ - remove console.logs [`4e0536a`](https://github.com/oceanprotocol/ocean.js/commit/4e0536a1f8a812e4002b437665ce5357fddccd22)
13
+
14
+ #### [v3.3.3-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.3.2...v3.3.3-next.0)
15
+
16
+ > 27 June 2024
17
+
18
+ - Release 3.3.3-next.0 [`6f13fe7`](https://github.com/oceanprotocol/ocean.js/commit/6f13fe796feb9f168f234c8edf5ed27bcc47ce82)
19
+ - wip: update to support agreementId [`9d58208`](https://github.com/oceanprotocol/ocean.js/commit/9d582082f05cab961915aef04e74f8e32fd7ba9c)
20
+ - update compute stop, document id is not needed, neither for operator service, neither used on signature check [`5105a4f`](https://github.com/oceanprotocol/ocean.js/commit/5105a4fdadbf5590ebf2954a1d6f3a12f77b235c)
21
+
7
22
  #### [v3.3.2](https://github.com/oceanprotocol/ocean.js/compare/v3.3.1...v3.3.2)
8
23
 
24
+ > 25 June 2024
25
+
9
26
  - Split coupled tests to fix timeout issues [`#1827`](https://github.com/oceanprotocol/ocean.js/pull/1827)
10
27
  - Bump braces from 3.0.2 to 3.0.3 [`#1819`](https://github.com/oceanprotocol/ocean.js/pull/1819)
11
28
  - Bump chai-spies and @types/chai-spies [`#1816`](https://github.com/oceanprotocol/ocean.js/pull/1816)
12
29
  - Pontus x devnet config [`#1806`](https://github.com/oceanprotocol/ocean.js/pull/1806)
13
30
  - Update CODEOWNERS [`#1824`](https://github.com/oceanprotocol/ocean.js/pull/1824)
14
31
  - Sanitize service endpoint by adding/reving slash when needed. [`#1821`](https://github.com/oceanprotocol/ocean.js/pull/1821)
32
+ - Release 3.3.2 [`3ba3ccb`](https://github.com/oceanprotocol/ocean.js/commit/3ba3ccb6b5df9caa87e31dfb316a1c1c74a6740c)
15
33
 
16
34
  #### [v3.3.1](https://github.com/oceanprotocol/ocean.js/compare/v3.3.0...v3.3.1)
17
35
 
@@ -84,29 +102,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
84
102
  - make sure we increment a number when working with nonces [`#1781`](https://github.com/oceanprotocol/ocean.js/pull/1781)
85
103
  - Release 3.1.4 [`b2e2cf2`](https://github.com/oceanprotocol/ocean.js/commit/b2e2cf24293af07f597c25e3a3e392db9caa381a)
86
104
 
87
- #### [v3.1.3](https://github.com/oceanprotocol/ocean.js/compare/v3.1.3-next.1...v3.1.3)
105
+ #### [v3.1.3](https://github.com/oceanprotocol/ocean.js/compare/v3.1.2...v3.1.3)
88
106
 
89
107
  > 16 October 2023
90
108
 
91
109
  - fix fs use & error handling [`#1777`](https://github.com/oceanprotocol/ocean.js/pull/1777)
92
110
  - Bump postcss from 8.4.5 to 8.4.31 [`#1778`](https://github.com/oceanprotocol/ocean.js/pull/1778)
93
- - Release 3.1.3 [`1bc5a39`](https://github.com/oceanprotocol/ocean.js/commit/1bc5a39fda217c91cf5c44f41c6275acd20740de)
94
-
95
- #### [v3.1.3-next.1](https://github.com/oceanprotocol/ocean.js/compare/v3.1.3-next.0...v3.1.3-next.1)
96
-
97
- > 11 October 2023
98
-
99
- - update error handling [`aada8e9`](https://github.com/oceanprotocol/ocean.js/commit/aada8e92af9273ccc20e86dc00ea73bcb7e8dfdf)
100
- - Release 3.1.3-next.1 [`40c22b9`](https://github.com/oceanprotocol/ocean.js/commit/40c22b9b1fa147fd4295da1bdd6248d7714a2b30)
101
-
102
- #### [v3.1.3-next.0](https://github.com/oceanprotocol/ocean.js/compare/v3.1.2...v3.1.3-next.0)
103
-
104
- > 6 October 2023
105
-
106
111
  - Bump @types/crypto-js from 4.1.1 to 4.1.2 [`#1774`](https://github.com/oceanprotocol/ocean.js/pull/1774)
107
112
  - Bump @types/chai-spies from 1.0.3 to 1.0.4 [`#1776`](https://github.com/oceanprotocol/ocean.js/pull/1776)
108
- - fix fs use [`735dc2f`](https://github.com/oceanprotocol/ocean.js/commit/735dc2f62b976be683bc9fcd7f8940e715b18519)
109
- - Release 3.1.3-next.0 [`5ac5d1f`](https://github.com/oceanprotocol/ocean.js/commit/5ac5d1f44a637b5d8d285757941b0393bb3a7983)
113
+ - Release 3.1.3 [`1bc5a39`](https://github.com/oceanprotocol/ocean.js/commit/1bc5a39fda217c91cf5c44f41c6275acd20740de)
110
114
 
111
115
  #### [v3.1.2](https://github.com/oceanprotocol/ocean.js/compare/v3.1.1...v3.1.2)
112
116
 
@@ -584,7 +588,21 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
584
588
  - Bump typedoc from 0.22.15 to 0.22.17 [`#1514`](https://github.com/oceanprotocol/ocean.js/pull/1514)
585
589
  - Release 1.1.3 [`7772e93`](https://github.com/oceanprotocol/ocean.js/commit/7772e9387ef9d63f98ea80cfd4eefbea963dd0ad)
586
590
 
587
- #### [v1.1.2](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0...v1.1.2)
591
+ #### [v1.1.2](https://github.com/oceanprotocol/ocean.js/compare/v1.1.1...v1.1.2)
592
+
593
+ > 15 June 2022
594
+
595
+ - Release 1.1.2 [`85bf271`](https://github.com/oceanprotocol/ocean.js/commit/85bf2716e26d8691aeb9d5504e563d557419dc2e)
596
+ - manual bump fix [`5674a54`](https://github.com/oceanprotocol/ocean.js/commit/5674a547d1d367ce88b3595f0be8ebbf12274266)
597
+
598
+ #### [v1.1.1](https://github.com/oceanprotocol/ocean.js/compare/v1.1.0...v1.1.1)
599
+
600
+ > 15 June 2022
601
+
602
+ - Release 1.1.1 [`ea48e01`](https://github.com/oceanprotocol/ocean.js/commit/ea48e015ac8299f71d57a929f8f30c5d1a8446e7)
603
+ - manual bump fix [`a362410`](https://github.com/oceanprotocol/ocean.js/commit/a36241004b1d9578ec5c02d9d6e64d9750c53a7b)
604
+
605
+ #### [v1.1.0](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0...v1.1.0)
588
606
 
589
607
  > 15 June 2022
590
608
 
@@ -592,9 +610,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
592
610
  - Bump @types/node from 17.0.35 to 17.0.44 [`#1513`](https://github.com/oceanprotocol/ocean.js/pull/1513)
593
611
  - Bump eslint-config-oceanprotocol from 1.5.0 to 2.0.1 [`#1466`](https://github.com/oceanprotocol/ocean.js/pull/1466)
594
612
  - update to new schema & compute fixes [`#1510`](https://github.com/oceanprotocol/ocean.js/pull/1510)
595
- - Release 1.1.2 [`85bf271`](https://github.com/oceanprotocol/ocean.js/commit/85bf2716e26d8691aeb9d5504e563d557419dc2e)
596
- - manual bump fix [`5674a54`](https://github.com/oceanprotocol/ocean.js/commit/5674a547d1d367ce88b3595f0be8ebbf12274266)
597
- - manual bump fix [`a362410`](https://github.com/oceanprotocol/ocean.js/commit/a36241004b1d9578ec5c02d9d6e64d9750c53a7b)
613
+ - Release 1.1.0 [`112c27e`](https://github.com/oceanprotocol/ocean.js/commit/112c27edab58ef0681ea3e87fb09978411924753)
598
614
 
599
615
  #### [v1.0.0](https://github.com/oceanprotocol/ocean.js/compare/v1.0.0-next.45...v1.0.0)
600
616
 
@@ -274,6 +274,7 @@ let resolvedDatasetDdo: DDO
274
274
  let resolvedAlgorithmDdo: DDO
275
275
 
276
276
  let computeJobId: string
277
+ let agreementId: string
277
278
  ```
278
279
 
279
280
  ### 4.3 Helper methods
@@ -661,6 +662,8 @@ Let's have 5 minute of compute access
661
662
  Let's save the compute job it, we re going to use later
662
663
  ```Typescript
663
664
  computeJobId = computeJobs[0].jobId
665
+ // eslint-disable-next-line prefer-destructuring
666
+ agreementId = computeJobs[0].agreementId
664
667
 
665
668
  ```
666
669
 
@@ -672,7 +675,7 @@ You can also add various delays so you see the various states of the compute job
672
675
  providerUrl,
673
676
  await consumerAccount.getAddress(),
674
677
  computeJobId,
675
- DATASET_DDO.id
678
+ agreementId
676
679
  )
677
680
  ```
678
681
  <!--