mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 20:21: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
|
# 0.41.1
|
||||||
|
|
||||||
- Adapt interface to cater for new `@polkadot/keyring`, where pairs -
|
- 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 addresses from './observable/addresses';
|
||||||
import contracts from './observable/contracts';
|
import contracts from './observable/contracts';
|
||||||
import env from './observable/development';
|
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';
|
import { MAX_PASS_LEN } from './defaults';
|
||||||
|
|
||||||
export default class Base {
|
export default class Base {
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
import { assertSingletonPackage } from '@polkadot/util';
|
import { assertSingletonPackage } from '@polkadot/util';
|
||||||
|
|
||||||
import keyring, { Keyring } from './Keyring';
|
import keyring, { Keyring } from './Keyring';
|
||||||
export * from './stores';
|
|
||||||
|
|
||||||
assertSingletonPackage('@polkadot/ui-keyring');
|
assertSingletonPackage('@polkadot/ui-keyring');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user