Option for WebHID (experimental) for Ledger (#5422)

* Option for WebHID (experimental) for Ledger

* Connection type change
This commit is contained in:
Jaco 2021-06-03 08:50:04 +03:00 committed by GitHub
parent 79772c2a82
commit 42dc1bc1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 241 additions and 213 deletions

View File

@ -13,17 +13,17 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^4.12.2-8",
"@polkadot/api-contract": "^4.12.2-8",
"@polkadot/hw-ledger": "^6.6.1",
"@polkadot/keyring": "^6.6.1",
"@polkadot/networks": "^6.6.1",
"@polkadot/phishing": "^0.6.174",
"@polkadot/types": "^4.12.2-8",
"@polkadot/util": "^6.6.1",
"@polkadot/util-crypto": "^6.6.1",
"@polkadot/api": "^4.12.2-11",
"@polkadot/api-contract": "^4.12.2-11",
"@polkadot/hw-ledger": "^6.6.2-8",
"@polkadot/keyring": "^6.6.2-8",
"@polkadot/networks": "^6.6.2-8",
"@polkadot/phishing": "^0.6.175",
"@polkadot/types": "^4.12.2-11",
"@polkadot/util": "^6.6.2-8",
"@polkadot/util-crypto": "^6.6.2-8",
"@polkadot/wasm-crypto": "^4.0.2",
"@polkadot/x-rxjs": "^6.6.1",
"@polkadot/x-rxjs": "^6.6.2-8",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.2.0",
"typescript": "^4.3.2"
@ -71,8 +71,8 @@
"@babel/runtime": "^7.14.0",
"@crustio/crust-pin": "^0.0.1",
"@pinata/sdk": "^1.1.20",
"@polkadot/dev": "^0.62.29",
"@polkadot/ts": "^0.3.77",
"@polkadot/dev": "^0.62.30",
"@polkadot/ts": "^0.3.78",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.32",
"@types/file-saver": "^2.0.2",

View File

@ -17,7 +17,7 @@
"@kiltprotocol/type-definitions": "^0.1.5",
"@laminar/type-definitions": "^0.3.1",
"@phala/typedefs": "^0.1.3",
"@polkadot/networks": "^6.6.1",
"@polkadot/networks": "^6.6.2-8",
"@polymathnetwork/polymesh-types": "^0.0.2",
"@snowfork/snowbridge-types": "^0.2.3",
"@sora-substrate/type-definitions": "^1.3.15",

View File

@ -7,7 +7,7 @@
"dependencies": {
"@babel/core": "^7.14.3",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.62.29",
"@polkadot/dev": "^0.62.30",
"@polkadot/react-components": "^0.91.3-70",
"electron-log": "^4.3.5",
"electron-updater": "^4.3.9"

View File

@ -11,7 +11,7 @@
"@babel/runtime": "^7.14.0",
"@polkadot/apps-config": "^0.91.3-70",
"@polkadot/apps-routing": "^0.91.3-70",
"@polkadot/dev": "^0.62.29",
"@polkadot/dev": "^0.62.30",
"@polkadot/react-api": "^0.91.3-70",
"@polkadot/react-components": "^0.91.3-70",
"@polkadot/react-hooks": "^0.91.3-70",

View File

@ -6,9 +6,9 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/phishing": "^0.6.174",
"@polkadot/phishing": "^0.6.175",
"@polkadot/react-components": "^0.91.3-70",
"@polkadot/vanitygen": "^0.36.2-5",
"@polkadot/vanitygen": "^0.36.2-6",
"detect-browser": "^5.2.0",
"file-saver": "^2.0.5"
},

View File

@ -6,6 +6,6 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/api-contract": "^4.12.2-8"
"@polkadot/api-contract": "^4.12.2-11"
}
}

View File

@ -6,9 +6,9 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.14.0",
"@polkadot/api": "^4.12.2-8",
"@polkadot/extension-dapp": "^0.38.4-4",
"@polkadot/x-rxjs": "^6.6.1",
"@polkadot/api": "^4.12.2-11",
"@polkadot/extension-dapp": "^0.38.4-7",
"@polkadot/x-rxjs": "^6.6.2-8",
"fflate": "^0.7.0"
}
}

View File

@ -9,15 +9,15 @@
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"@polkadot/keyring": "^6.6.1",
"@polkadot/keyring": "^6.6.2-8",
"@polkadot/react-api": "^0.91.3-70",
"@polkadot/react-identicon": "^0.78.2-5",
"@polkadot/react-qr": "^0.78.2-5",
"@polkadot/react-identicon": "^0.78.2-9",
"@polkadot/react-qr": "^0.78.2-9",
"@polkadot/react-query": "^0.91.3-70",
"@polkadot/ui-keyring": "^0.78.2-5",
"@polkadot/ui-settings": "^0.78.2-5",
"@polkadot/util": "^6.6.1",
"@polkadot/util-crypto": "^6.6.1",
"@polkadot/ui-keyring": "^0.78.2-9",
"@polkadot/ui-settings": "^0.78.2-9",
"@polkadot/util": "^6.6.2-8",
"@polkadot/util-crypto": "^6.6.2-8",
"chart.js": "^2.9.4",
"codeflask": "^1.4.1",
"i18next": "^19.9.2",

