mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-22 21:55:46 +00:00
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:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user