mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 19:11:04 +00:00
Don't import store via index (#159)
* Don't import store via index * CHANGELOG update
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# 0.42.x
|
||||
|
||||
- For `ui-keyring` the stores are now not exported from the index, imports should be changed to either `ui-keyring/stores` or explicitly to `ui-keyring/stores/Extension`
|
||||
|
||||
# 0.41.1
|
||||
|
||||
- Adapt interface to cater for new `@polkadot/keyring`, where pairs -
|
||||
|
||||
@@ -14,7 +14,7 @@ import accounts from './observable/accounts';
|
||||
import addresses from './observable/addresses';
|
||||
import contracts from './observable/contracts';
|
||||
import env from './observable/development';
|
||||
import { BrowserStore } from './stores';
|
||||
import BrowserStore from './stores/Browser'; // direct import (skip index with all)
|
||||
import { MAX_PASS_LEN } from './defaults';
|
||||
|
||||
export default class Base {
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
import { assertSingletonPackage } from '@polkadot/util';
|
||||
|
||||
import keyring, { Keyring } from './Keyring';
|
||||
export * from './stores';
|
||||
|
||||
assertSingletonPackage('@polkadot/ui-keyring');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user