Bump deps (#265)

This commit is contained in:
Jaco Greeff
2020-01-28 18:08:00 +01:00
committed by GitHub
parent 9866faa41d
commit fe4e6df901
6 changed files with 54 additions and 71 deletions
+3 -3
View File
@@ -30,9 +30,9 @@
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/keyring": "^2.0.0-beta.6",
"@polkadot/types": "^1.0.0-beta.19",
"@polkadot/util": "^2.0.0-beta.6"
"@polkadot/keyring": "^2.0.0-beta.7",
"@polkadot/types": "^1.0.0-beta.30",
"@polkadot/util": "^2.0.0-beta.7"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid": "^5.7.0"
+10 -2
View File
@@ -2,12 +2,20 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { assertSingletonPackage } from '@polkadot/util';
import { detectPackage } from '@polkadot/util';
import keyring, { Keyring } from './Keyring';
import Ledger from './ledger';
assertSingletonPackage('@polkadot/ui-keyring');
let pkgJson;
try {
pkgJson = require('./package.json');
} catch (error) {
pkgJson = require('../package.json');
}
detectPackage(pkgJson);
export default keyring;