Don't import store via index (#159)

* Don't import store via index

* CHANGELOG update
This commit is contained in:
Jaco Greeff
2019-07-17 08:16:48 +02:00
committed by GitHub
parent 0a1912f617
commit 62450ba86a
3 changed files with 5 additions and 2 deletions
+4
View File
@@ -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 -
+1 -1
View File
@@ -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 {
-1
View File
@@ -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');