Simplify KeyringAddress interface (#144)

* Simplify ui-keyring KeyringAddress

* Adapt to new @polkadot/keyring KeyPair interface

* Pull in common 0.93.0-beta.4

* KeyringAddress | undefined
This commit is contained in:
Axel Chalon
2019-06-19 18:17:15 +02:00
committed by Jaco Greeff
parent 03f22988a4
commit 2a30f2f483
4 changed files with 22 additions and 42 deletions
+1
View File
@@ -4,6 +4,7 @@
- expose `address` getter instead of `address()`
- expose `publicKey` getter instead of `publicKey()`
- expose `meta` getter instead of `getMeta()`
- The functions `getAccount` `getAddress` `getContract` in `@polkadot/ui-keyring` now return either undefined or an object with the above properties.
- Add support for the saving of contracts to the keyring
- Use the injection of stores, providing an additional `ExtensionStore` for saving to Chrome/FF extensions (in addition to the standard localStorage saving)
- Remove previously deprecated kering functions, `createAccount`, `createAccountExternal` & `createAccountMnemonic`