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
+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;