View File

@ -30,15 +30,19 @@ const EMPTY_STATE: StateBase = {
const hasWebUsb = !!(window as unknown as { USB?: unknown }).USB;
const ledgerChains = networks.filter((n) => !!n.hasLedgerSupport);
let ledger: Ledger | null = null;
let ledgerType: LedgerTypes | null = null;
function retrieveLedger (api: ApiPromise): Ledger {
if (!ledger) {
const currType = uiSettings.ledgerConn as LedgerTypes;
if (!ledger || ledgerType !== currType) {
const genesisHex = api.genesisHash.toHex();
const def = ledgerChains.find(({ genesisHash }) => genesisHash[0] === genesisHex);
assert(def, `Unable to find supported chain for ${genesisHex}`);
ledger = new Ledger(uiSettings.ledgerConn as LedgerTypes, def.network);
ledger = new Ledger(currType, def.network);
ledgerType = currType;
}
return ledger;

390
yarn.lock
View File

@ -1954,6 +1954,18 @@ __metadata:
languageName: node
linkType: hard
"@ledgerhq/hw-transport-webhid@npm:^5.51.1":
version: 5.51.1
resolution: "@ledgerhq/hw-transport-webhid@npm:5.51.1"
dependencies:
"@ledgerhq/devices": ^5.51.1
"@ledgerhq/errors": ^5.50.0
"@ledgerhq/hw-transport": ^5.51.1
"@ledgerhq/logs": ^5.50.0
checksum: 5082457cdc60a6600f808d81fba0f7a2754eadad9d841420400325fa8e2d28a7e8467ff361ab55854b098dec2bd84f467ef484e1acf9507e5756686ff3ab8e9c
languageName: node
linkType: hard
"@ledgerhq/hw-transport-webusb@npm:^5.51.1":
version: 5.51.1
resolution: "@ledgerhq/hw-transport-webusb@npm:5.51.1"
@ -2218,54 +2230,54 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-contract@npm:^4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/api-contract@npm:4.12.2-8"
"@polkadot/api-contract@npm:^4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/api-contract@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/api": 4.12.2-8
"@polkadot/types": 4.12.2-8
"@polkadot/api": 4.12.2-11
"@polkadot/types": 4.12.2-11
"@polkadot/util": ^6.6.1
"@polkadot/x-rxjs": ^6.6.1
bn.js: ^4.11.9
checksum: 0db33836ec4c873061181374495a7705c34790aebeef9a9e2f41ae9c1344b563f8e63b1ab2c5f7623cebc9eb507496b3af6bcb81884ae824ade34a9577f1273b
checksum: d3afaa9462af0c9987b6a2d008d6a10f712e455a4afc0810493a1a078a00870ac6484c89f5da83c4649e88a41d129297a9e745585dfbcf808efef6cdc0f43d7b
languageName: node
linkType: hard
"@polkadot/api-derive@npm:4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/api-derive@npm:4.12.2-8"
"@polkadot/api-derive@npm:4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/api-derive@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/api": 4.12.2-8
"@polkadot/rpc-core": 4.12.2-8
"@polkadot/types": 4.12.2-8
"@polkadot/api": 4.12.2-11
"@polkadot/rpc-core": 4.12.2-11
"@polkadot/types": 4.12.2-11
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/x-rxjs": ^6.6.1
bn.js: ^4.11.9
checksum: 83ca157f2618ea48c4ddadf18409ce5c0d1537e0665014902bb08965760dcc8e55181326a1134a9ee2cf155f34f628ddabab3838e7d8ecd41740dd12512b0ffd
checksum: dc4b47c2fa95e899171029c3a66d3e1a015ae1e363c7f0b26b347a2fb330cc3d3bd380aec0fc2235a3bf5a5fed0381d2387c718b7327784ae8bcb8b7dd21f971
languageName: node
linkType: hard
"@polkadot/api@npm:^4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/api@npm:4.12.2-8"
"@polkadot/api@npm:^4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/api@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/api-derive": 4.12.2-8
"@polkadot/api-derive": 4.12.2-11
"@polkadot/keyring": ^6.6.1
"@polkadot/metadata": 4.12.2-8
"@polkadot/rpc-core": 4.12.2-8
"@polkadot/rpc-provider": 4.12.2-8
"@polkadot/types": 4.12.2-8
"@polkadot/types-known": 4.12.2-8
"@polkadot/metadata": 4.12.2-11
"@polkadot/rpc-core": 4.12.2-11
"@polkadot/rpc-provider": 4.12.2-11
"@polkadot/types": 4.12.2-11
"@polkadot/types-known": 4.12.2-11
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/x-rxjs": ^6.6.1
bn.js: ^4.11.9
eventemitter3: ^4.0.7
checksum: 3c3e86cd58bca96f18ce2961ac83aad56984d58710526c5f43c7dda5578829fd877320c7f6af78f8f0e0743bb86406e4439b2b235c1f9bbdb32f3a5bf266531e
checksum: 3a42da403c4300ebc676675922913e19a389fd30d50fff5727b75c892b4e5e1224468a144a5877a33964f79d87c2f0dfb028f0fed6f5cf0e15e6aed3a6d24ecd
languageName: node
linkType: hard
@ -2274,10 +2286,10 @@ __metadata:
resolution: "@polkadot/app-accounts@workspace:packages/page-accounts"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/phishing": ^0.6.174
"@polkadot/phishing": ^0.6.175
"@polkadot/react-components": ^0.91.3-70
"@polkadot/test-support": 0.91.3-70
"@polkadot/vanitygen": ^0.36.2-5
"@polkadot/vanitygen": ^0.36.2-6
detect-browser: ^5.2.0
file-saver: ^2.0.5
languageName: unknown
@ -2338,7 +2350,7 @@ __metadata:
resolution: "@polkadot/app-contracts@workspace:packages/page-contracts"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/api-contract": ^4.12.2-8
"@polkadot/api-contract": ^4.12.2-11
languageName: unknown
linkType: soft
@ -2532,7 +2544,7 @@ __metadata:
"@kiltprotocol/type-definitions": ^0.1.5
"@laminar/type-definitions": ^0.3.1
"@phala/typedefs": ^0.1.3
"@polkadot/networks": ^6.6.1
"@polkadot/networks": ^6.6.2-8
"@polymathnetwork/polymesh-types": ^0.0.2
"@snowfork/snowbridge-types": ^0.2.3
"@sora-substrate/type-definitions": ^1.3.15
@ -2550,7 +2562,7 @@ __metadata:
dependencies:
"@babel/core": ^7.14.3
"@babel/polyfill": ^7.12.1
"@polkadot/dev": ^0.62.29
"@polkadot/dev": ^0.62.30
"@polkadot/react-components": ^0.91.3-70
"@types/react-dom": ^17.0.5
"@types/tmp": ^0.2.0
@ -2584,7 +2596,7 @@ __metadata:
"@babel/runtime": ^7.14.0
"@polkadot/apps-config": ^0.91.3-70
"@polkadot/apps-routing": ^0.91.3-70
"@polkadot/dev": ^0.62.29
"@polkadot/dev": ^0.62.30
"@polkadot/react-api": ^0.91.3-70
"@polkadot/react-components": ^0.91.3-70
"@polkadot/react-hooks": ^0.91.3-70
@ -2617,9 +2629,9 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.62.29":
version: 0.62.29
resolution: "@polkadot/dev@npm:0.62.29"
"@polkadot/dev@npm:^0.62.30":
version: 0.62.30
resolution: "@polkadot/dev@npm:0.62.30"
dependencies:
"@babel/cli": ^7.14.3
"@babel/core": ^7.14.3
@ -2699,109 +2711,110 @@ __metadata:
polkadot-exec-prettier: scripts/polkadot-exec-prettier.cjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.cjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.cjs
checksum: c8446eb434ba650c1993ad4e96daee591f9d47a520aae38411050c3f1ab4fcb48cd83529f834fa416f08da5d3acaaa77101dca1bc336139b01d97ffb15345787
checksum: ab8b37d80a6c9ecd3490331eb87dd71a006dd07b4240c6b88803ea875fb54c208c530842b4d47ee0d6867cfd2e9d61df8bbb149d0e43061fde94ec190cb8caae
languageName: node
linkType: hard
"@polkadot/extension-dapp@npm:^0.38.4-4":
version: 0.38.4-4
resolution: "@polkadot/extension-dapp@npm:0.38.4-4"
"@polkadot/extension-dapp@npm:^0.38.4-7":
version: 0.38.4-7
resolution: "@polkadot/extension-dapp@npm:0.38.4-7"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/extension-inject": ^0.38.4-4
"@polkadot/extension-inject": ^0.38.4-7
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
peerDependencies:
"@polkadot/api": "*"
"@polkadot/util": "*"
"@polkadot/util-crypto": "*"
checksum: 3e9bf3ad4f0719761ce299ae581ec7d7ec553d152a91930b5b67b60382b32d3acf9f12933aee120851c1fc196afd217f5d2501bda6db6cd93b3bb6bd5faf7d29
checksum: ac8f8f27d78dd861eae628f2cb15876b1e9e7e51f1eb5843f2d2fa78121467552025ab65521dcebe214d4fd2463ac731727aeadd20b998cd2360988b013ebd2c
languageName: node
linkType: hard
"@polkadot/extension-inject@npm:^0.38.4-4":
version: 0.38.4-4
resolution: "@polkadot/extension-inject@npm:0.38.4-4"
"@polkadot/extension-inject@npm:^0.38.4-7":
version: 0.38.4-7
resolution: "@polkadot/extension-inject@npm:0.38.4-7"
dependencies:
"@babel/runtime": ^7.14.0
peerDependencies:
"@polkadot/api": "*"
checksum: dab9f9e1ff12dae6d2fa364c7516a2632099cd5734161cadb5a186cc79e44cd991c7f461da0da2b5dccf86c7ca175e8f0f3cb7aad2a5c56829777363f3d1ff95
checksum: 94693b2ceb9aa708b52b031f592bef8c89683aa75a9563563d946dcf2e475d9e82895549ab28b550c32c2cbf1846fdaa595aaa9b39c2005ab7380541f5462676
languageName: node
linkType: hard
"@polkadot/hw-ledger-transports@npm:6.6.1":
version: 6.6.1
resolution: "@polkadot/hw-ledger-transports@npm:6.6.1"
"@polkadot/hw-ledger-transports@npm:6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/hw-ledger-transports@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@ledgerhq/hw-transport-node-hid-singleton": ^5.51.1
"@ledgerhq/hw-transport-webhid": ^5.51.1
"@ledgerhq/hw-transport-webusb": ^5.51.1
dependenciesMeta:
"@ledgerhq/hw-transport-node-hid-singleton":
optional: true
checksum: ab59b08970e1c38522ae9abc33d953c266b0544def711663887e623e42347e3e85a2ee2c571c6748b44fa0fb59c165b1812d49caa57e26f8fd0f7e99d614a870
checksum: 2631d9ead5c541de3b336636574eb7e1e13432f27a268c3a58b6fed5262c2d51c1600c141e9576cc48c2263445d651ed0d8b24f4e3464dc7becc99bd63db1b60
languageName: node
linkType: hard
"@polkadot/hw-ledger@npm:^6.6.1":
version: 6.6.1
resolution: "@polkadot/hw-ledger@npm:6.6.1"
"@polkadot/hw-ledger@npm:^6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/hw-ledger@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/hw-ledger-transports": 6.6.1
"@polkadot/util": ^6.6.1
"@polkadot/hw-ledger-transports": 6.6.2-8
"@polkadot/util": ^6.6.2-8
"@zondax/ledger-polkadot": ^0.14.0
checksum: accffe5e3874e2da949926664c7da3707d829e9ec82eba5d605b133da0c938ffcffaea4718c0e8bf49bb18ef35d9cca45296ca77def9f63da7b2533325d6973c
checksum: 01a0b33fca5341e287456d94cc8916a02aa9286b14e6660925ccfbc14def8e42c0ef602eb6fabdee7b44dcdfe78fc4f6c5ef6daa542510a9a05375260673e860
languageName: node
linkType: hard
"@polkadot/keyring@npm:^6.6.1":
version: 6.6.1
resolution: "@polkadot/keyring@npm:6.6.1"
"@polkadot/keyring@npm:^6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/keyring@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/util": 6.6.1
"@polkadot/util-crypto": 6.6.1
"@polkadot/util": 6.6.2-8
"@polkadot/util-crypto": 6.6.2-8
peerDependencies:
"@polkadot/util": 6.6.1
"@polkadot/util-crypto": 6.6.1
checksum: 6a31403288f55f4f2319f83bf62d9f3d2934b4f03d732bf312b4df721c7043ee1c8de1a873f1bc012fea50ac2412c491e6ce83e768edc4f12c5e97d998bf591f
"@polkadot/util": 6.6.2-8
"@polkadot/util-crypto": 6.6.2-8
checksum: 41ddbecc632a679945a0482644b55120fa64ee9f048dcf0e7ff34454453702844043c88a243090473cc19eb2a9cc76d9068ccbb10083bc3aa660d606c076c683
languageName: node
linkType: hard
"@polkadot/metadata@npm:4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/metadata@npm:4.12.2-8"
"@polkadot/metadata@npm:4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/metadata@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/types": 4.12.2-8
"@polkadot/types-known": 4.12.2-8
"@polkadot/types": 4.12.2-11
"@polkadot/types-known": 4.12.2-11
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
bn.js: ^4.11.9
checksum: 7550fb4ac1bbce263f35150da208fc975019114f29f349867c598f473a0b98b6e2600ff4d75a55fd7bcfd6cc83b048ad5e52f2ad6b668fae34e1db19e16dda58
checksum: a6775544ab126c3fbfa3f8f78a0b959446f85f9fdf692352a4d9da71a50e4ca4e7bfe9082178a7179faeb56526f494718d8cf43eff7c79ed84edee4e19dd3fae
languageName: node
linkType: hard
"@polkadot/networks@npm:^6.6.1":
version: 6.6.1
resolution: "@polkadot/networks@npm:6.6.1"
"@polkadot/networks@npm:^6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/networks@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
checksum: b9ce07315a91c4db4e1e23776111ec3b5c9c7ffac3b6ebfcefc4bfd612ce4bb146a2b7dfc44ec857216e47984deb290218cb7d3eb24514600fad5f23d150939d
checksum: a15bfa6b1174d637c6678cd9ce1b0ff634ba97cd82fb813aa7a3cd287c93a7896195b6c20d33a3d64bb527d22ac0a8a99ff168acb90d09771ea8b864c1abcb30
languageName: node
linkType: hard
"@polkadot/phishing@npm:^0.6.174":
version: 0.6.174
resolution: "@polkadot/phishing@npm:0.6.174"
"@polkadot/phishing@npm:^0.6.175":
version: 0.6.175
resolution: "@polkadot/phishing@npm:0.6.175"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/x-fetch": ^6.6.1
checksum: 011cf4e9b7ba06291d1ffc55acc3dabaf8c5c105d0daf7cd5f9b652bd4b7530b280c47a4ff058084f3f5e11bf6d8766f875e2d5cd4abd630aef7e240cfcfd212
checksum: 38a5d81993505f754baedde46217409b042d40ec0cacfa9af53c1c2791d5cb71c0749f770be3d664847d10401a72df58d01474f2ecd78b2d2525bbaa1edb279d
languageName: node
linkType: hard
@ -2810,9 +2823,9 @@ __metadata:
resolution: "@polkadot/react-api@workspace:packages/react-api"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/api": ^4.12.2-8
"@polkadot/extension-dapp": ^0.38.4-4
"@polkadot/x-rxjs": ^6.6.1
"@polkadot/api": ^4.12.2-11
"@polkadot/extension-dapp": ^0.38.4-7
"@polkadot/x-rxjs": ^6.6.2-8
fflate: ^0.7.0
languageName: unknown
linkType: soft
@ -2825,15 +2838,15 @@ __metadata:
"@fortawesome/fontawesome-svg-core": ^1.2.35
"@fortawesome/free-solid-svg-icons": ^5.15.3
"@fortawesome/react-fontawesome": ^0.1.14
"@polkadot/keyring": ^6.6.1
"@polkadot/keyring": ^6.6.2-8
"@polkadot/react-api": ^0.91.3-70
"@polkadot/react-identicon": ^0.78.2-5
"@polkadot/react-qr": ^0.78.2-5
"@polkadot/react-identicon": ^0.78.2-9
"@polkadot/react-qr": ^0.78.2-9
"@polkadot/react-query": ^0.91.3-70
"@polkadot/ui-keyring": ^0.78.2-5
"@polkadot/ui-settings": ^0.78.2-5
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/ui-keyring": ^0.78.2-9
"@polkadot/ui-settings": ^0.78.2-9
"@polkadot/util": ^6.6.2-8
"@polkadot/util-crypto": ^6.6.2-8
"@types/codeflask": ^1.4.2
"@types/owasp-password-strength-test": ^1.3.0
chart.js: ^2.9.4
@ -2868,16 +2881,16 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/react-identicon@npm:^0.78.2-5":
version: 0.78.2-5
resolution: "@polkadot/react-identicon@npm:0.78.2-5"
"@polkadot/react-identicon@npm:^0.78.2-9":
version: 0.78.2-9
resolution: "@polkadot/react-identicon@npm:0.78.2-9"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/keyring": ^6.6.1
"@polkadot/ui-settings": 0.78.2-5
"@polkadot/ui-shared": 0.78.2-5
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/keyring": ^6.6.2-8
"@polkadot/ui-settings": 0.78.2-9
"@polkadot/ui-shared": 0.78.2-9
"@polkadot/util": ^6.6.2-8
"@polkadot/util-crypto": ^6.6.2-8
color: ^3.1.3
ethereum-blockies-base64: ^1.0.2
jdenticon: 3.1.0
@ -2891,7 +2904,7 @@ __metadata:
react-dom: "*"
react-is: "*"
styled-components: "*"
checksum: 8700d209f5a574d127305ea6859e3ce25050cfadf7ffa3e408624ed8efdcbe17fe9394894b982e912569fbe1c9cab2888a281c6befff09530473100299710860
checksum: 2ed30daa03145d3cb40fc9b9471314ca4c0761db2dd304f4b5fad74e39ab40e9784e7a69ba8ffb10bc5d44a97e906b0ec0fa02f6fca7c2ad23a923ec16267afd
languageName: node
linkType: hard
@ -2904,13 +2917,13 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/react-qr@npm:^0.78.2-5":
version: 0.78.2-5
resolution: "@polkadot/react-qr@npm:0.78.2-5"
"@polkadot/react-qr@npm:^0.78.2-9":
version: 0.78.2-9
resolution: "@polkadot/react-qr@npm:0.78.2-9"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/util": ^6.6.2-8
"@polkadot/util-crypto": ^6.6.2-8
qrcode-generator: ^1.4.4
react-qr-reader: ^2.2.1
styled-components: ^5.3.0
@ -2920,7 +2933,7 @@ __metadata:
react: "*"
react-dom: "*"
styled-components: "*"
checksum: d89cac6a72c7243a4f2152ca329bb89fb10faa39ef78bfac28e68329ba0d5b48cfcae58fff85b06787a1a481aab2bb7da60d4c51891da0ccd00f39a5ce636d9c
checksum: 4b6928cdeb49bb4f4ac4501ab13401f86db11d33ff52086eb9b304681dcb6e0673158b14760ec6a90a8d180851c9071a39aa930bfdd17d1fae02ff3c6036bf59
languageName: node
linkType: hard
@ -2941,26 +2954,26 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/rpc-core@npm:4.12.2-8"
"@polkadot/rpc-core@npm:4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/rpc-core@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/metadata": 4.12.2-8
"@polkadot/rpc-provider": 4.12.2-8
"@polkadot/types": 4.12.2-8
"@polkadot/metadata": 4.12.2-11
"@polkadot/rpc-provider": 4.12.2-11
"@polkadot/types": 4.12.2-11
"@polkadot/util": ^6.6.1
"@polkadot/x-rxjs": ^6.6.1
checksum: afb4ae8fa49aa85ca99ba4bfbe5e6ff803c85e3591d3f04a60d727c72d21f9e6228d90ea010fb817ed73c7d487c9f480c096f3c07d18145ce6297bde36e09e49
checksum: e2e8787a1ce904698be6a609b04292f80c845e089af63c015a8b563273c1a047dd13f4ec3c0b0d5157d3873499cd9b8f9bc2b604918dbc9ce719a184297e2c5a
languageName: node
linkType: hard
"@polkadot/rpc-provider@npm:4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/rpc-provider@npm:4.12.2-8"
"@polkadot/rpc-provider@npm:4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/rpc-provider@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/types": 4.12.2-8
"@polkadot/types": 4.12.2-11
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/x-fetch": ^6.6.1
@ -2968,7 +2981,7 @@ __metadata:
"@polkadot/x-ws": ^6.6.1
bn.js: ^4.11.9
eventemitter3: ^4.0.7
checksum: ad6493da3525bb05ce8e005c28f1d2df5124793b4b3f292d83975f4bc8f9f22d4c1a43f9aacd948a46993c744808a1307661548a1bac642d4778e05f202ad7e1
checksum: fb346a0d56e60805e330221e81ed08c247f1a9ea9ab3c261a75e924cff7df1e6cb0121bdd5cbf8f62ff49d0d240cd47cb7a5bcec7faca8984bb972c7e45df37b
languageName: node
linkType: hard
@ -2983,101 +2996,101 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/ts@npm:^0.3.77":
version: 0.3.77
resolution: "@polkadot/ts@npm:0.3.77"
"@polkadot/ts@npm:^0.3.78":
version: 0.3.78
resolution: "@polkadot/ts@npm:0.3.78"
dependencies:
"@types/chrome": ^0.0.143
checksum: 80aac67026becbce772df3e324d1e823b968f850a963a51d8bf023368392dc2affbba1287768d9e5560e3d67becec869feaa2851c529583d848a6c0b80f06c39
checksum: d15417f527022d22e560440d167cfdc8fc2beeda8cbad0b409b65067e0e155ec35ca6b351f69d9e857f418e94aafafc14532499f578dc2234d30a58f87c31f60
languageName: node
linkType: hard
"@polkadot/types-known@npm:4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/types-known@npm:4.12.2-8"
"@polkadot/types-known@npm:4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/types-known@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/networks": ^6.6.1
"@polkadot/types": 4.12.2-8
"@polkadot/types": 4.12.2-11
"@polkadot/util": ^6.6.1
bn.js: ^4.11.9
checksum: 19751384f5c667cec3b4f5c33575908b5dcd4fc5dd9b39262fc832523bf588c188606f4fe71ce35edc878d64885a6e199771063691f2d65b13215d5e38577156
checksum: c0aa15c8d67a4de524494bfdc96889a6f04caf4087bed394208fbdf3691c31e9d959633b6d52e952bd2dd2475737a0958bd29812bcc5aca7f3144feb34ee187e
languageName: node
linkType: hard
"@polkadot/types@npm:^4.12.2-8":
version: 4.12.2-8
resolution: "@polkadot/types@npm:4.12.2-8"
"@polkadot/types@npm:^4.12.2-11":
version: 4.12.2-11
resolution: "@polkadot/types@npm:4.12.2-11"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/metadata": 4.12.2-8
"@polkadot/metadata": 4.12.2-11
"@polkadot/util": ^6.6.1
"@polkadot/util-crypto": ^6.6.1
"@polkadot/x-rxjs": ^6.6.1
"@types/bn.js": ^4.11.6
bn.js: ^4.11.9
checksum: 3e01d10da326c9152d06ff25fd253b4e38b7f9ae98027c94c475cca4019b44c57aabedc217e8a824d7ddf515aa1bda3f9a832727da8c2f1b45982bdf6046627c
checksum: 7a7caadcc70d9b74b9241e4cc27635e3874781b368501aa73718b68950395ffd51d9ae4b98508b925c874d266b68a3ee0bd8d5c19cf738c532585c653a45fd58
languageName: node
linkType: hard
"@polkadot/ui-keyring@npm:^0.78.2-5":
version: 0.78.2-5
resolution: "@polkadot/ui-keyring@npm:0.78.2-5"
"@polkadot/ui-keyring@npm:^0.78.2-9":
version: 0.78.2-9
resolution: "@polkadot/ui-keyring@npm:0.78.2-9"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/hw-ledger": ^6.6.1
"@polkadot/keyring": ^6.6.1
"@polkadot/ui-settings": 0.78.2-5
"@polkadot/util": ^6.6.1
"@polkadot/x-rxjs": ^6.6.1
"@polkadot/hw-ledger": ^6.6.2-8
"@polkadot/keyring": ^6.6.2-8
"@polkadot/ui-settings": 0.78.2-9
"@polkadot/util": ^6.6.2-8
"@polkadot/x-rxjs": ^6.6.2-8
mkdirp: ^1.0.4
store: ^2.0.12
peerDependencies:
"@polkadot/keyring": "*"
"@polkadot/ui-settings": "*"
"@polkadot/util": "*"
checksum: 65f4318d395a6f01fc8c94f18af54aa5e1f6a69bd1ea247ebfbec9c364aee74752bb7aae0e2a18b3a2fb8013853a6fb2a66a8411cb887d5ea40bfb12d74f48f8
checksum: 70fe6c56094b3e801f15805e1aeb1789dbc1c4a33d53565face2825ca6daa5d44282e74c419c12d244af113774f8fb0d347ea1e969f925525b7e4107a48c7cdf
languageName: node
linkType: hard
"@polkadot/ui-settings@npm:0.78.2-5, @polkadot/ui-settings@npm:^0.78.2-5":
version: 0.78.2-5
resolution: "@polkadot/ui-settings@npm:0.78.2-5"
"@polkadot/ui-settings@npm:0.78.2-9, @polkadot/ui-settings@npm:^0.78.2-9":
version: 0.78.2-9
resolution: "@polkadot/ui-settings@npm:0.78.2-9"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/networks": ^6.6.1
"@polkadot/util": ^6.6.1
"@polkadot/networks": ^6.6.2-8
"@polkadot/util": ^6.6.2-8
eventemitter3: ^4.0.7
store: ^2.0.12
peerDependencies:
"@polkadot/networks": "*"
"@polkadot/util": "*"
checksum: 77ce415b7f2583ce09a590426973b2cac81d4e6c293151fb81c25cef533794913e0ad49f0cc4a81d398ea467d3b284d8201f2cd7c5a394577f5847b4232daeb8
checksum: 09514891bf159c03473dff7610a7a4bfe5dcb551df6cf6d9fe65350793cb78c289509b55e8e0f6917ceaecd583b35687b47f4927bf4ff90ae51b82f889b3eda3
languageName: node
linkType: hard
"@polkadot/ui-shared@npm:0.78.2-5":
version: 0.78.2-5
resolution: "@polkadot/ui-shared@npm:0.78.2-5"
"@polkadot/ui-shared@npm:0.78.2-9":
version: 0.78.2-9
resolution: "@polkadot/ui-shared@npm:0.78.2-9"
dependencies:
"@babel/runtime": ^7.14.0
color: ^3.1.3
peerDependencies:
"@polkadot/util": "*"
"@polkadot/util-crypto": "*"
checksum: b8fb61f31fa777b60f5f53263e73f531fbe4e69fec0d7f3a2940a53794685215c639b875cab4425c119d7b8cbb46c9f2a4dded186cdb605bffbac5a0e8f5b198
checksum: 82d09692d08733f8e59c674bdc1d3a5f6046866806248e976777f115ae6349f868b09cd879918bb7c3e6da72d689f74f21df2091f2361af9f0361440f56a1d47
languageName: node
linkType: hard
"@polkadot/util-crypto@npm:^6.6.1":
version: 6.6.1
resolution: "@polkadot/util-crypto@npm:6.6.1"
"@polkadot/util-crypto@npm:^6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/util-crypto@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/networks": 6.6.1
"@polkadot/util": 6.6.1
"@polkadot/networks": 6.6.2-8
"@polkadot/util": 6.6.2-8
"@polkadot/wasm-crypto": ^4.0.2
"@polkadot/x-randomvalues": 6.6.1
"@polkadot/x-randomvalues": 6.6.2-8
base-x: ^3.0.8
base64-js: ^1.5.1
blakejs: ^1.1.0
@ -3090,29 +3103,29 @@ __metadata:
tweetnacl: ^1.0.3
xxhashjs: ^0.2.2
peerDependencies:
"@polkadot/util": 6.6.1
checksum: c933697cea6e8c1a955a2d0480663e526767ca72b9fa4efedd7171e83747bd12cf8b4ff56061f20a2acf1174460cf6fffed66ad8d042fb2c8ab75255b4019bab
"@polkadot/util": 6.6.2-8
checksum: 6df56d3b845b0aaadb8971ef7d9b6dccd3e181ef12c53be4956d08fbac5272d4e8388ec0c8f6ad2d2864a15af77359ca1dec63c893dc32527989025c8d44d204
languageName: node
linkType: hard
"@polkadot/util@npm:^6.6.1":
version: 6.6.1
resolution: "@polkadot/util@npm:6.6.1"
"@polkadot/util@npm:^6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/util@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/x-textdecoder": 6.6.1
"@polkadot/x-textencoder": 6.6.1
"@polkadot/x-textdecoder": 6.6.2-8
"@polkadot/x-textencoder": 6.6.2-8
"@types/bn.js": ^4.11.6
bn.js: ^4.11.9
camelcase: ^5.3.1
ip-regex: ^4.3.0
checksum: 1536e7806cfdc4a439eee8dc4dffe9337df1e48ce9b2e717478cef6f497be7212756673b71eb00a9c5835e936cdde4931ed993c9b8230916cfde6ff37dd7127e
checksum: 2fedfb79c5aacee6d240d1967a8c00f7afdf4e91d1d87d13fa422d0815842a01e8285063311ac075529afad4de36a3fb1819d623bc08bac61e0fd6a8cc129db7
languageName: node
linkType: hard
"@polkadot/vanitygen@npm:^0.36.2-5":
version: 0.36.2-5
resolution: "@polkadot/vanitygen@npm:0.36.2-5"
"@polkadot/vanitygen@npm:^0.36.2-6":
version: 0.36.2-6
resolution: "@polkadot/vanitygen@npm:0.36.2-6"
dependencies:
"@babel/core": ^7.14.3
"@babel/register": ^7.13.16
@ -3123,7 +3136,7 @@ __metadata:
yargs: ^17.0.1
bin:
polkadot-js-vanitygen: index.cjs
checksum: 2aa0e2a00a5feb0bb11422802618ff0dbdc2296c0b9d1546bd18e84265d9268e7608df5127263bd1da59fdbfc828944e4f3ed28517cc5c7108001cda1512c782
checksum: dd56faa811edcea69a715e5492cace0b6452d55d88f17a807c5b7ee760f443ec823a76c12bea027ea7e7c37031656d998bb24c86d36c8a2f553d49b73b0e100c
languageName: node
linkType: hard
@ -3182,43 +3195,54 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/x-randomvalues@npm:6.6.1":
version: 6.6.1
resolution: "@polkadot/x-randomvalues@npm:6.6.1"
"@polkadot/x-global@npm:6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/x-global@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/x-global": 6.6.1
checksum: c07ff6985145b01bed7f798d81dc83836d236c6e0515202c7aecb1a0b763428fdbadad1912b04577decd5bc26977bc815132b23274133dd915aca17d00b67e5e
"@types/node-fetch": ^2.5.10
node-fetch: ^2.6.1
checksum: e3dd69c5ce24e24447ab0537ab001d679ee1d075cc8ddba327b01b259cb286d9379faad80e37280cbab49e303ba56994c963ad2c69baf3364dc91661f51816bb
languageName: node
linkType: hard
"@polkadot/x-rxjs@npm:^6.6.1":
version: 6.6.1
resolution: "@polkadot/x-rxjs@npm:6.6.1"
"@polkadot/x-randomvalues@npm:6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/x-randomvalues@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/x-global": 6.6.2-8
checksum: 0d216e04bd1998f657c5446fdf4190a0a150c10fd6e9e8f79bfa6606a65b0dca3b5eb13155f0f2b33d86e90a2ed56374de96a39c363b6b5c8a12821b3c60e393
languageName: node
linkType: hard
"@polkadot/x-rxjs@npm:^6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/x-rxjs@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
rxjs: ^6.6.7
checksum: 81afb1fe6c177937ec721a648b9b442d25481911de2e2e7fc571d7436f4b3cb2c85d315865953f1ebd0c92425558522d83241659451654dae19a92ea845e5a5d
checksum: 5832e4b1ab0b29c39ea1a316216f573661079d79f42ecfcc7f788d7921bf9f2a1b8bc02f9f84c1d1003678bc23bb58a4c3d9ad23d9a121fe876c43ea9c1f5cf5
languageName: node
linkType: hard
"@polkadot/x-textdecoder@npm:6.6.1":
version: 6.6.1
resolution: "@polkadot/x-textdecoder@npm:6.6.1"
"@polkadot/x-textdecoder@npm:6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/x-textdecoder@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/x-global": 6.6.1
checksum: 8b37b8e101b7efa2db57ac6d87c2743a507cf1d5c9a000cb4b3051a9104c243bbbfc8cff770ad45db0905783511efa7a99e7195c3dfcb882f5b5eb9872423c2e
"@polkadot/x-global": 6.6.2-8
checksum: 7409bf98dd04c66a23fb357852e6dddfb5a0dff31b3800d26b4c0f103bed940a7ff087eac795ec19b53cc70199d2d4b6d1eb8e3986352ad8b97b76e96ef13cea
languageName: node
linkType: hard
"@polkadot/x-textencoder@npm:6.6.1":
version: 6.6.1
resolution: "@polkadot/x-textencoder@npm:6.6.1"
"@polkadot/x-textencoder@npm:6.6.2-8":
version: 6.6.2-8
resolution: "@polkadot/x-textencoder@npm:6.6.2-8"
dependencies:
"@babel/runtime": ^7.14.0
"@polkadot/x-global": 6.6.1
checksum: 80c01a5bd0dcb76100797d8730a2835d2d835b1c54ce2d641c104edc66fe934a18c69985c80043604e39fdba534b181bc9af14d9e94fadbf45011ab378fbaf8d
"@polkadot/x-global": 6.6.2-8
checksum: 7f5e90bc478d9bbf5ed2da5e59c96804fc2fbf1c61961be84067175157f5d914e3db13fd68f1ea45e2356bf1e5950e5674663ffdd6d3caa546e26ff14269632d
languageName: node
linkType: hard
@ -14953,8 +14977,8 @@ fsevents@~2.1.2:
"@babel/runtime": ^7.14.0
"@crustio/crust-pin": ^0.0.1
"@pinata/sdk": ^1.1.20
"@polkadot/dev": ^0.62.29
"@polkadot/ts": ^0.3.77
"@polkadot/dev": ^0.62.30
"@polkadot/ts": ^0.3.78
"@types/bn.js": ^4.11.6
"@types/chart.js": ^2.9.32
"@types/file-saver": ^2.0.2