From 50b4e2bd0755bd06c79fd34c4f7bff8e409e2a83 Mon Sep 17 00:00:00 2001 From: Jaco Date: Sun, 11 Jun 2023 10:16:28 +0300 Subject: [PATCH] Adjust object index typings (#765) * Adjust object index typings * CHANGELOG * Bump common --- CHANGELOG.md | 7 + package.json | 6 +- packages/react-identicon/package.json | 6 +- packages/react-qr/package.json | 4 +- packages/react-qr/src/ScanAddress.tsx | 13 +- packages/reactnative-identicon/package.json | 4 +- packages/ui-keyring/package.json | 6 +- packages/ui-keyring/src/Base.ts | 11 +- packages/ui-keyring/src/types.ts | 25 +- packages/ui-settings/package.json | 4 +- packages/ui-settings/src/Settings.ts | 2 +- packages/ui-shared/package.json | 4 +- packages/vue-identicon/package.json | 4 +- yarn.lock | 334 ++++++++++---------- 14 files changed, 214 insertions(+), 216 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c2d0274..d6b28f51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG +## master + +Changes: + +- Adjust object index access for stricter tsconfig settings + + ## 3.4.2 Jun 5, 2023 - Bump to `@polkadot/util` 12.2.2 diff --git a/package.json b/package.json index d3596bd0..e32af5a0 100644 --- a/package.json +++ b/package.json @@ -33,13 +33,13 @@ "test:one": "polkadot-dev-run-test --env browser" }, "devDependencies": { - "@polkadot/dev": "^0.75.16", - "@polkadot/x-bundle": "^12.2.2", + "@polkadot/dev": "^0.75.19", + "@polkadot/x-bundle": "^12.3.1", "@types/node": "^20.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "react-is": "^18.2.0", - "react-native": "^0.71.8" + "react-native": "^0.71.10" }, "resolutions": { "typescript": "^5.1.3" diff --git a/packages/react-identicon/package.json b/packages/react-identicon/package.json index 9a9c3390..03ae1f04 100644 --- a/packages/react-identicon/package.json +++ b/packages/react-identicon/package.json @@ -21,11 +21,11 @@ "version": "3.4.2", "main": "index.js", "dependencies": { - "@polkadot/keyring": "^12.2.2", + "@polkadot/keyring": "^12.3.1", "@polkadot/ui-settings": "3.4.2", "@polkadot/ui-shared": "3.4.2", - "@polkadot/util": "^12.2.2", - "@polkadot/util-crypto": "^12.2.2", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", "ethereum-blockies-base64": "^1.0.2", "jdenticon": "3.2.0", "react-copy-to-clipboard": "^5.1.0", diff --git a/packages/react-qr/package.json b/packages/react-qr/package.json index 6f630201..8c6a60a7 100644 --- a/packages/react-qr/package.json +++ b/packages/react-qr/package.json @@ -22,8 +22,8 @@ "main": "index.js", "dependencies": { "@polkadot/ui-settings": "3.4.2", - "@polkadot/util": "^12.2.2", - "@polkadot/util-crypto": "^12.2.2", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", "qrcode-generator": "^1.4.4", "react-qr-reader": "^2.2.1", "styled-components": "^5.3.11", diff --git a/packages/react-qr/src/ScanAddress.tsx b/packages/react-qr/src/ScanAddress.tsx index bc81fdd7..63185f88 100644 --- a/packages/react-qr/src/ScanAddress.tsx +++ b/packages/react-qr/src/ScanAddress.tsx @@ -1,6 +1,8 @@ // Copyright 2017-2023 @polkadot/react-qr authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { HexString } from '@polkadot/util/types'; + import React, { useCallback } from 'react'; import { decodeAddress } from '@polkadot/util-crypto'; @@ -11,7 +13,7 @@ import { QrScan } from './Scan.js'; interface ScanType { isAddress: boolean; content: string; - genesisHash: string; + genesisHash: HexString | null; name?: string | undefined; } @@ -29,13 +31,16 @@ function ScanAddress ({ className, isEthereum, onError, onScan, size, style }: P (data: string | null): void => { if (data) { try { - let prefix: string, content: string, genesisHash: string, name: string[]; + let prefix: string; + let content: string; + let genesisHash: string | null; + let name: string[]; if (!isEthereum) { [prefix, content, genesisHash, ...name] = data.split(':'); } else { [prefix, content, ...name] = data.split(':'); - genesisHash = ''; + genesisHash = null; content = content.substring(0, 42); } @@ -52,7 +57,7 @@ function ScanAddress ({ className, isEthereum, onError, onScan, size, style }: P decodeAddress(content); } - onScan({ content, genesisHash, isAddress, name: name?.length ? name.join(':') : undefined }); + onScan({ content, genesisHash: genesisHash as HexString, isAddress, name: name?.length ? name.join(':') : undefined }); } catch (error) { onError && onError(error as Error); diff --git a/packages/reactnative-identicon/package.json b/packages/reactnative-identicon/package.json index d64fa080..d9b39ed3 100644 --- a/packages/reactnative-identicon/package.json +++ b/packages/reactnative-identicon/package.json @@ -22,8 +22,8 @@ "main": "index.js", "dependencies": { "@polkadot/ui-shared": "3.4.2", - "@polkadot/util": "^12.2.2", - "@polkadot/util-crypto": "^12.2.2", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", "react-native-svg": "^12.5.1", "tslib": "^2.5.3" }, diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 8fa5caa0..43e66456 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -20,10 +20,10 @@ "version": "3.4.2", "main": "index.js", "dependencies": { - "@polkadot/keyring": "^12.2.2", + "@polkadot/keyring": "^12.3.1", "@polkadot/ui-settings": "3.4.2", - "@polkadot/util": "^12.2.2", - "@polkadot/util-crypto": "^12.2.2", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", "mkdirp": "^3.0.1", "rxjs": "^7.8.1", "store": "^2.0.12", diff --git a/packages/ui-keyring/src/Base.ts b/packages/ui-keyring/src/Base.ts index 0c6abbbb..538cfc70 100644 --- a/packages/ui-keyring/src/Base.ts +++ b/packages/ui-keyring/src/Base.ts @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { KeyringInstance, KeyringPair } from '@polkadot/keyring/types'; +import type { HexString } from '@polkadot/util/types'; import type { Prefix } from '@polkadot/util-crypto/address/types'; import type { AddressSubject } from './observable/types.js'; import type { KeyringOptions, KeyringStore } from './types.js'; @@ -28,9 +29,9 @@ export class Base { protected _store: KeyringStore; - protected _genesisHash?: string | undefined; + protected _genesisHash?: HexString | undefined; - protected _genesisHashAdd: string[] = []; + protected _genesisHashAdd: HexString[] = []; constructor () { this.#accounts = accounts; @@ -64,11 +65,11 @@ export class Base { throw new Error('Keyring should be initialised via \'loadAll\' before use'); } - public get genesisHash (): string | undefined { + public get genesisHash (): HexString | undefined { return this._genesisHash; } - public get genesisHashes (): string[] { + public get genesisHashes (): HexString[] { return this._genesisHash ? [this._genesisHash, ...this._genesisHashAdd] : [...this._genesisHashAdd]; @@ -130,7 +131,7 @@ export class Base { this.#keyring = keyring; this._genesisHash = options.genesisHash && ( isString(options.genesisHash) - ? options.genesisHash.toString() + ? options.genesisHash.toString() as HexString : options.genesisHash.toHex() ); this._genesisHashAdd = options.genesisHashAdd || []; diff --git a/packages/ui-keyring/src/types.ts b/packages/ui-keyring/src/types.ts index 89e00255..6c9574f5 100644 --- a/packages/ui-keyring/src/types.ts +++ b/packages/ui-keyring/src/types.ts @@ -2,29 +2,14 @@ // SPDX-License-Identifier: Apache-2.0 import type { KeyringInstance as BaseKeyringInstance, KeyringOptions as KeyringOptionsBase, KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '@polkadot/keyring/types'; +import type { HexString } from '@polkadot/util/types'; import type { EncryptedJson } from '@polkadot/util-crypto/json/types'; import type { KeypairType } from '@polkadot/util-crypto/types'; import type { AddressSubject, SingleAddress } from './observable/types.js'; -export interface ContractMeta { - abi: string; - genesisHash?: string | null; -} +export type ContractMeta = NonNullable; -export interface KeyringJson$Meta { - contract?: ContractMeta; - genesisHash?: string | null | undefined; - hardwareType?: 'ledger'; - isHardware?: boolean; - isInjected?: boolean; - isRecent?: boolean; - isTesting?: boolean; - name?: string; - whenCreated?: number; - whenEdited?: number; - whenUsed?: number; - [index: string]: unknown; -} +export type KeyringJson$Meta = KeyringPair$Meta; export interface KeyringJson { address: string; @@ -44,8 +29,8 @@ export interface KeyringStore { export interface KeyringOptions extends KeyringOptionsBase { filter?: (json: KeyringJson) => boolean; - genesisHash?: string | { toHex: () => string }; - genesisHashAdd?: string[]; + genesisHash?: HexString | { toHex: () => HexString }; + genesisHashAdd?: HexString[]; isDevelopment?: boolean; store?: KeyringStore; } diff --git a/packages/ui-settings/package.json b/packages/ui-settings/package.json index bfa5fd0b..33b396b8 100644 --- a/packages/ui-settings/package.json +++ b/packages/ui-settings/package.json @@ -21,8 +21,8 @@ "version": "3.4.2", "main": "index.js", "dependencies": { - "@polkadot/networks": "^12.2.2", - "@polkadot/util": "^12.2.2", + "@polkadot/networks": "^12.3.1", + "@polkadot/util": "^12.3.1", "eventemitter3": "^5.0.1", "store": "^2.0.12", "tslib": "^2.5.3" diff --git a/packages/ui-settings/src/Settings.ts b/packages/ui-settings/src/Settings.ts index 07b85ae6..97c70eed 100644 --- a/packages/ui-settings/src/Settings.ts +++ b/packages/ui-settings/src/Settings.ts @@ -57,7 +57,7 @@ export class Settings implements SettingsStruct { this.#emitter = new EventEmitter(); // will become deprecated for supporting substrate connect light clients. apiType structure should be used instead - this.#apiUrl = (typeof settings.apiUrl === 'string' && settings.apiUrl) || (hasProcess && process.env && process.env.WS_URL) || (ENDPOINT_DEFAULT.value as string); + this.#apiUrl = (typeof settings.apiUrl === 'string' && settings.apiUrl) || (hasProcess && process.env && process.env['WS_URL']) || (ENDPOINT_DEFAULT.value as string); this.#apiType = { param: this.#apiUrl, type: 'json-rpc' as EndpointType }; this.#camera = withDefault(CAMERA, settings.camera, CAMERA_DEFAULT); this.#ledgerConn = withDefault(LEDGER_CONN, settings.ledgerConn, LEDGER_CONN_DEFAULT); diff --git a/packages/ui-shared/package.json b/packages/ui-shared/package.json index 911691ae..45e0b3f7 100644 --- a/packages/ui-shared/package.json +++ b/packages/ui-shared/package.json @@ -25,8 +25,8 @@ "tslib": "^2.5.3" }, "devDependencies": { - "@polkadot/util": "^12.2.2", - "@polkadot/util-crypto": "^12.2.2", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", "@types/xmlserializer": "^0.6.3", "xmlserializer": "^0.6.1" }, diff --git a/packages/vue-identicon/package.json b/packages/vue-identicon/package.json index 87433ffe..7f22c62e 100644 --- a/packages/vue-identicon/package.json +++ b/packages/vue-identicon/package.json @@ -22,8 +22,8 @@ "main": "index.js", "dependencies": { "@polkadot/ui-shared": "3.4.2", - "@polkadot/util": "^12.2.2", - "@polkadot/util-crypto": "^12.2.2", + "@polkadot/util": "^12.3.1", + "@polkadot/util-crypto": "^12.3.1", "jdenticon": "3.2.0", "tslib": "^2.5.3" }, diff --git a/yarn.lock b/yarn.lock index 594c03ec..c9247306 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1431,34 +1431,34 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev-test@npm:^0.75.16": - version: 0.75.16 - resolution: "@polkadot/dev-test@npm:0.75.16" +"@polkadot/dev-test@npm:^0.75.19": + version: 0.75.19 + resolution: "@polkadot/dev-test@npm:0.75.19" dependencies: jsdom: ^22.1.0 tslib: ^2.5.3 - checksum: 4b079411cc14029f533deadee7deabfd9f86a29cdd8b173d090e4f8a672d8a850d2c38263e1af2679db512f8f3ccb8fde6fa353d2f17830a246137adba6c5d85 + checksum: a3c187fde1b9512e11c3917df54912fdb01adb2e9e9eb8893f6916ea2c33bf4883dad253388dcaa606171f5047fedb0a5ed6ff3b9fa256c6ff94dcc1398c6f1c languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.75.16": - version: 0.75.16 - resolution: "@polkadot/dev-ts@npm:0.75.16" +"@polkadot/dev-ts@npm:^0.75.19": + version: 0.75.19 + resolution: "@polkadot/dev-ts@npm:0.75.19" dependencies: json5: ^2.2.3 tslib: ^2.5.3 typescript: ^5.1.3 - checksum: 87df9766ccacb56edd66d3b3073f1920939f13fc883de8759014fb2e788b3c9abd24eecaa9d91f934ed37c0715d48eacb4cc4b5d99e11e7347593ef3e505bb70 + checksum: efc93f826c5dd1c54b472a61e8cdaeb83f167eaa94194b391d22b8adf2bcf578ed2b9251c863c45907b43ce45c12cde441872f43b1bc69c03983c1a4ee7c2e87 languageName: node linkType: hard -"@polkadot/dev@npm:^0.75.16": - version: 0.75.16 - resolution: "@polkadot/dev@npm:0.75.16" +"@polkadot/dev@npm:^0.75.19": + version: 0.75.19 + resolution: "@polkadot/dev@npm:0.75.19" dependencies: "@eslint/js": ^8.42.0 - "@polkadot/dev-test": ^0.75.16 - "@polkadot/dev-ts": ^0.75.16 + "@polkadot/dev-test": ^0.75.19 + "@polkadot/dev-ts": ^0.75.19 "@rollup/plugin-alias": ^5.0.0 "@rollup/plugin-commonjs": ^25.0.0 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -1466,8 +1466,8 @@ __metadata: "@rollup/plugin-json": ^6.0.0 "@rollup/plugin-node-resolve": ^15.1.0 "@tsconfig/strictest": ^2.0.1 - "@typescript-eslint/eslint-plugin": ^5.59.8 - "@typescript-eslint/parser": ^5.59.8 + "@typescript-eslint/eslint-plugin": ^5.59.9 + "@typescript-eslint/parser": ^5.59.9 eslint: ^8.42.0 eslint-config-standard: ^17.1.0 eslint-import-resolver-node: ^0.3.7 @@ -1489,12 +1489,12 @@ __metadata: globals: ^13.20.0 json5: ^2.2.3 madge: ^6.1.0 - rollup: ^3.23.0 + rollup: ^3.24.0 rollup-plugin-cleanup: ^3.2.1 tslib: ^2.5.3 typescript: ^5.1.3 - webpack: ^5.85.0 - webpack-cli: ^5.1.2 + webpack: ^5.86.0 + webpack-cli: ^5.1.4 webpack-dev-server: ^4.15.0 webpack-merge: ^5.9.0 webpack-subresource-integrity: ^5.2.0-rc.1 @@ -1523,32 +1523,32 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 17bd59605879803792189a771ba91ea500a1dcfab528856d14fed0c9a3628306107348be47e0ef1465dbe93f860ae34a9c0f05d58f568fea3b38df4e31ebf5e2 + checksum: ab5e3c64f125508c068ca2e3f784947b1ddd1196f71cfc820b9bd11fae28548926865f18dadbb8321a646dba4d80f44122890a54efb97bef370b92a2e5f0fc46 languageName: node linkType: hard -"@polkadot/keyring@npm:^12.2.2": - version: 12.2.2 - resolution: "@polkadot/keyring@npm:12.2.2" +"@polkadot/keyring@npm:^12.3.1": + version: 12.3.1 + resolution: "@polkadot/keyring@npm:12.3.1" dependencies: - "@polkadot/util": 12.2.2 - "@polkadot/util-crypto": 12.2.2 + "@polkadot/util": 12.3.1 + "@polkadot/util-crypto": 12.3.1 tslib: ^2.5.3 peerDependencies: - "@polkadot/util": 12.2.2 - "@polkadot/util-crypto": 12.2.2 - checksum: 974d744e76dd6e0b3a8007a2f5fb7fb4c7aa7267ec4ca5ad9ea5ef6e149e23d9b4e8b296cff954a350e0fdaee6f01722083644613890d872eaf668dade6ecac7 + "@polkadot/util": 12.3.1 + "@polkadot/util-crypto": 12.3.1 + checksum: c14ce1f9b237e855ff380630cb9cde53b32735c3e6fe7cc45184dab4030ea84d6d281c99141f556e9e3a993a0556320f4751d7bfc34d24d8ad3e7b3f88006605 languageName: node linkType: hard -"@polkadot/networks@npm:12.2.2, @polkadot/networks@npm:^12.2.2": - version: 12.2.2 - resolution: "@polkadot/networks@npm:12.2.2" +"@polkadot/networks@npm:12.3.1, @polkadot/networks@npm:^12.3.1": + version: 12.3.1 + resolution: "@polkadot/networks@npm:12.3.1" dependencies: - "@polkadot/util": 12.2.2 + "@polkadot/util": 12.3.1 "@substrate/ss58-registry": ^1.40.0 tslib: ^2.5.3 - checksum: 70250addc52a1eee1a7ecb201b1d11c8aa5aa42edcb49fe4bd5759e50143e970447f688962dab0c32d753b59bfa2918e87353908216920201b3cc8a8e7690a3e + checksum: 734ea213dc3fc8f15f9cb7da375f9cdac447b29e1f446cab557f23f8553e188da5f2ca0de61fd48fe629cd6b57c2f6b80462091914539ca46f656ec49f61b678 languageName: node linkType: hard @@ -1556,11 +1556,11 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/react-identicon@workspace:packages/react-identicon" dependencies: - "@polkadot/keyring": ^12.2.2 + "@polkadot/keyring": ^12.3.1 "@polkadot/ui-settings": 3.4.2 "@polkadot/ui-shared": 3.4.2 - "@polkadot/util": ^12.2.2 - "@polkadot/util-crypto": ^12.2.2 + "@polkadot/util": ^12.3.1 + "@polkadot/util-crypto": ^12.3.1 "@types/react-copy-to-clipboard": ^5.0.4 "@types/react-dom": ^18.2.4 "@types/styled-components": ^5.1.26 @@ -1585,8 +1585,8 @@ __metadata: resolution: "@polkadot/react-qr@workspace:packages/react-qr" dependencies: "@polkadot/ui-settings": 3.4.2 - "@polkadot/util": ^12.2.2 - "@polkadot/util-crypto": ^12.2.2 + "@polkadot/util": ^12.3.1 + "@polkadot/util-crypto": ^12.3.1 "@types/react-qr-reader": ^2.1.4 "@types/styled-components": ^5.1.26 qrcode-generator: ^1.4.4 @@ -1607,8 +1607,8 @@ __metadata: resolution: "@polkadot/reactnative-identicon@workspace:packages/reactnative-identicon" dependencies: "@polkadot/ui-shared": 3.4.2 - "@polkadot/util": ^12.2.2 - "@polkadot/util-crypto": ^12.2.2 + "@polkadot/util": ^12.3.1 + "@polkadot/util-crypto": ^12.3.1 "@types/react-native": ^0.72.2 react-native-svg: ^12.5.1 tslib: ^2.5.3 @@ -1624,10 +1624,10 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/ui-keyring@workspace:packages/ui-keyring" dependencies: - "@polkadot/keyring": ^12.2.2 + "@polkadot/keyring": ^12.3.1 "@polkadot/ui-settings": 3.4.2 - "@polkadot/util": ^12.2.2 - "@polkadot/util-crypto": ^12.2.2 + "@polkadot/util": ^12.3.1 + "@polkadot/util-crypto": ^12.3.1 "@types/mkdirp": ^2.0.0 "@types/store": ^2.0.2 mkdirp: ^3.0.1 @@ -1645,8 +1645,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/ui-settings@workspace:packages/ui-settings" dependencies: - "@polkadot/networks": ^12.2.2 - "@polkadot/util": ^12.2.2 + "@polkadot/networks": ^12.3.1 + "@polkadot/util": ^12.3.1 "@types/store": ^2.0.2 eventemitter3: ^5.0.1 store: ^2.0.12 @@ -1661,8 +1661,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/ui-shared@workspace:packages/ui-shared" dependencies: - "@polkadot/util": ^12.2.2 - "@polkadot/util-crypto": ^12.2.2 + "@polkadot/util": ^12.3.1 + "@polkadot/util-crypto": ^12.3.1 "@types/xmlserializer": ^0.6.3 colord: ^2.9.3 tslib: ^2.5.3 @@ -1673,38 +1673,38 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/util-crypto@npm:12.2.2, @polkadot/util-crypto@npm:^12.2.2": - version: 12.2.2 - resolution: "@polkadot/util-crypto@npm:12.2.2" +"@polkadot/util-crypto@npm:12.3.1, @polkadot/util-crypto@npm:^12.3.1": + version: 12.3.1 + resolution: "@polkadot/util-crypto@npm:12.3.1" dependencies: "@noble/curves": 1.1.0 "@noble/hashes": 1.3.1 - "@polkadot/networks": 12.2.2 - "@polkadot/util": 12.2.2 + "@polkadot/networks": 12.3.1 + "@polkadot/util": 12.3.1 "@polkadot/wasm-crypto": ^7.2.1 "@polkadot/wasm-util": ^7.2.1 - "@polkadot/x-bigint": 12.2.2 - "@polkadot/x-randomvalues": 12.2.2 + "@polkadot/x-bigint": 12.3.1 + "@polkadot/x-randomvalues": 12.3.1 "@scure/base": 1.1.1 tslib: ^2.5.3 peerDependencies: - "@polkadot/util": 12.2.2 - checksum: 06c8db2a46bb330ec8b65a92969f1ae795f72ca262f8b5d704d0b948fac4c692a9c62f502f6bb57603a7c802d84badd9a4f5ea5cb1b80f99fc4dad36262578fb + "@polkadot/util": 12.3.1 + checksum: 87a76a4126b28f0c7caa3d52c194dc2a83f86ef9e7c5df5ccf5e1485969043b0a1acead28e8373c5168ba228b61f753dec444042c470ef2f8e5275980ea5a16c languageName: node linkType: hard -"@polkadot/util@npm:12.2.2, @polkadot/util@npm:^12.2.2": - version: 12.2.2 - resolution: "@polkadot/util@npm:12.2.2" +"@polkadot/util@npm:12.3.1, @polkadot/util@npm:^12.3.1": + version: 12.3.1 + resolution: "@polkadot/util@npm:12.3.1" dependencies: - "@polkadot/x-bigint": 12.2.2 - "@polkadot/x-global": 12.2.2 - "@polkadot/x-textdecoder": 12.2.2 - "@polkadot/x-textencoder": 12.2.2 + "@polkadot/x-bigint": 12.3.1 + "@polkadot/x-global": 12.3.1 + "@polkadot/x-textdecoder": 12.3.1 + "@polkadot/x-textencoder": 12.3.1 "@types/bn.js": ^5.1.1 bn.js: ^5.2.1 tslib: ^2.5.3 - checksum: e15517e51d66cc2a695f56b7296bbc88441d7f98a20540b7ddd67c3f01cf71b058dcf15d44d6a0c6f6be221685bb20757b043a87ddf9721d92d23fe8fafae989 + checksum: e01c0633c1fd060bd193f5a55f08931b1183d0c3a99f03bb0d45258739870d6a433198042165c9862734666b6c8a2b925350a9f5e8e00942a88af326d50ea74a languageName: node linkType: hard @@ -1713,8 +1713,8 @@ __metadata: resolution: "@polkadot/vue-identicon@workspace:packages/vue-identicon" dependencies: "@polkadot/ui-shared": 3.4.2 - "@polkadot/util": ^12.2.2 - "@polkadot/util-crypto": ^12.2.2 + "@polkadot/util": ^12.3.1 + "@polkadot/util-crypto": ^12.3.1 jdenticon: 3.2.0 tslib: ^2.5.3 vue: ^2.7.14 @@ -1805,66 +1805,66 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.2.2": - version: 12.2.2 - resolution: "@polkadot/x-bigint@npm:12.2.2" +"@polkadot/x-bigint@npm:12.3.1": + version: 12.3.1 + resolution: "@polkadot/x-bigint@npm:12.3.1" dependencies: - "@polkadot/x-global": 12.2.2 + "@polkadot/x-global": 12.3.1 tslib: ^2.5.3 - checksum: 7416303c1213d38d2eed67950a9bec7872b742f714f55b71abed188d21f636b221fbe36c48714d42d19d450ba18da7ee104cd807c236cc912079de0553558538 + checksum: 911d1ff129ac3c48ac3242cb8e1cecacee29a45dc1e2435baad59464dd9d033ab74caaf12fb73e89e794cdb079afa01bd9c77d199bedc6462836b846f3de51b2 languageName: node linkType: hard -"@polkadot/x-bundle@npm:^12.2.2": - version: 12.2.2 - resolution: "@polkadot/x-bundle@npm:12.2.2" +"@polkadot/x-bundle@npm:^12.3.1": + version: 12.3.1 + resolution: "@polkadot/x-bundle@npm:12.3.1" dependencies: - "@polkadot/util": 12.2.2 + "@polkadot/util": 12.3.1 buffer-es6: ^4.9.3 tslib: ^2.5.3 - checksum: 6512fb7a2406ed0030e8233c7d7ddd8947ec3a3ec9c2923e09092193b9960611c86482caa4d676ae3a2209303bd4f909d5f52032ab0ae14e5fc03c1ea42f8043 + checksum: 1aafabf3d4e90640aa10ed94639db7f38ef65a4575b7a20cdab6588277c4cba52f2214ceba85fe945203a9aead8883a867f3712302b1e102c29ad8aa3ee1ea50 languageName: node linkType: hard -"@polkadot/x-global@npm:12.2.2": - version: 12.2.2 - resolution: "@polkadot/x-global@npm:12.2.2" +"@polkadot/x-global@npm:12.3.1": + version: 12.3.1 + resolution: "@polkadot/x-global@npm:12.3.1" dependencies: tslib: ^2.5.3 - checksum: ddd04b2cc2833d0154928f0a61114ecb21c4cb220c5f72120f41063bceb654541048c38492b39cccb625cd198342017194f20e8d919747d4a23c26907bc97fde + checksum: cd5428429595b457ec7149735bd6ca9c74645351388490332e7f6e4711123c46a279968a79e145dc2ab134d6e3b40ab0042caf6c23619b901aa1a9e7db956535 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:12.2.2": - version: 12.2.2 - resolution: "@polkadot/x-randomvalues@npm:12.2.2" +"@polkadot/x-randomvalues@npm:12.3.1": + version: 12.3.1 + resolution: "@polkadot/x-randomvalues@npm:12.3.1" dependencies: - "@polkadot/x-global": 12.2.2 + "@polkadot/x-global": 12.3.1 tslib: ^2.5.3 peerDependencies: - "@polkadot/util": 12.2.2 + "@polkadot/util": 12.3.1 "@polkadot/wasm-util": "*" - checksum: 123be88954eb20bcd72216ddd5d05f60de16ef767cd488f08a5e02540210b4bc4a499db1ab433b953bda468c53a28132dc08e962a1b0d6fd4b837ae6db3ef90a + checksum: 9557aa248b190be84f998547289dbf36ddac0edb7b41bf11095b37ccdd1be3bb7b2d0283ccf476491a9760664578f5f5d690996b08b93e395d7921d6e3f8288a languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:12.2.2": - version: 12.2.2 - resolution: "@polkadot/x-textdecoder@npm:12.2.2" +"@polkadot/x-textdecoder@npm:12.3.1": + version: 12.3.1 + resolution: "@polkadot/x-textdecoder@npm:12.3.1" dependencies: - "@polkadot/x-global": 12.2.2 + "@polkadot/x-global": 12.3.1 tslib: ^2.5.3 - checksum: 5ab4703c1ef7170db8625413fc69e417f5faccabdfc99ffc44f4b0e27c60e8a30818ff2450342d9e9782735209491bb7a43893245f27c0e3ffd64aa4c781ddfc + checksum: 81f6b33eb1bd11201a5fe2c750905ec6ec58fe0ca955e3d1785177e9c829f999f1b845a7d4b1b1e1f3bf7cfa7c5bd6cc11876c15ffbd9016ddc94edcb140dcd2 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:12.2.2": - version: 12.2.2 - resolution: "@polkadot/x-textencoder@npm:12.2.2" +"@polkadot/x-textencoder@npm:12.3.1": + version: 12.3.1 + resolution: "@polkadot/x-textencoder@npm:12.3.1" dependencies: - "@polkadot/x-global": 12.2.2 + "@polkadot/x-global": 12.3.1 tslib: ^2.5.3 - checksum: 0f13ddf178b945b9a5e7e1b617e3002611a4b94acc30c58d9db002054c0050c96dbf1c5666cd11bde3f4ad6ab79232264b72b77d7a3cb17e45d86a5cabfa57f3 + checksum: 42cd95519a2433ff1578cfe43db3f7a85373a5739eacba37ce5680df4015c337a103ec699558c99e5efbdd486fca8764b0a080ceec86b1faf712b1fe5c482a0e languageName: node linkType: hard @@ -2694,14 +2694,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.59.8": - version: 5.59.8 - resolution: "@typescript-eslint/eslint-plugin@npm:5.59.8" +"@typescript-eslint/eslint-plugin@npm:^5.59.9": + version: 5.59.9 + resolution: "@typescript-eslint/eslint-plugin@npm:5.59.9" dependencies: "@eslint-community/regexpp": ^4.4.0 - "@typescript-eslint/scope-manager": 5.59.8 - "@typescript-eslint/type-utils": 5.59.8 - "@typescript-eslint/utils": 5.59.8 + "@typescript-eslint/scope-manager": 5.59.9 + "@typescript-eslint/type-utils": 5.59.9 + "@typescript-eslint/utils": 5.59.9 debug: ^4.3.4 grapheme-splitter: ^1.0.4 ignore: ^5.2.0 @@ -2714,43 +2714,43 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 3e05cd06149ec3741c3c2fb638e2d19a55687b4614a5c8820433db82997687650297e51c17828d320162ccf4241798cf5712c405561e7605cb17e984a6967f7b + checksum: bd2428e307085d7fa6699913b6e61d65eb450bbcd26f884390cbf16722b80e1d80dc289c72774be1cdffd022744894204c3242f40ba3ffdfa05d3f210c4130bb languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.59.8": - version: 5.59.8 - resolution: "@typescript-eslint/parser@npm:5.59.8" +"@typescript-eslint/parser@npm:^5.59.9": + version: 5.59.9 + resolution: "@typescript-eslint/parser@npm:5.59.9" dependencies: - "@typescript-eslint/scope-manager": 5.59.8 - "@typescript-eslint/types": 5.59.8 - "@typescript-eslint/typescript-estree": 5.59.8 + "@typescript-eslint/scope-manager": 5.59.9 + "@typescript-eslint/types": 5.59.9 + "@typescript-eslint/typescript-estree": 5.59.9 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: bac9f09d8552086ceb882a7b87ce4d98dfaa41579249216c75d97e3fc07af33cddc4cbbd07a127a5823c826a258882643aaf658bec19cb2a434002b55c5f0d12 + checksum: 69b07d0a5bc6e1d24d23916c057ea9f2f53a0e7fb6dabadff92987c299640edee2c013fb93269322c7124e87b5c515529001397eae33006dfb40e1dcdf1902d7 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.59.8": - version: 5.59.8 - resolution: "@typescript-eslint/scope-manager@npm:5.59.8" +"@typescript-eslint/scope-manager@npm:5.59.9": + version: 5.59.9 + resolution: "@typescript-eslint/scope-manager@npm:5.59.9" dependencies: - "@typescript-eslint/types": 5.59.8 - "@typescript-eslint/visitor-keys": 5.59.8 - checksum: e1e810ee991cfeb433330b04ee949bb6784abe4dbdb7d9480aa7a7536671b4fec914b7803edf662516c8ecb1b31dcff126797f9923270a529c26e2b00b0ea96f + "@typescript-eslint/types": 5.59.9 + "@typescript-eslint/visitor-keys": 5.59.9 + checksum: 362c22662d844440a7e14223d8cc0722f77ff21ad8f78deb0ee3b3f21de01b8846bf25fbbf527544677e83d8ff48008b3f7d40b39ddec55994ea4a1863e9ec0a languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.59.8": - version: 5.59.8 - resolution: "@typescript-eslint/type-utils@npm:5.59.8" +"@typescript-eslint/type-utils@npm:5.59.9": + version: 5.59.9 + resolution: "@typescript-eslint/type-utils@npm:5.59.9" dependencies: - "@typescript-eslint/typescript-estree": 5.59.8 - "@typescript-eslint/utils": 5.59.8 + "@typescript-eslint/typescript-estree": 5.59.9 + "@typescript-eslint/utils": 5.59.9 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -2758,7 +2758,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: d9fde31397da0f0e62a5568f64bad99d06bcd324b7e3aac7fd997a3d045a0fe4c084b2e85d440e0a39645acd2269ad6593f196399c2c0f880d293417fec894e3 + checksum: 6bc2619c5024c152b181eff1f44c9b5e7d0fc75ce9403f03b39d59fc1e13191b2fbaf6730f26a1caae22922ac47489f39c2cebccdd713588f6963169ed2a7958 languageName: node linkType: hard @@ -2769,19 +2769,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.59.8": - version: 5.59.8 - resolution: "@typescript-eslint/types@npm:5.59.8" - checksum: 559473d5601c849eb0da1874a2ac67c753480beed484ad6f6cda62fa6023273f2c3005c7f2864d9c2afb7c6356412d0d304b57db10c53597207f18a7f6cd4f18 +"@typescript-eslint/types@npm:5.59.9": + version: 5.59.9 + resolution: "@typescript-eslint/types@npm:5.59.9" + checksum: 283f8fee1ee590eeccc2e0fcd3526c856c4b1e2841af2cdcd09eeac842a42cfb32f6bc8b40385380f3dbc3ee29da30f1819115eedf9e16f69ff5a160aeddd8fa languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.59.8, @typescript-eslint/typescript-estree@npm:^5.13.0": - version: 5.59.8 - resolution: "@typescript-eslint/typescript-estree@npm:5.59.8" +"@typescript-eslint/typescript-estree@npm:5.59.9, @typescript-eslint/typescript-estree@npm:^5.13.0": + version: 5.59.9 + resolution: "@typescript-eslint/typescript-estree@npm:5.59.9" dependencies: - "@typescript-eslint/types": 5.59.8 - "@typescript-eslint/visitor-keys": 5.59.8 + "@typescript-eslint/types": 5.59.9 + "@typescript-eslint/visitor-keys": 5.59.9 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -2790,7 +2790,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: d93371cc866f573a6a1ddc0eb10d498a8e59f36763a99ce21da0737fff2b4c942eef1587216aad273f8d896ebc0b19003677cba63a27d2646aa2c087638963eb + checksum: c0c9b81f20a2a4337f07bc3ccdc9c1dabd765f59096255ed9a149e91e5c9517b25c2b6655f8f073807cfc13500c7451fbd9bb62e5e572c07cc07945ab042db89 languageName: node linkType: hard @@ -2812,21 +2812,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.59.8, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": - version: 5.59.8 - resolution: "@typescript-eslint/utils@npm:5.59.8" +"@typescript-eslint/utils@npm:5.59.9, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": + version: 5.59.9 + resolution: "@typescript-eslint/utils@npm:5.59.9" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.59.8 - "@typescript-eslint/types": 5.59.8 - "@typescript-eslint/typescript-estree": 5.59.8 + "@typescript-eslint/scope-manager": 5.59.9 + "@typescript-eslint/types": 5.59.9 + "@typescript-eslint/typescript-estree": 5.59.9 eslint-scope: ^5.1.1 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: cbaa057485c7f52c45d0dfb4f5a8e9273abccb1c52dcb4426a79f9e71d2c1062cf2525bad6d4aca5ec42db3fe723d749843bcade5a323bde7fbe4b5d5b5d5c3b + checksum: 22ec5962886de7dcf65f99c37aad9fb189a3bef6b2b07c81887fb82a0e8bf137246da58e64fb02141352285708440be13acd7f6db1ca19e96f86724813ac4646 languageName: node linkType: hard @@ -2840,13 +2840,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.59.8": - version: 5.59.8 - resolution: "@typescript-eslint/visitor-keys@npm:5.59.8" +"@typescript-eslint/visitor-keys@npm:5.59.9": + version: 5.59.9 + resolution: "@typescript-eslint/visitor-keys@npm:5.59.9" dependencies: - "@typescript-eslint/types": 5.59.8 + "@typescript-eslint/types": 5.59.9 eslint-visitor-keys: ^3.3.0 - checksum: 6bfa7918dbb0e08d8a7404aeeef7bcd1a85736dc8d01614d267c0c5ec10f94d2746b50a945bf5c82c54fda67926e8deaeba8565c919da17f725fc11209ef8987 + checksum: 2909ce761f7fe546592cd3c43e33263d8a5fa619375fd2fdffbc72ffc33e40d6feacafb28c79f36c638fcc2225048e7cc08c61cbac6ca63723dc68610d80e3e6 languageName: node linkType: hard @@ -10631,10 +10631,10 @@ __metadata: languageName: node linkType: hard -"react-native-gradle-plugin@npm:^0.71.18": - version: 0.71.18 - resolution: "react-native-gradle-plugin@npm:0.71.18" - checksum: 19f0a41e29c9210ff495010aaa612f2c2f4f5f937b6c20266c8dc62f4ccedc65bb7576de59b2f3fd2bb8044ce9785e56673879f2eb452f948e6659a5e1fa5894 +"react-native-gradle-plugin@npm:^0.71.19": + version: 0.71.19 + resolution: "react-native-gradle-plugin@npm:0.71.19" + checksum: 2e3ab679f0b81edd81b9fb88a73a16c8b9b6dbef4e7158fd894c42e6dff04ba8d11f1b9663ffa2c30d0d9deee3cd44b033cd280322c010be3c290e4422088a7a languageName: node linkType: hard @@ -10651,9 +10651,9 @@ __metadata: languageName: node linkType: hard -"react-native@npm:^0.71.8": - version: 0.71.8 - resolution: "react-native@npm:0.71.8" +"react-native@npm:^0.71.10": + version: 0.71.10 + resolution: "react-native@npm:0.71.10" dependencies: "@jest/create-cache-key-function": ^29.2.1 "@react-native-community/cli": 10.2.2 @@ -10680,7 +10680,7 @@ __metadata: promise: ^8.3.0 react-devtools-core: ^4.26.1 react-native-codegen: ^0.71.5 - react-native-gradle-plugin: ^0.71.18 + react-native-gradle-plugin: ^0.71.19 react-refresh: ^0.4.0 react-shallow-renderer: ^16.15.0 regenerator-runtime: ^0.13.2 @@ -10693,7 +10693,7 @@ __metadata: react: 18.2.0 bin: react-native: cli.js - checksum: fe887c1b8bded23f9efea9dc10a8a8b2f32147e06418fc9a78294944874797abb0185ebcb0fdc5ce88046280bca72264ae8d119f4ca681a3e0bc502d0f75bfbe + checksum: 08780690cdbdb15798bb59666ab7deabb4555904e78bcade60be42a35ea75365a668c2b5da1f3b431a66d0f1614e143344024ed8be49c219cd034a17fabb1ae9 languageName: node linkType: hard @@ -11199,9 +11199,9 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^3.23.0": - version: 3.23.0 - resolution: "rollup@npm:3.23.0" +"rollup@npm:^3.24.0": + version: 3.24.0 + resolution: "rollup@npm:3.24.0" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -11209,7 +11209,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 0721065cf725c5611815be61d2b01f20b4d0027e17035f6e76384d38396b56cf6ed21a3db78eb004d9db4d24c8a6a19da4563b4ff96b5dd36f0a0f7a3baf85e8 + checksum: 373d0062a79cfce3583d4f6b7ab8ac9aa3201a9af1fa20b24f61a4ddea95a45974c4a8baed3087cb4e7bfc34a9dcd6774b7a635eb071ba52f97f51a59e860d6e languageName: node linkType: hard @@ -11217,13 +11217,13 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.75.16 - "@polkadot/x-bundle": ^12.2.2 + "@polkadot/dev": ^0.75.19 + "@polkadot/x-bundle": ^12.3.1 "@types/node": ^20.2.5 react: ^18.2.0 react-dom: ^18.2.0 react-is: ^18.2.0 - react-native: ^0.71.8 + react-native: ^0.71.10 languageName: unknown linkType: soft @@ -13000,9 +13000,9 @@ __metadata: languageName: node linkType: hard -"webpack-cli@npm:^5.1.2": - version: 5.1.2 - resolution: "webpack-cli@npm:5.1.2" +"webpack-cli@npm:^5.1.4": + version: 5.1.4 + resolution: "webpack-cli@npm:5.1.4" dependencies: "@discoveryjs/json-ext": ^0.5.0 "@webpack-cli/configtest": ^2.1.1 @@ -13028,7 +13028,7 @@ __metadata: optional: true bin: webpack-cli: bin/cli.js - checksum: 7bf33c82a6737dbf53294f467066395545884f648f44f961fbe16ed06d6c5fb3239ce51ad4b3af5b1ab038352a24861dbde8d92e0985a34c7bbd1893096b750e + checksum: 3a4ad0d0342a6815c850ee4633cc2a8a5dae04f918e7847f180bf24ab400803cf8a8943707ffbed03eb20fe6ce647f996f60a2aade87b0b4a9954da3da172ce0 languageName: node linkType: hard @@ -13124,9 +13124,9 @@ __metadata: languageName: node linkType: hard -"webpack@npm:^5.85.0": - version: 5.85.0 - resolution: "webpack@npm:5.85.0" +"webpack@npm:^5.86.0": + version: 5.86.0 + resolution: "webpack@npm:5.86.0" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^1.0.0 @@ -13157,7 +13157,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: b013be9fbc7f6810d1f229f570c70710ddbc7290f817411acffe4214b2b6c783a041ab1f2005d9e1109f4ab21c136f0f8d8c067a5fb64f20a82dcbc1ee0d3f42 + checksum: 682b1aa8328bb9d52ae66a1d0a1078af88f9e3b3b3a9c9e1ce203e669581a8e61d522420ef253130eacd510d24d7275b840c1311d50bd048d6fd7c1af186ce55 languageName: node linkType: hard