mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 12:11:04 +00:00
Bump deps (#265)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user