mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-13 01:51:01 +00:00
Use objectSpread as applicable (#538)
* Use objectSpread as applicable * Updates * Add objectSpread import
This commit is contained in:
+2
-2
@@ -34,9 +34,9 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.15.8",
|
||||
"@babel/runtime": "^7.15.4",
|
||||
"@polkadot/dev": "^0.63.22",
|
||||
"@polkadot/dev": "^0.63.25",
|
||||
"@polkadot/ts": "^0.4.13",
|
||||
"@polkadot/x-bundle": "^7.7.1",
|
||||
"@polkadot/x-bundle": "^7.7.2-6",
|
||||
"@types/jest": "^27.0.2",
|
||||
"babel-plugin-transform-vue-template": "^0.4.2",
|
||||
"empty": "^0.10.1",
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^7.7.1",
|
||||
"@polkadot/keyring": "^7.7.2-6",
|
||||
"@polkadot/reactnative-identicon": "0.86.4-0",
|
||||
"@polkadot/ui-keyring": "0.86.4-0",
|
||||
"@polkadot/ui-settings": "0.86.4-0",
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/util-crypto": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"@polkadot/util-crypto": "^7.7.2-6",
|
||||
"@react-native-community/async-storage": "^1.12.1",
|
||||
"fast-text-encoding": "^1.0.3",
|
||||
"get-yarn-workspaces": "^1.0.2",
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.15.4",
|
||||
"@polkadot/keyring": "^7.7.1",
|
||||
"@polkadot/keyring": "^7.7.2-6",
|
||||
"@polkadot/ui-settings": "0.86.4-0",
|
||||
"@polkadot/ui-shared": "0.86.4-0",
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/util-crypto": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"@polkadot/util-crypto": "^7.7.2-6",
|
||||
"color": "^3.2.1",
|
||||
"ethereum-blockies-base64": "^1.0.2",
|
||||
"jdenticon": "3.1.1",
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.15.4",
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/util-crypto": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"@polkadot/util-crypto": "^7.7.2-6",
|
||||
"qrcode-generator": "^1.4.4",
|
||||
"react-qr-reader": "^2.2.1",
|
||||
"styled-components": "^5.3.3"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { objectSpread } from '@polkadot/util';
|
||||
import { xxhashAsHex } from '@polkadot/util-crypto';
|
||||
|
||||
import { qrcode } from './qrcode';
|
||||
@@ -73,11 +74,10 @@ function Display ({ className, size, skipEncoding, style, value }: Props): React
|
||||
// only encode the frames on demand, not above as part of the
|
||||
// state derivation - in the case of large payloads, this should
|
||||
// be slightly more responsive on initial load
|
||||
return {
|
||||
...state,
|
||||
return objectSpread({}, state, {
|
||||
frameIdx,
|
||||
image: getDataUrl(state.frames[frameIdx])
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
timerRef.current.timerId = window.setTimeout(nextFrame, FRAME_DELAY);
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.15.4",
|
||||
"@polkadot/ui-shared": "0.86.4-0",
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/util-crypto": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"@polkadot/util-crypto": "^7.7.2-6",
|
||||
"react-native-svg": "^12.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.15.4",
|
||||
"@polkadot/hw-ledger": "^7.7.1",
|
||||
"@polkadot/keyring": "^7.7.1",
|
||||
"@polkadot/hw-ledger": "^7.7.2-6",
|
||||
"@polkadot/keyring": "^7.7.2-6",
|
||||
"@polkadot/ui-settings": "0.86.4-0",
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"mkdirp": "^1.0.4",
|
||||
"rxjs": "^7.4.0",
|
||||
"store": "^2.0.12"
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { CreateResult, KeyringAddress, KeyringAddressType, KeyringItemType,
|
||||
|
||||
import { createPair } from '@polkadot/keyring';
|
||||
import { chains } from '@polkadot/ui-settings';
|
||||
import { bnToBn, hexToU8a, isHex, isString, stringToU8a, u8aSorted, u8aToString } from '@polkadot/util';
|
||||
import { bnToBn, hexToU8a, isHex, isString, objectSpread, stringToU8a, u8aSorted, u8aToString } from '@polkadot/util';
|
||||
import { base64Decode, createKeyMulti, jsonDecrypt, jsonEncrypt } from '@polkadot/util-crypto';
|
||||
|
||||
import { env } from './observable/env';
|
||||
@@ -33,7 +33,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
};
|
||||
|
||||
public addExternal (address: string | Uint8Array, meta: KeyringPair$Meta = {}): CreateResult {
|
||||
const pair = this.keyring.addFromAddress(address, { ...meta, isExternal: true }, null);
|
||||
const pair = this.keyring.addFromAddress(address, objectSpread<KeyringJson$Meta>({}, meta, { isExternal: true }), null);
|
||||
|
||||
return {
|
||||
json: this.saveAccount(pair),
|
||||
@@ -42,7 +42,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
}
|
||||
|
||||
public addHardware (address: string | Uint8Array, hardwareType: string, meta: KeyringPair$Meta = {}): CreateResult {
|
||||
return this.addExternal(address, { ...meta, hardwareType, isHardware: true });
|
||||
return this.addExternal(address, objectSpread<KeyringPair$Meta>({}, meta, { hardwareType, isHardware: true }));
|
||||
}
|
||||
|
||||
public addMultisig (addresses: (string | Uint8Array)[], threshold: bigint | BN | number, meta: KeyringPair$Meta = {}): CreateResult {
|
||||
@@ -51,7 +51,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
// we could use `sortAddresses`, but rather use internal encode/decode so we are 100%
|
||||
const who = u8aSorted(addresses.map((who) => this.decodeAddress(who))).map((who) => this.encodeAddress(who));
|
||||
|
||||
return this.addExternal(address, { ...meta, isMultisig: true, threshold: bnToBn(threshold).toNumber(), who });
|
||||
return this.addExternal(address, objectSpread<KeyringPair$Meta>({}, meta, { isMultisig: true, threshold: bnToBn(threshold).toNumber(), who }));
|
||||
}
|
||||
|
||||
public addPair (pair: KeyringPair, password: string): CreateResult {
|
||||
@@ -91,17 +91,20 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
|
||||
const accounts = await Promise.all(accountPromises);
|
||||
|
||||
return {
|
||||
...jsonEncrypt(stringToU8a(JSON.stringify(accounts)), ['batch-pkcs8'], password),
|
||||
return objectSpread({}, jsonEncrypt(stringToU8a(JSON.stringify(accounts)), ['batch-pkcs8'], password), {
|
||||
accounts: accounts.map((account) => ({
|
||||
address: account.address,
|
||||
meta: account.meta
|
||||
}))
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
public createFromJson (json: KeyringPair$Json, meta: KeyringPair$Meta = {}): KeyringPair {
|
||||
return this.keyring.createFromJson({ ...json, meta: { ...(json.meta || {}), meta } });
|
||||
return this.keyring.createFromJson(
|
||||
objectSpread({}, json, {
|
||||
meta: objectSpread({}, json.meta, meta)
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
public createFromUri (suri: string, meta: KeyringPair$Meta = {}, type?: KeypairType): KeyringPair {
|
||||
@@ -249,10 +252,7 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
private loadInjected (address: string, meta: KeyringJson$Meta, type?: KeypairType): void {
|
||||
const json = {
|
||||
address,
|
||||
meta: {
|
||||
...meta,
|
||||
isInjected: true
|
||||
}
|
||||
meta: objectSpread<KeyringJson$Meta>({}, meta, { isInjected: true })
|
||||
};
|
||||
const pair = this.keyring.addFromAddress(address, json.meta, null, type);
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ import type { AddressSubject, SingleAddress, SubjectInfo } from './types';
|
||||
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
import { objectCopy, objectSpread } from '@polkadot/util';
|
||||
|
||||
import { createOptionItem } from '../options/item';
|
||||
import { env } from './env';
|
||||
|
||||
@@ -34,10 +36,10 @@ export function genericSubject (keyCreator: (address: string) => string, withTes
|
||||
|
||||
return {
|
||||
add: (store: KeyringStore, address: string, json: KeyringJson, type?: KeypairType): SingleAddress => {
|
||||
current = { ...current };
|
||||
current = objectCopy(current);
|
||||
|
||||
current[address] = {
|
||||
json: { ...json, address },
|
||||
json: objectSpread({}, json, { address }),
|
||||
option: createOptionItem(address, json.meta.name),
|
||||
type
|
||||
};
|
||||
@@ -52,7 +54,7 @@ export function genericSubject (keyCreator: (address: string) => string, withTes
|
||||
return current[address];
|
||||
},
|
||||
remove: (store: KeyringStore, address: string): void => {
|
||||
current = { ...current };
|
||||
current = objectCopy(current);
|
||||
|
||||
delete current[address];
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.15.4",
|
||||
"@polkadot/networks": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/networks": "^7.7.2-6",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { selectableNetworks } from '@polkadot/networks';
|
||||
import { objectSpread } from '@polkadot/util';
|
||||
|
||||
type ChainDef = string[];
|
||||
|
||||
const chains: Record <string, ChainDef> = selectableNetworks
|
||||
.filter((n) => n.genesisHash.length)
|
||||
.reduce((chains, { genesisHash, network }) => ({ ...chains, [network]: genesisHash }), {});
|
||||
.reduce((chains, { genesisHash, network }) => objectSpread(chains, { [network]: genesisHash }), {});
|
||||
|
||||
export { chains };
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
"color": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/util-crypto": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"@polkadot/util-crypto": "^7.7.2-6",
|
||||
"@types/color": "^3.0.2",
|
||||
"@types/xmlserializer": "^0.6.2"
|
||||
},
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.15.4",
|
||||
"@polkadot/ui-shared": "0.86.4-0",
|
||||
"@polkadot/util": "^7.7.1",
|
||||
"@polkadot/util-crypto": "^7.7.1",
|
||||
"@polkadot/util": "^7.7.2-6",
|
||||
"@polkadot/util-crypto": "^7.7.2-6",
|
||||
"jdenticon": "3.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -2154,18 +2154,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/dev@npm:^0.63.22":
|
||||
version: 0.63.22
|
||||
resolution: "@polkadot/dev@npm:0.63.22"
|
||||
"@polkadot/dev@npm:^0.63.25":
|
||||
version: 0.63.25
|
||||
resolution: "@polkadot/dev@npm:0.63.25"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.16.0
|
||||
"@babel/core": ^7.16.0
|
||||
"@babel/plugin-proposal-class-properties": ^7.16.0
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": ^7.16.0
|
||||
"@babel/plugin-proposal-numeric-separator": ^7.16.0
|
||||
"@babel/plugin-proposal-object-rest-spread": ^7.16.0
|
||||
"@babel/plugin-proposal-optional-chaining": ^7.16.0
|
||||
"@babel/plugin-proposal-private-methods": ^7.16.0
|
||||
"@babel/plugin-syntax-bigint": ^7.8.3
|
||||
"@babel/plugin-syntax-dynamic-import": ^7.8.3
|
||||
"@babel/plugin-syntax-import-meta": ^7.10.4
|
||||
@@ -2244,7 +2241,7 @@ __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: 1c7e0685a6a041699276a2a3c7bc995fe8ad4ef22dcbd263607092db457c18939ede48018cef5da0eb850ebcd79e5a95b3cd58077f433abe80364af8606ee866
|
||||
checksum: 1822a142f911f1489fe718a4da71379c4fa082d27be416b6b050d1e32d1559580d59c99c3f947b713100e2995536d4203669b7d518abb3cc7e75ae618f08eacc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2264,11 +2261,11 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/hw-ledger-transports@npm:7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/hw-ledger-transports@npm:7.7.1"
|
||||
"@polkadot/hw-ledger-transports@npm:7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/hw-ledger-transports@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@ledgerhq/hw-transport": ^6.11.2
|
||||
"@ledgerhq/hw-transport-node-hid-singleton": ^6.11.2
|
||||
"@ledgerhq/hw-transport-webhid": ^6.11.2
|
||||
@@ -2276,42 +2273,42 @@ __metadata:
|
||||
dependenciesMeta:
|
||||
"@ledgerhq/hw-transport-node-hid-singleton":
|
||||
optional: true
|
||||
checksum: 9086a82456624e5f3ef6ec3d4a5ce4729b528f4d0942d542ea324ff4dc8ce591471ba6a3c0c78ce63f5decbe2ec607b6ca2cdeb8ffe293ba231df4ee105b49d0
|
||||
checksum: ae2c95999c3813db2e23ebebc01c3e1bb65644e5fd63cc11de637a1ac1191639dbda5eb740a501a197c40ee0f1874c230173f2833f46138d0089e36da53e2659
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/hw-ledger@npm:^7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/hw-ledger@npm:7.7.1"
|
||||
"@polkadot/hw-ledger@npm:^7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/hw-ledger@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/hw-ledger-transports": 7.7.1
|
||||
"@polkadot/util": 7.7.1
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/hw-ledger-transports": 7.7.2-6
|
||||
"@polkadot/util": 7.7.2-6
|
||||
"@zondax/ledger-substrate": ^0.18.0
|
||||
checksum: 7e60fc9de175e775d77bd1255ef78e907d50be0d110b4334d3e9925634c28ff1ae7295288447f7fca8b683c23add19c00cd55ab0bfbddd9e003a5b073afe176d
|
||||
checksum: c411b3d2bd25971c1a5c3f9925a246012d5d6882368497c54fd2e87c1c408ed8ef9f823af782a78aab4dac7e444cc961ae239e12b7b433a9699a7b2eb8ea009b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/keyring@npm:^7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/keyring@npm:7.7.1"
|
||||
"@polkadot/keyring@npm:^7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/keyring@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/util": 7.7.1
|
||||
"@polkadot/util-crypto": 7.7.1
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/util": 7.7.2-6
|
||||
"@polkadot/util-crypto": 7.7.2-6
|
||||
peerDependencies:
|
||||
"@polkadot/util": 7.7.1
|
||||
"@polkadot/util-crypto": 7.7.1
|
||||
checksum: 6de520361052196554454e830b25b66a01b93d1652b1ff843f56a40b9cee55237f5b70c493e1821f32e875ac0a584adede6b1253741e628c306d53b909c18f52
|
||||
"@polkadot/util": 7.7.2-6
|
||||
"@polkadot/util-crypto": 7.7.2-6
|
||||
checksum: 80b1a6b7df23cd497bb1ad4ee047429e9ebc7478267045cf5ae4f749bf63a21e2a334e860bccf198ca048013c43debe91dab2df45ce196d3e3cd4db56c5864bf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/networks@npm:7.7.1, @polkadot/networks@npm:^7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/networks@npm:7.7.1"
|
||||
"@polkadot/networks@npm:7.7.2-6, @polkadot/networks@npm:^7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/networks@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
checksum: c17a14c9c716436f71612cdba9aaae894bff58645124bd7664f2e37a7f2e75caa290fd6aecaaaedc1bc941cc483b8d7f3f554924ea88d82079b27566fea8e116
|
||||
"@babel/runtime": ^7.16.0
|
||||
checksum: d0845cd484eab24d99deca4e56178867b27ad1a00ed0f29a66441089abb7dd4d1bb4846d203a5986bc16b3c5a9b48ccf5a7c9cc3388215fe0f04172275610fdc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2320,11 +2317,11 @@ __metadata:
|
||||
resolution: "@polkadot/react-identicon@workspace:packages/react-identicon"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/keyring": ^7.7.1
|
||||
"@polkadot/keyring": ^7.7.2-6
|
||||
"@polkadot/ui-settings": 0.86.4-0
|
||||
"@polkadot/ui-shared": 0.86.4-0
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/util-crypto": ^7.7.1
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@polkadot/util-crypto": ^7.7.2-6
|
||||
"@types/react-copy-to-clipboard": ^5.0.2
|
||||
"@types/react-dom": ^17.0.10
|
||||
"@types/styled-components": ^5.1.15
|
||||
@@ -2350,8 +2347,8 @@ __metadata:
|
||||
resolution: "@polkadot/react-qr@workspace:packages/react-qr"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/util-crypto": ^7.7.1
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@polkadot/util-crypto": ^7.7.2-6
|
||||
"@types/react-qr-reader": ^2.1.4
|
||||
"@types/styled-components": ^5.1.15
|
||||
qrcode-generator: ^1.4.4
|
||||
@@ -2372,8 +2369,8 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/ui-shared": 0.86.4-0
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/util-crypto": ^7.7.1
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@polkadot/util-crypto": ^7.7.2-6
|
||||
"@types/react-native": ^0.66.0
|
||||
react-native-svg: ^12.2.0
|
||||
peerDependencies:
|
||||
@@ -2406,10 +2403,10 @@ __metadata:
|
||||
resolution: "@polkadot/ui-keyring@workspace:packages/ui-keyring"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/hw-ledger": ^7.7.1
|
||||
"@polkadot/keyring": ^7.7.1
|
||||
"@polkadot/hw-ledger": ^7.7.2-6
|
||||
"@polkadot/keyring": ^7.7.2-6
|
||||
"@polkadot/ui-settings": 0.86.4-0
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@types/mkdirp": ^1.0.2
|
||||
"@types/store": ^2.0.2
|
||||
mkdirp: ^1.0.4
|
||||
@@ -2427,8 +2424,8 @@ __metadata:
|
||||
resolution: "@polkadot/ui-settings@workspace:packages/ui-settings"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/networks": ^7.7.1
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/networks": ^7.7.2-6
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@types/store": ^2.0.2
|
||||
eventemitter3: ^4.0.7
|
||||
store: ^2.0.12
|
||||
@@ -2443,8 +2440,8 @@ __metadata:
|
||||
resolution: "@polkadot/ui-shared@workspace:packages/ui-shared"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/util-crypto": ^7.7.1
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@polkadot/util-crypto": ^7.7.2-6
|
||||
"@types/color": ^3.0.2
|
||||
"@types/xmlserializer": ^0.6.2
|
||||
color: ^3.2.1
|
||||
@@ -2454,15 +2451,15 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util-crypto@npm:7.7.1, @polkadot/util-crypto@npm:^7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/util-crypto@npm:7.7.1"
|
||||
"@polkadot/util-crypto@npm:7.7.2-6, @polkadot/util-crypto@npm:^7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/util-crypto@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/networks": 7.7.1
|
||||
"@polkadot/util": 7.7.1
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/networks": 7.7.2-6
|
||||
"@polkadot/util": 7.7.2-6
|
||||
"@polkadot/wasm-crypto": ^4.2.1
|
||||
"@polkadot/x-randomvalues": 7.7.1
|
||||
"@polkadot/x-randomvalues": 7.7.2-6
|
||||
base-x: ^3.0.9
|
||||
base64-js: ^1.5.1
|
||||
blakejs: ^1.1.1
|
||||
@@ -2476,23 +2473,23 @@ __metadata:
|
||||
tweetnacl: ^1.0.3
|
||||
xxhashjs: ^0.2.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": 7.7.1
|
||||
checksum: d40398269ed375e714d195fff8ecb4b3428b5479212dc83e04d82765a860cb60d087d9eff94f90b72dcd93dfa0df7763cbc79891b9643ab80f8bbcbf172093bb
|
||||
"@polkadot/util": 7.7.2-6
|
||||
checksum: 02b5960601981a37e711db88177b92c61081961fe047b228e7f0af6214473c543e58ca275f7d884d2d3ba99aeee434b50266ce678b44e83d1bdaa467cabf8fef
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/util@npm:7.7.1, @polkadot/util@npm:^7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/util@npm:7.7.1"
|
||||
"@polkadot/util@npm:7.7.2-6, @polkadot/util@npm:^7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/util@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/x-textdecoder": 7.7.1
|
||||
"@polkadot/x-textencoder": 7.7.1
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/x-textdecoder": 7.7.2-6
|
||||
"@polkadot/x-textencoder": 7.7.2-6
|
||||
"@types/bn.js": ^4.11.6
|
||||
bn.js: ^4.12.0
|
||||
camelcase: ^6.2.0
|
||||
ip-regex: ^4.3.0
|
||||
checksum: 3ab59f4350ce79c482049a8f93fa2d2b79655c09953c82fe860cae66e6485539f9a176d1d3584c8f723ac52a8686b8b1616fc3e3054ae0185d61b79b881d9814
|
||||
checksum: ff08216161f69c3b8bcd231272a4a0726fb29378970be48f6fb6b5c2311599bae5ddb4e09232e2f605e4f2f15940aa59895b87473f837b1bf5962dcfe28bddf0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2502,8 +2499,8 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/ui-shared": 0.86.4-0
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/util-crypto": ^7.7.1
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@polkadot/util-crypto": ^7.7.2-6
|
||||
jdenticon: 3.1.1
|
||||
vue: ^2.6.14
|
||||
peerDependencies:
|
||||
@@ -2545,53 +2542,53 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-bundle@npm:^7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/x-bundle@npm:7.7.1"
|
||||
"@polkadot/x-bundle@npm:^7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/x-bundle@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/util": 7.7.1
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/util": 7.7.2-6
|
||||
buffer-es6: ^4.9.3
|
||||
checksum: 40622b340f74dd6ae76395fc9944f3972d26c3681bb9ee09f4ae15c5a824358824f60ee186176b41bb89027c8ffc0fa8616808f30a56561b9d2277a572e874e6
|
||||
checksum: 809ab099ec78e20aaf2e7d402157e9b11ec465e5dd1eb0d10081bed0be7abca804b4d2465947ac3c982e6b909d879545daec1968d1459be290a3c92ee19ad915
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-global@npm:7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/x-global@npm:7.7.1"
|
||||
"@polkadot/x-global@npm:7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/x-global@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
checksum: 85564b379a9cc55c35c6c573bbe33521e668300f8d55d7740ecc2d13076f0c931546007f4392ff8e12c72cfd480db08f5c501875d740971c472b0b86a73d8142
|
||||
"@babel/runtime": ^7.16.0
|
||||
checksum: d3cadd7cee39657f0736e004df8de4462358c2c0801cc7dced91cae61033b94bf3cd3f7102c369198d6d81410a38062cf31fe0b700161964c47e9c326323ae12
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-randomvalues@npm:7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/x-randomvalues@npm:7.7.1"
|
||||
"@polkadot/x-randomvalues@npm:7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/x-randomvalues@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/x-global": 7.7.1
|
||||
checksum: cec8887d7f1f5be79c08c81bd2b4965a832a2b6c7324186dc7029876da6bd020239acd94a29bd82ac3c3ca74c5455853a73cee6b881fc11f6f19d897fe23e81e
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/x-global": 7.7.2-6
|
||||
checksum: 7c138d5dd4e580f15fcaa227eb6f2f5818b4a9c78f5590d70a521c52df11fc0f3e1f9849c71ecc89623960c44f699e8e7d866009fa095a869420176f7b893aba
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textdecoder@npm:7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/x-textdecoder@npm:7.7.1"
|
||||
"@polkadot/x-textdecoder@npm:7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/x-textdecoder@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/x-global": 7.7.1
|
||||
checksum: 1763c0681586e9e47628ce3303f2675599be31c687d75ce38587792d3dcd82ee2002df76ce9b1ea0cea707081043267bd2eea8d69c6f6eca95925a4ddb8b3679
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/x-global": 7.7.2-6
|
||||
checksum: 535b84c9ecec986bc4e0dbfa5e972ad7b534b96c91e5198af8ae7d3d56daa72285eaf8f2e0180fcbc5ce217b6b735ca5092966c9ba6b4a415cb6471739b4f83f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textencoder@npm:7.7.1":
|
||||
version: 7.7.1
|
||||
resolution: "@polkadot/x-textencoder@npm:7.7.1"
|
||||
"@polkadot/x-textencoder@npm:7.7.2-6":
|
||||
version: 7.7.2-6
|
||||
resolution: "@polkadot/x-textencoder@npm:7.7.2-6"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/x-global": 7.7.1
|
||||
checksum: afd0b04d7c5d41948ee369408069284645d7f08ba2f516abce0e6fa547814e7ed8b11da48667c88b773be9c26dce90e1bdb202a0d1449ae8ae30ff9d8fdd9faa
|
||||
"@babel/runtime": ^7.16.0
|
||||
"@polkadot/x-global": 7.7.2-6
|
||||
checksum: d105cd13c4d654192218beda78e9f638ef06e77529663536a5305b1893aff59425801b13112750bef1a174fc4b9c871b65420ac04a8b71b8341c6f227011a2bf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -7369,12 +7366,12 @@ __metadata:
|
||||
dependencies:
|
||||
"@babel/core": ^7.15.8
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/keyring": ^7.7.1
|
||||
"@polkadot/keyring": ^7.7.2-6
|
||||
"@polkadot/reactnative-identicon": 0.86.4-0
|
||||
"@polkadot/ui-keyring": 0.86.4-0
|
||||
"@polkadot/ui-settings": 0.86.4-0
|
||||
"@polkadot/util": ^7.7.1
|
||||
"@polkadot/util-crypto": ^7.7.1
|
||||
"@polkadot/util": ^7.7.2-6
|
||||
"@polkadot/util-crypto": ^7.7.2-6
|
||||
"@react-native-community/async-storage": ^1.12.1
|
||||
"@react-native-community/cli-platform-ios": ^5.0.2
|
||||
"@types/react-test-renderer": 17.0.1
|
||||
@@ -14113,9 +14110,9 @@ resolve@^2.0.0-next.3:
|
||||
dependencies:
|
||||
"@babel/core": ^7.15.8
|
||||
"@babel/runtime": ^7.15.4
|
||||
"@polkadot/dev": ^0.63.22
|
||||
"@polkadot/dev": ^0.63.25
|
||||
"@polkadot/ts": ^0.4.13
|
||||
"@polkadot/x-bundle": ^7.7.1
|
||||
"@polkadot/x-bundle": ^7.7.2-6
|
||||
"@types/jest": ^27.0.2
|
||||
babel-plugin-transform-vue-template: ^0.4.2
|
||||
empty: ^0.10.1
|
||||
|
||||
Reference in New Issue
Block a user