mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 16:51:04 +00:00
Bump deps (#269)
This commit is contained in:
@@ -7,15 +7,22 @@ import { detectPackage } from '@polkadot/util';
|
||||
import keyring, { Keyring } from './Keyring';
|
||||
import Ledger from './ledger';
|
||||
|
||||
let dirname = 'node_modules';
|
||||
let pkgJson;
|
||||
|
||||
try {
|
||||
dirname = __dirname;
|
||||
} catch (error) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
try {
|
||||
pkgJson = require('./package.json');
|
||||
} catch (error) {
|
||||
pkgJson = require('../package.json');
|
||||
}
|
||||
|
||||
detectPackage(pkgJson);
|
||||
detectPackage(dirname, pkgJson);
|
||||
|
||||
export default keyring;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user