diff --git a/package.json b/package.json index cae75f1e..5b54923f 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "devDependencies": { "@babel/core": "^7.13.1", "@babel/runtime": "^7.13.7", - "@polkadot/dev": "^0.61.28", + "@polkadot/dev": "^0.61.30", "@polkadot/ts": "^0.3.59", "@types/jest": "^26.0.20", "babel-plugin-transform-vue-template": "^0.4.2", diff --git a/packages/exampleReactNative/package.json b/packages/exampleReactNative/package.json index 3783879f..e923d698 100644 --- a/packages/exampleReactNative/package.json +++ b/packages/exampleReactNative/package.json @@ -12,12 +12,12 @@ "test": "jest" }, "dependencies": { - "@polkadot/keyring": "^5.8.1", + "@polkadot/keyring": "^5.9.2", "@polkadot/reactnative-identicon": "0.69.2-2", "@polkadot/ui-keyring": "0.69.2-2", "@polkadot/ui-settings": "0.69.2-2", - "@polkadot/util": "^5.8.1", - "@polkadot/util-crypto": "^5.8.1", + "@polkadot/util": "^5.9.2", + "@polkadot/util-crypto": "^5.9.2", "@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 ba56f20b..9257e88d 100644 --- a/packages/react-identicon/package.json +++ b/packages/react-identicon/package.json @@ -3,17 +3,20 @@ "version": "0.69.2-2", "description": "Renders an SVG picture representing an address", "main": "index.js", - "sideEffects": false, + "sideEffects": [ + "./detectPackage.js", + "./detectPackage.mjs" + ], "author": "Jaco Greeff ", "maintainers": [], "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.13.7", - "@polkadot/keyring": "^5.8.1", + "@polkadot/keyring": "^5.9.2", "@polkadot/ui-settings": "0.69.2-2", "@polkadot/ui-shared": "0.69.2-2", - "@polkadot/util": "^5.8.1", - "@polkadot/util-crypto": "^5.8.1", + "@polkadot/util": "^5.9.2", + "@polkadot/util-crypto": "^5.9.2", "color": "^3.1.3", "ethereum-blockies-base64": "^1.0.2", "jdenticon": "3.1.0", diff --git a/packages/react-identicon/src/detectPackage.ts b/packages/react-identicon/src/detectPackage.ts new file mode 100644 index 00000000..4e2cacaa --- /dev/null +++ b/packages/react-identicon/src/detectPackage.ts @@ -0,0 +1,10 @@ +// Copyright 2017-2021 @polkadot/react-identicon authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo'; +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; +import { detectPackage } from '@polkadot/util'; + +import { packageInfo } from './packageInfo'; + +detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [settingsInfo, sharedInfo]); diff --git a/packages/react-identicon/src/index.ts b/packages/react-identicon/src/index.ts index b26b3963..f80d420d 100644 --- a/packages/react-identicon/src/index.ts +++ b/packages/react-identicon/src/index.ts @@ -1,9 +1,12 @@ // Copyright 2017-2021 @polkadot/react-identicon authors & contributors // SPDX-License-Identifier: Apache-2.0 +import './detectPackage'; + import { Identicon } from './Identicon'; export * from './icons'; +export { packageInfo } from './packageInfo'; export { Identicon }; diff --git a/packages/react-qr/package.json b/packages/react-qr/package.json index 6211084b..52dd9f10 100644 --- a/packages/react-qr/package.json +++ b/packages/react-qr/package.json @@ -9,8 +9,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.13.7", - "@polkadot/util": "^5.8.1", - "@polkadot/util-crypto": "^5.8.1", + "@polkadot/util": "^5.9.2", + "@polkadot/util-crypto": "^5.9.2", "qrcode-generator": "^1.4.4", "react-qr-reader": "^2.2.1", "styled-components": "^5.2.1" diff --git a/packages/react-qr/src/index.tsx b/packages/react-qr/src/index.tsx index 36b9ae61..df74561d 100644 --- a/packages/react-qr/src/index.tsx +++ b/packages/react-qr/src/index.tsx @@ -6,3 +6,4 @@ export { QrDisplayPayload } from './DisplayPayload'; export { QrScanAddress } from './ScanAddress'; export { QrScanSignature } from './ScanSignature'; export { QrNetworkSpecs } from './NetworkSpecs'; +export { packageInfo } from './packageInfo'; diff --git a/packages/reactnative-identicon/package.json b/packages/reactnative-identicon/package.json index f4f7cdbb..98a4d9b6 100644 --- a/packages/reactnative-identicon/package.json +++ b/packages/reactnative-identicon/package.json @@ -3,15 +3,18 @@ "version": "0.69.2-2", "description": "Renders an SVG picture representing an address", "main": "index.js", - "sideEffects": false, + "sideEffects": [ + "./detectPackage.js", + "./detectPackage.mjs" + ], "author": "Jaco Greeff ", "maintainers": [], "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.13.7", "@polkadot/ui-shared": "0.69.2-2", - "@polkadot/util": "^5.8.1", - "@polkadot/util-crypto": "^5.8.1", + "@polkadot/util": "^5.9.2", + "@polkadot/util-crypto": "^5.9.2", "react-native-svg": "^12.1.0" }, "peerDependencies": { diff --git a/packages/reactnative-identicon/src/detectPackage.ts b/packages/reactnative-identicon/src/detectPackage.ts new file mode 100644 index 00000000..b7437a4d --- /dev/null +++ b/packages/reactnative-identicon/src/detectPackage.ts @@ -0,0 +1,9 @@ +// Copyright 2017-2021 @polkadot/reactnative-identicon authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; +import { detectPackage } from '@polkadot/util'; + +import { packageInfo } from './packageInfo'; + +detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [sharedInfo]); diff --git a/packages/reactnative-identicon/src/index.ts b/packages/reactnative-identicon/src/index.ts index 7e30a89a..e6839533 100644 --- a/packages/reactnative-identicon/src/index.ts +++ b/packages/reactnative-identicon/src/index.ts @@ -1,8 +1,11 @@ // Copyright 2017-2021 @polkadot/reactnative-identicon authors & contributors // SPDX-License-Identifier: Apache-2.0 +import './detectPackage'; + import Identicon from './Identicon'; export * from './icons'; +export { packageInfo } from './packageInfo'; export default Identicon; diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index db8ca3f4..3c0a8d28 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -13,11 +13,11 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.13.7", - "@polkadot/hw-ledger": "^5.8.1", - "@polkadot/keyring": "^5.8.1", + "@polkadot/hw-ledger": "^5.9.2", + "@polkadot/keyring": "^5.9.2", "@polkadot/ui-settings": "0.69.2-2", - "@polkadot/util": "^5.8.1", - "@polkadot/x-rxjs": "^5.8.1", + "@polkadot/util": "^5.9.2", + "@polkadot/x-rxjs": "^5.9.2", "mkdirp": "^1.0.4", "store": "^2.0.12" }, diff --git a/packages/ui-keyring/src/detectPackage.ts b/packages/ui-keyring/src/detectPackage.ts index c9d99e17..59435010 100644 --- a/packages/ui-keyring/src/detectPackage.ts +++ b/packages/ui-keyring/src/detectPackage.ts @@ -1,25 +1,9 @@ // Copyright 2017-2021 @polkadot/ui-keyring authors & contributors // SPDX-License-Identifier: Apache-2.0 -// For esm, this should be import.meta.url or to get the same behavior as __dirname, we can use -// -// new URL(import.meta.url).pathname) -// -// The issue is the WP4 has "some" issues with import.meta.url. So because of bundlers, we can't have -// nice things... In this case it is even worse since import.meta.url won't even make it compile, so -// there is a complete dead end with usage thereof -// -// When that is fixed, a solution is to have both .js & .mjs files, with the following content - -// -// cjs: util.detectPackage(packageInfo, () => __dirname); -// esm: detectPackage(packageInfo, () => import.meta.url); -// -// With the above we additionally need a .d.ts to just export the packageInfo - +import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo'; import { detectPackage } from '@polkadot/util'; import { packageInfo } from './packageInfo'; -detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname); - -export { packageInfo }; +detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [settingsInfo]); diff --git a/packages/ui-keyring/src/index.ts b/packages/ui-keyring/src/index.ts index 8144afd2..93e320d2 100644 --- a/packages/ui-keyring/src/index.ts +++ b/packages/ui-keyring/src/index.ts @@ -6,6 +6,7 @@ import './detectPackage'; import { Keyring } from './Keyring'; export { Ledger } from '@polkadot/hw-ledger'; +export { packageInfo } from './packageInfo'; const keyring = new Keyring(); diff --git a/packages/ui-settings/package.json b/packages/ui-settings/package.json index 7aa28af4..7c897118 100644 --- a/packages/ui-settings/package.json +++ b/packages/ui-settings/package.json @@ -9,8 +9,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.13.7", - "@polkadot/networks": "^5.8.1", - "@polkadot/util": "^5.8.1", + "@polkadot/networks": "^5.9.2", + "@polkadot/util": "^5.9.2", "eventemitter3": "^4.0.7", "store": "^2.0.12" }, diff --git a/packages/ui-settings/src/index.ts b/packages/ui-settings/src/index.ts index c276b244..28d3d5ee 100644 --- a/packages/ui-settings/src/index.ts +++ b/packages/ui-settings/src/index.ts @@ -4,6 +4,7 @@ import { Settings, settings } from './Settings'; export { ENDPOINT_DEFAULT, ICON_DEFAULT, ICON_DEFAULT_HOST, LANGUAGE_DEFAULT, LOCKING_DEFAULT, PREFIX_DEFAULT, UIMODE_DEFAULT, UITHEME_DEFAULT } from './defaults'; +export { packageInfo } from './packageInfo'; export { settings, Settings }; diff --git a/packages/ui-shared/package.json b/packages/ui-shared/package.json index 2a86ec2b..8ec1eaed 100644 --- a/packages/ui-shared/package.json +++ b/packages/ui-shared/package.json @@ -16,8 +16,8 @@ "@polkadot/util-crypto": "*" }, "devDependencies": { - "@polkadot/util": "^5.8.1", - "@polkadot/util-crypto": "^5.8.1", + "@polkadot/util": "^5.9.2", + "@polkadot/util-crypto": "^5.9.2", "@types/color": "^3.0.1", "@types/xmlserializer": "^0.6.2" } diff --git a/packages/ui-shared/src/index.ts b/packages/ui-shared/src/index.ts index e29d966f..44c007a2 100644 --- a/packages/ui-shared/src/index.ts +++ b/packages/ui-shared/src/index.ts @@ -2,3 +2,4 @@ // SPDX-License-Identifier: Apache-2.0 export * from './icons'; +export { packageInfo } from './packageInfo'; diff --git a/packages/vue-identicon/package.json b/packages/vue-identicon/package.json index daa25ffb..390826d7 100644 --- a/packages/vue-identicon/package.json +++ b/packages/vue-identicon/package.json @@ -5,13 +5,16 @@ "author": "Jaco Greeff ", "maintainers": [], "main": "index.js", - "sideEffects": false, + "sideEffects": [ + "./detectPackage.js", + "./detectPackage.mjs" + ], "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.13.7", "@polkadot/ui-shared": "0.69.2-2", - "@polkadot/util": "^5.8.1", - "@polkadot/util-crypto": "^5.8.1", + "@polkadot/util": "^5.9.2", + "@polkadot/util-crypto": "^5.9.2", "jdenticon": "3.1.0" }, "peerDependencies": { diff --git a/packages/vue-identicon/src/detectPackage.ts b/packages/vue-identicon/src/detectPackage.ts new file mode 100644 index 00000000..19535406 --- /dev/null +++ b/packages/vue-identicon/src/detectPackage.ts @@ -0,0 +1,9 @@ +// Copyright 2017-2021 @polkadot/vue-identicon authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; +import { detectPackage } from '@polkadot/util'; + +import { packageInfo } from './packageInfo'; + +detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [sharedInfo]); diff --git a/packages/vue-identicon/src/index.ts b/packages/vue-identicon/src/index.ts index 3e036c30..c8748d79 100644 --- a/packages/vue-identicon/src/index.ts +++ b/packages/vue-identicon/src/index.ts @@ -1,6 +1,10 @@ // Copyright 2017-2021 @polkadot/vue-identicon authors & contributors // SPDX-License-Identifier: Apache-2.0 +import './detectPackage'; + import { Identicon } from './Identicon'; +export { packageInfo } from './packageInfo'; + export default Identicon; diff --git a/yarn.lock b/yarn.lock index 966cb3ce..c4b737a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1138,19 +1138,19 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-runtime@npm:^7.0.0, @babel/plugin-transform-runtime@npm:^7.13.6": - version: 7.13.7 - resolution: "@babel/plugin-transform-runtime@npm:7.13.7" +"@babel/plugin-transform-runtime@npm:^7.0.0, @babel/plugin-transform-runtime@npm:^7.13.7": + version: 7.13.8 + resolution: "@babel/plugin-transform-runtime@npm:7.13.8" dependencies: "@babel/helper-module-imports": ^7.12.13 "@babel/helper-plugin-utils": ^7.13.0 babel-plugin-polyfill-corejs2: ^0.1.4 babel-plugin-polyfill-corejs3: ^0.1.3 babel-plugin-polyfill-regenerator: ^0.1.2 - semver: 7.0.0 + semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: f1bb7bb8541c483332c48036f4c68e21d5e4a25e8ddb006d390779756276bcae1950121bea5d2a1244b5273f64ed87ed69f038fb8d6415ee352c4856f2c0a2e4 + checksum: 481c3cdcd500eb29fe2cb5410570c63dbd06b909e66985c3e5b5f6b2d38b59fb013fd64a0f48f4f50bff866eddde1c17f7c0a5733835ba1176db76e2aa05fde4 languageName: node linkType: hard @@ -1392,12 +1392,12 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.6, @babel/runtime@npm:^7.13.7, @babel/runtime@npm:^7.8.4": - version: 7.13.7 - resolution: "@babel/runtime@npm:7.13.7" +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.7, @babel/runtime@npm:^7.13.8, @babel/runtime@npm:^7.8.4": + version: 7.13.8 + resolution: "@babel/runtime@npm:7.13.8" dependencies: regenerator-runtime: ^0.13.4 - checksum: 8be9fd44bb684ad42069170ca1bce9e225af7bc13861f5ac9c2517b6f1c585fb167cedb54f1a0c5b3f26a8391a9e1afef874829df494d945398d3f67b39e6116 + checksum: d8db125d3629c4000322e8264d7510640ac671136f416d1fcd4b74d26d7e703bf671820fab81a29a5ee0bd11e981de518666619398ec29b1ab5e155ab8131812 languageName: node linkType: hard @@ -2088,9 +2088,9 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev@npm:^0.61.28": - version: 0.61.28 - resolution: "@polkadot/dev@npm:0.61.28" +"@polkadot/dev@npm:^0.61.30": + version: 0.61.30 + resolution: "@polkadot/dev@npm:0.61.30" dependencies: "@babel/cli": ^7.13.0 "@babel/core": ^7.13.1 @@ -2105,12 +2105,12 @@ __metadata: "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/plugin-syntax-top-level-await": ^7.12.13 "@babel/plugin-transform-regenerator": ^7.12.13 - "@babel/plugin-transform-runtime": ^7.13.6 + "@babel/plugin-transform-runtime": ^7.13.7 "@babel/preset-env": ^7.13.5 "@babel/preset-react": ^7.12.13 "@babel/preset-typescript": ^7.13.0 "@babel/register": ^7.13.0 - "@babel/runtime": ^7.13.6 + "@babel/runtime": ^7.13.7 "@rushstack/eslint-patch": ^1.0.6 "@typescript-eslint/eslint-plugin": 4.15.2 "@typescript-eslint/parser": 4.15.2 @@ -2151,7 +2151,7 @@ __metadata: typedoc: ^0.20.28 typedoc-plugin-markdown: ^3.5.0 typedoc-plugin-no-inherit: ^1.2.0 - typescript: ^4.2.2 + typescript: ^4.1.5 yargs: ^16.2.0 bin: polkadot-ci-ghact-build: scripts/polkadot-ci-ghact-build.cjs @@ -2174,7 +2174,7 @@ __metadata: polkadot-exec-tsc: scripts/polkadot-exec-tsc.cjs polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.cjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.cjs - checksum: 27be98f0da27d4087cc245c4fd45ee4bfa7bf0fbb09b7d2691b6934f48e14c0991b8c8751e65aa0e51dc73923e2023bc46111b14ae6864ad7900eed590b35de7 + checksum: 786a7d09e6397fbc36de0fc0c657eb9e3807ba4e5b017b64d19341c8c7c49f3faed5be3e47bd5ec7746490636ac4091866469a1667402b6cb987a19dc8143bbb languageName: node linkType: hard @@ -2194,52 +2194,52 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/hw-ledger-transports@npm:5.8.1": - version: 5.8.1 - resolution: "@polkadot/hw-ledger-transports@npm:5.8.1" +"@polkadot/hw-ledger-transports@npm:5.9.2": + version: 5.9.2 + resolution: "@polkadot/hw-ledger-transports@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@ledgerhq/hw-transport-node-hid-singleton": ^5.43.0 "@ledgerhq/hw-transport-webusb": ^5.43.0 dependenciesMeta: "@ledgerhq/hw-transport-node-hid-singleton": optional: true - checksum: 67311e7de998bbdc9d2dfc901b37bbff15c0d2d5f5c29b834dc70c8d2e59c8032e0d04c5c6d4f7f77d86357a7b98dd77e414cba026bd3fc4b553e3713dd857f1 + checksum: b0c24bdf1a89b64a0981b7b8cca69aeda5a5b03e1406d8d81f0c8e4c6c7a11d9a1a621653fd1be4b5f30ce923792cc8d9c8fb77205e8320343e315e7a4388dc3 languageName: node linkType: hard -"@polkadot/hw-ledger@npm:^5.8.1": - version: 5.8.1 - resolution: "@polkadot/hw-ledger@npm:5.8.1" +"@polkadot/hw-ledger@npm:^5.9.2": + version: 5.9.2 + resolution: "@polkadot/hw-ledger@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - "@polkadot/hw-ledger-transports": 5.8.1 - "@polkadot/util": ^5.8.1 + "@babel/runtime": ^7.13.8 + "@polkadot/hw-ledger-transports": 5.9.2 + "@polkadot/util": ^5.9.2 "@zondax/ledger-polkadot": ^0.13.1 - checksum: 6cb2abfd4a780850686ac62364d18a7ba20c3fcf5132aab438c92829037e5ab4eb8079c9551bca1b4fd181bb0546bcb7370f5ece0ca0f84113a15e3fd2e61418 + checksum: 58fa879991930f65318017d868c0901a40c7bcae6048508f1544d1da29b426cdcf016f840b50a2c262cc743dc5b40a618b1543731317acb105701ae4ecbdfff3 languageName: node linkType: hard -"@polkadot/keyring@npm:^5.8.1": - version: 5.8.1 - resolution: "@polkadot/keyring@npm:5.8.1" +"@polkadot/keyring@npm:^5.9.2": + version: 5.9.2 + resolution: "@polkadot/keyring@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - "@polkadot/util": 5.8.1 - "@polkadot/util-crypto": 5.8.1 + "@babel/runtime": ^7.13.8 + "@polkadot/util": 5.9.2 + "@polkadot/util-crypto": 5.9.2 peerDependencies: - "@polkadot/util": 5.8.1 - "@polkadot/util-crypto": 5.8.1 - checksum: 9471bf4453566d1231b5532f49be474d65d69012474bf696c68c64452b32c9169027d1282472167c3813fe78860aa808e184351d6af0dbae8582693e729a25fc + "@polkadot/util": 5.9.2 + "@polkadot/util-crypto": 5.9.2 + checksum: 2b94ad27b5ad5aa520d9061b9282ba1c4d2f0418a4037e3de971941b667a8a3d0968b85e122b8c445d3cae7a37ae0825dc9ccea078a8205182dacf21a479cc87 languageName: node linkType: hard -"@polkadot/networks@npm:5.8.1, @polkadot/networks@npm:^5.8.1": - version: 5.8.1 - resolution: "@polkadot/networks@npm:5.8.1" +"@polkadot/networks@npm:5.9.2, @polkadot/networks@npm:^5.9.2": + version: 5.9.2 + resolution: "@polkadot/networks@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - checksum: f67abcbf423400ea627ab0fe3599d3f9a50248cc90f3aa21956e4afc651313ffb98eedfc1d040de551d353f25b8d79555894875461b266084f39a8adbdb5b907 + "@babel/runtime": ^7.13.8 + checksum: 42a2022af8217a3bf77003d98e0ae3ff351005250bbeab504a612c7af719314eeccde93f0588aed64b1f8949cf924d51894d27836e9cc2c4a273cb8f1761db4a languageName: node linkType: hard @@ -2248,11 +2248,11 @@ __metadata: resolution: "@polkadot/react-identicon@workspace:packages/react-identicon" dependencies: "@babel/runtime": ^7.13.7 - "@polkadot/keyring": ^5.8.1 + "@polkadot/keyring": ^5.9.2 "@polkadot/ui-settings": 0.69.2-2 "@polkadot/ui-shared": 0.69.2-2 - "@polkadot/util": ^5.8.1 - "@polkadot/util-crypto": ^5.8.1 + "@polkadot/util": ^5.9.2 + "@polkadot/util-crypto": ^5.9.2 "@types/react-copy-to-clipboard": ^5.0.0 "@types/react-dom": ^17.0.1 "@types/styled-components": ^5.1.7 @@ -2278,8 +2278,8 @@ __metadata: resolution: "@polkadot/react-qr@workspace:packages/react-qr" dependencies: "@babel/runtime": ^7.13.7 - "@polkadot/util": ^5.8.1 - "@polkadot/util-crypto": ^5.8.1 + "@polkadot/util": ^5.9.2 + "@polkadot/util-crypto": ^5.9.2 "@types/react-qr-reader": ^2.1.3 "@types/styled-components": ^5.1.7 qrcode-generator: ^1.4.4 @@ -2300,8 +2300,8 @@ __metadata: dependencies: "@babel/runtime": ^7.13.7 "@polkadot/ui-shared": 0.69.2-2 - "@polkadot/util": ^5.8.1 - "@polkadot/util-crypto": ^5.8.1 + "@polkadot/util": ^5.9.2 + "@polkadot/util-crypto": ^5.9.2 "@types/react-native": ^0.63.49 react-native-svg: ^12.1.0 peerDependencies: @@ -2334,11 +2334,11 @@ __metadata: resolution: "@polkadot/ui-keyring@workspace:packages/ui-keyring" dependencies: "@babel/runtime": ^7.13.7 - "@polkadot/hw-ledger": ^5.8.1 - "@polkadot/keyring": ^5.8.1 + "@polkadot/hw-ledger": ^5.9.2 + "@polkadot/keyring": ^5.9.2 "@polkadot/ui-settings": 0.69.2-2 - "@polkadot/util": ^5.8.1 - "@polkadot/x-rxjs": ^5.8.1 + "@polkadot/util": ^5.9.2 + "@polkadot/x-rxjs": ^5.9.2 "@types/mkdirp": ^1.0.1 "@types/store": ^2.0.2 mkdirp: ^1.0.4 @@ -2355,8 +2355,8 @@ __metadata: resolution: "@polkadot/ui-settings@workspace:packages/ui-settings" dependencies: "@babel/runtime": ^7.13.7 - "@polkadot/networks": ^5.8.1 - "@polkadot/util": ^5.8.1 + "@polkadot/networks": ^5.9.2 + "@polkadot/util": ^5.9.2 "@types/store": ^2.0.2 eventemitter3: ^4.0.7 store: ^2.0.12 @@ -2371,8 +2371,8 @@ __metadata: resolution: "@polkadot/ui-shared@workspace:packages/ui-shared" dependencies: "@babel/runtime": ^7.13.7 - "@polkadot/util": ^5.8.1 - "@polkadot/util-crypto": ^5.8.1 + "@polkadot/util": ^5.9.2 + "@polkadot/util-crypto": ^5.9.2 "@types/color": ^3.0.1 "@types/xmlserializer": ^0.6.2 color: ^3.1.3 @@ -2382,15 +2382,15 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/util-crypto@npm:5.8.1, @polkadot/util-crypto@npm:^5.8.1": - version: 5.8.1 - resolution: "@polkadot/util-crypto@npm:5.8.1" +"@polkadot/util-crypto@npm:5.9.2, @polkadot/util-crypto@npm:^5.9.2": + version: 5.9.2 + resolution: "@polkadot/util-crypto@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - "@polkadot/networks": 5.8.1 - "@polkadot/util": 5.8.1 + "@babel/runtime": ^7.13.8 + "@polkadot/networks": 5.9.2 + "@polkadot/util": 5.9.2 "@polkadot/wasm-crypto": ^3.2.4 - "@polkadot/x-randomvalues": 5.8.1 + "@polkadot/x-randomvalues": 5.9.2 base-x: ^3.0.8 base64-js: ^1.5.1 blakejs: ^1.1.0 @@ -2403,23 +2403,23 @@ __metadata: tweetnacl: ^1.0.3 xxhashjs: ^0.2.2 peerDependencies: - "@polkadot/util": 5.8.1 - checksum: b6f70d92079474852558a1e8aef01852ede94577dd836cf84ce7f19d6f10b717236c4961431d86de5c0d0aaafedaad51a3a44a6e57224c27f760382e3aba2a0d + "@polkadot/util": 5.9.2 + checksum: b8283aaa82b9910e09bbbc4daf3b9de0f24099bc1fd03d36b7e1450c81b56f60112777670ca722f8f43dd189dc4c70cad6182078214fd1036ae57284670e4883 languageName: node linkType: hard -"@polkadot/util@npm:5.8.1, @polkadot/util@npm:^5.8.1": - version: 5.8.1 - resolution: "@polkadot/util@npm:5.8.1" +"@polkadot/util@npm:5.9.2, @polkadot/util@npm:^5.9.2": + version: 5.9.2 + resolution: "@polkadot/util@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - "@polkadot/x-textdecoder": 5.8.1 - "@polkadot/x-textencoder": 5.8.1 + "@babel/runtime": ^7.13.8 + "@polkadot/x-textdecoder": 5.9.2 + "@polkadot/x-textencoder": 5.9.2 "@types/bn.js": ^4.11.6 bn.js: ^4.11.9 camelcase: ^5.3.1 ip-regex: ^4.3.0 - checksum: a269d11eb87aa66394ac825063c1888f85c3ec727f8878d183674e4b4cdf86d4b2982c74f1195a146af30a9116340c5c272063e4d0a0068d7cca203506c5ad20 + checksum: a4662b170fbdf41188024f8438d9bd434158aaf25cb8f7e0c0c25ede384f64ffa48224a9a4eb14a3f1c026ec5061cf9b4ce4e850f9222518deb42ab5d6efb091 languageName: node linkType: hard @@ -2429,8 +2429,8 @@ __metadata: dependencies: "@babel/runtime": ^7.13.7 "@polkadot/ui-shared": 0.69.2-2 - "@polkadot/util": ^5.8.1 - "@polkadot/util-crypto": ^5.8.1 + "@polkadot/util": ^5.9.2 + "@polkadot/util-crypto": ^5.9.2 jdenticon: 3.1.0 vue: ^2.6.12 peerDependencies: @@ -2472,54 +2472,54 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-global@npm:5.8.1": - version: 5.8.1 - resolution: "@polkadot/x-global@npm:5.8.1" +"@polkadot/x-global@npm:5.9.2": + version: 5.9.2 + resolution: "@polkadot/x-global@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 "@types/node-fetch": ^2.5.8 node-fetch: ^2.6.1 - checksum: 9cb6c6607cf3d3eb4a1c8237fec299df0b91e6be2c3295c1bbc8e286adc66189fd1410ea5f5ba339580981b6bda3773fff04e2415c120258042f6f3b7f62d972 + checksum: 5b36492c847169375c146b60dc35f37e5b7feba5ce164d1fcc78806d1f3e4f1d7ce84b59a345a7035e9d58fab617ea7e5101553717519e330490ac0f21404498 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:5.8.1": - version: 5.8.1 - resolution: "@polkadot/x-randomvalues@npm:5.8.1" +"@polkadot/x-randomvalues@npm:5.9.2": + version: 5.9.2 + resolution: "@polkadot/x-randomvalues@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - "@polkadot/x-global": 5.8.1 - checksum: 15520a3930349dc5859a0c0e7b4cee4d6e86a69b7f872450b5f5a65d7940e39a43f633c16696e584e9fa67c803769986e9e741aefbf42f2f85a5518067937f21 + "@babel/runtime": ^7.13.8 + "@polkadot/x-global": 5.9.2 + checksum: 1004af57c79ed62ac5457f6f3748aa410ec0c93314e87a71d9e9f09b35729f8b52398d7f0fdf1ac45c202b57db8ff06fd7147a40892f367e26a48347415ae124 languageName: node linkType: hard -"@polkadot/x-rxjs@npm:^5.8.1": - version: 5.8.1 - resolution: "@polkadot/x-rxjs@npm:5.8.1" +"@polkadot/x-rxjs@npm:^5.9.2": + version: 5.9.2 + resolution: "@polkadot/x-rxjs@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 + "@babel/runtime": ^7.13.8 rxjs: ^6.6.6 - checksum: 4bbbdf39b8c54a37d68fd250ba60e868348cb1d5bf49c592ab78e1c4ea05b944880b8c26b094585ba966e38586dfe3d2d3a41688dbd23871e91ccfc4dc442ff8 + checksum: 4c5d2cf4b6ec8abd57fa14c909b226aeec8289c96e0a24c447d4c9fa565321be0c711f31417a567ede509f18bda1d42522cb0efd94549bd50f06541b63b6971d languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:5.8.1": - version: 5.8.1 - resolution: "@polkadot/x-textdecoder@npm:5.8.1" +"@polkadot/x-textdecoder@npm:5.9.2": + version: 5.9.2 + resolution: "@polkadot/x-textdecoder@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - "@polkadot/x-global": 5.8.1 - checksum: 2a48c6e84d1ad951d9c7ee683018050c10a2699e2ebe849023b70b2bde54e95b12765133eb6afbc7fa3b551274760b864c38593654fbcf6b6cd0d05b13032ee9 + "@babel/runtime": ^7.13.8 + "@polkadot/x-global": 5.9.2 + checksum: 3644a73b13ef98d0026f87ee140a5debcc6d6a4cb965d1f1ccf214d2c154e06c8053c2453179eed599d771782bba15cb28311d9a2b7f30895b2d0a578b9af307 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:5.8.1": - version: 5.8.1 - resolution: "@polkadot/x-textencoder@npm:5.8.1" +"@polkadot/x-textencoder@npm:5.9.2": + version: 5.9.2 + resolution: "@polkadot/x-textencoder@npm:5.9.2" dependencies: - "@babel/runtime": ^7.13.7 - "@polkadot/x-global": 5.8.1 - checksum: 96b8c0891f359bde9b4568b857273e5a1e3a1d244187a0c6cddc8602d2acd92906262b944d385f840464ec0a101e9e3233a9c7811a1d1a5e173a40266fee8ef8 + "@babel/runtime": ^7.13.8 + "@polkadot/x-global": 5.9.2 + checksum: f96a47217110d165894bc098276b685114bfc8ffe10696760f73d24eb259ff9f94acd6719cf4b8c8c6ff74e3f164fb8bf29694bad59767e17e595d62f38bb2d7 languageName: node linkType: hard @@ -6999,12 +6999,12 @@ __metadata: dependencies: "@babel/core": ^7.13.1 "@babel/runtime": ^7.13.7 - "@polkadot/keyring": ^5.8.1 + "@polkadot/keyring": ^5.9.2 "@polkadot/reactnative-identicon": 0.69.2-2 "@polkadot/ui-keyring": 0.69.2-2 "@polkadot/ui-settings": 0.69.2-2 - "@polkadot/util": ^5.8.1 - "@polkadot/util-crypto": ^5.8.1 + "@polkadot/util": ^5.9.2 + "@polkadot/util-crypto": ^5.9.2 "@react-native-community/async-storage": ^1.12.1 "@react-native-community/cli-platform-ios": ^4.13.0 "@types/react-test-renderer": 17.0.1 @@ -13959,7 +13959,7 @@ fsevents@~2.1.2: dependencies: "@babel/core": ^7.13.1 "@babel/runtime": ^7.13.7 - "@polkadot/dev": ^0.61.28 + "@polkadot/dev": ^0.61.30 "@polkadot/ts": ^0.3.59 "@types/jest": ^26.0.20 babel-plugin-transform-vue-template: ^0.4.2