parent
6f5c60544c
commit
2886c5baa3
16
package.json
16
package.json
@ -34,19 +34,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.16.5",
|
||||
"@polkadot/dev": "^0.64.3",
|
||||
"@polkadot/dev": "^0.64.11",
|
||||
"@types/jest": "^27.0.3",
|
||||
"i18next-scanner": "^3.1.0",
|
||||
"sinon-chrome": "^3.0.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^6.11.1",
|
||||
"@polkadot/keyring": "^8.1.2",
|
||||
"@polkadot/networks": "^8.1.2",
|
||||
"@polkadot/types": "^6.11.1",
|
||||
"@polkadot/util": "^8.1.2",
|
||||
"@polkadot/util-crypto": "^8.1.2",
|
||||
"@polkadot/x-fetch": "^8.1.2",
|
||||
"@polkadot/api": "^7.0.1",
|
||||
"@polkadot/keyring": "^8.2.2",
|
||||
"@polkadot/networks": "^8.2.2",
|
||||
"@polkadot/types": "^7.0.1",
|
||||
"@polkadot/util": "^8.2.2",
|
||||
"@polkadot/util-crypto": "^8.2.2",
|
||||
"@polkadot/x-fetch": "^8.2.2",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"safe-buffer": "^5.2.1",
|
||||
"typescript": "^4.5.3"
|
||||
|
||||
@ -18,11 +18,19 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.5",
|
||||
"@polkadot/api": "^6.12.1",
|
||||
"@polkadot/api": "^7.0.1",
|
||||
"@polkadot/extension-chains": "^0.42.3-4",
|
||||
"@polkadot/extension-dapp": "^0.42.3-4",
|
||||
"@polkadot/extension-inject": "^0.42.3-4",
|
||||
"@polkadot/keyring": "^8.1.2",
|
||||
"@polkadot/phishing": "^0.6.534",
|
||||
"@polkadot/ui-keyring": "^0.87.5"
|
||||
"@polkadot/keyring": "^8.2.2",
|
||||
"@polkadot/phishing": "^0.6.563",
|
||||
"@polkadot/rpc-provider": "^7.0.1",
|
||||
"@polkadot/types": "^7.0.1",
|
||||
"@polkadot/ui-keyring": "^0.87.6",
|
||||
"@polkadot/ui-settings": "^0.87.6",
|
||||
"@polkadot/util": "^8.2.2",
|
||||
"@polkadot/util-crypto": "^8.2.2",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,9 +18,12 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.5",
|
||||
"@polkadot/networks": "^8.1.2"
|
||||
"@polkadot/extension-inject": "^0.42.3-4",
|
||||
"@polkadot/networks": "^8.2.2",
|
||||
"@polkadot/util-crypto": "^8.2.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/api": "*"
|
||||
"@polkadot/api": "*",
|
||||
"@polkadot/types": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@polkadot/extension-inject/types';
|
||||
import type { ChainProperties } from '@polkadot/types/interfaces';
|
||||
import type { Chain } from './types';
|
||||
|
||||
import { Metadata, TypeRegistry } from '@polkadot/types';
|
||||
@ -34,7 +35,7 @@ export function metadataExpand (definition: MetadataDef, isPartial = false): Cha
|
||||
ss58Format,
|
||||
tokenDecimals,
|
||||
tokenSymbol
|
||||
}));
|
||||
}) as unknown as ChainProperties);
|
||||
|
||||
const hasMetadata = !!metaCalls && !isPartial;
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
"@babel/runtime": "^7.16.5",
|
||||
"@metamask/detect-provider": "^1.2.0",
|
||||
"@polkadot/extension-inject": "^0.42.3-4",
|
||||
"@polkadot/util": "^8.1.2",
|
||||
"@polkadot/util": "^8.2.2",
|
||||
"web3": "^1.6.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.5",
|
||||
"@polkadot/extension-inject": "^0.42.3-4",
|
||||
"@polkadot/util": "^8.1.2",
|
||||
"@polkadot/util-crypto": "^8.1.2"
|
||||
"@polkadot/util": "^8.2.2",
|
||||
"@polkadot/util-crypto": "^8.2.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/api": "*",
|
||||
|
||||
@ -17,7 +17,10 @@
|
||||
"version": "0.42.3-4",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.5"
|
||||
"@babel/runtime": "^7.16.5",
|
||||
"@polkadot/rpc-provider": "^7.0.1",
|
||||
"@polkadot/types": "^7.0.1",
|
||||
"@polkadot/util-crypto": "^8.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chrome": "^0.0.171",
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
"version": "0.42.3-4",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.5"
|
||||
"@babel/runtime": "^7.16.5",
|
||||
"sinon-chrome": "^3.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,17 +23,22 @@
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
||||
"@fortawesome/react-fontawesome": "^0.1.16",
|
||||
"@polkadot/extension-base": "^0.42.3-4",
|
||||
"@polkadot/extension-chains": "^0.42.3-4",
|
||||
"@polkadot/extension-dapp": "^0.42.3-4",
|
||||
"@polkadot/extension-inject": "^0.42.3-4",
|
||||
"@polkadot/hw-ledger": "^8.1.2",
|
||||
"@polkadot/keyring": "^8.1.2",
|
||||
"@polkadot/networks": "^8.1.2",
|
||||
"@polkadot/react-identicon": "^0.87.5",
|
||||
"@polkadot/react-qr": "^0.87.5",
|
||||
"@polkadot/util": "^8.1.2",
|
||||
"@polkadot/util-crypto": "^8.1.2",
|
||||
"@polkadot/hw-ledger": "^8.2.2",
|
||||
"@polkadot/keyring": "^8.2.2",
|
||||
"@polkadot/networks": "^8.2.2",
|
||||
"@polkadot/react-identicon": "^0.87.6",
|
||||
"@polkadot/react-qr": "^0.87.6",
|
||||
"@polkadot/types": "^7.0.1",
|
||||
"@polkadot/types-augment": "^7.0.1",
|
||||
"@polkadot/ui-keyring": "^0.87.6",
|
||||
"@polkadot/ui-settings": "^0.87.6",
|
||||
"@polkadot/util": "^8.2.2",
|
||||
"@polkadot/util-crypto": "^8.2.2",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^21.6.0",
|
||||
"i18next": "^21.6.3",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-dropzone": "^11.4.2",
|
||||
|
||||
@ -22,9 +22,6 @@ i18next
|
||||
lng: uiSettings.i18nLang,
|
||||
load: 'languageOnly',
|
||||
nsSeparator: false,
|
||||
react: {
|
||||
wait: true
|
||||
},
|
||||
returnEmptyString: false,
|
||||
returnNull: false
|
||||
})
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
// Copyright 2019-2021 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/types-augment';
|
||||
|
||||
export { default as createView } from './createView';
|
||||
export { default as Popup } from './Popup';
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../extension-base" },
|
||||
{ "path": "../extension-chains" },
|
||||
{ "path": "../extension-dapp" },
|
||||
{ "path": "../extension-inject" },
|
||||
{ "path": "../extension-mocks" }
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
"@polkadot/extension-ui": "^0.42.3-4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.64.3",
|
||||
"@polkadot/dev": "^0.64.11",
|
||||
"babel-loader": "^8.2.3",
|
||||
"browser-resolve": "^2.0.0",
|
||||
"buffer": "^6.0.3",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user