diff --git a/packages/exampleReactNative/package.json b/packages/exampleReactNative/package.json index 02fa1129..376b843a 100644 --- a/packages/exampleReactNative/package.json +++ b/packages/exampleReactNative/package.json @@ -12,12 +12,12 @@ "test": "jest" }, "dependencies": { - "@polkadot/keyring": "^4.0.1", + "@polkadot/keyring": "^4.0.2-5", "@polkadot/reactnative-identicon": "0.62.2-0", "@polkadot/ui-keyring": "0.62.2-0", "@polkadot/ui-settings": "0.62.2-0", - "@polkadot/util": "^4.0.1", - "@polkadot/util-crypto": "^4.0.1", + "@polkadot/util": "^4.0.2-5", + "@polkadot/util-crypto": "^4.0.2-5", "@react-native-community/async-storage": "^1.12.1", "fast-text-encoding": "^1.0.3", "get-yarn-workspaces": "^1.0.2", diff --git a/packages/react-identicon/package.json b/packages/react-identicon/package.json index 04231455..45928db3 100644 --- a/packages/react-identicon/package.json +++ b/packages/react-identicon/package.json @@ -12,11 +12,11 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/keyring": "^4.0.1", + "@polkadot/keyring": "^4.0.2-5", "@polkadot/ui-settings": "0.62.2-0", "@polkadot/ui-shared": "0.62.2-0", - "@polkadot/util": "^4.0.1", - "@polkadot/util-crypto": "^4.0.1", + "@polkadot/util": "^4.0.2-5", + "@polkadot/util-crypto": "^4.0.2-5", "color": "^3.1.3", "ethereum-blockies-base64": "^1.0.2", "jdenticon": "2.2.0", diff --git a/packages/react-qr/package.json b/packages/react-qr/package.json index f682d5ed..5361c07f 100644 --- a/packages/react-qr/package.json +++ b/packages/react-qr/package.json @@ -12,8 +12,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/util": "^4.0.1", - "@polkadot/util-crypto": "^4.0.1", + "@polkadot/util": "^4.0.2-5", + "@polkadot/util-crypto": "^4.0.2-5", "qrcode-generator": "^1.4.4", "react-qr-reader": "^2.2.1", "styled-components": "^5.2.1" diff --git a/packages/reactnative-identicon/package.json b/packages/reactnative-identicon/package.json index d3ed8eb7..09b5736a 100644 --- a/packages/reactnative-identicon/package.json +++ b/packages/reactnative-identicon/package.json @@ -13,8 +13,8 @@ "dependencies": { "@babel/runtime": "^7.12.5", "@polkadot/ui-shared": "0.62.2-0", - "@polkadot/util": "^4.0.1", - "@polkadot/util-crypto": "^4.0.1", + "@polkadot/util": "^4.0.2-5", + "@polkadot/util-crypto": "^4.0.2-5", "react-native-svg": "^12.1.0" }, "peerDependencies": { diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index dcd0d7ca..2ac6eec9 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -21,16 +21,16 @@ "dependencies": { "@babel/runtime": "^7.12.5", "@ledgerhq/hw-transport-webusb": "^5.28.0", - "@polkadot/keyring": "^4.0.1", + "@polkadot/keyring": "^4.0.2-5", "@polkadot/ui-settings": "0.62.2-0", - "@polkadot/util": "^4.0.1", + "@polkadot/util": "^4.0.2-5", "@zondax/ledger-polkadot": "^0.11.0", "mkdirp": "^1.0.4", "rxjs": "^6.6.3", "store": "^2.0.12" }, "devDependencies": { - "@polkadot/types": "^2.6.1", + "@polkadot/types": "^2.6.2-1", "@types/ledgerhq__hw-transport-node-hid": "^4.22.2", "@types/ledgerhq__hw-transport-webusb": "^4.70.1", "@types/mkdirp": "^1.0.1", diff --git a/packages/ui-keyring/src/Base.ts b/packages/ui-keyring/src/Base.ts index 41c9a057..f5a5f74c 100644 --- a/packages/ui-keyring/src/Base.ts +++ b/packages/ui-keyring/src/Base.ts @@ -6,7 +6,7 @@ import { Prefix } from '@polkadot/util-crypto/address/types'; import { AddressSubject } from './observable/types'; import { KeyringOptions, KeyringStore } from './types'; -import testKeyring from '@polkadot/keyring/testing'; +import { createTestKeyring } from '@polkadot/keyring/testing'; import { isBoolean, isString } from '@polkadot/util'; import accounts from './observable/accounts'; @@ -103,7 +103,7 @@ export default class Base { } protected initKeyring (options: KeyringOptions): void { - const keyring = testKeyring(options, true); + const keyring = createTestKeyring(options, true); if (isBoolean(options.isDevelopment)) { this.setDevMode(options.isDevelopment); diff --git a/packages/ui-keyring/src/Keyring.ts b/packages/ui-keyring/src/Keyring.ts index 5d088432..76c05c80 100644 --- a/packages/ui-keyring/src/Keyring.ts +++ b/packages/ui-keyring/src/Keyring.ts @@ -7,7 +7,7 @@ import { AddressSubject, SingleAddress } from './observable/types'; import { CreateResult, KeyringAddress, KeyringAddressType, KeyringItemType, KeyringJson, KeyringJson$Meta, KeyringOptions, KeyringStruct } from './types'; import BN from 'bn.js'; -import createPair from '@polkadot/keyring/pair'; +import { createPair } from '@polkadot/keyring/pair'; import chains from '@polkadot/ui-settings/defaults/chains'; import { bnToBn, hexToU8a, isHex, isString, u8aSorted } from '@polkadot/util'; import { base64Decode, createKeyMulti } from '@polkadot/util-crypto'; diff --git a/packages/ui-settings/package.json b/packages/ui-settings/package.json index 89dd5f44..74c3eaf1 100644 --- a/packages/ui-settings/package.json +++ b/packages/ui-settings/package.json @@ -12,8 +12,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.12.5", - "@polkadot/networks": "^4.0.1", - "@polkadot/util": "^4.0.1", + "@polkadot/networks": "^4.0.2-5", + "@polkadot/util": "^4.0.2-5", "eventemitter3": "^4.0.7", "store": "^2.0.12" }, diff --git a/packages/ui-shared/package.json b/packages/ui-shared/package.json index f4eb113d..bcc78835 100644 --- a/packages/ui-shared/package.json +++ b/packages/ui-shared/package.json @@ -19,8 +19,8 @@ "@polkadot/util-crypto": "*" }, "devDependencies": { - "@polkadot/util": "^4.0.1", - "@polkadot/util-crypto": "^4.0.1", + "@polkadot/util": "^4.0.2-5", + "@polkadot/util-crypto": "^4.0.2-5", "@types/color": "^3.0.1", "@types/xmlserializer": "^0.6.1" } diff --git a/packages/vue-identicon/package.json b/packages/vue-identicon/package.json index 126a791e..5ca23e06 100644 --- a/packages/vue-identicon/package.json +++ b/packages/vue-identicon/package.json @@ -13,8 +13,8 @@ "dependencies": { "@babel/runtime": "^7.12.5", "@polkadot/ui-shared": "0.62.2-0", - "@polkadot/util": "^4.0.1", - "@polkadot/util-crypto": "^4.0.1", + "@polkadot/util": "^4.0.2-5", + "@polkadot/util-crypto": "^4.0.2-5", "jdenticon": "2.2.0" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 74605ee6..9cf872b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2198,40 +2198,40 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/keyring@npm:^4.0.1": - version: 4.0.1 - resolution: "@polkadot/keyring@npm:4.0.1" +"@polkadot/keyring@npm:^4.0.2-5": + version: 4.0.2-5 + resolution: "@polkadot/keyring@npm:4.0.2-5" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/util": 4.0.1 - "@polkadot/util-crypto": 4.0.1 + "@polkadot/util": 4.0.2-5 + "@polkadot/util-crypto": 4.0.2-5 peerDependencies: - "@polkadot/util": 4.0.1 - "@polkadot/util-crypto": 4.0.1 - checksum: 2fc0c101b6c24ca60dd6cad59084ab79a7d308bb4e078012f8c31489789de53c198f73fb2f6ab09d712a332d31c28497906f01cd7d4847e8140cc38f5e310d5d + "@polkadot/util": 4.0.2-5 + "@polkadot/util-crypto": 4.0.2-5 + checksum: 2bb9a76f28f582f410ca5703430be43e99b01c7384a3ddc7511020506fb2a7440739534d804e4a3bedaaf3ce89969670a12398ffe8e6ec8c74cb1a65219870f5 languageName: node linkType: hard -"@polkadot/metadata@npm:2.6.1": - version: 2.6.1 - resolution: "@polkadot/metadata@npm:2.6.1" +"@polkadot/metadata@npm:2.6.2-1": + version: 2.6.2-1 + resolution: "@polkadot/metadata@npm:2.6.2-1" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/types": 2.6.1 - "@polkadot/types-known": 2.6.1 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/types": 2.6.2-1 + "@polkadot/types-known": 2.6.2-1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 bn.js: ^5.1.3 - checksum: e87c8a4ef763a3ad94567a95cf6a105a66a2d9b0a0a1c2469c2a2b15133e146c070bbdee0a38fb6541f81691a57b3e51e32be04df14269d64805a1921f7ba343 + checksum: d0a25d9b12fd786eaf61729062905f104d5839c743fc423867352cbec55191e6a653f15ffec70e787093dc99273bf7090bdf8462374fa7e190a767c90adac303 languageName: node linkType: hard -"@polkadot/networks@npm:4.0.1, @polkadot/networks@npm:^4.0.1": - version: 4.0.1 - resolution: "@polkadot/networks@npm:4.0.1" +"@polkadot/networks@npm:4.0.2-5, @polkadot/networks@npm:^4.0.2-5": + version: 4.0.2-5 + resolution: "@polkadot/networks@npm:4.0.2-5" dependencies: "@babel/runtime": ^7.12.1 - checksum: 46f0bdba3a9a6a7649645944dbac4c0e88e5b15c3d25cc13a71a91440bba179c3233cdbb99b3359fe230ff396666315d50aab6248f851748491c77ebc0568e97 + checksum: 80bcdd6983e74e507bab734a78323b3706ebf470fc56109dcaf248dc9a13797818320d985ce4cf6cd91edcba086e55e2f6671163112ae899dd9b010859713ecd languageName: node linkType: hard @@ -2240,11 +2240,11 @@ __metadata: resolution: "@polkadot/react-identicon@workspace:packages/react-identicon" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/keyring": ^4.0.1 + "@polkadot/keyring": ^4.0.2-5 "@polkadot/ui-settings": 0.62.2-0 "@polkadot/ui-shared": 0.62.2-0 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 "@types/react-copy-to-clipboard": ^4.3.0 "@types/react-dom": ^16.9.9 "@types/styled-components": ^5.1.4 @@ -2270,8 +2270,8 @@ __metadata: resolution: "@polkadot/react-qr@workspace:packages/react-qr" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 "@types/react-qr-reader": ^2.1.3 "@types/styled-components": ^5.1.4 qrcode-generator: ^1.4.4 @@ -2292,8 +2292,8 @@ __metadata: dependencies: "@babel/runtime": ^7.12.5 "@polkadot/ui-shared": 0.62.2-0 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 "@types/react-native": ^0.63.32 react-native-svg: ^12.1.0 peerDependencies: @@ -2313,31 +2313,31 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-known@npm:2.6.1": - version: 2.6.1 - resolution: "@polkadot/types-known@npm:2.6.1" +"@polkadot/types-known@npm:2.6.2-1": + version: 2.6.2-1 + resolution: "@polkadot/types-known@npm:2.6.2-1" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/types": 2.6.1 - "@polkadot/util": ^4.0.1 + "@polkadot/types": 2.6.2-1 + "@polkadot/util": ^4.0.2-5 bn.js: ^5.1.3 - checksum: 785a21c777ab9d069ad4bdf80e7ae28292a8170084ccaf28e0b5720f9c68f7463e63c43e3f8e50dfdef62f610652890d57cae2115b16394cb4933424cdb47c15 + checksum: c22c3fb7d01f0a59e63fe5b980fa4b5d59f95e18738304b87ea92cd78f84d55956a8b4e0166fb95d4f92e007d5c238ac3eddfa697eb4e0b68f03249240e76aac languageName: node linkType: hard -"@polkadot/types@npm:2.6.1, @polkadot/types@npm:^2.6.1": - version: 2.6.1 - resolution: "@polkadot/types@npm:2.6.1" +"@polkadot/types@npm:2.6.2-1, @polkadot/types@npm:^2.6.2-1": + version: 2.6.2-1 + resolution: "@polkadot/types@npm:2.6.2-1" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/metadata": 2.6.1 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/metadata": 2.6.2-1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 "@types/bn.js": ^4.11.6 bn.js: ^5.1.3 memoizee: ^0.4.14 rxjs: ^6.6.3 - checksum: 9e7658d9b4fef378e620a010bb70126c4ee8e9a936f8bfefcdc90d777fd3cd8ef8cfe95617250b83eb357aab8da3c5e304510f5c5d66b95b6dc27a60d495874c + checksum: d220ce89840c1cb07f2fc01af32d458d0676f396a18e43e651e0258e2cc8282e97ff7a307e797984cb69b3ca86f902bdf85a47542c4a3a8a6b25ef0dca179c8a languageName: node linkType: hard @@ -2356,10 +2356,10 @@ __metadata: "@babel/runtime": ^7.12.5 "@ledgerhq/hw-transport-node-hid": ^5.28.0 "@ledgerhq/hw-transport-webusb": ^5.28.0 - "@polkadot/keyring": ^4.0.1 - "@polkadot/types": ^2.6.1 + "@polkadot/keyring": ^4.0.2-5 + "@polkadot/types": ^2.6.2-1 "@polkadot/ui-settings": 0.62.2-0 - "@polkadot/util": ^4.0.1 + "@polkadot/util": ^4.0.2-5 "@types/ledgerhq__hw-transport-node-hid": ^4.22.2 "@types/ledgerhq__hw-transport-webusb": ^4.70.1 "@types/mkdirp": ^1.0.1 @@ -2383,8 +2383,8 @@ __metadata: resolution: "@polkadot/ui-settings@workspace:packages/ui-settings" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/networks": ^4.0.1 - "@polkadot/util": ^4.0.1 + "@polkadot/networks": ^4.0.2-5 + "@polkadot/util": ^4.0.2-5 "@types/store": ^2.0.2 eventemitter3: ^4.0.7 store: ^2.0.12 @@ -2399,8 +2399,8 @@ __metadata: resolution: "@polkadot/ui-shared@workspace:packages/ui-shared" dependencies: "@babel/runtime": ^7.12.5 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 "@types/color": ^3.0.1 "@types/xmlserializer": ^0.6.1 color: ^3.1.3 @@ -2410,43 +2410,44 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/util-crypto@npm:4.0.1, @polkadot/util-crypto@npm:^4.0.1": - version: 4.0.1 - resolution: "@polkadot/util-crypto@npm:4.0.1" +"@polkadot/util-crypto@npm:4.0.2-5, @polkadot/util-crypto@npm:^4.0.2-5": + version: 4.0.2-5 + resolution: "@polkadot/util-crypto@npm:4.0.2-5" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/networks": 4.0.1 - "@polkadot/util": 4.0.1 + "@polkadot/networks": 4.0.2-5 + "@polkadot/util": 4.0.2-5 "@polkadot/wasm-crypto": ^2.0.1 - "@polkadot/x-randomvalues": 4.0.1 + "@polkadot/x-randomvalues": 4.0.2-5 base-x: ^3.0.8 blakejs: ^1.1.0 bn.js: ^5.1.3 create-hash: ^1.2.0 elliptic: ^6.5.3 + hash.js: ^1.1.7 js-sha3: ^0.8.0 pbkdf2: ^3.1.1 scryptsy: ^2.1.0 tweetnacl: ^1.0.3 xxhashjs: ^0.2.2 peerDependencies: - "@polkadot/util": 4.0.1 - checksum: 8bb2f44d73e920a1a16eb7c3939c6fd6fb7d33a34844d9600a7b4e58ee67f0ac869b8877e262cec55063207fd0cf7754e49cdabe8c88c0c241ff3129fe315c35 + "@polkadot/util": 4.0.2-5 + checksum: 376ee7f9d1bd7daa5964b89b7b2b0f301feaee6d169302e405e15beefc6e2499f502425466ead1d8271bdb6e91522cf5330f7cd29390ddfeaf89d01acab34a63 languageName: node linkType: hard -"@polkadot/util@npm:4.0.1, @polkadot/util@npm:^4.0.1": - version: 4.0.1 - resolution: "@polkadot/util@npm:4.0.1" +"@polkadot/util@npm:4.0.2-5, @polkadot/util@npm:^4.0.2-5": + version: 4.0.2-5 + resolution: "@polkadot/util@npm:4.0.2-5" dependencies: "@babel/runtime": ^7.12.1 - "@polkadot/x-textdecoder": 4.0.1 - "@polkadot/x-textencoder": 4.0.1 + "@polkadot/x-textdecoder": 4.0.2-5 + "@polkadot/x-textencoder": 4.0.2-5 "@types/bn.js": ^4.11.6 bn.js: ^5.1.3 camelcase: ^5.3.1 ip-regex: ^4.2.0 - checksum: 316db22e9d63dd25f11e4339a769acb9f594dd134adb32d89805c576764a0b0d03e52467b61de410886308f14b819bd25034d2f6ca08f3abf53ba871e229d726 + checksum: be10c8f4c1a3953aaf432d96ad5f0117028bdb48ccd1eb4c3784f0cb24266de632ca8089644f066f37c1f3906845f58f7e7ddc6af6f3c15dfbcea961988f3bd8 languageName: node linkType: hard @@ -2456,8 +2457,8 @@ __metadata: dependencies: "@babel/runtime": ^7.12.5 "@polkadot/ui-shared": 0.62.2-0 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 jdenticon: 2.2.0 vue: ^2.6.12 peerDependencies: @@ -2477,30 +2478,30 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:4.0.1": - version: 4.0.1 - resolution: "@polkadot/x-randomvalues@npm:4.0.1" +"@polkadot/x-randomvalues@npm:4.0.2-5": + version: 4.0.2-5 + resolution: "@polkadot/x-randomvalues@npm:4.0.2-5" dependencies: "@babel/runtime": ^7.12.1 - checksum: 819d8fcb30ada53a588adf4fbb947ec76ce6a72d2ea5b67d85f7ece105dc3734a0afa345e963af80c8c08f91f3248a807e7229f4649179be88e6717d49f14056 + checksum: ec895fc243bafd913818caa5f205c0a644d23ddfb1716296454869f6dc5859ab52b4d3af46fe45c0d92be7f19f21a7533e961109a2f5b18b3d345a07c5282d53 languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:4.0.1": - version: 4.0.1 - resolution: "@polkadot/x-textdecoder@npm:4.0.1" +"@polkadot/x-textdecoder@npm:4.0.2-5": + version: 4.0.2-5 + resolution: "@polkadot/x-textdecoder@npm:4.0.2-5" dependencies: "@babel/runtime": ^7.12.1 - checksum: f12ef770f02756600ced9e35cd8c239f5ffef231f71b39b4f12854f0a64cc154e55dd344ddcbcfca0fb587c24bc0920bfb0288c8dabf27f2a5d317c67eee3eeb + checksum: 2d9b4192338b1dd1a7b64c9b3a64302dd22039bd5245434c8dd8ba64332ffcc8ae833431791127644c2911d5c9397d361db488642898c1f033719924c8b022ec languageName: node linkType: hard -"@polkadot/x-textencoder@npm:4.0.1": - version: 4.0.1 - resolution: "@polkadot/x-textencoder@npm:4.0.1" +"@polkadot/x-textencoder@npm:4.0.2-5": + version: 4.0.2-5 + resolution: "@polkadot/x-textencoder@npm:4.0.2-5" dependencies: "@babel/runtime": ^7.12.1 - checksum: 045f1b2b8671c9b75a0144dd373714c12d386fa66c490de5ebd1abfd195b162972db63149376a8838f8626d55aeebd8b2f71c5795157e4009d6be1854cf6c226 + checksum: fda2c245f7f5413df6f48fb052f6b36484c0942837017707047891959600d327041abb997067fe009d88891541ceabe3a63a9c0076957e2efbc69446a45b87e9 languageName: node linkType: hard @@ -7017,12 +7018,12 @@ __metadata: dependencies: "@babel/core": ^7.12.3 "@babel/runtime": ^7.12.5 - "@polkadot/keyring": ^4.0.1 + "@polkadot/keyring": ^4.0.2-5 "@polkadot/reactnative-identicon": 0.62.2-0 "@polkadot/ui-keyring": 0.62.2-0 "@polkadot/ui-settings": 0.62.2-0 - "@polkadot/util": ^4.0.1 - "@polkadot/util-crypto": ^4.0.1 + "@polkadot/util": ^4.0.2-5 + "@polkadot/util-crypto": ^4.0.2-5 "@react-native-community/async-storage": ^1.12.1 "@react-native-community/cli-platform-ios": ^4.13.0 "@types/react-test-renderer": 16.9.3 @@ -8322,7 +8323,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"hash.js@npm:^1.0.0, hash.js@npm:^1.0.3": +"hash.js@npm:^1.0.0, hash.js@npm:^1.0.3, hash.js@npm:^1.1.7": version: 1.1.7 resolution: "hash.js@npm:1.1.7" dependencies: