Compare commits

...
73 Commits
Author SHA1 Message Date
github-actions[bot] 095095074e [CI Skip] release/stable 13.4.2
skip-checks: true
2025-02-17 14:32:08 +00:00
Tarik Gul 18a6764841 13.4.2 (#1979) 2025-02-17 16:28:27 +02:00
github-actions[bot] 0e0de687c3 [CI Skip] bump/beta 13.4.2-0-x
skip-checks: true
2025-02-17 14:14:17 +00:00
Valentin Fernandez 6197a897aa Cast ws as global.WebSocket (#1978) 2025-02-17 09:10:28 -05:00
github-actions[bot] 0f7954a89b [CI Skip] release/stable 13.4.1
skip-checks: true
2025-02-17 01:55:44 +00:00
Tarik Gul e056618d2e 13.4.1 (#1977)
* 13.4.1

* Update changelog
2025-02-17 03:51:57 +02:00
github-actions[bot] 82a485cc9c [CI Skip] bump/beta 13.3.2-4-x
skip-checks: true
2025-02-16 17:40:17 +00:00
Valentin Fernandezandtarikgul 2cbea7bf8d Fix Misclassification of ECDSA Signatures in verifyMultisig() (#1973)
* Fix multisignature routing to properly detect signature type

* Improve testing suite

* update dep in tests

* lint

* revert changes to tests

* Add reprocible test

---------

Co-authored-by: tarikgul <tariksnow37@gmail.com>
2025-02-16 12:36:35 -05:00
github-actions[bot] 748f670351 [CI Skip] bump/beta 13.3.2-3-x
skip-checks: true
2025-02-12 20:13:38 +00:00
Valentin Fernandez 5b2749073f Fix: Use ws library in Node.js 22+ for Better WebSocket Error Handling (#1976)
* Fallback to ws library on NodeJS 22+

* Add github issue reference to docs
2025-02-12 15:09:56 -05:00
github-actions[bot] a328ab4409 [CI Skip] bump/beta 13.3.2-2-x
skip-checks: true
2025-02-05 11:45:04 +00:00
Valentin Fernandez e25bb48ba9 Allow keyringPair to create using a mnemonic wordlist (#1974) 2025-02-05 06:41:14 -05:00
github-actions[bot] 8456870148 [CI Skip] bump/beta 13.3.2-1-x
skip-checks: true
2025-01-17 17:42:50 +00:00
Tarik Gul 6f8caad80f Bump dev to 0.83.2 (#1972)
* Bump dev to 0.83.1

* Test deno version

* test with deno 2.1.4

* correct version

* 1.46.3

* Up to 0.83.2
2025-01-17 19:39:05 +02:00
github-actions[bot] 25fe5f4e27 [CI Skip] bump/beta 13.3.2-0-x
skip-checks: true
2025-01-06 16:23:17 +00:00
Tarik Gul da2edf0aa0 Bump yarn to 4.6.0 (#1967) 2025-01-06 18:16:58 +02:00
github-actions[bot] eb7b24f9aa [CI Skip] release/stable 13.3.1
skip-checks: true
2025-01-06 14:53:56 +00:00
Tarik Gul f4e93cf2c2 13.3.1 (#1966) 2025-01-06 16:47:34 +02:00
github-actions[bot] 85b2da734c [CI Skip] bump/beta 13.2.4-0-x
skip-checks: true
2025-01-02 15:43:59 +00:00
Tarik Gul 5d03be1084 Fix toLocaleString for v22.12 (#1965)
* Fix toLocaleString for v22.12

* fix ci

* Update tests, and cleanup solution

* remove ar locale
2025-01-02 17:37:40 +02:00
Tarik Gul 2261862097 2025 (#1963)
* 2025

* Set CI version so header passes
2025-01-01 20:53:24 +02:00
github-actions[bot] 20d3af56ec [CI Skip] release/stable 13.2.3
skip-checks: true
2024-11-11 15:30:23 +00:00
Tarik Gul 367633a612 13.2.3 (#1960) 2024-11-11 17:24:04 +02:00
github-actions[bot] b127f678e9 [CI Skip] bump/beta 13.2.3-1-x
skip-checks: true
2024-11-11 15:06:22 +00:00
Tarik Gul 3404ad2945 Bump dev to 0.82.1 (#1959) 2024-11-11 16:59:56 +02:00
github-actions[bot] 4059615d66 [CI Skip] bump/beta 13.2.3-0-x
skip-checks: true
2024-11-05 14:54:53 +00:00
Dmitrii Novikov be9739ee9f Add Vara support to Generic Ledger App (#1958)
* add 'Vara' support to the Generic Ledger App

* add 'Vara Testnet' support to the Generic Ledger App

* remove testnet entry
2024-11-05 09:48:22 -05:00
github-actions[bot] 6ec09907a2 [CI Skip] release/stable 13.2.2
skip-checks: true
2024-10-28 15:40:57 +00:00
Tarik Gul 677a778833 13.2.2 (#1956) 2024-10-28 17:35:01 +02:00
github-actions[bot] fa90f0a747 [CI Skip] bump/beta 13.2.2-2-x
skip-checks: true
2024-10-28 14:02:14 +00:00
Wil Wade e721c4f508 Add Frequency to the Generic Ledger App (#1955) 2024-10-28 09:56:24 -04:00
github-actions[bot] 7f5bd09322 [CI Skip] bump/beta 13.2.2-1-x
skip-checks: true
2024-10-23 13:32:49 +00:00
Leonardo Razovic 5d6244fc0b feat: add Polimec (#1945) 2024-10-23 09:26:59 -04:00
github-actions[bot] 58f12c4257 [CI Skip] bump/beta 13.2.2-0-x
skip-checks: true
2024-10-22 14:30:05 +00:00
Tarik Gul 038d20b5e7 Bump yarn to 4.5.1 (#1953) 2024-10-22 17:24:18 +03:00
github-actions[bot] c9d8c52567 [CI Skip] release/stable 13.2.1
skip-checks: true
2024-10-21 12:56:29 +00:00
Tarik Gul 3b85773636 13.2.1 (#1952) 2024-10-21 15:50:45 +03:00
github-actions[bot] 269740b775 [CI Skip] bump/beta 13.1.2-6-x
skip-checks: true
2024-10-21 03:07:39 +00:00
Tarik Gul fc732b8c44 Bump dev to 0.81.2 (#1951) 2024-10-21 06:01:55 +03:00
github-actions[bot] 2c4deb3f9d [CI Skip] bump/beta 13.1.2-5-x
skip-checks: true
2024-10-21 02:48:41 +00:00
Tarik Gul ebcb6857ad Bump polkadot/wasm to 7.4.1 (#1950) 2024-10-21 05:42:43 +03:00
github-actions[bot] 0ff31d7980 [CI Skip] bump/beta 13.1.2-4-x
skip-checks: true
2024-10-16 22:22:44 +00:00
Tarik Gul d897f25546 Update ws and deps (#1949)
* Update ws and deps

* fix tests
2024-10-17 01:16:53 +03:00
github-actions[bot] 3c431d5a01 [CI Skip] bump/beta 13.1.2-3-x
skip-checks: true
2024-10-16 15:10:34 +00:00
Tarik Gul 55ae71125d Update ledger deps (#1948) 2024-10-16 18:04:38 +03:00
github-actions[bot] fcd8cee7f6 [CI Skip] bump/beta 13.1.2-2-x
skip-checks: true
2024-10-16 14:12:27 +00:00
Tarik Gul 8aa4e60c4c Bump yarn to 4.5.0 (#1946) 2024-10-16 17:06:39 +03:00
github-actions[bot] 85665dfa20 [CI Skip] bump/beta 13.1.2-1-x
skip-checks: true
2024-10-16 13:49:06 +00:00
Tarik Gul 5f8f3e6309 Fix Deno CI Build (#1947) 2024-10-16 16:43:10 +03:00
github-actions[bot] 166845e367 [CI Skip] bump/beta 13.1.2-0-x
skip-checks: true
2024-09-18 12:33:52 +00:00
Cameron Fairchild 7c7233efd1 Add bittensor to genericLedgerApps (#1941)
* add bittensor to genericLedgerApps

* add CLA to the knownLedger obj
2024-09-18 08:28:02 -04:00
github-actions[bot] cb7f0da916 [CI Skip] release/stable 13.1.1
skip-checks: true
2024-09-16 13:04:16 +00:00
Tarik Gul 7d654c236f 13.1.1 (#1943)
* 13.0.3

* Make release for 13.1.1

* fix changelog
2024-09-16 15:58:19 +03:00
github-actions[bot] 6b4d9aac29 [CI Skip] bump/beta 13.0.3-9-x
skip-checks: true
2024-09-11 18:10:00 +00:00
Tarik Gul 4f863ddc29 Bump yarn to 4.1.1 (#1940) 2024-09-11 21:04:06 +03:00
github-actions[bot] a4a85a3a5d [CI Skip] bump/beta 13.0.3-8-x
skip-checks: true
2024-09-11 17:48:28 +00:00
Tarik Gul 2a6669c25d Add Encointer and adjust tests (#1939) 2024-09-11 20:42:39 +03:00
github-actions[bot] cb4c9fd90a [CI Skip] bump/beta 13.0.3-7-x
skip-checks: true
2024-08-30 14:58:36 +00:00
Jakub Pánik 28beb44374 HydraDX -> Hydration rebrand (#1923)
* hydration rebrand

* Update packages/hw-ledger/src/defaults.ts
2024-08-30 10:52:42 -04:00
github-actions[bot] 4a4847b032 [CI Skip] bump/beta 13.0.3-6-x
skip-checks: true
2024-08-30 12:54:02 +00:00
Tarik Gul 506c20a900 Update ss58 (#1937) 2024-08-30 15:48:15 +03:00
github-actions[bot] 736656f34f [CI Skip] bump/beta 13.0.3-5-x
skip-checks: true
2024-08-29 13:39:47 +00:00
Tarik Gul 31274916f9 Bump dev, and typescript (#1936) 2024-08-29 16:33:50 +03:00
github-actions[bot] 6e1afdc2f8 [CI Skip] bump/beta 13.0.3-4-x
skip-checks: true
2024-08-14 21:06:32 +00:00
Tarik Gul fd26d223be Bump yarn to 4.4.0 (#1935) 2024-08-15 00:00:35 +03:00
github-actions[bot] 86d8c81c27 [CI Skip] bump/beta 13.0.3-3-x
skip-checks: true
2024-08-14 19:54:56 +00:00
Tarik Gul 2de22cbb31 Update all deps that can do patch releases (#1934) 2024-08-14 22:49:01 +03:00
github-actions[bot] c1b8098b9e [CI Skip] bump/beta 13.0.3-2-x
skip-checks: true
2024-07-22 17:36:18 +00:00
Tarik Gul ee0ed25a83 Bump @substrate/ss58-registry to 1.49.0 (#1932) 2024-07-22 20:30:33 +03:00
github-actions[bot] 7ef452bdf0 [CI Skip] bump/beta 13.0.3-1-x
skip-checks: true
2024-07-20 20:52:54 +00:00
Tarik Gul eb41ab5bed Revert slip44 change (#1931) 2024-07-20 23:47:07 +03:00
github-actions[bot] 6947b1e4d9 [CI Skip] bump/beta 13.0.3-0-x
skip-checks: true
2024-07-16 04:48:46 +00:00
Tarik Gul 527b4f0eeb Remove slip44, and replace with POLKADOT_SLIP (#1930) 2024-07-16 07:42:57 +03:00
627 changed files with 2286 additions and 1958 deletions
+3 -1
View File
@@ -18,9 +18,11 @@ jobs:
node-version: 'lts/*' node-version: 'lts/*'
- uses: denoland/setup-deno@v1 - uses: denoland/setup-deno@v1
with: with:
deno-version: vx.x.x # Deno v2 throws errors with specific types therefore we set it to the last version before v2
deno-version: v1.46.3
- name: ${{ matrix.step }} - name: ${{ matrix.step }}
if: always() if: always()
run: | run: |
deno --version
yarn install --immutable yarn install --immutable
yarn ${{ matrix.step }} yarn ${{ matrix.step }}
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util authors & contributors // Copyright 2017-2025 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs'); module.exports = require('@polkadot/dev/config/prettier.cjs');
-894
View File
File diff suppressed because one or more lines are too long
+934
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -12,4 +12,4 @@ logFilters:
nodeLinker: node-modules nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.3.1.cjs yarnPath: .yarn/releases/yarn-4.6.0.cjs
+83
View File
@@ -1,5 +1,88 @@
# CHANGELOG # CHANGELOG
## 13.4.2 Feb 17, 2025
Changes:
- Cast ws as global.WebSocket ([#1978](https://github.com/polkadot-js/common/pull/1978))
## 13.4.1 Feb 16, 2025
Changes:
- Enable KeyringPair Creation with Custom Mnemonic Wordlists ([#1974](https://github.com/polkadot-js/common/pull/1974))
- Use ws library in Node.js 22+ for Better WebSocket Error Handling ([#1976](https://github.com/polkadot-js/common/pull/1976))
- Fix Misclassification of ECDSA Signatures in `verifyMultisig` ([#1973](https://github.com/polkadot-js/common/pull/1973))
- Bump dev to 0.83.2 ([#1972](https://github.com/polkadot-js/common/pull/1972))
- Bump yarn to 4.6.0 ([#1967](https://github.com/polkadot-js/common/pull/1967))
## 13.3.1 Jan 6, 2025
Changes:
- Give compatibility for nodejs v22
- Fix `getSeparator` which fixes toLocaleString ([#1965](https://github.com/polkadot-js/common/pull/1965))
- 2025 Headers ([#1963](https://github.com/polkadot-js/common/pull/1963))
## 13.2.3 Nov 11, 2024
Contributed:
- Add Vara support to the Generic Ledger App ([#1958](https://github.com/polkadot-js/common/pull/1958)) (Thanks to https://github.com/breathx)
Changes:
- Bump Dev to 0.82.1 ([#1959](https://github.com/polkadot-js/common/pull/1959))
## 13.2.2 Oct 28, 2024
Contributed:
- Add Polimec support to the Generic Ledger App ([#1945](https://github.com/polkadot-js/common/pull/1945)) (Thanks to https://github.com/lrazovic)
- Add Frequency to the Generic Ledger App ([#1955](https://github.com/polkadot-js/common/pull/1955)) (Thanks to https://github.com/wilwade)
Changes:
- Bump yarn to 4.5.1 ([#1953](https://github.com/polkadot-js/common/pull/1953))
## 13.2.1 Oct 21, 2024
Contributed:
- Add bittensor to genericLedgerApps (Thanks to https://github.com/camfairchild) ([#1941](https://github.com/polkadot-js/common/pull/1941))
Changes:
- Fix Deno CI Build ([#1947](https://github.com/polkadot-js/common/pull/1947))
- Bump yarn to 4.5.0 ([#1946](https://github.com/polkadot-js/common/pull/1946))
- Update Ledger Deps ([#1948](https://github.com/polkadot-js/common/pull/1948))
- Update WS and deps ([#1949](https://github.com/polkadot-js/common/pull/1949))
- Bump polkadot/wasm to 7.4.1 ([#1950](https://github.com/polkadot-js/common/pull/1950))
- Bump dev to 0.81.2 ([#1951](https://github.com/polkadot-js/common/pull/1951))
- Allows for CJS target in build
## 13.1.1 Sep 16, 2024
Contributed:
HydraDx - Hydration Rebrand Thanks to (https://github.com/jak-pan) ([#1923](https://github.com/polkadot-js/common/pull/1923))
Changes:
- Update all deps that have patch releases ([#1934](https://github.com/polkadot-js/common/pull/1934))
- Bump yarn to 4.4.1 ([#1940](https://github.com/polkadot-js/common/pull/1940))
- Update ss58-registry to 1.50.0 ([#1937](https://github.com/polkadot-js/common/pull/1937))
- Update dev and typescript ([#1936](https://github.com/polkadot-js/common/pull/1936))
- Add Encointer and Integritee to Ledger, and adjust tests ([#1939](https://github.com/polkadot-js/common/pull/1939))
- This PR added the addition of `genericLedgerApps` and `prevLedgerRecord` objects. They both combine into `ledgerApps` in `hw-ledger/defaults`.
## 13.0.2 July 12, 2024 ## 13.0.2 July 12, 2024
Contributed: Contributed:
+7 -3
View File
@@ -1,14 +1,16 @@
1674 Jaco Bump deps (#1912) 1674 Jaco Bump deps (#1912)
38 Tarik Gul 13.4.2 (#1979)
13 Carlo Sala feat(networks): add zeitgeist Ledger support (#1840) 13 Carlo Sala feat(networks): add zeitgeist Ledger support (#1840)
10 Tarik Gul 13.0.2 (#1929)
9 Antoine Estienne Add eth uri keyring test (#1291) 9 Antoine Estienne Add eth uri keyring test (#1291)
6 Amaury Martiny Add tests from Rust (#283) 6 Amaury Martiny Add tests from Rust (#283)
5 Jakub Pánik Add HydraDX parachain to genesis (#1583) 6 Jakub Pánik HydraDX -> Hydration rebrand (#1923)
5 kwingram25 Add BN consts and timeToString (#610) 5 kwingram25 Add BN consts and timeToString (#610)
4 Adam Dossa Update Polymesh Genesis Hash (#1193) 4 Adam Dossa Update Polymesh Genesis Hash (#1193)
4 pan add bifrost kusama (#1626) 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) 3 Luke Schoen docs: Fix example in readme since we use default imports (#243)
2 AndreasGassmann feat(dependencies): remove moment.js (#530) 2 AndreasGassmann feat(dependencies): remove moment.js (#530)
2 Cameron Fairchild Add bittensor details (#1783)
2 Gav Wood Fix stake:unstake (#182) 2 Gav Wood Fix stake:unstake (#182)
2 Hyungsuk Kang Add cross client Encryption/Decryption (#496) 2 Hyungsuk Kang Add cross client Encryption/Decryption (#496)
2 Jared Norris Add Sora network (#1306) 2 Jared Norris Add Sora network (#1306)
@@ -24,9 +26,9 @@
1 amphineko chore: fix typo in versionDetect messages (#941) 1 amphineko chore: fix typo in versionDetect messages (#941)
1 Axel Chalon Simplify @polkadot/keyring KeyringPair (#419) 1 Axel Chalon Simplify @polkadot/keyring KeyringPair (#419)
1 Brad Larson [FIX] Adjust error message (#646) 1 Brad Larson [FIX] Adjust error message (#646)
1 Cameron Fairchild Add bittensor details (#1783)
1 Carlos Medeiros add hydradx to knownLedger (#1647) 1 Carlos Medeiros add hydradx to knownLedger (#1647)
1 Chris Get rid of warnings for dual esm and cjs packages of the same version (#1890) 1 Chris Get rid of warnings for dual esm and cjs packages of the same version (#1890)
1 Dmitrii Novikov Add `Vara` support to Generic Ledger App (#1958)
1 Eliott Teissonniere add nodle ledger specs (#1089) 1 Eliott Teissonniere add nodle ledger specs (#1089)
1 Guilane DENGUIR feat(VTB): Added support for VTB blockchain (#1651) 1 Guilane DENGUIR feat(VTB): Added support for VTB blockchain (#1651)
1 h4x3rotab Throws an error when signing with a locked keypair (#578) 1 h4x3rotab Throws an error when signing with a locked keypair (#578)
@@ -39,6 +41,7 @@
1 joe petrowski Add example for multisig address creation (#590) 1 joe petrowski Add example for multisig address creation (#590)
1 kaelnew add ledger support for stafi (#1569) 1 kaelnew add ledger support for stafi (#1569)
1 Leonardo Custodio Ledger support (#1879) 1 Leonardo Custodio Ledger support (#1879)
1 Leonardo Razovic feat: add Polimec (#1945)
1 Lezek123 logger - wildcard include/exclude with DEBUG env (#932) 1 Lezek123 logger - wildcard include/exclude with DEBUG env (#932)
1 Lovish Arora Add peaq support for ledger (#1928) 1 Lovish Arora Add peaq support for ledger (#1928)
1 Mario Neises remove redudant export (#257) 1 Mario Neises remove redudant export (#257)
@@ -59,6 +62,7 @@
1 Tomokazu Kozuma fix comment (#1119) 1 Tomokazu Kozuma fix comment (#1119)
1 Tore19 Add stafi genesis hash (#1096) 1 Tore19 Add stafi genesis hash (#1096)
1 Wei Tang ss58: add Kulupu prefix to the list (#595) 1 Wei Tang ss58: add Kulupu prefix to the list (#595)
1 Wil Wade Add Frequency to the Generic Ledger App (#1955)
1 WoeOm Handing high precision scenes (#450) 1 WoeOm Handing high precision scenes (#450)
1 xx network Add xxnetwork genesis hash and ledger app (#1463) 1 xx network Add xxnetwork genesis hash and ledger app (#1463)
1 Yaroslav Bolyukin Add quartz support for ledger, update unique slip-0044 identifier (#1882) 1 Yaroslav Bolyukin Add quartz support for ledger, update unique slip-0044 identifier (#1882)
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util authors & contributors // Copyright 2017-2025 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import baseConfig from '@polkadot/dev/config/eslint'; import baseConfig from '@polkadot/dev/config/eslint';
+7 -7
View File
@@ -6,7 +6,7 @@
}, },
"homepage": "https://github.com/polkadot-js/common#readme", "homepage": "https://github.com/polkadot-js/common#readme",
"license": "Apache-2.0", "license": "Apache-2.0",
"packageManager": "yarn@4.3.1", "packageManager": "yarn@4.6.0",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
@@ -14,10 +14,10 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "module", "type": "module",
"version": "13.0.2", "version": "13.4.2",
"versions": { "versions": {
"git": "13.0.2", "git": "13.4.2",
"npm": "13.0.2" "npm": "13.4.2"
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
@@ -37,10 +37,10 @@
"test:one": "polkadot-dev-run-test --env browser" "test:one": "polkadot-dev-run-test --env browser"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/dev": "^0.79.1", "@polkadot/dev": "^0.83.2",
"@types/node": "^20.11.5" "@types/node": "^22.7.5"
}, },
"resolutions": { "resolutions": {
"typescript": "^5.3.3" "typescript": "^5.5.4"
} }
} }
+7 -7
View File
@@ -14,18 +14,18 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "module", "type": "module",
"version": "13.0.2", "version": "13.4.2",
"browser": "browser.js", "browser": "browser.js",
"main": "node.js", "main": "node.js",
"react-native": "react-native.js", "react-native": "react-native.js",
"dependencies": { "dependencies": {
"@ledgerhq/hw-transport": "^6.31.0", "@ledgerhq/hw-transport": "^6.31.4",
"@ledgerhq/hw-transport-webhid": "^6.29.0", "@ledgerhq/hw-transport-webhid": "^6.29.4",
"@ledgerhq/hw-transport-webusb": "^6.29.0", "@ledgerhq/hw-transport-webusb": "^6.29.4",
"@polkadot/util": "13.0.2", "@polkadot/util": "13.4.2",
"tslib": "^2.6.2" "tslib": "^2.8.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"@ledgerhq/hw-transport-node-hid-singleton": "^6.31.1" "@ledgerhq/hw-transport-node-hid-singleton": "^6.31.5"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import LedgerHid from '@ledgerhq/hw-transport-webhid'; import LedgerHid from '@ledgerhq/hw-transport-webhid';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { createDefs } from './util.js'; import { createDefs } from './util.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './empty.js'; export * from './empty.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import LedgerHid from '@ledgerhq/hw-transport-node-hid-singleton'; import LedgerHid from '@ledgerhq/hw-transport-node-hid-singleton';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger-transports authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger-transports authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
@@ -1,6 +1,6 @@
// Copyright 2017-2024 @polkadot/hw-ledger-transports authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger-transports authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '13.0.2' }; export const packageInfo = { name: '@polkadot/hw-ledger-transports', path: 'auto', type: 'auto', version: '13.4.2' };
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './empty.js'; export * from './empty.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// CJS, so we use import * syntax // CJS, so we use import * syntax
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Transport, TransportDef, TransportType } from './types.js'; import type { Transport, TransportDef, TransportType } from './types.js';
+5 -5
View File
@@ -17,12 +17,12 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "13.0.2", "version": "13.4.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/hw-ledger-transports": "13.0.2", "@polkadot/hw-ledger-transports": "13.4.2",
"@polkadot/util": "13.0.2", "@polkadot/util": "13.4.2",
"@zondax/ledger-substrate": "0.44.7", "@zondax/ledger-substrate": "1.0.0",
"tslib": "^2.6.2" "tslib": "^2.8.0"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { SubstrateApp } from '@zondax/ledger-substrate'; import type { SubstrateApp } from '@zondax/ledger-substrate';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { TransportDef, TransportType } from '@polkadot/hw-ledger-transports/types'; import type { TransportDef, TransportType } from '@polkadot/hw-ledger-transports/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// This is necessary to ensure users still have access to class Ledger even though its deprecated. // This is necessary to ensure users still have access to class Ledger even though its deprecated.
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export const LEDGER_DEFAULT_ACCOUNT = 0x80000000; export const LEDGER_DEFAULT_ACCOUNT = 0x80000000;
+4 -4
View File
@@ -1,18 +1,18 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
import { supportedApps } from '@zondax/ledger-substrate'; import { supportedApps } from '@zondax/ledger-substrate';
import { ledgerApps } from './defaults.js'; import { prevLedgerRecord } from './defaults.js';
describe('ledgerApps', (): void => { describe('ledgerApps', (): void => {
for (const k of Object.keys(ledgerApps)) { for (const k of Object.keys(prevLedgerRecord)) {
it(`${k} is available in @zondax/ledger-substrate`, (): void => { it(`${k} is available in @zondax/ledger-substrate`, (): void => {
expect( expect(
supportedApps.find(({ name }) => supportedApps.find(({ name }) =>
name === ledgerApps[k] name === prevLedgerRecord[k]
) )
).toBeDefined(); ).toBeDefined();
}); });
+22 -4
View File
@@ -1,9 +1,11 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// These match up with the keys of the knownLedger object in the @polkadot/networks/defaults/ledger.ts // These map to the known name in the @zondax/ledger-substrate/supported_apps package
// and maps to the known name in the @zondax/ledger-substrate/supported_apps package // but they do not reflect all ledger apps that are supported. Since ledger now has support for all
export const ledgerApps: Record<string, string> = { // substrate chains via the PolkadotGenericApp, any new chains that need ledger support can be added to
// `genericLedgerApps` below.
export const prevLedgerRecord: Record<string, string> = {
acala: 'Acala', acala: 'Acala',
ajuna: 'Ajuna', ajuna: 'Ajuna',
'aleph-node': 'AlephZero', 'aleph-node': 'AlephZero',
@@ -45,3 +47,19 @@ export const ledgerApps: Record<string, string> = {
xxnetwork: 'XXNetwork', xxnetwork: 'XXNetwork',
zeitgeist: 'Zeitgeist' zeitgeist: 'Zeitgeist'
}; };
// Any chains moving forward that are supported by the PolkadotGenericApp from ledger will input their names below.
export const genericLedgerApps = {
bittensor: 'Bittensor',
encointer: 'Encointer',
frequency: 'Frequency',
integritee: 'Integritee',
polimec: 'Polimec',
vara: 'Vara'
};
// These match up with the keys of the knownLedger object in the @polkadot/networks/defaults/ledger.ts
export const ledgerApps: Record<string, string> = {
...prevLedgerRecord,
...genericLedgerApps
};
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import './packageDetect.js'; import './packageDetect.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './index.js'; export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '13.0.2' }; export const packageInfo = { name: '@polkadot/hw-ledger', path: 'auto', type: 'auto', version: '13.4.2' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/hw-ledger authors & contributors // Copyright 2017-2025 @polkadot/hw-ledger authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@polkadot/util/types'; import type { HexString } from '@polkadot/util/types';
+6 -6
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "13.0.2", "version": "13.4.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/util": "13.0.2", "@polkadot/util": "13.4.2",
"@polkadot/util-crypto": "13.0.2", "@polkadot/util-crypto": "13.4.2",
"tslib": "^2.6.2" "tslib": "^2.8.0"
}, },
"peerDependencies": { "peerDependencies": {
"@polkadot/util": "13.0.2", "@polkadot/util": "13.4.2",
"@polkadot/util-crypto": "13.0.2" "@polkadot/util-crypto": "13.4.2"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// all external // all external
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// default substrate dev phrase // default substrate dev phrase
+34 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
@@ -6,7 +6,8 @@
import type { KeyringPair$Json } from './types.js'; import type { KeyringPair$Json } from './types.js';
import { hexToU8a, stringToU8a } from '@polkadot/util'; import { hexToU8a, stringToU8a } from '@polkadot/util';
import { base64Decode, cryptoWaitReady, encodeAddress, randomAsU8a, setSS58Format } from '@polkadot/util-crypto'; import { base64Decode, cryptoWaitReady, encodeAddress, mnemonicGenerate, randomAsU8a, setSS58Format } from '@polkadot/util-crypto';
import * as languages from '@polkadot/util-crypto/mnemonic/wordlists/index';
import { decodePair } from './pair/decode.js'; import { decodePair } from './pair/decode.js';
import Keyring from './index.js'; import Keyring from './index.js';
@@ -574,4 +575,35 @@ describe('keypair', (): void => {
expect(pair.address).toBe('FLiSDPCcJ6auZUGXALLj6jpahcP6adVFDBUQznPXUQ7yoqH'); expect(pair.address).toBe('FLiSDPCcJ6auZUGXALLj6jpahcP6adVFDBUQznPXUQ7yoqH');
}); });
}); });
describe('wordlist', (): void => {
it('creates keypair from different wordlists mnemonics', (): void => {
Object.keys(languages).forEach((language) => {
const mnemonic = mnemonicGenerate(12, languages[language as keyof typeof languages]);
const keyring = new Keyring({
type: 'ed25519'
});
expect(keyring.addFromMnemonic(
mnemonic,
{},
'ed25519',
languages[language as keyof typeof languages]
)).toBeDefined();
});
});
it('cannot create from invalid wordlist', (): void => {
const mnemonic = mnemonicGenerate(12, languages.japanese);
const keyring = new Keyring({
type: 'ed25519'
});
expect(() => keyring.addFromMnemonic(
mnemonic,
{},
'ed25519',
languages.english
)).toThrow('Invalid bip39 mnemonic specified');
});
});
}); });
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import './packageDetect.js'; import './packageDetect.js';
+7 -7
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { EncryptedJsonEncoding, Keypair, KeypairType } from '@polkadot/util-crypto/types'; import type { EncryptedJsonEncoding, Keypair, KeypairType } from '@polkadot/util-crypto/types';
@@ -121,8 +121,8 @@ export class Keyring implements KeyringInstance {
* of an account backup), and then generates a keyring pair from it that it passes to * of an account backup), and then generates a keyring pair from it that it passes to
* `addPair` to stores in a keyring pair dictionary the public key of the generated pair as a key and the pair as the associated value. * `addPair` to stores in a keyring pair dictionary the public key of the generated pair as a key and the pair as the associated value.
*/ */
public addFromMnemonic (mnemonic: string, meta: KeyringPair$Meta = {}, type: KeypairType = this.type): KeyringPair { public addFromMnemonic (mnemonic: string, meta: KeyringPair$Meta = {}, type: KeypairType = this.type, wordlist?: string[]): KeyringPair {
return this.addFromUri(mnemonic, meta, type); return this.addFromUri(mnemonic, meta, type, wordlist);
} }
/** /**
@@ -153,9 +153,9 @@ export class Keyring implements KeyringInstance {
* @summary Creates an account via an suri * @summary Creates an account via an suri
* @description Extracts the phrase, path and password from a SURI format for specifying secret keys `<secret>/<soft-key>//<hard-key>///<password>` (the `///password` may be omitted, and `/<soft-key>` and `//<hard-key>` maybe repeated and mixed). The secret can be a hex string, mnemonic phrase or a string (to be padded) * @description Extracts the phrase, path and password from a SURI format for specifying secret keys `<secret>/<soft-key>//<hard-key>///<password>` (the `///password` may be omitted, and `/<soft-key>` and `//<hard-key>` maybe repeated and mixed). The secret can be a hex string, mnemonic phrase or a string (to be padded)
*/ */
public addFromUri (suri: string, meta: KeyringPair$Meta = {}, type: KeypairType = this.type): KeyringPair { public addFromUri (suri: string, meta: KeyringPair$Meta = {}, type: KeypairType = this.type, wordlist?: string[]): KeyringPair {
return this.addPair( return this.addPair(
this.createFromUri(suri, meta, type) this.createFromUri(suri, meta, type, wordlist)
); );
} }
@@ -203,7 +203,7 @@ export class Keyring implements KeyringInstance {
* @summary Creates a Keypair from an suri * @summary Creates a Keypair from an suri
* @description This creates a pair from the suri, but does not add it to the keyring * @description This creates a pair from the suri, but does not add it to the keyring
*/ */
public createFromUri (_suri: string, meta: KeyringPair$Meta = {}, type: KeypairType = this.type): KeyringPair { public createFromUri (_suri: string, meta: KeyringPair$Meta = {}, type: KeypairType = this.type, wordlist?: string[]): KeyringPair {
// here we only aut-add the dev phrase if we have a hard-derived path // here we only aut-add the dev phrase if we have a hard-derived path
const suri = _suri.startsWith('//') const suri = _suri.startsWith('//')
? `${DEV_PHRASE}${_suri}` ? `${DEV_PHRASE}${_suri}`
@@ -220,7 +220,7 @@ export class Keyring implements KeyringInstance {
if ([12, 15, 18, 21, 24].includes(parts.length)) { if ([12, 15, 18, 21, 24].includes(parts.length)) {
seed = type === 'ethereum' seed = type === 'ethereum'
? mnemonicToLegacySeed(phrase, '', false, 64) ? mnemonicToLegacySeed(phrase, '', false, 64)
: mnemonicToMiniSecret(phrase, password); : mnemonicToMiniSecret(phrase, password, wordlist);
} else { } else {
if (phrase.length > 32) { if (phrase.length > 32) {
throw new Error('specified phrase is not a valid mnemonic and is invalid as a raw seed at > 32 bytes'); throw new Error('specified phrase is not a valid mnemonic and is invalid as a raw seed at > 32 bytes');
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './index.js'; export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '13.0.2' }; export const packageInfo = { name: '@polkadot/keyring', path: 'auto', type: 'auto', version: '13.4.2' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { EncryptedJsonEncoding } from '@polkadot/util-crypto/types'; import type { EncryptedJsonEncoding } from '@polkadot/util-crypto/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/** public/secret section divider (generation 1-3, will change in 4, don't rely on value) */ /** public/secret section divider (generation 1-3, will change in 4, don't rely on value) */
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { PairInfo } from './types.js'; import type { PairInfo } from './types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { EncryptedJsonEncoding, Keypair, KeypairType } from '@polkadot/util-crypto/types'; import type { EncryptedJsonEncoding, Keypair, KeypairType } from '@polkadot/util-crypto/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '../types.js'; import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KeypairType } from '@polkadot/util-crypto/types'; import type { KeypairType } from '@polkadot/util-crypto/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export interface PairInfo { export interface PairInfo {
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KeyringPair, KeyringPairs } from './types.js'; import type { KeyringPair, KeyringPairs } from './types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@polkadot/util/types'; import type { HexString } from '@polkadot/util/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KeypairType } from '@polkadot/util-crypto/types'; import type { KeypairType } from '@polkadot/util-crypto/types';
+4 -4
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@polkadot/util/types'; import type { HexString } from '@polkadot/util/types';
@@ -116,13 +116,13 @@ export interface KeyringInstance {
addPair (pair: KeyringPair): KeyringPair; addPair (pair: KeyringPair): KeyringPair;
addFromAddress (address: string | Uint8Array, meta?: KeyringPair$Meta, encoded?: Uint8Array | null, type?: KeypairType, ignoreChecksum?: boolean): KeyringPair; addFromAddress (address: string | Uint8Array, meta?: KeyringPair$Meta, encoded?: Uint8Array | null, type?: KeypairType, ignoreChecksum?: boolean): KeyringPair;
addFromJson (pair: KeyringPair$Json, ignoreChecksum?: boolean): KeyringPair; addFromJson (pair: KeyringPair$Json, ignoreChecksum?: boolean): KeyringPair;
addFromMnemonic (mnemonic: string, meta?: KeyringPair$Meta, type?: KeypairType): KeyringPair; addFromMnemonic (mnemonic: string, meta?: KeyringPair$Meta, type?: KeypairType, wordlist?: string[]): KeyringPair;
addFromPair (pair: Keypair, meta?: KeyringPair$Meta, type?: KeypairType): KeyringPair addFromPair (pair: Keypair, meta?: KeyringPair$Meta, type?: KeypairType): KeyringPair
addFromSeed (seed: Uint8Array, meta?: KeyringPair$Meta, type?: KeypairType): KeyringPair; addFromSeed (seed: Uint8Array, meta?: KeyringPair$Meta, type?: KeypairType): KeyringPair;
addFromUri (suri: string, meta?: KeyringPair$Meta, type?: KeypairType): KeyringPair; addFromUri (suri: string, meta?: KeyringPair$Meta, type?: KeypairType, wordlist?: string[]): KeyringPair;
createFromJson (json: KeyringPair$Json, ignoreChecksum?: boolean): KeyringPair; createFromJson (json: KeyringPair$Json, ignoreChecksum?: boolean): KeyringPair;
createFromPair (pair: Keypair, meta: KeyringPair$Meta, type: KeypairType): KeyringPair createFromPair (pair: Keypair, meta: KeyringPair$Meta, type: KeypairType): KeyringPair
createFromUri (suri: string, meta?: KeyringPair$Meta, type?: KeypairType): KeyringPair; createFromUri (suri: string, meta?: KeyringPair$Meta, type?: KeypairType, wordlist?: string[]): KeyringPair;
getPair (address: string | Uint8Array): KeyringPair; getPair (address: string | Uint8Array): KeyringPair;
getPairs (): KeyringPair[]; getPairs (): KeyringPair[];
getPublicKeys (): Uint8Array[]; getPublicKeys (): Uint8Array[];
+5 -5
View File
@@ -15,14 +15,14 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "module", "type": "module",
"version": "13.0.2", "version": "13.4.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/util": "13.0.2", "@polkadot/util": "13.4.2",
"@substrate/ss58-registry": "^1.46.0", "@substrate/ss58-registry": "^1.51.0",
"tslib": "^2.6.2" "tslib": "^2.8.0"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/hw-ledger": "13.0.2" "@polkadot/hw-ledger": "13.4.2"
} }
} }
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+18 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KnownGenesis } from '../types.js'; import type { KnownGenesis } from '../types.js';
@@ -56,22 +56,32 @@ export const knownGenesis: KnownGenesis = {
edgeware: [ edgeware: [
'0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b' '0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'
], ],
encointer: [
'0x7dd99936c1e9e6d1ce7d90eb6f33bea8393b4bf87677d675aa63c9cb3e8c5b5b'
],
enjin: [ enjin: [
'0xd8761d3c88f26dc12875c00d3165f7d67243d56fc85b4cf19937601a7916e5a9' '0xd8761d3c88f26dc12875c00d3165f7d67243d56fc85b4cf19937601a7916e5a9'
], ],
equilibrium: [ equilibrium: [
'0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925' '0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'
], ],
frequency: [
'0x4a587bf17a404e3572747add7aab7bbe56e805a5479c6c436f07f36fcc8d3ae1'
],
genshiro: [ genshiro: [
'0x9b8cefc0eb5c568b527998bdd76c184e2b76ae561be76e4667072230217ea243' '0x9b8cefc0eb5c568b527998bdd76c184e2b76ae561be76e4667072230217ea243'
], ],
hydradx: [ hydradx: [
'0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d', // HydraDX Parachain '0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d', // Hydration | HydraDX Parachain
'0xd2a620c27ec5cbc5621ff9a522689895074f7cca0d08e7134a7804e1a3ba86fc', // Snakenet Gen3-1 '0xd2a620c27ec5cbc5621ff9a522689895074f7cca0d08e7134a7804e1a3ba86fc', // Snakenet Gen3-1
'0x10af6e84234477d84dc572bac0789813b254aa490767ed06fb9591191d1073f9', // Snakenet Gen3 '0x10af6e84234477d84dc572bac0789813b254aa490767ed06fb9591191d1073f9', // Snakenet Gen3
'0x3d75507dd46301767e601265791da1d9cb47b6ebc94e87347b635e5bf58bd047', // Snakenet Gen2 '0x3d75507dd46301767e601265791da1d9cb47b6ebc94e87347b635e5bf58bd047', // Snakenet Gen2
'0x0ed32bfcab4a83517fac88f2aa7cbc2f88d3ab93be9a12b6188a036bf8a943c2' // Snakenet Gen1 '0x0ed32bfcab4a83517fac88f2aa7cbc2f88d3ab93be9a12b6188a036bf8a943c2' // Snakenet Gen1
], ],
integritee: [
'0xcdedc8eadbfa209d3f207bba541e57c3c58a667b05a2e1d1e86353c9000758da', // on Kusama
'0xe13e7af377c64e83f95e0d70d5e5c3c01d697a84538776c5b9bbe0e7d7b6034c' // on Polkadot
],
'interlay-parachain': [ 'interlay-parachain': [
'0xbf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72' '0xbf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72'
], ],
@@ -117,6 +127,9 @@ export const knownGenesis: KnownGenesis = {
'0x6811a339673c9daa897944dcdac99c6e2939cc88245ed21951a0a3c9a2be75bc', '0x6811a339673c9daa897944dcdac99c6e2939cc88245ed21951a0a3c9a2be75bc',
'0xe8e7f0f4c4f5a00720b4821dbfddefea7490bcf0b19009961cc46957984e2c1c' '0xe8e7f0f4c4f5a00720b4821dbfddefea7490bcf0b19009961cc46957984e2c1c'
], ],
polimec: [
'0x7eb9354488318e7549c722669dcbdcdc526f1fef1420e7944667212f3601fdbd'
],
polkadex: [ polkadex: [
'0x3920bcb4960a1eef5580cd5367ff3f430eef052774f78468852f7b9cb39f8a3c' '0x3920bcb4960a1eef5580cd5367ff3f430eef052774f78468852f7b9cb39f8a3c'
], ],
@@ -164,6 +177,9 @@ export const knownGenesis: KnownGenesis = {
unique: [ unique: [
'0x84322d9cddbf35088f1e54e9a85c967a41a56a4f43445768125e61af166c7d31' '0x84322d9cddbf35088f1e54e9a85c967a41a56a4f43445768125e61af166c7d31'
], ],
vara: [
'0xfe1b4c55fd4d668101126434206571a7838a8b6b93a6d1b95d607e78e6c53763'
],
vtb: [ vtb: [
'0x286bc8414c7000ce1d6ee6a834e29a54c1784814b76243eb77ed0b2c5573c60f', '0x286bc8414c7000ce1d6ee6a834e29a54c1784814b76243eb77ed0b2c5573c60f',
'0x7483b89572fb2bd687c7b9a93b242d0b237f9aba463aba07ec24503931038aaa' '0x7483b89572fb2bd687c7b9a93b242d0b237f9aba463aba07ec24503931038aaa'
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KnownIcon } from '../types.js'; import type { KnownIcon } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { knownGenesis } from './genesis.js'; export { knownGenesis } from './genesis.js';
+7 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KnownLedger } from '../types.js'; import type { KnownLedger } from '../types.js';
@@ -14,15 +14,19 @@ export const knownLedger: KnownLedger = {
astar: 0x0000032a, astar: 0x0000032a,
bifrost: 0x00000314, bifrost: 0x00000314,
'bifrost-kusama': 0x00000314, 'bifrost-kusama': 0x00000314,
bittensor: 0x00000162,
centrifuge: 0x000002eb, centrifuge: 0x000002eb,
composable: 0x00000162, composable: 0x00000162,
darwinia: 0x00000162, darwinia: 0x00000162,
'dock-mainnet': 0x00000252, 'dock-mainnet': 0x00000252,
edgeware: 0x0000020b, edgeware: 0x0000020b,
encointer: 0x000001b2,
enjin: 0x00000483, enjin: 0x00000483,
equilibrium: 0x05f5e0fd, equilibrium: 0x05f5e0fd,
frequency: 0x0000082b,
genshiro: 0x05f5e0fc, genshiro: 0x05f5e0fc,
hydradx: 0x00000162, hydradx: 0x00000162,
integritee: 0x000007df,
'interlay-parachain': 0x00000162, 'interlay-parachain': 0x00000162,
karura: 0x000002ae, karura: 0x000002ae,
khala: 0x000001b2, khala: 0x000001b2,
@@ -35,6 +39,7 @@ export const knownLedger: KnownLedger = {
pendulum: 0x00000162, pendulum: 0x00000162,
phala: 0x00000162, phala: 0x00000162,
picasso: 0x000001b2, picasso: 0x000001b2,
polimec: 0x00000d10,
polkadex: 0x0000031f, polkadex: 0x0000031f,
polkadot: 0x00000162, polkadot: 0x00000162,
polymesh: 0x00000253, polymesh: 0x00000253,
@@ -45,6 +50,7 @@ export const knownLedger: KnownLedger = {
statemint: 0x00000162, // common-good on Polkadot, shares derivation statemint: 0x00000162, // common-good on Polkadot, shares derivation
ternoa: 0x00003e3, ternoa: 0x00003e3,
unique: 0x00000295, unique: 0x00000295,
vara: 0x00001370,
vtb: 0x000002b6, vtb: 0x000002b6,
xxnetwork: 0x000007a3, xxnetwork: 0x000007a3,
zeitgeist: 0x00000162 zeitgeist: 0x00000162
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KnownTestnet } from '../types.js'; import type { KnownTestnet } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// TODO: This was removed, really cannot recall the reason... // TODO: This was removed, really cannot recall the reason...
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KnownSubstrate, Network, SubstrateNetwork } from './types.js'; import type { KnownSubstrate, Network, SubstrateNetwork } from './types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export * from './index.js'; export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '13.0.2' }; export const packageInfo = { name: '@polkadot/networks', path: 'auto', type: 'auto', version: '13.4.2' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/networks authors & contributors // Copyright 2017-2025 @polkadot/networks authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/keyring authors & contributors // Copyright 2017-2025 @polkadot/keyring authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { RegistryEntry } from '@substrate/ss58-registry'; import type { RegistryEntry } from '@substrate/ss58-registry';
+73 -8
View File
@@ -731,7 +731,7 @@
{ {
"prefix": 63, "prefix": 63,
"network": "hydradx", "network": "hydradx",
"displayName": "HydraDX", "displayName": "Hydration",
"symbols": [ "symbols": [
"HDX" "HDX"
], ],
@@ -739,7 +739,7 @@
12 12
], ],
"standardAccount": "*25519", "standardAccount": "*25519",
"website": "https://hydradx.io" "website": "https://hydration.net"
}, },
{ {
"prefix": 65, "prefix": 65,
@@ -1417,6 +1417,19 @@
"standardAccount": "*25519", "standardAccount": "*25519",
"website": "https://logion.network" "website": "https://logion.network"
}, },
{
"prefix": 2024,
"network": "vow-chain",
"displayName": "Enigmatic Smile",
"symbols": [
"VOW"
],
"decimals": [
18
],
"standardAccount": "*25519",
"website": "https://www.vow.foundation/"
},
{ {
"prefix": 2032, "prefix": 2032,
"network": "interlay", "network": "interlay",
@@ -1575,16 +1588,16 @@
}, },
{ {
"prefix": 6094, "prefix": 6094,
"network": "subspace", "network": "autonomys",
"displayName": "Subspace", "displayName": "Autonomys",
"symbols": [ "symbols": [
"SSC" "AI3"
], ],
"decimals": [ "decimals": [
18 18
], ],
"standardAccount": "*25519", "standardAccount": "*25519",
"website": "https://subspace.network" "website": "https://autonomys.xyz"
}, },
{ {
"prefix": 7007, "prefix": 7007,
@@ -1741,7 +1754,7 @@
"TCESS" "TCESS"
], ],
"decimals": [ "decimals": [
12 18
], ],
"standardAccount": "*25519", "standardAccount": "*25519",
"website": "https://cess.cloud" "website": "https://cess.cloud"
@@ -1754,7 +1767,7 @@
"CESS" "CESS"
], ],
"decimals": [ "decimals": [
12 18
], ],
"standardAccount": "*25519", "standardAccount": "*25519",
"website": "https://cess.cloud" "website": "https://cess.cloud"
@@ -1811,6 +1824,19 @@
"standardAccount": "*25519", "standardAccount": "*25519",
"website": "https://nftmart.io" "website": "https://nftmart.io"
}, },
{
"prefix": 12850,
"network": "analog-timechain",
"displayName": "Analog Timechain",
"symbols": [
"ANLOG"
],
"decimals": [
12
],
"standardAccount": "*25519",
"website": "https://analog.one"
},
{ {
"prefix": 13116, "prefix": 13116,
"network": "bittensor", "network": "bittensor",
@@ -1836,5 +1862,44 @@
], ],
"standardAccount": "*25519", "standardAccount": "*25519",
"website": "https://goro.network" "website": "https://goro.network"
},
{
"prefix": 14998,
"network": "mosaic-chain",
"displayName": "Mosaic Chain",
"symbols": [
"MOS"
],
"decimals": [
18
],
"standardAccount": "*25519",
"website": "https://mosaicchain.io"
},
{
"prefix": 29972,
"network": "mythos",
"displayName": "Mythos",
"symbols": [
"MYTH"
],
"decimals": [
18
],
"standardAccount": "secp256k1",
"website": "https://mythos.foundation"
},
{
"prefix": 8888,
"network": "xcavate",
"displayName": "Xcavate Protocol",
"symbols": [
"XCAV"
],
"decimals": [
12
],
"standardAccount": "*25519",
"website": "https://xcavate.io/"
} }
] ]
+10 -10
View File
@@ -20,7 +20,7 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "13.0.2", "version": "13.4.2",
"browser": { "browser": {
"crypto": false, "crypto": false,
"stream": false "stream": false
@@ -29,16 +29,16 @@
"dependencies": { "dependencies": {
"@noble/curves": "^1.3.0", "@noble/curves": "^1.3.0",
"@noble/hashes": "^1.3.3", "@noble/hashes": "^1.3.3",
"@polkadot/networks": "13.0.2", "@polkadot/networks": "13.4.2",
"@polkadot/util": "13.0.2", "@polkadot/util": "13.4.2",
"@polkadot/wasm-crypto": "^7.3.2", "@polkadot/wasm-crypto": "^7.4.1",
"@polkadot/wasm-util": "^7.3.2", "@polkadot/wasm-util": "^7.4.1",
"@polkadot/x-bigint": "13.0.2", "@polkadot/x-bigint": "13.4.2",
"@polkadot/x-randomvalues": "13.0.2", "@polkadot/x-randomvalues": "13.4.2",
"@scure/base": "^1.1.5", "@scure/base": "^1.1.7",
"tslib": "^2.6.2" "tslib": "^2.8.0"
}, },
"peerDependencies": { "peerDependencies": {
"@polkadot/util": "13.0.2" "@polkadot/util": "13.4.2"
} }
} }
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { decodeAddress } from './decode.js'; import { decodeAddress } from './decode.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js'; import type { Prefix } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { sshash } from './sshash.js'; import { sshash } from './sshash.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js'; import type { Prefix } from './types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { availableNetworks } from '../networks.js'; import { availableNetworks } from '../networks.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { DeriveJunction } from '../key/DeriveJunction.js'; import type { DeriveJunction } from '../key/DeriveJunction.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js'; import type { Prefix } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { BN } from '@polkadot/util'; import type { BN } from '@polkadot/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { BN } from '@polkadot/util'; import type { BN } from '@polkadot/util';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { u8aEq } from '@polkadot/util'; import { u8aEq } from '@polkadot/util';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { HashType } from '../secp256k1/types.js'; import type { HashType } from '../secp256k1/types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { addressToEvm } from './addressToEvm.js'; export { addressToEvm } from './addressToEvm.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Prefix } from './types.js'; import type { Prefix } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2024 @polkadot/util-crypto authors & contributors // Copyright 2017-2025 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" /> /// <reference types="@polkadot/dev-test/globals.d.ts" />

Some files were not shown because too many files have changed in this diff Show More