Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5235009f4c | ||
|
|
21bfff5a51 | ||
|
|
963025daab | ||
|
|
ec7ef17b64 | ||
|
|
ef94fed1fe | ||
|
|
43ac361806 | ||
|
|
2bc18cfdbb | ||
|
|
be7df03e7c | ||
|
|
0ae44ed34e | ||
|
|
09d54ea200 | ||
|
|
457ea1a0b7 | ||
|
|
972363a5bb | ||
|
|
e59fe6fd22 | ||
|
|
35f9f4468b | ||
|
|
802174d6ad | ||
|
|
d690abea02 | ||
|
|
26a762ae2e | ||
|
|
9d49bcde75 | ||
|
|
8b0f5bf46e | ||
|
|
a75d8761da | ||
|
|
a58fb0bbff | ||
|
|
0467c410c8 |
Vendored
-934
File diff suppressed because one or more lines are too long
+948
File diff suppressed because one or more lines are too long
+1
-1
@@ -12,4 +12,4 @@ logFilters:
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.6.0.cjs
|
||||
yarnPath: .yarn/releases/yarn-4.9.1.cjs
|
||||
|
||||
@@ -1,5 +1,39 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 13.5.2 Jun 17, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- fix: enhance error handling for secure random number generation in React Native ([#1991](https://github.com/polkadot-js/common/pull/1991))
|
||||
- Add input length validation in scryptFromU8a function ([#1990](https://github.com/polkadot-js/common/pull/1990))
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add Liberland support to Generic Ledger App ([#1989](https://github.com/polkadot-js/common/pull/1989))
|
||||
|
||||
## 13.5.1 May 19, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Ledger ECDSA signing support ([#1986](https://github.com/polkadot-js/common/pull/1986))
|
||||
- Bump yarn to 4.9.1 ([#1987](https://github.com/polkadot-js/common/pull/1987))
|
||||
|
||||
|
||||
## 13.4.4 Apr 14, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Improve objectSpread function property handling ([#1982](https://github.com/polkadot-js/common/pull/1982))
|
||||
|
||||
|
||||
## 13.4.3 Feb 17, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Rollback ws change in x-ws ([#1980](https://github.com/polkadot-js/common/pull/1980))
|
||||
NOTE: this rollbacks changes made in ([#1976](https://github.com/polkadot-js/common/pull/1976)) to ensure websocket usage doesnt break in any downstream libs.
|
||||
|
||||
|
||||
## 13.4.2 Feb 17, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
+5
-2
@@ -1,13 +1,13 @@
|
||||
1674 Jaco Bump deps (#1912)
|
||||
38 Tarik Gul 13.4.2 (#1979)
|
||||
43 Tarik Gul 13.5.1 (#1988)
|
||||
13 Carlo Sala feat(networks): add zeitgeist Ledger support (#1840)
|
||||
9 Antoine Estienne Add eth uri keyring test (#1291)
|
||||
7 Valentin Fernandez 13.5.2 (#1992)
|
||||
6 Amaury Martiny Add tests from Rust (#283)
|
||||
6 Jakub Pánik HydraDX -> Hydration rebrand (#1923)
|
||||
5 kwingram25 Add BN consts and timeToString (#610)
|
||||
4 Adam Dossa Update Polymesh Genesis Hash (#1193)
|
||||
4 pan add bifrost kusama (#1626)
|
||||
4 Valentin Fernandez Cast ws as global.WebSocket (#1978)
|
||||
3 Luke Schoen docs: Fix example in readme since we use default imports (#243)
|
||||
2 AndreasGassmann feat(dependencies): remove moment.js (#530)
|
||||
2 Cameron Fairchild Add bittensor details (#1783)
|
||||
@@ -24,6 +24,7 @@
|
||||
1 Alexander Krupenkin Added ECDSA keypair support (#589)
|
||||
1 alexdniep added equilibrium slip44; added equilibrium genesis hash (#984)
|
||||
1 amphineko chore: fix typo in versionDetect messages (#941)
|
||||
1 Arjun Porwal Add input length validation in `scryptFromU8a` function (#1990)
|
||||
1 Axel Chalon Simplify @polkadot/keyring KeyringPair (#419)
|
||||
1 Brad Larson [FIX] Adjust error message (#646)
|
||||
1 Carlos Medeiros add hydradx to knownLedger (#1647)
|
||||
@@ -52,6 +53,8 @@
|
||||
1 Nantian add acala ledger config (#1485)
|
||||
1 peetzweg/ adds `isRiscV` guard function similar to isWasm (#1878)
|
||||
1 qwer951123 Add acala genesis (#1161)
|
||||
1 Radek Bochenek feat: add Liberland support to Generic Ledger App (#1989)
|
||||
1 rajk93 chore: add error handling for secure rng in react native (#1991)
|
||||
1 Raoul Millais Fix yarn add instructions in x-global README (#873)
|
||||
1 Raymond Zhong Add Edgeware ledger app (#1006)
|
||||
1 Reto Trinkler Adding 4 as address type of ss58 for Katal Chain (#639)
|
||||
|
||||
+4
-4
@@ -6,7 +6,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common#readme",
|
||||
"license": "Apache-2.0",
|
||||
"packageManager": "yarn@4.6.0",
|
||||
"packageManager": "yarn@4.9.1",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"versions": {
|
||||
"git": "13.4.2",
|
||||
"npm": "13.4.2"
|
||||
"git": "13.5.2",
|
||||
"npm": "13.5.2"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
"react-native": "react-native.js",
|
||||
@@ -22,7 +22,7 @@
|
||||
"@ledgerhq/hw-transport": "^6.31.4",
|
||||
"@ledgerhq/hw-transport-webhid": "^6.29.4",
|
||||
"@ledgerhq/hw-transport-webusb": "^6.29.4",
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"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: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/hw-ledger-transports": "13.4.2",
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@zondax/ledger-substrate": "1.0.0",
|
||||
"@polkadot/hw-ledger-transports": "13.5.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"@zondax/ledger-substrate": "1.1.1",
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,8 +46,8 @@ async function wrapError <T extends WrappedResult> (promise: Promise<T>): Promis
|
||||
return result;
|
||||
}
|
||||
|
||||
/** @internal Wraps a sign/signRaw call and returns the associated signature */
|
||||
function sign (method: 'sign' | 'signRaw', message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
|
||||
/** @internal Wraps a signEd25519/signRawEd25519 call and returns the associated signature */
|
||||
function sign (method: 'signEd25519' | 'signRawEd25519', message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
|
||||
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
|
||||
|
||||
return async (app: PolkadotGenericApp): Promise<LedgerSignature> => {
|
||||
@@ -59,7 +59,22 @@ function sign (method: 'sign' | 'signRaw', message: Uint8Array, slip44: number,
|
||||
};
|
||||
}
|
||||
|
||||
/** @internal Wraps a signWithMetadata call and returns the associated signature */
|
||||
/** @internal Wraps a signEcdsa/signRawEcdsa call and returns the associated signature */
|
||||
function signEcdsa (method: 'signEcdsa' | 'signRawEcdsa', message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
|
||||
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
|
||||
|
||||
return async (app: PolkadotGenericApp): Promise<LedgerSignature> => {
|
||||
const { r, s, v } = await wrapError(app[method](bip42Path, u8aToBuffer(message)));
|
||||
|
||||
const signature = Buffer.concat([r, s, v]);
|
||||
|
||||
return {
|
||||
signature: hexAddPrefix(signature.toString('hex'))
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
/** @internal Wraps a signWithMetadataEd25519 call and returns the associated signature */
|
||||
function signWithMetadata (message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0, { metadata }: Partial<AccountOptionsGeneric> = {}): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
|
||||
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
|
||||
|
||||
@@ -70,7 +85,28 @@ function signWithMetadata (message: Uint8Array, slip44: number, accountIndex = 0
|
||||
|
||||
const bufferMsg = Buffer.from(message);
|
||||
|
||||
const { signature } = await wrapError(app.signWithMetadata(bip42Path, bufferMsg, metadata));
|
||||
const { signature } = await wrapError(app.signWithMetadataEd25519(bip42Path, bufferMsg, metadata));
|
||||
|
||||
return {
|
||||
signature: hexAddPrefix(signature.toString('hex'))
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
/** @internal Wraps a signWithMetadataEcdsa call and returns the associated signature */
|
||||
function signWithMetadataEcdsa (message: Uint8Array, slip44: number, accountIndex = 0, addressOffset = 0, { metadata }: Partial<AccountOptionsGeneric> = {}): (app: PolkadotGenericApp) => Promise<LedgerSignature> {
|
||||
const bip42Path = `m/44'/${slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
|
||||
|
||||
return async (app: PolkadotGenericApp): Promise<LedgerSignature> => {
|
||||
if (!metadata) {
|
||||
throw new Error('The metadata option must be present when using signWithMetadata');
|
||||
}
|
||||
|
||||
const bufferMsg = Buffer.from(message);
|
||||
|
||||
const { r, s, v } = await wrapError(app.signWithMetadataEcdsa(bip42Path, bufferMsg, metadata));
|
||||
|
||||
const signature = Buffer.concat([r, s, v]);
|
||||
|
||||
return {
|
||||
signature: hexAddPrefix(signature.toString('hex'))
|
||||
@@ -119,14 +155,31 @@ export class LedgerGeneric {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Returns the address associated with a specific account & address offset. Optionally
|
||||
* @description Returns the address associated with a specific Ed25519 account & address offset. Optionally
|
||||
* asks for on-device confirmation
|
||||
*/
|
||||
public async getAddress (ss58Prefix: number, confirm = false, accountIndex = 0, addressOffset = 0): Promise<LedgerAddress> {
|
||||
const bip42Path = `m/44'/${this.#slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
|
||||
|
||||
return this.withApp(async (app: PolkadotGenericApp): Promise<LedgerAddress> => {
|
||||
const { address, pubKey } = await wrapError(app.getAddress(bip42Path, ss58Prefix, confirm));
|
||||
const { address, pubKey } = await wrapError(app.getAddressEd25519(bip42Path, ss58Prefix, confirm));
|
||||
|
||||
return {
|
||||
address,
|
||||
publicKey: hexAddPrefix(pubKey)
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Returns the address associated with a specific ecdsa account & address offset. Optionally
|
||||
* asks for on-device confirmation
|
||||
*/
|
||||
public async getAddressEcdsa (confirm = false, accountIndex = 0, addressOffset = 0) {
|
||||
const bip42Path = `m/44'/${this.#slip44}'/${accountIndex}'/${0}'/${addressOffset}'`;
|
||||
|
||||
return this.withApp(async (app: PolkadotGenericApp): Promise<LedgerAddress> => {
|
||||
const { address, pubKey } = await wrapError(app.getAddressEcdsa(bip42Path, confirm));
|
||||
|
||||
return {
|
||||
address,
|
||||
@@ -154,14 +207,28 @@ export class LedgerGeneric {
|
||||
* @description Signs a transaction on the Ledger device. This requires the LedgerGeneric class to be instantiated with `chainId`, and `metaUrl`
|
||||
*/
|
||||
public async sign (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
|
||||
return this.withApp(sign('sign', message, this.#slip44, accountIndex, addressOffset));
|
||||
return this.withApp(sign('signEd25519', message, this.#slip44, accountIndex, addressOffset));
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Signs a message (non-transactional) on the Ledger device
|
||||
*/
|
||||
public async signRaw (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
|
||||
return this.withApp(sign('signRaw', u8aWrapBytes(message), this.#slip44, accountIndex, addressOffset));
|
||||
return this.withApp(sign('signRawEd25519', u8aWrapBytes(message), this.#slip44, accountIndex, addressOffset));
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Signs a transaction on the Ledger device with Ecdsa. This requires the LedgerGeneric class to be instantiated with `chainId`, and `metaUrl`
|
||||
*/
|
||||
public async signEcdsa (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
|
||||
return this.withApp(signEcdsa('signEcdsa', u8aWrapBytes(message), this.#slip44, accountIndex, addressOffset));
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Signs a message with Ecdsa (non-transactional) on the Ledger device
|
||||
*/
|
||||
public async signRawEcdsa (message: Uint8Array, accountIndex?: number, addressOffset?: number): Promise<LedgerSignature> {
|
||||
return this.withApp(signEcdsa('signRawEcdsa', u8aWrapBytes(message), this.#slip44, accountIndex, addressOffset));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -171,6 +238,13 @@ export class LedgerGeneric {
|
||||
return this.withApp(signWithMetadata(message, this.#slip44, accountIndex, addressOffset, options));
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Signs a transaction on the ledger device for an ecdsa signature provided some metadata.
|
||||
*/
|
||||
public async signWithMetadataEcdsa (message: Uint8Array, accountIndex?: number, addressOffset?: number, options?: Partial<AccountOptionsGeneric>) {
|
||||
return this.withApp(signWithMetadataEcdsa(message, this.#slip44, accountIndex, addressOffset, options));
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
|
||||
@@ -54,6 +54,7 @@ export const genericLedgerApps = {
|
||||
encointer: 'Encointer',
|
||||
frequency: 'Frequency',
|
||||
integritee: 'Integritee',
|
||||
liberland: 'Liberland',
|
||||
polimec: 'Polimec',
|
||||
vara: 'Vara'
|
||||
};
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/util-crypto": "13.4.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"@polkadot/util-crypto": "13.5.2",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/util-crypto": "13.4.2"
|
||||
"@polkadot/util": "13.5.2",
|
||||
"@polkadot/util-crypto": "13.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"@substrate/ss58-registry": "^1.51.0",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/hw-ledger": "13.4.2"
|
||||
"@polkadot/hw-ledger": "13.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,6 +99,9 @@ export const knownGenesis: KnownGenesis = {
|
||||
'0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636', // Kusama CC2
|
||||
'0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
|
||||
],
|
||||
liberland: [
|
||||
'0x6bd89e052d67a45bb60a9a23e8581053d5e0d619f15cb9865946937e690c42d6'
|
||||
],
|
||||
matrixchain: [
|
||||
'0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615'
|
||||
],
|
||||
|
||||
@@ -31,6 +31,7 @@ export const knownLedger: KnownLedger = {
|
||||
karura: 0x000002ae,
|
||||
khala: 0x000001b2,
|
||||
kusama: 0x000001b2,
|
||||
liberland: 0x000002ff,
|
||||
matrixchain: 0x00000483,
|
||||
nodle: 0x000003eb,
|
||||
origintrail: 0x00000162,
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"browser": {
|
||||
"crypto": false,
|
||||
"stream": false
|
||||
@@ -29,16 +29,16 @@
|
||||
"dependencies": {
|
||||
"@noble/curves": "^1.3.0",
|
||||
"@noble/hashes": "^1.3.3",
|
||||
"@polkadot/networks": "13.4.2",
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/networks": "13.5.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"@polkadot/wasm-crypto": "^7.4.1",
|
||||
"@polkadot/wasm-util": "^7.4.1",
|
||||
"@polkadot/x-bigint": "13.4.2",
|
||||
"@polkadot/x-randomvalues": "13.4.2",
|
||||
"@polkadot/x-bigint": "13.5.2",
|
||||
"@polkadot/x-randomvalues": "13.5.2",
|
||||
"@scure/base": "^1.1.7",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "13.4.2"
|
||||
"@polkadot/util": "13.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/util-crypto', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/util-crypto', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -14,10 +14,19 @@ interface Result {
|
||||
}
|
||||
|
||||
export function scryptFromU8a (data: Uint8Array): Result {
|
||||
if (!(data instanceof Uint8Array)) {
|
||||
throw new Error('Expected input to be a Uint8Array');
|
||||
}
|
||||
|
||||
// Ensure the input is exactly 44 bytes: 32 for salt + 3 * 4 for N, p, r
|
||||
if (data.length < 32 + 12) {
|
||||
throw new Error(`Invalid input length: expected 44 bytes, found ${data.length}`);
|
||||
}
|
||||
|
||||
const salt = data.subarray(0, 32);
|
||||
const N = u8aToBn(data.subarray(32 + 0, 32 + 4), BN_LE_OPTS).toNumber();
|
||||
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();
|
||||
const N = u8aToBn(data.subarray(32, 36), BN_LE_OPTS).toNumber();
|
||||
const p = u8aToBn(data.subarray(36, 40), BN_LE_OPTS).toNumber();
|
||||
const r = u8aToBn(data.subarray(40, 44), 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
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
"./hex/toU8a": {
|
||||
@@ -35,15 +35,15 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/x-bigint": "13.4.2",
|
||||
"@polkadot/x-global": "13.4.2",
|
||||
"@polkadot/x-textdecoder": "13.4.2",
|
||||
"@polkadot/x-textencoder": "13.4.2",
|
||||
"@polkadot/x-bigint": "13.5.2",
|
||||
"@polkadot/x-global": "13.5.2",
|
||||
"@polkadot/x-textdecoder": "13.5.2",
|
||||
"@polkadot/x-textencoder": "13.5.2",
|
||||
"@types/bn.js": "^5.1.6",
|
||||
"bn.js": "^5.2.1",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/x-randomvalues": "13.4.2"
|
||||
"@polkadot/x-randomvalues": "13.5.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,18 +4,32 @@
|
||||
/**
|
||||
* @name objectSpread
|
||||
* @summary Concats all sources into the destination
|
||||
* @description Spreads object properties while maintaining object integrity
|
||||
*/
|
||||
export function objectSpread <T extends object> (dest: object, ...sources: (object | undefined | null)[]): T {
|
||||
const filterProps = new Set(['__proto__', 'constructor', 'prototype']);
|
||||
|
||||
for (let i = 0, count = sources.length; i < count; i++) {
|
||||
const src = sources[i];
|
||||
|
||||
if (src) {
|
||||
if (typeof (src as Map<string, unknown>).entries === 'function') {
|
||||
for (const [key, value] of (src as Map<string, unknown>).entries()) {
|
||||
(dest as Record<string, unknown>)[key] = value;
|
||||
if (!filterProps.has(key)) {
|
||||
(dest as Record<string, unknown>)[key] = value;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Object.assign(dest, src);
|
||||
// Create a clean copy of the source object
|
||||
const sanitizedSrc = Object.create(null) as Record<string, unknown>;
|
||||
|
||||
for (const [key, value] of Object.entries(src)) {
|
||||
if (!filterProps.has(key)) {
|
||||
sanitizedSrc[key] = value;
|
||||
}
|
||||
}
|
||||
|
||||
Object.assign(dest, sanitizedSrc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/util', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/util', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
"./shim.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"dependencies": {
|
||||
"@polkadot/x-global": "13.4.2",
|
||||
"@polkadot/x-global": "13.5.2",
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-bigint', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-bigint', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"buffer-es6": "^4.9.3",
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-bundle', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-bundle', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
"react-native": "react-native.js",
|
||||
"dependencies": {
|
||||
"@polkadot/x-global": "13.4.2",
|
||||
"@polkadot/x-global": "13.5.2",
|
||||
"node-fetch": "^3.3.2",
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-fetch', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-fetch', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"tslib": "^2.8.0"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-global', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-global', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -15,21 +15,21 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
"react-native": "react-native.js",
|
||||
"dependencies": {
|
||||
"@polkadot/x-global": "13.4.2",
|
||||
"@polkadot/x-global": "13.5.2",
|
||||
"tslib": "^2.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"@polkadot/wasm-util": "^7.4.1",
|
||||
"@types/react-native": "^0.73.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "13.4.2",
|
||||
"@polkadot/util": "13.5.2",
|
||||
"@polkadot/wasm-util": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-randomvalues', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-randomvalues', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -12,7 +12,6 @@ import { base64Decode } from '@polkadot/wasm-util/base64';
|
||||
import { xglobal } from '@polkadot/x-global';
|
||||
|
||||
import { crypto as cryptoBrowser, getRandomValues as getRandomValuesBrowser } from './browser.js';
|
||||
import { insecureRandomValues } from './fallback.js';
|
||||
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
|
||||
@@ -32,6 +31,10 @@ interface RNExt {
|
||||
* random utiliy generation functions.
|
||||
**/
|
||||
function getRandomValuesRn (output: Uint8Array): Uint8Array {
|
||||
if (!NativeModules['ExpoRandom'] && !(NativeModules as RNExt).RNGetRandomValues) {
|
||||
throw new Error('No secure random number generator available. This environment does not support crypto.getRandomValues and no React Native secure RNG module is available.');
|
||||
}
|
||||
|
||||
return base64Decode(
|
||||
(NativeModules as RNExt).RNGetRandomValues
|
||||
? (NativeModules as RNExt).RNGetRandomValues.getRandomBase64(output.length)
|
||||
@@ -43,8 +46,10 @@ function getRandomValuesRn (output: Uint8Array): Uint8Array {
|
||||
export const getRandomValues = (
|
||||
(typeof xglobal.crypto === 'object' && typeof xglobal.crypto.getRandomValues === 'function')
|
||||
? getRandomValuesBrowser
|
||||
: (typeof xglobal['nativeCallSyncHook'] === 'undefined' || !NativeModules['ExpoRandom'])
|
||||
? insecureRandomValues
|
||||
: (typeof xglobal['nativeCallSyncHook'] === 'undefined')
|
||||
? () => {
|
||||
throw new Error('No secure random number generator available. This environment does not support crypto.getRandomValues.');
|
||||
}
|
||||
: getRandomValuesRn
|
||||
);
|
||||
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
"react-native": "react-native.js",
|
||||
"dependencies": {
|
||||
"@polkadot/x-global": "13.4.2",
|
||||
"@polkadot/x-global": "13.5.2",
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-textdecoder', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-textdecoder', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
"react-native": "react-native.js",
|
||||
"dependencies": {
|
||||
"@polkadot/x-global": "13.4.2",
|
||||
"@polkadot/x-global": "13.5.2",
|
||||
"tslib": "^2.8.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-textencoder', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-textencoder', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "13.4.2",
|
||||
"version": "13.5.2",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
"react-native": "react-native.js",
|
||||
"dependencies": {
|
||||
"@polkadot/x-global": "13.4.2",
|
||||
"@polkadot/x-global": "13.5.2",
|
||||
"tslib": "^2.8.0",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
|
||||
@@ -7,16 +7,4 @@ import { extractGlobal } from '@polkadot/x-global';
|
||||
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
|
||||
/**
|
||||
* The built-in `globalThis.WebSocket` in Node.js 22+ does not provide
|
||||
* detailed error messages (e.g., `ECONNREFUSED` or `ETIMEDOUT`), making
|
||||
* it difficult to implement proper reconnection logic.
|
||||
*
|
||||
* To avoid these issues, we explicitly use the `ws` library in Node.js 22+
|
||||
* while still preserving support for the browser WebSocket API in browser environments.
|
||||
*
|
||||
* Related Issue: https://github.com/polkadot-js/common/issues/1975
|
||||
*/
|
||||
const isNode22 = typeof process !== 'undefined' && parseInt(process.versions?.node?.split('.')[0] || '0', 10) >= 22;
|
||||
|
||||
export const WebSocket = isNode22 ? (ws as unknown as typeof globalThis.WebSocket) : /*#__PURE__*/ extractGlobal('WebSocket', ws);
|
||||
export const WebSocket = /*#__PURE__*/ extractGlobal('WebSocket', ws);
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/x-ws', path: 'auto', type: 'auto', version: '13.4.2' };
|
||||
export const packageInfo = { name: '@polkadot/x-ws', path: 'auto', type: 'auto', version: '13.5.2' };
|
||||
|
||||
@@ -1207,7 +1207,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ledgerhq/devices@npm:^8.3.0, @ledgerhq/devices@npm:^8.4.2, @ledgerhq/devices@npm:^8.4.4":
|
||||
"@ledgerhq/devices@npm:^8.4.4":
|
||||
version: 8.4.4
|
||||
resolution: "@ledgerhq/devices@npm:8.4.4"
|
||||
dependencies:
|
||||
@@ -1219,7 +1219,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ledgerhq/errors@npm:^6.16.4, @ledgerhq/errors@npm:^6.18.0, @ledgerhq/errors@npm:^6.19.1":
|
||||
"@ledgerhq/errors@npm:^6.19.1":
|
||||
version: 6.19.1
|
||||
resolution: "@ledgerhq/errors@npm:6.19.1"
|
||||
checksum: 10/8265c6d73c314a4aabbe060ec29e2feebb4e904fe811bf7a9c53cde08e713dcbceded9d927ebb2f0ffc47a7b16524379d4a7e9aa3d61945b8a832be7cd5cf69b
|
||||
@@ -1278,31 +1278,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ledgerhq/hw-transport@npm:6.30.6":
|
||||
version: 6.30.6
|
||||
resolution: "@ledgerhq/hw-transport@npm:6.30.6"
|
||||
dependencies:
|
||||
"@ledgerhq/devices": "npm:^8.3.0"
|
||||
"@ledgerhq/errors": "npm:^6.16.4"
|
||||
"@ledgerhq/logs": "npm:^6.12.0"
|
||||
events: "npm:^3.3.0"
|
||||
checksum: 10/4fc71409e1ff906e479f2e45c386a9db2d062271908a86d09a59587652d485b80200a5335e7e9dbaf5264c0af4b8e6c36d24e7db921b10f4cc420b51e9ca3c00
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ledgerhq/hw-transport@npm:6.31.2":
|
||||
version: 6.31.2
|
||||
resolution: "@ledgerhq/hw-transport@npm:6.31.2"
|
||||
dependencies:
|
||||
"@ledgerhq/devices": "npm:^8.4.2"
|
||||
"@ledgerhq/errors": "npm:^6.18.0"
|
||||
"@ledgerhq/logs": "npm:^6.12.0"
|
||||
events: "npm:^3.3.0"
|
||||
checksum: 10/b712b0c5a409d8bca254daa16b2867110132d44382dfb758e4ab0d710656d85c6b3fd9e42565ec9959db9a7f57b430d04d9db5556fb64727d7dc0a8e7a92d165
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ledgerhq/hw-transport@npm:^6.31.4":
|
||||
"@ledgerhq/hw-transport@npm:6.31.4, @ledgerhq/hw-transport@npm:^6.31.4":
|
||||
version: 6.31.4
|
||||
resolution: "@ledgerhq/hw-transport@npm:6.31.4"
|
||||
dependencies:
|
||||
@@ -1598,7 +1574,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/hw-ledger-transports@npm:13.4.2, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
|
||||
"@polkadot/hw-ledger-transports@npm:13.5.2, @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:
|
||||
@@ -1606,7 +1582,7 @@ __metadata:
|
||||
"@ledgerhq/hw-transport-node-hid-singleton": "npm:^6.31.5"
|
||||
"@ledgerhq/hw-transport-webhid": "npm:^6.29.4"
|
||||
"@ledgerhq/hw-transport-webusb": "npm:^6.29.4"
|
||||
"@polkadot/util": "npm:13.4.2"
|
||||
"@polkadot/util": "npm:13.5.2"
|
||||
tslib: "npm:^2.8.0"
|
||||
dependenciesMeta:
|
||||
"@ledgerhq/hw-transport-node-hid-singleton":
|
||||
@@ -1614,13 +1590,13 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/hw-ledger@npm:13.4.2, @polkadot/hw-ledger@workspace:packages/hw-ledger":
|
||||
"@polkadot/hw-ledger@npm:13.5.2, @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": "npm:13.4.2"
|
||||
"@polkadot/util": "npm:13.4.2"
|
||||
"@zondax/ledger-substrate": "npm:1.0.0"
|
||||
"@polkadot/hw-ledger-transports": "npm:13.5.2"
|
||||
"@polkadot/util": "npm:13.5.2"
|
||||
"@zondax/ledger-substrate": "npm:1.1.1"
|
||||
tslib: "npm:^2.8.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -1629,54 +1605,54 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/keyring@workspace:packages/keyring"
|
||||
dependencies:
|
||||
"@polkadot/util": "npm:13.4.2"
|
||||
"@polkadot/util-crypto": "npm:13.4.2"
|
||||
"@polkadot/util": "npm:13.5.2"
|
||||
"@polkadot/util-crypto": "npm:13.5.2"
|
||||
tslib: "npm:^2.8.0"
|
||||
peerDependencies:
|
||||
"@polkadot/util": 13.4.2
|
||||
"@polkadot/util-crypto": 13.4.2
|
||||
"@polkadot/util": 13.5.2
|
||||
"@polkadot/util-crypto": 13.5.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/networks@npm:13.4.2, @polkadot/networks@workspace:packages/networks":
|
||||
"@polkadot/networks@npm:13.5.2, @polkadot/networks@workspace:packages/networks":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/networks@workspace:packages/networks"
|
||||
dependencies:
|
||||
"@polkadot/hw-ledger": "npm:13.4.2"
|
||||
"@polkadot/util": "npm:13.4.2"
|
||||
"@polkadot/hw-ledger": "npm:13.5.2"
|
||||
"@polkadot/util": "npm:13.5.2"
|
||||
"@substrate/ss58-registry": "npm:^1.51.0"
|
||||
tslib: "npm:^2.8.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util-crypto@npm:13.4.2, @polkadot/util-crypto@workspace:packages/util-crypto":
|
||||
"@polkadot/util-crypto@npm:13.5.2, @polkadot/util-crypto@workspace:packages/util-crypto":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/util-crypto@workspace:packages/util-crypto"
|
||||
dependencies:
|
||||
"@noble/curves": "npm:^1.3.0"
|
||||
"@noble/hashes": "npm:^1.3.3"
|
||||
"@polkadot/networks": "npm:13.4.2"
|
||||
"@polkadot/util": "npm:13.4.2"
|
||||
"@polkadot/networks": "npm:13.5.2"
|
||||
"@polkadot/util": "npm:13.5.2"
|
||||
"@polkadot/wasm-crypto": "npm:^7.4.1"
|
||||
"@polkadot/wasm-util": "npm:^7.4.1"
|
||||
"@polkadot/x-bigint": "npm:13.4.2"
|
||||
"@polkadot/x-randomvalues": "npm:13.4.2"
|
||||
"@polkadot/x-bigint": "npm:13.5.2"
|
||||
"@polkadot/x-randomvalues": "npm:13.5.2"
|
||||
"@scure/base": "npm:^1.1.7"
|
||||
tslib: "npm:^2.8.0"
|
||||
peerDependencies:
|
||||
"@polkadot/util": 13.4.2
|
||||
"@polkadot/util": 13.5.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util@npm:13.4.2, @polkadot/util@workspace:packages/util":
|
||||
"@polkadot/util@npm:13.5.2, @polkadot/util@workspace:packages/util":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/util@workspace:packages/util"
|
||||
dependencies:
|
||||
"@polkadot/x-bigint": "npm:13.4.2"
|
||||
"@polkadot/x-global": "npm:13.4.2"
|
||||
"@polkadot/x-randomvalues": "npm:13.4.2"
|
||||
"@polkadot/x-textdecoder": "npm:13.4.2"
|
||||
"@polkadot/x-textencoder": "npm:13.4.2"
|
||||
"@polkadot/x-bigint": "npm:13.5.2"
|
||||
"@polkadot/x-global": "npm:13.5.2"
|
||||
"@polkadot/x-randomvalues": "npm:13.5.2"
|
||||
"@polkadot/x-textdecoder": "npm:13.5.2"
|
||||
"@polkadot/x-textencoder": "npm:13.5.2"
|
||||
"@types/bn.js": "npm:^5.1.6"
|
||||
bn.js: "npm:^5.2.1"
|
||||
tslib: "npm:^2.8.0"
|
||||
@@ -1763,11 +1739,11 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-bigint@npm:13.4.2, @polkadot/x-bigint@workspace:packages/x-bigint":
|
||||
"@polkadot/x-bigint@npm:13.5.2, @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": "npm:13.4.2"
|
||||
"@polkadot/x-global": "npm:13.5.2"
|
||||
tslib: "npm:^2.8.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -1776,7 +1752,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-bundle@workspace:packages/x-bundle"
|
||||
dependencies:
|
||||
"@polkadot/util": "npm:13.4.2"
|
||||
"@polkadot/util": "npm:13.5.2"
|
||||
buffer-es6: "npm:^4.9.3"
|
||||
tslib: "npm:^2.8.0"
|
||||
languageName: unknown
|
||||
@@ -1786,13 +1762,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-fetch@workspace:packages/x-fetch"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.4.2"
|
||||
"@polkadot/x-global": "npm:13.5.2"
|
||||
node-fetch: "npm:^3.3.2"
|
||||
tslib: "npm:^2.8.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-global@npm:13.4.2, @polkadot/x-global@workspace:packages/x-global":
|
||||
"@polkadot/x-global@npm:13.5.2, @polkadot/x-global@workspace:packages/x-global":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-global@workspace:packages/x-global"
|
||||
dependencies:
|
||||
@@ -1800,35 +1776,35 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-randomvalues@npm:13.4.2, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
|
||||
"@polkadot/x-randomvalues@npm:13.5.2, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues"
|
||||
dependencies:
|
||||
"@polkadot/util": "npm:13.4.2"
|
||||
"@polkadot/util": "npm:13.5.2"
|
||||
"@polkadot/wasm-util": "npm:^7.4.1"
|
||||
"@polkadot/x-global": "npm:13.4.2"
|
||||
"@polkadot/x-global": "npm:13.5.2"
|
||||
"@types/react-native": "npm:^0.73.0"
|
||||
tslib: "npm:^2.8.0"
|
||||
peerDependencies:
|
||||
"@polkadot/util": 13.4.2
|
||||
"@polkadot/util": 13.5.2
|
||||
"@polkadot/wasm-util": "*"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-textdecoder@npm:13.4.2, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
|
||||
"@polkadot/x-textdecoder@npm:13.5.2, @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": "npm:13.4.2"
|
||||
"@polkadot/x-global": "npm:13.5.2"
|
||||
tslib: "npm:^2.8.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-textencoder@npm:13.4.2, @polkadot/x-textencoder@workspace:packages/x-textencoder":
|
||||
"@polkadot/x-textencoder@npm:13.5.2, @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": "npm:13.4.2"
|
||||
"@polkadot/x-global": "npm:13.5.2"
|
||||
tslib: "npm:^2.8.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -1837,7 +1813,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-ws@workspace:packages/x-ws"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.4.2"
|
||||
"@polkadot/x-global": "npm:13.5.2"
|
||||
"@types/ws": "npm:^8.5.12"
|
||||
tslib: "npm:^2.8.0"
|
||||
ws: "npm:^8.18.0"
|
||||
@@ -3213,23 +3189,23 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@zondax/ledger-js@npm:^0.11.0":
|
||||
version: 0.11.0
|
||||
resolution: "@zondax/ledger-js@npm:0.11.0"
|
||||
"@zondax/ledger-js@npm:^1.2.0":
|
||||
version: 1.2.0
|
||||
resolution: "@zondax/ledger-js@npm:1.2.0"
|
||||
dependencies:
|
||||
"@ledgerhq/hw-transport": "npm:6.30.6"
|
||||
checksum: 10/52a5e2aa66db1554365d733b3d38f286a0bbb192e1a2911c526f44f058a2e6c1fc6e0ca67a6dc824bb89ce694bd4554c39809d0290141de97675bb48677c3985
|
||||
"@ledgerhq/hw-transport": "npm:6.31.4"
|
||||
checksum: 10/5852b340efd421f96d4e52d0a93d4e8464604c070939dd42fade5a495010a08d730b03e1b7ab3ff0f26f13075d8a0a5226a748a41986f2ed087fca4471f24e4e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@zondax/ledger-substrate@npm:1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "@zondax/ledger-substrate@npm:1.0.0"
|
||||
"@zondax/ledger-substrate@npm:1.1.1":
|
||||
version: 1.1.1
|
||||
resolution: "@zondax/ledger-substrate@npm:1.1.1"
|
||||
dependencies:
|
||||
"@ledgerhq/hw-transport": "npm:6.31.2"
|
||||
"@zondax/ledger-js": "npm:^0.11.0"
|
||||
axios: "npm:^1.7.4"
|
||||
checksum: 10/5324da85746c160dd2400286c38ff0f90fae0147ad7e275b382b20b50acdee99c57941366531dc663931da5cb41144770888e3c6250b3f632b097d8bb7c7182f
|
||||
"@ledgerhq/hw-transport": "npm:6.31.4"
|
||||
"@zondax/ledger-js": "npm:^1.2.0"
|
||||
axios: "npm:^1.8.4"
|
||||
checksum: 10/039ffef55b31870f82c6b0f20b518089ad9ce0295d695f880640cb586256adacd4a326c10157ccaf82e897abde7358f9e4e02c069dac672ec90881e21d250722
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3771,14 +3747,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"axios@npm:^1.7.4":
|
||||
version: 1.7.7
|
||||
resolution: "axios@npm:1.7.7"
|
||||
"axios@npm:^1.8.4":
|
||||
version: 1.9.0
|
||||
resolution: "axios@npm:1.9.0"
|
||||
dependencies:
|
||||
follow-redirects: "npm:^1.15.6"
|
||||
form-data: "npm:^4.0.0"
|
||||
proxy-from-env: "npm:^1.1.0"
|
||||
checksum: 10/7f875ea13b9298cd7b40fd09985209f7a38d38321f1118c701520939de2f113c4ba137832fe8e3f811f99a38e12c8225481011023209a77b0c0641270e20cde1
|
||||
checksum: 10/a2f90bba56820883879f32a237e2b9ff25c250365dcafd41cec41b3406a3df334a148f90010182dfdadb4b41dc59f6f0b3e8898ff41b666d1157b5f3f4523497
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user