@oceanprotocol/lib 2.7.0-next.2 → 2.7.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,8 +4,19 @@ 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.7.0](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.2...v2.7.0)
8
+
9
+ - Multichain Provider [`#1698`](https://github.com/oceanprotocol/ocean.js/pull/1698)
10
+ - Bump release-it from 15.6.0 to 15.6.1 [`#1704`](https://github.com/oceanprotocol/ocean.js/pull/1704)
11
+ - Bump prettier from 2.8.1 to 2.8.4 [`#1703`](https://github.com/oceanprotocol/ocean.js/pull/1703)
12
+ - Bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.54.0 [`#1702`](https://github.com/oceanprotocol/ocean.js/pull/1702)
13
+ - Updated copyright year. [`#1700`](https://github.com/oceanprotocol/ocean.js/pull/1700)
14
+
7
15
  #### [v2.7.0-next.2](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.1...v2.7.0-next.2)
8
16
 
17
+ > 22 February 2023
18
+
19
+ - Release 2.7.0-next.2 [`2687751`](https://github.com/oceanprotocol/ocean.js/commit/26877517ff8a7537729e37cf6c68260ca3b3bcf4)
9
20
  - fix isValid provider method [`010306c`](https://github.com/oceanprotocol/ocean.js/commit/010306c92e003021b08df0b8b8ad6743ae6b240c)
10
21
 
11
22
  #### [v2.7.0-next.1](https://github.com/oceanprotocol/ocean.js/compare/v2.7.0-next.0...v2.7.0-next.1)
@@ -583,7 +583,9 @@ Now, let's check that we successfully published a algorithm (create NFT + Datato
583
583
  ### 10.1 Start a compute job using a free C2D environment
584
584
  let's check the free compute environment
585
585
  ```Typescript
586
- const computeEnv = computeEnvs.find((ce) => ce.priceMin === 0)
586
+ const computeEnv = computeEnvs[resolvedDatasetDdo.chainId].find(
587
+ (ce) => ce.priceMin === 0
588
+ )
587
589
  console.log('Free compute environment = ', computeEnv)
588
590
  ```
589
591
  <!--
package/README.md CHANGED
@@ -174,7 +174,7 @@ Further releases afterwards can be done with `npm run release` again and selecti
174
174
  ## 🏛 License
175
175
 
176
176
  ```
177
- Copyright ((C)) 2022 Ocean Protocol Foundation
177
+ Copyright ((C)) 2023 Ocean Protocol Foundation
178
178
 
179
179
  Licensed under the Apache License, Version 2.0 (the "License");
180
180
  you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oceanprotocol/lib",
3
3
  "source": "./src/index.ts",
4
- "version": "2.7.0-next.2",
4
+ "version": "2.7.0",
5
5
  "description": "JavaScript client library for Ocean Protocol",
6
6
  "main": "./dist/lib.js",
7
7
  "umd:main": "dist/lib.umd.js",