diff --git a/CHANGELOG.md b/CHANGELOG.md index 7377a89c4622..e88a722fdcc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ If you are upgrading form an older version, use the CHANGELOG hand-in-hand with the [migration guide](UPGRADING.md). -- **Breaking change** `Api.create` now only takes an options Object, so if you passed thr provider directly previously, you need to do `Api.create({ provider: ... })` +- **Breaking change** `Api.create(...)` and `new Api(...)` now only takes an options Object, so if you passed the provider directly previously, you need to swap the use to `Api.create({ provider: ... })` - Support substrate v7 metadata - The `Method.findFunction(callIndex)` (allowing decoding of raw data), is now available on `api.findCall(callIndex)`. To keep backwards compatibility, it is still available on `GenericCall.findMethod` but the `api.findCall` is recommended and suggested. - Runtime types have been extended and moved to definitions instead of classes