Compare commits

..
2 Commits
Author SHA1 Message Date
github-actions[bot] db8434559e [CI Skip] release/stable 12.3.2
skip-checks: true
2023-06-12 05:27:44 +00:00
Jaco eaf9d97ae3 12.3.2 (#1846) 2023-06-12 08:20:17 +03:00
34 changed files with 112 additions and 100 deletions
+8
View File
@@ -1,5 +1,13 @@
# CHANGELOG
## 12.3.2 Jun 12, 2023
Changes:
- Adjust `SubstrateNetwork` typing with `HexString` genesisHash
- Re-export `Constructor<T>` type (deprecated, replaced with `Class<T>`)
## 12.3.1 Jun 11, 2023
Changes:
+1 -1
View File
@@ -1,4 +1,4 @@
1626 Jaco 12.3.1 (#1845)
1627 Jaco 12.3.2 (#1846)
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)
+3 -3
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"versions": {
"git": "12.3.1",
"npm": "12.3.1"
"git": "12.3.2",
"npm": "12.3.2"
},
"workspaces": [
"packages/*"
+2 -2
View File
@@ -14,7 +14,7 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
@@ -22,7 +22,7 @@
"@ledgerhq/hw-transport": "^6.28.4",
"@ledgerhq/hw-transport-webhid": "^6.27.15",
"@ledgerhq/hw-transport-webusb": "^6.27.15",
"@polkadot/util": "12.3.1",
"@polkadot/util": "12.3.2",
"tslib": "^2.5.3"
},
"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.3.1' };
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '12.3.2' };
+3 -3
View File
@@ -17,11 +17,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/hw-ledger-transports": "12.3.1",
"@polkadot/util": "12.3.1",
"@polkadot/hw-ledger-transports": "12.3.2",
"@polkadot/util": "12.3.2",
"@zondax/ledger-substrate": "^0.40.7",
"tslib": "^2.5.3"
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '12.3.2' };
+5 -5
View File
@@ -18,15 +18,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.3.1",
"@polkadot/util-crypto": "12.3.1",
"@polkadot/util": "12.3.2",
"@polkadot/util-crypto": "12.3.2",
"tslib": "^2.5.3"
},
"peerDependencies": {
"@polkadot/util": "12.3.1",
"@polkadot/util-crypto": "12.3.1"
"@polkadot/util": "12.3.2",
"@polkadot/util-crypto": "12.3.2"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '12.3.2' };
+3 -3
View File
@@ -15,14 +15,14 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.3.1",
"@polkadot/util": "12.3.2",
"@substrate/ss58-registry": "^1.40.0",
"tslib": "^2.5.3"
},
"devDependencies": {
"@polkadot/hw-ledger": "12.3.1"
"@polkadot/hw-ledger": "12.3.2"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '12.3.2' };
+1 -1
View File
@@ -17,7 +17,7 @@ export type KnownSubstrate = RegistryEntry;
export type KnownTestnet = Record<string, true>;
export interface SubstrateNetwork extends KnownSubstrate {
genesisHash: string[];
genesisHash: HexString[];
hasLedgerSupport: boolean;
icon: Icon;
isIgnored: boolean;
+6 -6
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"browser": {
"crypto": false,
"stream": false
@@ -29,16 +29,16 @@
"dependencies": {
"@noble/curves": "1.1.0",
"@noble/hashes": "1.3.1",
"@polkadot/networks": "12.3.1",
"@polkadot/util": "12.3.1",
"@polkadot/networks": "12.3.2",
"@polkadot/util": "12.3.2",
"@polkadot/wasm-crypto": "^7.2.1",
"@polkadot/wasm-util": "^7.2.1",
"@polkadot/x-bigint": "12.3.1",
"@polkadot/x-randomvalues": "12.3.1",
"@polkadot/x-bigint": "12.3.2",
"@polkadot/x-randomvalues": "12.3.2",
"@scure/base": "1.1.1",
"tslib": "^2.5.3"
},
"peerDependencies": {
"@polkadot/util": "12.3.1"
"@polkadot/util": "12.3.2"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/util-crypto', path: 'auto', type: 'auto', version: '12.3.2' };
+6 -6
View File
@@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"main": "index.js",
"exports": {
"./hex/toU8a": {
@@ -35,15 +35,15 @@
}
},
"dependencies": {
"@polkadot/x-bigint": "12.3.1",
"@polkadot/x-global": "12.3.1",
"@polkadot/x-textdecoder": "12.3.1",
"@polkadot/x-textencoder": "12.3.1",
"@polkadot/x-bigint": "12.3.2",
"@polkadot/x-global": "12.3.2",
"@polkadot/x-textdecoder": "12.3.2",
"@polkadot/x-textencoder": "12.3.2",
"@types/bn.js": "^5.1.1",
"bn.js": "^5.2.1",
"tslib": "^2.5.3"
},
"devDependencies": {
"@polkadot/x-randomvalues": "12.3.1"
"@polkadot/x-randomvalues": "12.3.2"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/util', path: 'auto', type: 'auto', version: '12.3.2' };
+5 -1
View File
@@ -3,7 +3,8 @@
import type { BN } from './bn/bn.js';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
/* eslint-disable @typescript-eslint/no-explicit-any */
export interface Class<T = any, A extends unknown[] = any[]> {
prototype: T;
@@ -13,6 +14,9 @@ export interface Class<T = any, A extends unknown[] = any[]> {
isPrototypeOf (other: unknown): boolean;
}
// @deprecated Use Class<T, A> instead
export type Constructor<T = any, A extends unknown[] = any[]> = Class<T, A>;
export interface ToBigInt {
toBigInt: () => bigint;
}
+2 -2
View File
@@ -18,9 +18,9 @@
"./shim.cjs"
],
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"dependencies": {
"@polkadot/x-global": "12.3.1",
"@polkadot/x-global": "12.3.2",
"tslib": "^2.5.3"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/x-bigint', path: 'auto', type: 'auto', version: '12.3.2' };
+2 -2
View File
@@ -15,10 +15,10 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.3.1",
"@polkadot/util": "12.3.2",
"buffer-es6": "^4.9.3",
"tslib": "^2.5.3"
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/x-bundle', path: 'auto', type: 'auto', version: '12.3.2' };
+2 -2
View File
@@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.3.1",
"@polkadot/x-global": "12.3.2",
"node-fetch": "^3.3.1",
"tslib": "^2.5.3"
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/x-fetch', path: 'auto', type: 'auto', version: '12.3.2' };
+1 -1
View File
@@ -15,7 +15,7 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"main": "index.js",
"dependencies": {
"tslib": "^2.5.3"
+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.3.1' };
export const packageInfo = { name: '@polkadot/x-global', path: 'auto', type: 'auto', version: '12.3.2' };
+4 -4
View File
@@ -15,21 +15,21 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.3.1",
"@polkadot/x-global": "12.3.2",
"tslib": "^2.5.3"
},
"devDependencies": {
"@polkadot/util": "12.3.1",
"@polkadot/util": "12.3.2",
"@polkadot/wasm-util": "^7.2.1",
"@types/react-native": "^0.72.2"
},
"peerDependencies": {
"@polkadot/util": "12.3.1",
"@polkadot/util": "12.3.2",
"@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.3.1' };
export const packageInfo = { name: '@polkadot/x-randomvalues', path: 'auto', type: 'auto', version: '12.3.2' };
+2 -2
View File
@@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.3.1",
"@polkadot/x-global": "12.3.2",
"tslib": "^2.5.3"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/x-textdecoder', path: 'auto', type: 'auto', version: '12.3.2' };
+2 -2
View File
@@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.3.1",
"@polkadot/x-global": "12.3.2",
"tslib": "^2.5.3"
}
}
+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.3.1' };
export const packageInfo = { name: '@polkadot/x-textencoder', path: 'auto', type: 'auto', version: '12.3.2' };
+2 -2
View File
@@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.3.1",
"version": "12.3.2",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.3.1",
"@polkadot/x-global": "12.3.2",
"tslib": "^2.5.3",
"ws": "^8.13.0"
},
+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.3.1' };
export const packageInfo = { name: '@polkadot/x-ws', path: 'auto', type: 'auto', version: '12.3.2' };
+38 -38
View File
@@ -566,7 +566,7 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/hw-ledger-transports@12.3.1, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
"@polkadot/hw-ledger-transports@12.3.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:
@@ -574,7 +574,7 @@ __metadata:
"@ledgerhq/hw-transport-node-hid-singleton": ^6.28.12
"@ledgerhq/hw-transport-webhid": ^6.27.15
"@ledgerhq/hw-transport-webusb": ^6.27.15
"@polkadot/util": 12.3.1
"@polkadot/util": 12.3.2
tslib: ^2.5.3
dependenciesMeta:
"@ledgerhq/hw-transport-node-hid-singleton":
@@ -582,12 +582,12 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/hw-ledger@12.3.1, @polkadot/hw-ledger@workspace:packages/hw-ledger":
"@polkadot/hw-ledger@12.3.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": 12.3.1
"@polkadot/util": 12.3.1
"@polkadot/hw-ledger-transports": 12.3.2
"@polkadot/util": 12.3.2
"@zondax/ledger-substrate": ^0.40.7
tslib: ^2.5.3
languageName: unknown
@@ -597,54 +597,54 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/keyring@workspace:packages/keyring"
dependencies:
"@polkadot/util": 12.3.1
"@polkadot/util-crypto": 12.3.1
"@polkadot/util": 12.3.2
"@polkadot/util-crypto": 12.3.2
tslib: ^2.5.3
peerDependencies:
"@polkadot/util": 12.3.1
"@polkadot/util-crypto": 12.3.1
"@polkadot/util": 12.3.2
"@polkadot/util-crypto": 12.3.2
languageName: unknown
linkType: soft
"@polkadot/networks@12.3.1, @polkadot/networks@workspace:packages/networks":
"@polkadot/networks@12.3.2, @polkadot/networks@workspace:packages/networks":
version: 0.0.0-use.local
resolution: "@polkadot/networks@workspace:packages/networks"
dependencies:
"@polkadot/hw-ledger": 12.3.1
"@polkadot/util": 12.3.1
"@polkadot/hw-ledger": 12.3.2
"@polkadot/util": 12.3.2
"@substrate/ss58-registry": ^1.40.0
tslib: ^2.5.3
languageName: unknown
linkType: soft
"@polkadot/util-crypto@12.3.1, @polkadot/util-crypto@workspace:packages/util-crypto":
"@polkadot/util-crypto@12.3.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": 1.1.0
"@noble/hashes": 1.3.1
"@polkadot/networks": 12.3.1
"@polkadot/util": 12.3.1
"@polkadot/networks": 12.3.2
"@polkadot/util": 12.3.2
"@polkadot/wasm-crypto": ^7.2.1
"@polkadot/wasm-util": ^7.2.1
"@polkadot/x-bigint": 12.3.1
"@polkadot/x-randomvalues": 12.3.1
"@polkadot/x-bigint": 12.3.2
"@polkadot/x-randomvalues": 12.3.2
"@scure/base": 1.1.1
tslib: ^2.5.3
peerDependencies:
"@polkadot/util": 12.3.1
"@polkadot/util": 12.3.2
languageName: unknown
linkType: soft
"@polkadot/util@12.3.1, @polkadot/util@workspace:packages/util":
"@polkadot/util@12.3.2, @polkadot/util@workspace:packages/util":
version: 0.0.0-use.local
resolution: "@polkadot/util@workspace:packages/util"
dependencies:
"@polkadot/x-bigint": 12.3.1
"@polkadot/x-global": 12.3.1
"@polkadot/x-randomvalues": 12.3.1
"@polkadot/x-textdecoder": 12.3.1
"@polkadot/x-textencoder": 12.3.1
"@polkadot/x-bigint": 12.3.2
"@polkadot/x-global": 12.3.2
"@polkadot/x-randomvalues": 12.3.2
"@polkadot/x-textdecoder": 12.3.2
"@polkadot/x-textencoder": 12.3.2
"@types/bn.js": ^5.1.1
bn.js: ^5.2.1
tslib: ^2.5.3
@@ -731,11 +731,11 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/x-bigint@12.3.1, @polkadot/x-bigint@workspace:packages/x-bigint":
"@polkadot/x-bigint@12.3.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": 12.3.1
"@polkadot/x-global": 12.3.2
tslib: ^2.5.3
languageName: unknown
linkType: soft
@@ -744,7 +744,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/x-bundle@workspace:packages/x-bundle"
dependencies:
"@polkadot/util": 12.3.1
"@polkadot/util": 12.3.2
buffer-es6: ^4.9.3
tslib: ^2.5.3
languageName: unknown
@@ -754,13 +754,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/x-fetch@workspace:packages/x-fetch"
dependencies:
"@polkadot/x-global": 12.3.1
"@polkadot/x-global": 12.3.2
node-fetch: ^3.3.1
tslib: ^2.5.3
languageName: unknown
linkType: soft
"@polkadot/x-global@12.3.1, @polkadot/x-global@workspace:packages/x-global":
"@polkadot/x-global@12.3.2, @polkadot/x-global@workspace:packages/x-global":
version: 0.0.0-use.local
resolution: "@polkadot/x-global@workspace:packages/x-global"
dependencies:
@@ -768,35 +768,35 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/x-randomvalues@12.3.1, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
"@polkadot/x-randomvalues@12.3.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": 12.3.1
"@polkadot/util": 12.3.2
"@polkadot/wasm-util": ^7.2.1
"@polkadot/x-global": 12.3.1
"@polkadot/x-global": 12.3.2
"@types/react-native": ^0.72.2
tslib: ^2.5.3
peerDependencies:
"@polkadot/util": 12.3.1
"@polkadot/util": 12.3.2
"@polkadot/wasm-util": "*"
languageName: unknown
linkType: soft
"@polkadot/x-textdecoder@12.3.1, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
"@polkadot/x-textdecoder@12.3.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": 12.3.1
"@polkadot/x-global": 12.3.2
tslib: ^2.5.3
languageName: unknown
linkType: soft
"@polkadot/x-textencoder@12.3.1, @polkadot/x-textencoder@workspace:packages/x-textencoder":
"@polkadot/x-textencoder@12.3.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": 12.3.1
"@polkadot/x-global": 12.3.2
tslib: ^2.5.3
languageName: unknown
linkType: soft
@@ -805,7 +805,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/x-ws@workspace:packages/x-ws"
dependencies:
"@polkadot/x-global": 12.3.1
"@polkadot/x-global": 12.3.2
"@types/ws": ^8.5.5
tslib: ^2.5.3
ws: ^8.13.0