From 00df244ed00f59e0bbe4df0aafa4395050d17278 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 10 Aug 2019 13:10:00 +0200 Subject: [PATCH] Cleanup typos --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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