mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-13 23:51:01 +00:00
Allow import.meta.url for detectPackage (#420)
* Allow import.meta.url for detectPackage * Bump deps
This commit is contained in:
@@ -12,12 +12,12 @@
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^5.0.1",
|
||||
"@polkadot/keyring": "^5.0.2-1",
|
||||
"@polkadot/reactnative-identicon": "0.63.1",
|
||||
"@polkadot/ui-keyring": "0.63.1",
|
||||
"@polkadot/ui-settings": "0.63.1",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/util-crypto": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@polkadot/util-crypto": "^5.0.2-1",
|
||||
"@react-native-community/async-storage": "^1.12.1",
|
||||
"fast-text-encoding": "^1.0.3",
|
||||
"get-yarn-workspaces": "^1.0.2",
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
"react-native": "react-native.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@ledgerhq/hw-transport-webusb": "^5.34.1"
|
||||
"@ledgerhq/hw-transport-webusb": "^5.36.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/ledgerhq__hw-transport-node-hid": "^4.22.2",
|
||||
"@types/ledgerhq__hw-transport-webusb": "^4.70.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@ledgerhq/hw-transport-node-hid-singleton": "^5.34.0"
|
||||
"@ledgerhq/hw-transport-node-hid-singleton": "^5.36.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/ledger-transports": "0.63.1",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@zondax/ledger-polkadot": "^0.12.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/keyring": "^5.0.1",
|
||||
"@polkadot/keyring": "^5.0.2-1",
|
||||
"@polkadot/ui-settings": "0.63.1",
|
||||
"@polkadot/ui-shared": "0.63.1",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/util-crypto": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@polkadot/util-crypto": "^5.0.2-1",
|
||||
"color": "^3.1.3",
|
||||
"ethereum-blockies-base64": "^1.0.2",
|
||||
"jdenticon": "2.2.0",
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/util-crypto": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@polkadot/util-crypto": "^5.0.2-1",
|
||||
"qrcode-generator": "^1.4.4",
|
||||
"react-qr-reader": "^2.2.1",
|
||||
"styled-components": "^5.2.1"
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/ui-shared": "0.63.1",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/util-crypto": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@polkadot/util-crypto": "^5.0.2-1",
|
||||
"react-native-svg": "^12.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@@ -21,6 +21,6 @@
|
||||
"react-native": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-native": "^0.63.40"
|
||||
"@types/react-native": "^0.63.41"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/keyring": "^5.0.1",
|
||||
"@polkadot/keyring": "^5.0.2-1",
|
||||
"@polkadot/ledger": "^0.63.1",
|
||||
"@polkadot/ui-settings": "0.63.1",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/x-rxjs": "^3.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@polkadot/x-rxjs": "^3.0.2-6",
|
||||
"mkdirp": "^1.0.4",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "^3.0.1",
|
||||
"@polkadot/types": "^3.0.2-6",
|
||||
"@types/mkdirp": "^1.0.1",
|
||||
"@types/store": "^2.0.2"
|
||||
},
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import packageInfo from './package-info.json';
|
||||
|
||||
export { packageInfo };
|
||||
@@ -0,0 +1,10 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const util = require('@polkadot/util');
|
||||
|
||||
const packageInfo = require('./package-info.json');
|
||||
|
||||
util.detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname);
|
||||
|
||||
exports.packageInfo = packageInfo;
|
||||
+5
-2
@@ -3,5 +3,8 @@
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
detectPackage(require('./package.json'), typeof __dirname !== 'undefined' && __dirname);
|
||||
import packageInfo from './package-info.json';
|
||||
|
||||
detectPackage(packageInfo, import.meta.url);
|
||||
|
||||
export { packageInfo };
|
||||
@@ -9,8 +9,8 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/networks": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/networks": "^5.0.2-1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
"@polkadot/util-crypto": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/util-crypto": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@polkadot/util-crypto": "^5.0.2-1",
|
||||
"@types/color": "^3.0.1",
|
||||
"@types/xmlserializer": "^0.6.1"
|
||||
}
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.5",
|
||||
"@polkadot/ui-shared": "0.63.1",
|
||||
"@polkadot/util": "^5.0.1",
|
||||
"@polkadot/util-crypto": "^5.0.1",
|
||||
"@polkadot/util": "^5.0.2-1",
|
||||
"@polkadot/util-crypto": "^5.0.2-1",
|
||||
"jdenticon": "2.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user