Compare commits

..
18 Commits
Author SHA1 Message Date
github-actions[bot] 67fe7738d8 [CI Skip] release/stable 12.5.1
skip-checks: true
2023-09-15 05:53:02 +00:00
Jaco 13c6b4e553 12.5.1 (#1881) 2023-09-15 08:45:57 +03:00
github-actions[bot] 9306f9db92 [CI Skip] bump/beta 12.4.3-7-x
skip-checks: true
2023-09-14 18:24:39 +00:00
Leonardo Custodio 62a30f258e Ledger support (#1879) 2023-09-14 21:18:10 +03:00
github-actions[bot] 81609aba59 [CI Skip] bump/beta 12.4.3-6-x
skip-checks: true
2023-09-14 05:19:48 +00:00
Jaco 301d73d13f Bump deps (w/ ledger) (#1880) 2023-09-14 08:13:48 +03:00
github-actions[bot] 92abf4463d [CI Skip] bump/beta 12.4.3-5-x
skip-checks: true
2023-09-06 10:02:03 +00:00
peetzweg/ b018f78b77 adds isRiscV guard function similar to isWasm (#1878) 2023-09-06 12:55:36 +03:00
github-actions[bot] 608117f04a [CI Skip] bump/beta 12.4.3-4-x
skip-checks: true
2023-08-31 05:13:47 +00:00
Jaco 2ac00565b0 Bump deps (#1877) 2023-08-31 08:07:35 +03:00
github-actions[bot] 673a59af58 [CI Skip] bump/beta 12.4.3-3-x
skip-checks: true
2023-08-30 09:13:53 +00:00
Jaco aa394fe7cd Explicit note for test genesis (standalone or para) (#1876)
* Explicit note for test genesis (standalone or para)

* Add test for testnet exclusions

* Extract keys
2023-08-30 12:07:29 +03:00
github-actions[bot] ee7f2cc7f5 [CI Skip] bump/beta 12.4.3-2-x
skip-checks: true
2023-08-30 08:32:15 +00:00
Jaco da6efc821e Add additional comments on type interfaces (#1875) 2023-08-30 11:25:10 +03:00
github-actions[bot] a3b884d437 [CI Skip] bump/beta 12.4.3-1-x
skip-checks: true
2023-08-30 06:37:14 +00:00
Jaco 560c054750 Bump dev deps (#1874) 2023-08-30 09:31:15 +03:00
github-actions[bot] 09621d0010 [CI Skip] bump/beta 12.4.3-0-x
skip-checks: true
2023-08-24 05:17:05 +00:00
Jaco 37a81d9594 Bump deps (noble hashes/curves) (#1873)
* Bump deps (noble hashes/curves)

* Adjust dep range
2023-08-24 08:10:54 +03:00
51 changed files with 400 additions and 288 deletions
+13
View File
@@ -1,5 +1,18 @@
# CHANGELOG
## 12.5.1 Sep 15, 2023
Contributed:
- Add `isRiskV` helper (Thanks to https://github.com/peetzweg)
- Ledger support for Enjin & Matrixchain (Thanks to https://github.com/leonardocustodio)
Changes:
- Expand interface type comments (assists in-editor helpers)
- Upgrade dependencies to latest stable versions
## 12.4.2 Aug 23, 2023
Changes:
+3 -1
View File
@@ -1,4 +1,4 @@
1648 Jaco 12.4.2 (#1872)
1655 Jaco 12.5.1 (#1881)
13 Carlo Sala feat(networks): add zeitgeist Ledger support (#1840)
9 Antoine Estienne Add eth uri keyring test (#1291)
6 Amaury Martiny Add tests from Rust (#283)
@@ -36,6 +36,7 @@
1 JesseAbram added check if valid address to docs (#440)
1 joe petrowski Add example for multisig address creation (#590)
1 kaelnew add ledger support for stafi (#1569)
1 Leonardo Custodio Ledger support (#1879)
1 Lezek123 logger - wildcard include/exclude with DEBUG env (#932)
1 Mario Neises remove redudant export (#257)
1 Miguel Hervas Add CFG Ledger Support (#1057)
@@ -43,6 +44,7 @@
1 Mohsan Riaz Add Ternoa for ledger hardware support (#1711)
1 nahuseyoum Reserving 65 for Aventus based on the new extended range (#871)
1 Nantian add acala ledger config (#1485)
1 peetzweg/ adds `isRiscV` guard function similar to isWasm (#1878)
1 qwer951123 Add acala genesis (#1161)
1 Raoul Millais Fix yarn add instructions in x-global README (#873)
1 Raymond Zhong Add Edgeware ledger app (#1006)
+5 -5
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"versions": {
"git": "12.4.2",
"npm": "12.4.2"
"git": "12.5.1",
"npm": "12.5.1"
},
"workspaces": [
"packages/*"
@@ -37,8 +37,8 @@
"test:one": "polkadot-dev-run-test --env browser"
},
"devDependencies": {
"@polkadot/dev": "^0.76.18",
"@types/node": "^20.5.3"
"@polkadot/dev": "^0.76.25",
"@types/node": "^20.6.0"
},
"resolutions": {
"typescript": "^5.1.6"
+2 -2
View File
@@ -14,7 +14,7 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
@@ -22,7 +22,7 @@
"@ledgerhq/hw-transport": "^6.28.8",
"@ledgerhq/hw-transport-webhid": "^6.27.19",
"@ledgerhq/hw-transport-webusb": "^6.27.19",
"@polkadot/util": "12.4.2",
"@polkadot/util": "12.5.1",
"tslib": "^2.6.2"
},
"optionalDependencies": {
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '12.5.1' };
+4 -4
View File
@@ -17,12 +17,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"main": "index.js",
"dependencies": {
"@polkadot/hw-ledger-transports": "12.4.2",
"@polkadot/util": "12.4.2",
"@zondax/ledger-substrate": "^0.41.1",
"@polkadot/hw-ledger-transports": "12.5.1",
"@polkadot/util": "12.5.1",
"@zondax/ledger-substrate": "^0.41.2",
"tslib": "^2.6.2"
}
}
+2
View File
@@ -15,6 +15,7 @@ export const ledgerApps: Record<string, string> = {
darwinia: 'Darwinia',
'dock-mainnet': 'Dock',
edgeware: 'Edgeware',
enjin: 'Enjin',
equilibrium: 'Equilibrium',
genshiro: 'Genshiro',
hydradx: 'HydraDX',
@@ -22,6 +23,7 @@ export const ledgerApps: Record<string, string> = {
karura: 'Karura',
khala: 'Khala',
kusama: 'Kusama',
matrixchain: 'Matrixchain',
nodle: 'Nodle',
origintrail: 'OriginTrail',
parallel: 'Parallel',
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '12.5.1' };
+5 -5
View File
@@ -18,15 +18,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.4.2",
"@polkadot/util-crypto": "12.4.2",
"@polkadot/util": "12.5.1",
"@polkadot/util-crypto": "12.5.1",
"tslib": "^2.6.2"
},
"peerDependencies": {
"@polkadot/util": "12.4.2",
"@polkadot/util-crypto": "12.4.2"
"@polkadot/util": "12.5.1",
"@polkadot/util-crypto": "12.5.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '12.5.1' };
+3 -9
View File
@@ -5,13 +5,9 @@ import type { HexString } from '@polkadot/util/types';
import type { EncryptedJson, Keypair, KeypairType, Prefix } from '@polkadot/util-crypto/types';
export interface KeyringOptions {
/**
* @description The ss58Format to use for address encoding (defaults to 42)
*/
/** The ss58Format to use for address encoding (defaults to 42) */
ss58Format?: Prefix;
/**
* @description The type of keyring to create (defaults to ed25519)
*/
/** The type of keyring to create (defaults to ed25519) */
type?: KeypairType;
}
@@ -76,9 +72,7 @@ export interface KeyringPair$Json extends EncryptedJson {
}
export interface SignOptions {
/**
* @description Create a MultiSignature-compatible output with an indicator type
**/
/** Create a MultiSignature-compatible output with an indicator type */
withType?: boolean;
}
+3 -3
View File
@@ -15,14 +15,14 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.4.2",
"@polkadot/util": "12.5.1",
"@substrate/ss58-registry": "^1.43.0",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/hw-ledger": "12.4.2"
"@polkadot/hw-ledger": "12.5.1"
}
}
+15 -4
View File
@@ -6,22 +6,33 @@
import { ledgerApps } from '@polkadot/hw-ledger/defaults';
import { isHex } from '@polkadot/util';
import { knownGenesis, knownLedger } from './defaults/index.js';
import { knownGenesis, knownLedger, knownTestnet } from './defaults/index.js';
describe('defaults', (): void => {
const genesisKeys = Object.keys(knownGenesis);
const ledgerKeys = Object.keys(knownLedger);
describe('genesis', (): void => {
it('has hex values for all genesis chains', (): void => {
expect(
Object.keys(knownGenesis).filter((network) =>
genesisKeys.filter((network) =>
!knownGenesis[network].length ||
knownGenesis[network].some((g) => !isHex(g, 256))
)
).toEqual([]);
});
it('has no entries for testnets', (): void => {
expect(
genesisKeys.filter((network) =>
knownTestnet[network]
)
).toEqual([]);
});
it('has genesis for all Ledger chains', (): void => {
expect(
Object.keys(knownLedger).filter((network) =>
ledgerKeys.filter((network) =>
!knownGenesis[network]
)
).toEqual([]);
@@ -31,7 +42,7 @@ describe('defaults', (): void => {
describe('Ledger', (): void => {
it('has entries for each of the apps (hwledger -> networks)', (): void => {
expect(
Object.keys(knownLedger).filter((network) =>
ledgerKeys.filter((network) =>
!ledgerApps[network]
)
).toEqual([]);
+14 -4
View File
@@ -3,10 +3,14 @@
import type { KnownGenesis } from '../types.js';
// NOTE: In the case where the network was hard-spooned and multiple genesisHashes
// are provided, it needs to be in reverse order, i.e. most-recent first, oldest
// last. This make lookups for the current a simple genesisHash[0]
// (See Kusama as an example)
// In the case where the network was hard-spooned and multiple genesisHashes
// are provided, it needs to be in reverse order, i.e. most-recent goes first,
// oldest goes last. This make lookups for the current a simple genesisHash[0]
// where the latest ios always the first entry (See Kusama as an example)
//
// IMPORTANT: Apart from the test relays, this list is limited to live parachains
// and live production networks. It does not and should not contain any testnets,
// either stand-alone or connected to test relays such as Westend/Rococo
export const knownGenesis: KnownGenesis = {
acala: [
'0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c'
@@ -52,6 +56,9 @@ export const knownGenesis: KnownGenesis = {
edgeware: [
'0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'
],
enjin: [
'0xd8761d3c88f26dc12875c00d3165f7d67243d56fc85b4cf19937601a7916e5a9'
],
equilibrium: [
'0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'
],
@@ -82,6 +89,9 @@ export const knownGenesis: KnownGenesis = {
'0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636', // Kusama CC2
'0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
],
matrixchain: [
'0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615'
],
nodle: [
'0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21'
],
+2
View File
@@ -19,6 +19,7 @@ export const knownLedger: KnownLedger = {
darwinia: 0x00000162,
'dock-mainnet': 0x00000252,
edgeware: 0x0000020b,
enjin: 0x00000483,
equilibrium: 0x05f5e0fd,
genshiro: 0x05f5e0fc,
hydradx: 0x00000162,
@@ -26,6 +27,7 @@ export const knownLedger: KnownLedger = {
karura: 0x000002ae,
khala: 0x000001b2,
kusama: 0x000001b2,
matrixchain: 0x00000483,
nodle: 0x000003eb,
origintrail: 0x00000162,
parallel: 0x00000162,
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '12.5.1' };
+7
View File
@@ -17,15 +17,22 @@ export type KnownSubstrate = RegistryEntry;
export type KnownTestnet = Record<string, true>;
export interface SubstrateNetwork extends KnownSubstrate {
/** The genesisHash for the chain */
genesisHash: HexString[];
/** Does the chain has support for Ledger devices */
hasLedgerSupport: boolean;
/** The IdentityIcon to use for the chain */
icon: Icon;
/** Flag set when we don't include this chain */
isIgnored: boolean;
/** Flag to indicate a testnet */
isTestnet: boolean;
/** The Ledger-specific/required slip44 for the chain */
slip44?: number | null;
}
export interface Network extends SubstrateNetwork {
/** The network assigned to this chain */
network: string;
}
+9 -9
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"browser": {
"crypto": false,
"stream": false
},
"main": "index.js",
"dependencies": {
"@noble/curves": "1.1.0",
"@noble/hashes": "1.3.1",
"@polkadot/networks": "12.4.2",
"@polkadot/util": "12.4.2",
"@noble/curves": "^1.2.0",
"@noble/hashes": "^1.3.2",
"@polkadot/networks": "12.5.1",
"@polkadot/util": "12.5.1",
"@polkadot/wasm-crypto": "^7.2.2",
"@polkadot/wasm-util": "^7.2.2",
"@polkadot/x-bigint": "12.4.2",
"@polkadot/x-randomvalues": "12.4.2",
"@scure/base": "1.1.1",
"@polkadot/x-bigint": "12.5.1",
"@polkadot/x-randomvalues": "12.5.1",
"@scure/base": "^1.1.3",
"tslib": "^2.6.2"
},
"peerDependencies": {
"@polkadot/util": "12.4.2"
"@polkadot/util": "12.5.1"
}
}
+5
View File
@@ -6,12 +6,17 @@ export type EncryptedJsonVersion = '0' | '1' | '2' | '3';
export type EncryptedJsonEncoding = 'none' | 'scrypt' | 'xsalsa20-poly1305';
export interface EncryptedJsonDescriptor {
/** Descriptor for the content */
content: string[];
/** The encoding (in current/latest versions this is always an array) */
type: EncryptedJsonEncoding | EncryptedJsonEncoding[];
/** The version of encoding applied */
version: EncryptedJsonVersion;
}
export interface EncryptedJson {
/** The encoded string */
encoded: string;
/** The encoding used */
encoding: EncryptedJsonDescriptor;
}
+1 -1
View File
@@ -6,7 +6,7 @@ import { DeriveJunction } from './DeriveJunction.js';
const RE_JUNCTION = /\/(\/?)([^/]+)/g;
export interface ExtractResult {
parts: null | string[];
parts: string[] | null;
path: DeriveJunction[];
}
+1 -1
View File
@@ -25,7 +25,7 @@ export function keyExtractSuri (suri: string): ExtractResult {
throw new Error('Unable to match provided value to a secret URI');
}
const [, phrase, , derivePath, , , password] = matches as string[];
const [, phrase, , derivePath, , , password] = matches;
const { path } = keyExtractPath(derivePath);
return {
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/util-crypto', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/util-crypto', path: 'auto', type: 'auto', version: '12.5.1' };
+3 -1
View File
@@ -1,7 +1,9 @@
// Copyright 2017-2023 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
export const DEFAULT_PARAMS = {
import type { ScryptParams } from './types.js';
export const DEFAULT_PARAMS: ScryptParams = {
N: 1 << 15,
p: 1,
r: 8
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Params } from './types.js';
import type { ScryptParams } from './types.js';
import { scrypt as scryptJs } from '@noble/hashes/scrypt';
@@ -12,7 +12,7 @@ import { randomAsU8a } from '../random/asU8a.js';
import { DEFAULT_PARAMS } from './defaults.js';
interface Result {
params: Params,
params: ScryptParams,
password: Uint8Array;
salt: Uint8Array;
}
+6 -5
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2023 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Params } from './types.js';
import type { ScryptParams } from './types.js';
import { u8aToBn } from '@polkadot/util';
@@ -9,7 +9,7 @@ import { BN_LE_OPTS } from '../bn.js';
import { DEFAULT_PARAMS } from './defaults.js';
interface Result {
params: Params,
params: ScryptParams,
salt: Uint8Array;
}
@@ -19,9 +19,10 @@ export function scryptFromU8a (data: Uint8Array): Result {
const p = u8aToBn(data.subarray(32 + 4, 32 + 8), BN_LE_OPTS).toNumber();
const r = u8aToBn(data.subarray(32 + 8, 32 + 12), BN_LE_OPTS).toNumber();
// FIXME At this moment we assume these to be fixed params, this is not a great idea since we lose flexibility
// and updates for greater security. However we need some protection against carefully-crafted params that can
// eat up CPU since these are user inputs. So we need to get very clever here, but atm we only allow the defaults
// FIXME At this moment we assume these to be fixed params, this is not a great idea
// since we lose flexibility and updates for greater security. However we need some
// protection against carefully-crafted params that can eat up CPU since these are user
// inputs. So we need to get very clever here, but atm we only allow the defaults
// and if no match, bail out
if (N !== DEFAULT_PARAMS.N || p !== DEFAULT_PARAMS.p || r !== DEFAULT_PARAMS.r) {
throw new Error('Invalid injected scrypt params found');
+2 -2
View File
@@ -1,13 +1,13 @@
// Copyright 2017-2023 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Params } from './types.js';
import type { ScryptParams } from './types.js';
import { bnToU8a, u8aConcat } from '@polkadot/util';
import { BN_LE_32_OPTS } from '../bn.js';
export function scryptToU8a (salt: Uint8Array, { N, p, r }: Params): Uint8Array {
export function scryptToU8a (salt: Uint8Array, { N, p, r }: ScryptParams): Uint8Array {
return u8aConcat(
salt,
bnToU8a(N, BN_LE_32_OPTS),
+2 -1
View File
@@ -1,7 +1,8 @@
// Copyright 2017-2023 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
export interface Params {
/** The params that control scrypt generation */
export interface ScryptParams {
N: number;
p: number;
r: number;
+9
View File
@@ -5,20 +5,29 @@ export * from './address/types.js';
export * from './json/types.js';
export interface Keypair {
/** The publicKey for this pair */
publicKey: Uint8Array;
/** The secretKey for this pair */
secretKey: Uint8Array;
}
export interface Seedpair {
/** The publicKey for this pair */
publicKey: Uint8Array;
/** The seed used to construct the pair */
seed: Uint8Array;
}
/** The supported types of pairs */
export type KeypairType = 'ed25519' | 'sr25519' | 'ecdsa' | 'ethereum';
export interface VerifyResult {
/** The detected crypto interface, or 'none' if not detected */
crypto: 'none' | KeypairType;
/** The validity for this result, false if invalid */
isValid: boolean;
/** Flag to indicate if the passed data was wrapped in <Bytes>...</Bytes> */
isWrapped: boolean;
/** The extracted publicKey */
publicKey: Uint8Array;
}
+6 -6
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"main": "index.js",
"exports": {
"./hex/toU8a": {
@@ -35,15 +35,15 @@
}
},
"dependencies": {
"@polkadot/x-bigint": "12.4.2",
"@polkadot/x-global": "12.4.2",
"@polkadot/x-textdecoder": "12.4.2",
"@polkadot/x-textencoder": "12.4.2",
"@polkadot/x-bigint": "12.5.1",
"@polkadot/x-global": "12.5.1",
"@polkadot/x-textdecoder": "12.5.1",
"@polkadot/x-textencoder": "12.5.1",
"@types/bn.js": "^5.1.1",
"bn.js": "^5.2.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/x-randomvalues": "12.4.2"
"@polkadot/x-randomvalues": "12.5.1"
}
}
+1
View File
@@ -25,6 +25,7 @@ export { isNumber } from './number.js';
export { isObject } from './object.js';
export { isObservable } from './observable.js';
export { isPromise } from './promise.js';
export { isRiscV } from './riscv.js';
export { isString } from './string.js';
export { isTestChain } from './testChain.js';
export { isToBigInt } from './toBigInt.js';
+30
View File
@@ -0,0 +1,30 @@
// Copyright 2017-2023 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import { isRiscV } from './index.js';
describe('isRiscV', (): void => {
it('is false on non-risc-v header', (): void => {
expect(isRiscV(new Uint8Array([0, 97, 115, 109, 1, 2, 3]))).toEqual(false);
});
it('is false on partial-risc-v header', (): void => {
expect(isRiscV(new Uint8Array([0x7f, 0x45, 0x4c]))).toEqual(false);
});
it('is false on empty byte before risc-v header', (): void => {
expect(
isRiscV(
new Uint8Array([0x00, 0x7f, 0x45, 0x4c, 0x46, 0xff, 0x00, 0x42, 0x23])
)
).toEqual(false);
});
it('is true when a risc-v header is found', (): void => {
expect(
isRiscV(new Uint8Array([0x7f, 0x45, 0x4c, 0x46, 0xff, 0x00, 0x42, 0x23]))
).toEqual(true);
});
});
+17
View File
@@ -0,0 +1,17 @@
// Copyright 2017-2023 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { u8aEq } from '../u8a/eq.js';
import { isU8a } from './u8a.js';
const ELF_MAGIC = new Uint8Array([0x7f, 0x45, 0x4c, 0x46]); // ELF magic bytes: 0x7f, 'E', 'L', 'F'
/**
* @name isRiscV
* @summary Tests if the input has a RISC-V header
* @description
* Checks to see if the input Uint8Array contains a valid RISC-V header
*/
export function isRiscV (bytes: unknown): bytes is Uint8Array {
return isU8a(bytes) && u8aEq(bytes.subarray(0, 4), ELF_MAGIC);
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/util', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/util', path: 'auto', type: 'auto', version: '12.5.1' };
+4 -9
View File
@@ -5,6 +5,7 @@ import type { BN } from './bn/bn.js';
/* eslint-disable @typescript-eslint/no-explicit-any */
/** An interface that defines an actual JS class */
export interface Class<T = any, A extends unknown[] = any[]> {
prototype: T;
@@ -40,20 +41,14 @@ export interface Logger {
}
export interface ToBnOptions {
/**
* @description Convert in LE format
*/
/** Convert in LE format */
isLe?: boolean;
/**
* @description Number is signed, apply two's complement
*/
/** Number is signed, apply two's complement */
isNegative?: boolean;
}
export interface NumberOptions extends ToBnOptions {
/**
* @description Limit to the specified bitLength, despite input length
*/
/** Limit to the specified bitLength, despite input length */
bitLength?: number;
}
+2 -2
View File
@@ -18,9 +18,9 @@
"./shim.cjs"
],
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"dependencies": {
"@polkadot/x-global": "12.4.2",
"@polkadot/x-global": "12.5.1",
"tslib": "^2.6.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-bigint', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-bigint', path: 'auto', type: 'auto', version: '12.5.1' };
+2 -2
View File
@@ -15,10 +15,10 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.4.2",
"@polkadot/util": "12.5.1",
"buffer-es6": "^4.9.3",
"tslib": "^2.6.2"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-bundle', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-bundle', path: 'auto', type: 'auto', version: '12.5.1' };
+2 -2
View File
@@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.4.2",
"@polkadot/x-global": "12.5.1",
"node-fetch": "^3.3.2",
"tslib": "^2.6.2"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-fetch', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-fetch', path: 'auto', type: 'auto', version: '12.5.1' };
+1 -1
View File
@@ -15,7 +15,7 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"main": "index.js",
"dependencies": {
"tslib": "^2.6.2"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-global', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-global', path: 'auto', type: 'auto', version: '12.5.1' };
+4 -4
View File
@@ -15,21 +15,21 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.4.2",
"@polkadot/x-global": "12.5.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/util": "12.4.2",
"@polkadot/util": "12.5.1",
"@polkadot/wasm-util": "^7.2.2",
"@types/react-native": "^0.72.2"
},
"peerDependencies": {
"@polkadot/util": "12.4.2",
"@polkadot/util": "12.5.1",
"@polkadot/wasm-util": "*"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-randomvalues', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-randomvalues', path: 'auto', type: 'auto', version: '12.5.1' };
+2 -2
View File
@@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.4.2",
"@polkadot/x-global": "12.5.1",
"tslib": "^2.6.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-textdecoder', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-textdecoder', path: 'auto', type: 'auto', version: '12.5.1' };
+2 -2
View File
@@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.4.2",
"@polkadot/x-global": "12.5.1",
"tslib": "^2.6.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-textencoder', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-textencoder', path: 'auto', type: 'auto', version: '12.5.1' };
+3 -3
View File
@@ -15,14 +15,14 @@
},
"sideEffects": false,
"type": "module",
"version": "12.4.2",
"version": "12.5.1",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.4.2",
"@polkadot/x-global": "12.5.1",
"tslib": "^2.6.2",
"ws": "^8.13.0"
"ws": "^8.14.1"
},
"devDependencies": {
"@types/ws": "^8.5.5"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/x-ws', path: 'auto', type: 'auto', version: '12.4.2' };
export const packageInfo = { name: '@polkadot/x-ws', path: 'auto', type: 'auto', version: '12.5.1' };
+192 -182
View File
@@ -108,21 +108,21 @@ __metadata:
languageName: node
linkType: hard
"@eslint/js@npm:^8.47.0":
version: 8.47.0
resolution: "@eslint/js@npm:8.47.0"
checksum: 0ef57fe27b6d4c305b33f3b2d2fee1ab397a619006f1d6f4ce5ee4746b8f03d11a4e098805a7d78601ca534cf72917d37f0ac19896c992a32e26299ecb9f9de1
"@eslint/js@npm:8.49.0, @eslint/js@npm:^8.49.0":
version: 8.49.0
resolution: "@eslint/js@npm:8.49.0"
checksum: a6601807c8aeeefe866926ad92ed98007c034a735af20ff709009e39ad1337474243d47908500a3bde04e37bfba16bcf1d3452417f962e1345bc8756edd6b830
languageName: node
linkType: hard
"@humanwhocodes/config-array@npm:^0.11.10":
version: 0.11.10
resolution: "@humanwhocodes/config-array@npm:0.11.10"
"@humanwhocodes/config-array@npm:^0.11.11":
version: 0.11.11
resolution: "@humanwhocodes/config-array@npm:0.11.11"
dependencies:
"@humanwhocodes/object-schema": ^1.2.1
debug: ^4.1.1
minimatch: ^3.0.5
checksum: 1b1302e2403d0e35bc43e66d67a2b36b0ad1119efc704b5faff68c41f791a052355b010fb2d27ef022670f550de24cd6d08d5ecf0821c16326b7dcd0ee5d5d8a
checksum: db84507375ab77b8ffdd24f498a5b49ad6b64391d30dd2ac56885501d03964d29637e05b1ed5aefa09d57ac667e28028bc22d2da872bfcd619652fbdb5f4ca19
languageName: node
linkType: hard
@@ -289,19 +289,19 @@ __metadata:
languageName: node
linkType: hard
"@noble/curves@npm:1.1.0":
version: 1.1.0
resolution: "@noble/curves@npm:1.1.0"
"@noble/curves@npm:^1.2.0":
version: 1.2.0
resolution: "@noble/curves@npm:1.2.0"
dependencies:
"@noble/hashes": 1.3.1
checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5
"@noble/hashes": 1.3.2
checksum: bb798d7a66d8e43789e93bc3c2ddff91a1e19fdb79a99b86cd98f1e5eff0ee2024a2672902c2576ef3577b6f282f3b5c778bebd55761ddbb30e36bf275e83dd0
languageName: node
linkType: hard
"@noble/hashes@npm:1.3.1, @noble/hashes@npm:^1.2.0":
version: 1.3.1
resolution: "@noble/hashes@npm:1.3.1"
checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1
"@noble/hashes@npm:1.3.2, @noble/hashes@npm:^1.2.0, @noble/hashes@npm:^1.3.2":
version: 1.3.2
resolution: "@noble/hashes@npm:1.3.2"
checksum: fe23536b436539d13f90e4b9be843cc63b1b17666a07634a2b1259dded6f490be3d050249e6af98076ea8f2ea0d56f578773c2197f2aa0eeaa5fba5bc18ba474
languageName: node
linkType: hard
@@ -463,53 +463,53 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/dev-test@npm:^0.76.18":
version: 0.76.18
resolution: "@polkadot/dev-test@npm:0.76.18"
"@polkadot/dev-test@npm:^0.76.25":
version: 0.76.25
resolution: "@polkadot/dev-test@npm:0.76.25"
dependencies:
jsdom: ^22.1.0
tslib: ^2.6.2
checksum: 84e76ec68439bd58ddf466f739365e63609276aac26bd71bc01d6e29704b6d6c654a3138c7c21a2b4460a260a627b7a66691131a00571deb8db2b01ca28e067b
checksum: c491c29f4867b4ae6897fb254df0e7b0d749e3a83bd9bfa7c0be19e3fd3d1b4d5d81670980ce48c80aeaa5823ffb1ddf3e1c01faf04ae77538fc459232f639af
languageName: node
linkType: hard
"@polkadot/dev-ts@npm:^0.76.18":
version: 0.76.18
resolution: "@polkadot/dev-ts@npm:0.76.18"
"@polkadot/dev-ts@npm:^0.76.25":
version: 0.76.25
resolution: "@polkadot/dev-ts@npm:0.76.25"
dependencies:
json5: ^2.2.3
tslib: ^2.6.2
typescript: ^5.1.6
checksum: 1abf72e438de5f043bee943d3c7256f653cbf4f4300643ce8bb6ed5002ba75736d777cc446b1b7eaf155a7a2745cde4ca4bf22439ab819fe3c518213cb1a0dc5
typescript: ^5.2.2
checksum: 0673510e9739e2fdb44455d750ade6f8c396d8e2f2a94be810f272b2731d8723f2cdf4c980006d24d283985df9a484fc60f6c7300df0a891f689b8a1172b2dc0
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.76.18":
version: 0.76.18
resolution: "@polkadot/dev@npm:0.76.18"
"@polkadot/dev@npm:^0.76.25":
version: 0.76.25
resolution: "@polkadot/dev@npm:0.76.25"
dependencies:
"@eslint/js": ^8.47.0
"@polkadot/dev-test": ^0.76.18
"@polkadot/dev-ts": ^0.76.18
"@eslint/js": ^8.49.0
"@polkadot/dev-test": ^0.76.25
"@polkadot/dev-ts": ^0.76.25
"@rollup/plugin-alias": ^5.0.0
"@rollup/plugin-commonjs": ^25.0.4
"@rollup/plugin-dynamic-import-vars": ^2.0.5
"@rollup/plugin-inject": ^5.0.3
"@rollup/plugin-json": ^6.0.0
"@rollup/plugin-node-resolve": ^15.2.1
"@tsconfig/strictest": ^2.0.1
"@typescript-eslint/eslint-plugin": ^6.4.1
"@typescript-eslint/parser": ^6.4.1
eslint: ^8.47.0
"@tsconfig/strictest": ^2.0.2
"@typescript-eslint/eslint-plugin": ^6.7.0
"@typescript-eslint/parser": ^6.7.0
eslint: ^8.49.0
eslint-config-standard: ^17.1.0
eslint-import-resolver-node: ^0.3.9
eslint-import-resolver-typescript: ^3.6.0
eslint-plugin-deprecation: ^1.5.0
eslint-plugin-deprecation: ^2.0.0
eslint-plugin-header: ^3.1.1
eslint-plugin-import: ^2.28.1
eslint-plugin-import-newlines: ^1.3.4
eslint-plugin-jest: ^27.2.3
eslint-plugin-n: ^16.0.2
eslint-plugin-n: ^16.1.0
eslint-plugin-promise: ^6.1.1
eslint-plugin-react: ^7.33.2
eslint-plugin-react-hooks: ^4.6.0
@@ -521,10 +521,10 @@ __metadata:
globals: ^13.21.0
json5: ^2.2.3
madge: ^6.1.0
rollup: ^3.28.1
rollup: ^3.29.1
rollup-plugin-cleanup: ^3.2.1
tslib: ^2.6.2
typescript: ^5.1.6
typescript: ^5.2.2
webpack: ^5.88.2
webpack-cli: ^5.1.4
webpack-dev-server: ^4.15.1
@@ -555,11 +555,11 @@ __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: 917ee240371412cd7fd046553991a04d25bf3e984edf194f37eb56ce44aaba02936481d61c5452cd6b6cddd43a2d4105398ab1783eb8b3b8a35054f1402617eb
checksum: a12cf0825fc60ef9dc587fc70117799a58c70981396185bdbab4df5d611a759944eb454049d3db8a30c3fe08cad6b89b7a2e45ac9f7620d664002ec7e383f256
languageName: node
linkType: hard
"@polkadot/hw-ledger-transports@12.4.2, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
"@polkadot/hw-ledger-transports@12.5.1, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
version: 0.0.0-use.local
resolution: "@polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports"
dependencies:
@@ -567,7 +567,7 @@ __metadata:
"@ledgerhq/hw-transport-node-hid-singleton": ^6.28.18
"@ledgerhq/hw-transport-webhid": ^6.27.19
"@ledgerhq/hw-transport-webusb": ^6.27.19
"@polkadot/util": 12.4.2
"@polkadot/util": 12.5.1
tslib: ^2.6.2
dependenciesMeta:
"@ledgerhq/hw-transport-node-hid-singleton":
@@ -575,13 +575,13 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/hw-ledger@12.4.2, @polkadot/hw-ledger@workspace:packages/hw-ledger":
"@polkadot/hw-ledger@12.5.1, @polkadot/hw-ledger@workspace:packages/hw-ledger":
version: 0.0.0-use.local
resolution: "@polkadot/hw-ledger@workspace:packages/hw-ledger"
dependencies:
"@polkadot/hw-ledger-transports": 12.4.2
"@polkadot/util": 12.4.2
"@zondax/ledger-substrate": ^0.41.1
"@polkadot/hw-ledger-transports": 12.5.1
"@polkadot/util": 12.5.1
"@zondax/ledger-substrate": ^0.41.2
tslib: ^2.6.2
languageName: unknown
linkType: soft
@@ -590,54 +590,54 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/keyring@workspace:packages/keyring"
dependencies:
"@polkadot/util": 12.4.2
"@polkadot/util-crypto": 12.4.2
"@polkadot/util": 12.5.1
"@polkadot/util-crypto": 12.5.1
tslib: ^2.6.2
peerDependencies:
"@polkadot/util": 12.4.2
"@polkadot/util-crypto": 12.4.2
"@polkadot/util": 12.5.1
"@polkadot/util-crypto": 12.5.1
languageName: unknown
linkType: soft
"@polkadot/networks@12.4.2, @polkadot/networks@workspace:packages/networks":
"@polkadot/networks@12.5.1, @polkadot/networks@workspace:packages/networks":
version: 0.0.0-use.local
resolution: "@polkadot/networks@workspace:packages/networks"
dependencies:
"@polkadot/hw-ledger": 12.4.2
"@polkadot/util": 12.4.2
"@polkadot/hw-ledger": 12.5.1
"@polkadot/util": 12.5.1
"@substrate/ss58-registry": ^1.43.0
tslib: ^2.6.2
languageName: unknown
linkType: soft
"@polkadot/util-crypto@12.4.2, @polkadot/util-crypto@workspace:packages/util-crypto":
"@polkadot/util-crypto@12.5.1, @polkadot/util-crypto@workspace:packages/util-crypto":
version: 0.0.0-use.local
resolution: "@polkadot/util-crypto@workspace:packages/util-crypto"
dependencies:
"@noble/curves": 1.1.0
"@noble/hashes": 1.3.1
"@polkadot/networks": 12.4.2
"@polkadot/util": 12.4.2
"@noble/curves": ^1.2.0
"@noble/hashes": ^1.3.2
"@polkadot/networks": 12.5.1
"@polkadot/util": 12.5.1
"@polkadot/wasm-crypto": ^7.2.2
"@polkadot/wasm-util": ^7.2.2
"@polkadot/x-bigint": 12.4.2
"@polkadot/x-randomvalues": 12.4.2
"@scure/base": 1.1.1
"@polkadot/x-bigint": 12.5.1
"@polkadot/x-randomvalues": 12.5.1
"@scure/base": ^1.1.3
tslib: ^2.6.2
peerDependencies:
"@polkadot/util": 12.4.2
"@polkadot/util": 12.5.1
languageName: unknown
linkType: soft
"@polkadot/util@12.4.2, @polkadot/util@workspace:packages/util":
"@polkadot/util@12.5.1, @polkadot/util@workspace:packages/util":
version: 0.0.0-use.local
resolution: "@polkadot/util@workspace:packages/util"
dependencies:
"@polkadot/x-bigint": 12.4.2
"@polkadot/x-global": 12.4.2
"@polkadot/x-randomvalues": 12.4.2
"@polkadot/x-textdecoder": 12.4.2
"@polkadot/x-textencoder": 12.4.2
"@polkadot/x-bigint": 12.5.1
"@polkadot/x-global": 12.5.1
"@polkadot/x-randomvalues": 12.5.1
"@polkadot/x-textdecoder": 12.5.1
"@polkadot/x-textencoder": 12.5.1
"@types/bn.js": ^5.1.1
bn.js: ^5.2.1
tslib: ^2.6.2
@@ -724,11 +724,11 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/x-bigint@12.4.2, @polkadot/x-bigint@workspace:packages/x-bigint":
"@polkadot/x-bigint@12.5.1, @polkadot/x-bigint@workspace:packages/x-bigint":
version: 0.0.0-use.local
resolution: "@polkadot/x-bigint@workspace:packages/x-bigint"
dependencies:
"@polkadot/x-global": 12.4.2
"@polkadot/x-global": 12.5.1
tslib: ^2.6.2
languageName: unknown
linkType: soft
@@ -737,7 +737,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/x-bundle@workspace:packages/x-bundle"
dependencies:
"@polkadot/util": 12.4.2
"@polkadot/util": 12.5.1
buffer-es6: ^4.9.3
tslib: ^2.6.2
languageName: unknown
@@ -747,13 +747,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/x-fetch@workspace:packages/x-fetch"
dependencies:
"@polkadot/x-global": 12.4.2
"@polkadot/x-global": 12.5.1
node-fetch: ^3.3.2
tslib: ^2.6.2
languageName: unknown
linkType: soft
"@polkadot/x-global@12.4.2, @polkadot/x-global@workspace:packages/x-global":
"@polkadot/x-global@12.5.1, @polkadot/x-global@workspace:packages/x-global":
version: 0.0.0-use.local
resolution: "@polkadot/x-global@workspace:packages/x-global"
dependencies:
@@ -761,35 +761,35 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/x-randomvalues@12.4.2, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
"@polkadot/x-randomvalues@12.5.1, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
version: 0.0.0-use.local
resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues"
dependencies:
"@polkadot/util": 12.4.2
"@polkadot/util": 12.5.1
"@polkadot/wasm-util": ^7.2.2
"@polkadot/x-global": 12.4.2
"@polkadot/x-global": 12.5.1
"@types/react-native": ^0.72.2
tslib: ^2.6.2
peerDependencies:
"@polkadot/util": 12.4.2
"@polkadot/util": 12.5.1
"@polkadot/wasm-util": "*"
languageName: unknown
linkType: soft
"@polkadot/x-textdecoder@12.4.2, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
"@polkadot/x-textdecoder@12.5.1, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
version: 0.0.0-use.local
resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder"
dependencies:
"@polkadot/x-global": 12.4.2
"@polkadot/x-global": 12.5.1
tslib: ^2.6.2
languageName: unknown
linkType: soft
"@polkadot/x-textencoder@12.4.2, @polkadot/x-textencoder@workspace:packages/x-textencoder":
"@polkadot/x-textencoder@12.5.1, @polkadot/x-textencoder@workspace:packages/x-textencoder":
version: 0.0.0-use.local
resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder"
dependencies:
"@polkadot/x-global": 12.4.2
"@polkadot/x-global": 12.5.1
tslib: ^2.6.2
languageName: unknown
linkType: soft
@@ -798,10 +798,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/x-ws@workspace:packages/x-ws"
dependencies:
"@polkadot/x-global": 12.4.2
"@polkadot/x-global": 12.5.1
"@types/ws": ^8.5.5
tslib: ^2.6.2
ws: ^8.13.0
ws: ^8.14.1
languageName: unknown
linkType: soft
@@ -934,10 +934,10 @@ __metadata:
languageName: node
linkType: hard
"@scure/base@npm:1.1.1, @scure/base@npm:^1.1.1":
version: 1.1.1
resolution: "@scure/base@npm:1.1.1"
checksum: b4fc810b492693e7e8d0107313ac74c3646970c198bbe26d7332820886fa4f09441991023ec9aa3a2a51246b74409ab5ebae2e8ef148bbc253da79ac49130309
"@scure/base@npm:^1.1.1, @scure/base@npm:^1.1.3":
version: 1.1.3
resolution: "@scure/base@npm:1.1.3"
checksum: 1606ab8a4db898cb3a1ada16c15437c3bce4e25854fadc8eb03ae93cbbbac1ed90655af4b0be3da37e12056fef11c0374499f69b9e658c9e5b7b3e06353c630c
languageName: node
linkType: hard
@@ -971,10 +971,10 @@ __metadata:
languageName: node
linkType: hard
"@tsconfig/strictest@npm:^2.0.1":
version: 2.0.1
resolution: "@tsconfig/strictest@npm:2.0.1"
checksum: 3a9b913e06c20fee0a002fc22a925370525dd917853dee2e0082de763b10a61a69d72d60d02e243629da94b3e0b98843469a3b063c0ab2a5d6716183867dd114
"@tsconfig/strictest@npm:^2.0.2":
version: 2.0.2
resolution: "@tsconfig/strictest@npm:2.0.2"
checksum: 5409233288d872a2d79aca5eb65d3da681c6e0baa9ee58744adceda834fececdaa8265869793cfd5a80f4c887e3296b4d13309ef5bffbf7c8272071f00b60ba7
languageName: node
linkType: hard
@@ -1114,10 +1114,10 @@ __metadata:
languageName: node
linkType: hard
"@types/node@npm:*, @types/node@npm:^20.5.3":
version: 20.5.3
resolution: "@types/node@npm:20.5.3"
checksum: fe67a0fd7402218bdf91523a2b1c2e41d619f7294b1a471e0a778b8bc7bb3fcf291aed12041bcbe9622d50a3d1295a9adea0e7e19bb9386a246bf66071404721
"@types/node@npm:*, @types/node@npm:^20.6.0":
version: 20.6.0
resolution: "@types/node@npm:20.6.0"
checksum: 52611801af5cf151c6fac1963aa4a8a8ca2e388a9e9ed82b01b70bca762088ded5b32cc789c5564220d5d7dccba2b8dd34446a3d4fc74736805e1f2cf262e29d
languageName: node
linkType: hard
@@ -1236,15 +1236,15 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:^6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/eslint-plugin@npm:6.4.1"
"@typescript-eslint/eslint-plugin@npm:^6.7.0":
version: 6.7.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.7.0"
dependencies:
"@eslint-community/regexpp": ^4.5.1
"@typescript-eslint/scope-manager": 6.4.1
"@typescript-eslint/type-utils": 6.4.1
"@typescript-eslint/utils": 6.4.1
"@typescript-eslint/visitor-keys": 6.4.1
"@typescript-eslint/scope-manager": 6.7.0
"@typescript-eslint/type-utils": 6.7.0
"@typescript-eslint/utils": 6.7.0
"@typescript-eslint/visitor-keys": 6.7.0
debug: ^4.3.4
graphemer: ^1.4.0
ignore: ^5.2.4
@@ -1257,25 +1257,25 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: aa5f2f516a4ea07d1a9878d347dcb915808862f41efd3c4acd4955e616d265e051c4c93d597d30e54bee10bab9b965e2ef9cea1b497bf16f23a475d7911a8078
checksum: 48393749c5c1f67acf71795551c6065586198530006189c48636e32caea4d1285624c16c047164f9d29055e26c4f90fca964c5a2b5c0e9b6d9ed87acd74ca0d6
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:^6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/parser@npm:6.4.1"
"@typescript-eslint/parser@npm:^6.7.0":
version: 6.7.0
resolution: "@typescript-eslint/parser@npm:6.7.0"
dependencies:
"@typescript-eslint/scope-manager": 6.4.1
"@typescript-eslint/types": 6.4.1
"@typescript-eslint/typescript-estree": 6.4.1
"@typescript-eslint/visitor-keys": 6.4.1
"@typescript-eslint/scope-manager": 6.7.0
"@typescript-eslint/types": 6.7.0
"@typescript-eslint/typescript-estree": 6.7.0
"@typescript-eslint/visitor-keys": 6.7.0
debug: ^4.3.4
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: cb61c757963f2a7964c2f846087eadda044720da769d96600f9f0069fe796d612caef5d9bb0c785aa4fa95028b2d231e7c83847ce44f02b1fa41f2102d6f444c
checksum: 21d52a49abf78a3b037261c01f1f4d2d550919ddc906ebb058db3410a706457ac3a7d082716328ce98a6741d4e77c945b71ff386d9047c5a2e5beef23e14ab45
languageName: node
linkType: hard
@@ -1289,22 +1289,22 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/scope-manager@npm:6.4.1"
"@typescript-eslint/scope-manager@npm:6.7.0":
version: 6.7.0
resolution: "@typescript-eslint/scope-manager@npm:6.7.0"
dependencies:
"@typescript-eslint/types": 6.4.1
"@typescript-eslint/visitor-keys": 6.4.1
checksum: 8f7f90aa378a19838301b31cfa58a4b0641d2b84891705c8c006c67aacb5c0d07112b714e1f0e7a159c5736779c934ec26dadef42a0711fccb635596aba391fc
"@typescript-eslint/types": 6.7.0
"@typescript-eslint/visitor-keys": 6.7.0
checksum: f6ea33c647783d53d98938bd5d3fc94c9a5ebc83bd64cf379215863921dd1c57e66c33af7948d6ac1884623e1917a3b42565e6d02e1fd7adfbce4b3424a2382e
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/type-utils@npm:6.4.1"
"@typescript-eslint/type-utils@npm:6.7.0":
version: 6.7.0
resolution: "@typescript-eslint/type-utils@npm:6.7.0"
dependencies:
"@typescript-eslint/typescript-estree": 6.4.1
"@typescript-eslint/utils": 6.4.1
"@typescript-eslint/typescript-estree": 6.7.0
"@typescript-eslint/utils": 6.7.0
debug: ^4.3.4
ts-api-utils: ^1.0.1
peerDependencies:
@@ -1312,7 +1312,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 33bcdd48bd4e07258ed1919b598d50354dd67d8f01702cd2fd46aa9250b7b7cba9caab640df01f4dc0e45dabeddbb3ca47bee88f81fe2087350ed6f70a4cbe5d
checksum: 15ae33a6981721f83b2ac612a7597a4fcb2d9d9bfedce54707e5228bec2774fd99ba54ffce89924ae36b61488c7b6c0c2165a6d361be5cd4cefebefad8b02a01
languageName: node
linkType: hard
@@ -1330,10 +1330,10 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/types@npm:6.4.1"
checksum: 16ba46140dbe426407bbb940e87fb347e7eb53b64f74e8f6a819cd662aa25ccd0c25b1e588867ce3cd36a8b4eccea7bd81f4d429595e6e86d9a24c655b1c8617
"@typescript-eslint/types@npm:6.7.0":
version: 6.7.0
resolution: "@typescript-eslint/types@npm:6.7.0"
checksum: fb76031432a009813d559b1cc63091eb5434279012cdb98de62fcd556910663c6a1b506e0a77c4f86e223a5e2c00e76a2d1d2170802c75168008d19a52a51fca
languageName: node
linkType: hard
@@ -1355,12 +1355,12 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/typescript-estree@npm:6.4.1"
"@typescript-eslint/typescript-estree@npm:6.7.0":
version: 6.7.0
resolution: "@typescript-eslint/typescript-estree@npm:6.7.0"
dependencies:
"@typescript-eslint/types": 6.4.1
"@typescript-eslint/visitor-keys": 6.4.1
"@typescript-eslint/types": 6.7.0
"@typescript-eslint/visitor-keys": 6.7.0
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
@@ -1369,7 +1369,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 34c289e50a6337321154efe6c20c762e94fea308f9032971e356a266f63e99b908b1a00dd8cf51eba50a6f69db01d665faf2cf13454b355767fd167eebe60f1c
checksum: 9bd57910085f0dd97d7083e0468c34e0753d20d36d3ffaa4ba111f13cc4986743374f5aed928e645ea982cf2ed9a8141598bee41393cad0abee001f0842ad117
languageName: node
linkType: hard
@@ -1391,24 +1391,24 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/utils@npm:6.4.1"
"@typescript-eslint/utils@npm:6.7.0, @typescript-eslint/utils@npm:^6.0.0":
version: 6.7.0
resolution: "@typescript-eslint/utils@npm:6.7.0"
dependencies:
"@eslint-community/eslint-utils": ^4.4.0
"@types/json-schema": ^7.0.12
"@types/semver": ^7.5.0
"@typescript-eslint/scope-manager": 6.4.1
"@typescript-eslint/types": 6.4.1
"@typescript-eslint/typescript-estree": 6.4.1
"@typescript-eslint/scope-manager": 6.7.0
"@typescript-eslint/types": 6.7.0
"@typescript-eslint/typescript-estree": 6.7.0
semver: ^7.5.4
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
checksum: 54e642a345790f912393a6f2821495e2359eff0f874a94cbe6fb3ef4411702983ed54fe88ca3ea9d28f2e93800a74dee22b7888838154bc1afd57c7e119e17ec
checksum: b2a2857ec856d1752e77c2a274a12513372311c300f9ec57ed7bf7411eb9ea34b85a8e7810a5c48fff0e3966b71d63d77e38c5c7bca1d5c004bede5638619a00
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0":
"@typescript-eslint/utils@npm:^5.10.0":
version: 5.61.0
resolution: "@typescript-eslint/utils@npm:5.61.0"
dependencies:
@@ -1446,13 +1446,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:6.4.1":
version: 6.4.1
resolution: "@typescript-eslint/visitor-keys@npm:6.4.1"
"@typescript-eslint/visitor-keys@npm:6.7.0":
version: 6.7.0
resolution: "@typescript-eslint/visitor-keys@npm:6.7.0"
dependencies:
"@typescript-eslint/types": 6.4.1
"@typescript-eslint/types": 6.7.0
eslint-visitor-keys: ^3.4.1
checksum: bd9cd56fc793e1d880c24193f939c4992b2653f330baece41cd461d1fb48edb2c53696987cba0e29074bbb452dd181fd009db92dd19060fdcc417ad76768f18a
checksum: cd85722d26ccfa23a76e5cb5aa0229f89eb3c4f1ed87d71a0f902db15f420f3f3e94cbd16dc711039f611ac60b1e7d0fee9ee78c48c88310a5f1926a2bc8778e
languageName: node
linkType: hard
@@ -1654,9 +1654,9 @@ __metadata:
languageName: node
linkType: hard
"@zondax/ledger-substrate@npm:^0.41.1":
version: 0.41.1
resolution: "@zondax/ledger-substrate@npm:0.41.1"
"@zondax/ledger-substrate@npm:^0.41.2":
version: 0.41.2
resolution: "@zondax/ledger-substrate@npm:0.41.2"
dependencies:
"@ledgerhq/hw-transport": ^6.27.1
bip32: ^4.0.0
@@ -1667,7 +1667,7 @@ __metadata:
hash.js: ^1.1.7
bin:
ledger-substrate: dist/cmd/cli.js
checksum: 842d0f49dff77194392a737e864b7f5647760d084d976d34342e053936ae9c00fd72bb5fa2f578a1ed1c4d6c89e99143323a550a2e2a550a383af298bb10a7fc
checksum: 53da7e140b0455244e628b28da163c4985d35907da3964ddb1eec6f25ea85c57fc2aa0cbb7630069bd537d1af996c440fbf0ce124c72e8a1a1a0e3fd56234f44
languageName: node
linkType: hard
@@ -3736,17 +3736,17 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-deprecation@npm:^1.5.0":
version: 1.5.0
resolution: "eslint-plugin-deprecation@npm:1.5.0"
"eslint-plugin-deprecation@npm:^2.0.0":
version: 2.0.0
resolution: "eslint-plugin-deprecation@npm:2.0.0"
dependencies:
"@typescript-eslint/utils": ^5.57.0
"@typescript-eslint/utils": ^6.0.0
tslib: ^2.3.1
tsutils: ^3.21.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
typescript: ^3.7.5 || ^4.0.0 || ^5.0.0
checksum: ec0ff3df1dbbbb85d14c8f6656bb126377280db58789c2ba3c4500250b291559c651a0fb2ac29aa977408fef3a919ad41e706100b55672ceb6c1ad09550e7396
eslint: ^7.0.0 || ^8.0.0
typescript: ^4.2.4 || ^5.0.0
checksum: d79611e902ac419a21e51eab582fcdbcf8170aff820c5e5197e7d242e7ca6bda59c0077d88404970c25993017398dd65c96df7d31a833e332d45dd330935324b
languageName: node
linkType: hard
@@ -3827,13 +3827,14 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-n@npm:^16.0.2":
version: 16.0.2
resolution: "eslint-plugin-n@npm:16.0.2"
"eslint-plugin-n@npm:^16.1.0":
version: 16.1.0
resolution: "eslint-plugin-n@npm:16.1.0"
dependencies:
"@eslint-community/eslint-utils": ^4.4.0
builtins: ^5.0.1
eslint-plugin-es-x: ^7.1.0
get-tsconfig: ^4.7.0
ignore: ^5.2.4
is-core-module: ^2.12.1
minimatch: ^3.1.2
@@ -3841,7 +3842,7 @@ __metadata:
semver: ^7.5.3
peerDependencies:
eslint: ">=7.0.0"
checksum: 44cffe32a3a3cd2a706e82f45fedf79e0af7cae20e7c5f3185707233d941de1058373a27b90e86a8f0e5f9830b02c90116deaa05f139a67556954de72bc4935d
checksum: 6b70bf8eec74395a440ca585745eb19aba143ee00513f76893c44944675630bd898227d1b4e0ebef66fd0c84cdcf223d6613b2beee0727b5c572cd705fb50d3a
languageName: node
linkType: hard
@@ -3943,15 +3944,15 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.47.0":
version: 8.47.0
resolution: "eslint@npm:8.47.0"
"eslint@npm:^8.49.0":
version: 8.49.0
resolution: "eslint@npm:8.49.0"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
"@eslint-community/regexpp": ^4.6.1
"@eslint/eslintrc": ^2.1.2
"@eslint/js": ^8.47.0
"@humanwhocodes/config-array": ^0.11.10
"@eslint/js": 8.49.0
"@humanwhocodes/config-array": ^0.11.11
"@humanwhocodes/module-importer": ^1.0.1
"@nodelib/fs.walk": ^1.2.8
ajv: ^6.12.4
@@ -3986,7 +3987,7 @@ __metadata:
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
checksum: 1988617f703eadc5c7540468d54dc8e5171cf2bb9483f6172799cd1ff54a9a5e4470f003784e8cef92687eaa14de37172732787040e67817581a20bcb9c15970
checksum: 4dfe257e1e42da2f9da872b05aaaf99b0f5aa022c1a91eee8f2af1ab72651b596366320c575ccd4e0469f7b4c97aff5bb85ae3323ebd6a293c3faef4028b0d81
languageName: node
linkType: hard
@@ -4664,10 +4665,12 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"get-tsconfig@npm:^4.5.0":
version: 4.5.0
resolution: "get-tsconfig@npm:4.5.0"
checksum: 687ee2bd69a5a07db2e2edeb4d6c41c3debb38f6281a66beb643e3f5b520252e27fcbbb5702bdd9a5f05dcf8c1d2e0150a4d8a960ad75cbdea74e06a51e91b02
"get-tsconfig@npm:^4.5.0, get-tsconfig@npm:^4.7.0":
version: 4.7.0
resolution: "get-tsconfig@npm:4.7.0"
dependencies:
resolve-pkg-maps: ^1.0.0
checksum: 44536925720acc2f133d26301d5626405d8fe33066625484ff309bb6fb7f3310dc0bb202f862805f21a791e38a9870c6dddb013d1443dd5d745d91ad1946254a
languageName: node
linkType: hard
@@ -7745,6 +7748,13 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"resolve-pkg-maps@npm:^1.0.0":
version: 1.0.0
resolution: "resolve-pkg-maps@npm:1.0.0"
checksum: 1012afc566b3fdb190a6309cc37ef3b2dcc35dff5fa6683a9d00cd25c3247edfbc4691b91078c97adc82a29b77a2660c30d791d65dab4fc78bfc473f60289977
languageName: node
linkType: hard
"resolve@^1.1.6, resolve@^1.20.0, resolve@npm:^1.21.0, resolve@npm:^1.22.1, resolve@npm:^1.22.2, resolve@npm:^1.22.4":
version: 1.22.4
resolution: "resolve@npm:1.22.4"
@@ -7872,9 +7882,9 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"rollup@npm:^3.28.1":
version: 3.28.1
resolution: "rollup@npm:3.28.1"
"rollup@npm:^3.29.1":
version: 3.29.1
resolution: "rollup@npm:3.29.1"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -7882,7 +7892,7 @@ fsevents@~2.3.2:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 1fcab0929c16130218447c76c19b56ccc0e677110552462297e3679188fc70185a6ec418cef8ce138ec9fb78fd5188537a3f5d28762788e8c88b12a7fb8ba0fb
checksum: eb92dbb83842f46782257c93e864dd12e9eef72eb98485a70a08026e50f7b557cfff7da71f677a4bd62906e597cc99284bf152b876f814a95b61f5a618a0f43e
languageName: node
linkType: hard
@@ -7890,8 +7900,8 @@ fsevents@~2.3.2:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@polkadot/dev": ^0.76.18
"@types/node": ^20.5.3
"@polkadot/dev": ^0.76.25
"@types/node": ^20.6.0
languageName: unknown
linkType: soft
@@ -9657,9 +9667,9 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"ws@npm:^8.13.0":
version: 8.13.0
resolution: "ws@npm:8.13.0"
"ws@npm:^8.13.0, ws@npm:^8.14.1":
version: 8.14.1
resolution: "ws@npm:8.14.1"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ">=5.0.2"
@@ -9668,7 +9678,7 @@ fsevents@~2.3.2:
optional: true
utf-8-validate:
optional: true
checksum: 53e991bbf928faf5dc6efac9b8eb9ab6497c69feeb94f963d648b7a3530a720b19ec2e0ec037344257e05a4f35bd9ad04d9de6f289615ffb133282031b18c61c
checksum: 9e310be2b0ff69e1f87d8c6d093ecd17a1ed4c37f281d17c35e8c30e2bd116401775b3d503249651374e6e0e1e9905db62fff096b694371c77561aee06bc3466
languageName: node
linkType: hard