mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
add migration instructions for breaking changes
This commit is contained in:
parent
f3cbf1ad01
commit
4a359b65c5
23
MIGRATION.md
23
MIGRATION.md
@ -1,6 +1,27 @@
|
|||||||
# Migration Guide
|
# Migration Guide
|
||||||
|
|
||||||
Instructions on how to migrate between breaking versions.
|
Instructions on how to migrate between versions with breaking changes.
|
||||||
|
|
||||||
|
## v1.2.0 → v2.0.0
|
||||||
|
|
||||||
|
### Ocean Protocol Components Requirements
|
||||||
|
|
||||||
|
squid-js v2.0.0 only works against:
|
||||||
|
|
||||||
|
- Aquarius v1.0.5+
|
||||||
|
- Brizo v0.8.1+
|
||||||
|
- Events Handler v0.4.4+
|
||||||
|
- Keeper Contracts v0.13.2+
|
||||||
|
|
||||||
|
### Service index removal from `ocean.assets.order`
|
||||||
|
|
||||||
|
```js
|
||||||
|
// old
|
||||||
|
const agreementId = await ocean.assets.order(did, service.index, account)
|
||||||
|
|
||||||
|
// NEW
|
||||||
|
const agreementId = await ocean.assets.order(did, account)
|
||||||
|
```
|
||||||
|
|
||||||
## v0.8.3 → v1.0.0
|
## v0.8.3 → v1.0.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user