From a8b292b90190503ef8606af46bde19cf9422b448 Mon Sep 17 00:00:00 2001 From: tarikgul Date: Fri, 12 Jul 2024 13:14:16 -0400 Subject: [PATCH 1/2] 13.0.1 --- CHANGELOG.md | 18 +++++ package.json | 2 +- packages/hw-ledger-transports/package.json | 4 +- packages/hw-ledger/package.json | 6 +- packages/keyring/package.json | 10 +-- packages/networks/package.json | 6 +- packages/util-crypto/package.json | 12 ++-- packages/util/package.json | 12 ++-- packages/x-bigint/package.json | 4 +- packages/x-bundle/package.json | 4 +- packages/x-fetch/package.json | 4 +- packages/x-global/package.json | 2 +- packages/x-randomvalues/package.json | 8 +-- packages/x-textdecoder/package.json | 4 +- packages/x-textencoder/package.json | 4 +- packages/x-ws/package.json | 4 +- yarn.lock | 76 +++++++++++----------- 17 files changed, 99 insertions(+), 81 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf67a0211b..2c29d546dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # CHANGELOG +## 13.0.1 July 12, 2024 + +Breaking Changes: + +- Add Support for latest Ledger App + - This deprecates `class Ledger` in favor of `class LedgerGeneric` + - More info in the following PR ([#1925](https://github.com/polkadot-js/common/pull/1925)) + +Changes: + +- Bump dev to 0.79.1 +- Comments around pair encode/decode 1-3 +- Bump ws, react-native, ss58Registry +- Bump yarn to 4.3.1 +- Update CI to checkout and setup_node v4 +- + + ## 12.6.2 Dec 18, 2023 Changes: diff --git a/package.json b/package.json index fc827fb95a..9984d40665 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "versions": { "git": "12.6.3-13-x", "npm": "12.6.2" diff --git a/packages/hw-ledger-transports/package.json b/packages/hw-ledger-transports/package.json index 5e57105cd1..fcaa06c47b 100644 --- a/packages/hw-ledger-transports/package.json +++ b/packages/hw-ledger-transports/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", @@ -22,7 +22,7 @@ "@ledgerhq/hw-transport": "^6.31.0", "@ledgerhq/hw-transport-webhid": "^6.29.0", "@ledgerhq/hw-transport-webusb": "^6.29.0", - "@polkadot/util": "12.6.3-13-x", + "@polkadot/util": "13.0.1", "tslib": "^2.6.2" }, "optionalDependencies": { diff --git a/packages/hw-ledger/package.json b/packages/hw-ledger/package.json index 87d766d465..54cdd28e81 100644 --- a/packages/hw-ledger/package.json +++ b/packages/hw-ledger/package.json @@ -17,11 +17,11 @@ "./packageDetect.cjs" ], "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "main": "index.js", "dependencies": { - "@polkadot/hw-ledger-transports": "12.6.3-13-x", - "@polkadot/util": "12.6.3-13-x", + "@polkadot/hw-ledger-transports": "13.0.1", + "@polkadot/util": "13.0.1", "@zondax/ledger-substrate": "0.44.4", "tslib": "^2.6.2" } diff --git a/packages/keyring/package.json b/packages/keyring/package.json index 58670632c8..6de9991cba 100644 --- a/packages/keyring/package.json +++ b/packages/keyring/package.json @@ -18,15 +18,15 @@ "./packageDetect.cjs" ], "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "main": "index.js", "dependencies": { - "@polkadot/util": "12.6.3-13-x", - "@polkadot/util-crypto": "12.6.3-13-x", + "@polkadot/util": "13.0.1", + "@polkadot/util-crypto": "13.0.1", "tslib": "^2.6.2" }, "peerDependencies": { - "@polkadot/util": "12.6.3-13-x", - "@polkadot/util-crypto": "12.6.3-13-x" + "@polkadot/util": "13.0.1", + "@polkadot/util-crypto": "13.0.1" } } diff --git a/packages/networks/package.json b/packages/networks/package.json index 2f015b76ab..7541060b9a 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -15,14 +15,14 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "main": "index.js", "dependencies": { - "@polkadot/util": "12.6.3-13-x", + "@polkadot/util": "13.0.1", "@substrate/ss58-registry": "^1.46.0", "tslib": "^2.6.2" }, "devDependencies": { - "@polkadot/hw-ledger": "12.6.3-13-x" + "@polkadot/hw-ledger": "13.0.1" } } diff --git a/packages/util-crypto/package.json b/packages/util-crypto/package.json index e5c0d00a09..3295dc3bb0 100644 --- a/packages/util-crypto/package.json +++ b/packages/util-crypto/package.json @@ -20,7 +20,7 @@ "./packageDetect.cjs" ], "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "browser": { "crypto": false, "stream": false @@ -29,16 +29,16 @@ "dependencies": { "@noble/curves": "^1.3.0", "@noble/hashes": "^1.3.3", - "@polkadot/networks": "12.6.3-13-x", - "@polkadot/util": "12.6.3-13-x", + "@polkadot/networks": "13.0.1", + "@polkadot/util": "13.0.1", "@polkadot/wasm-crypto": "^7.3.2", "@polkadot/wasm-util": "^7.3.2", - "@polkadot/x-bigint": "12.6.3-13-x", - "@polkadot/x-randomvalues": "12.6.3-13-x", + "@polkadot/x-bigint": "13.0.1", + "@polkadot/x-randomvalues": "13.0.1", "@scure/base": "^1.1.5", "tslib": "^2.6.2" }, "peerDependencies": { - "@polkadot/util": "12.6.3-13-x" + "@polkadot/util": "13.0.1" } } diff --git a/packages/util/package.json b/packages/util/package.json index 6081e09b9e..acfcf612fb 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -18,7 +18,7 @@ "./packageDetect.cjs" ], "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "main": "index.js", "exports": { "./hex/toU8a": { @@ -35,15 +35,15 @@ } }, "dependencies": { - "@polkadot/x-bigint": "12.6.3-13-x", - "@polkadot/x-global": "12.6.3-13-x", - "@polkadot/x-textdecoder": "12.6.3-13-x", - "@polkadot/x-textencoder": "12.6.3-13-x", + "@polkadot/x-bigint": "13.0.1", + "@polkadot/x-global": "13.0.1", + "@polkadot/x-textdecoder": "13.0.1", + "@polkadot/x-textencoder": "13.0.1", "@types/bn.js": "^5.1.5", "bn.js": "^5.2.1", "tslib": "^2.6.2" }, "devDependencies": { - "@polkadot/x-randomvalues": "12.6.3-13-x" + "@polkadot/x-randomvalues": "13.0.1" } } diff --git a/packages/x-bigint/package.json b/packages/x-bigint/package.json index a558f0ff06..5f1c015621 100644 --- a/packages/x-bigint/package.json +++ b/packages/x-bigint/package.json @@ -18,9 +18,9 @@ "./shim.cjs" ], "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "dependencies": { - "@polkadot/x-global": "12.6.3-13-x", + "@polkadot/x-global": "13.0.1", "tslib": "^2.6.2" } } diff --git a/packages/x-bundle/package.json b/packages/x-bundle/package.json index f2cd922f89..4303abdd1b 100644 --- a/packages/x-bundle/package.json +++ b/packages/x-bundle/package.json @@ -15,10 +15,10 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "main": "index.js", "dependencies": { - "@polkadot/util": "12.6.3-13-x", + "@polkadot/util": "13.0.1", "buffer-es6": "^4.9.3", "tslib": "^2.6.2" } diff --git a/packages/x-fetch/package.json b/packages/x-fetch/package.json index 3548168203..17286ea83c 100644 --- a/packages/x-fetch/package.json +++ b/packages/x-fetch/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "12.6.3-13-x", + "@polkadot/x-global": "13.0.1", "node-fetch": "^3.3.2", "tslib": "^2.6.2" } diff --git a/packages/x-global/package.json b/packages/x-global/package.json index 20e07d6bcf..088e6a1814 100644 --- a/packages/x-global/package.json +++ b/packages/x-global/package.json @@ -15,7 +15,7 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "main": "index.js", "dependencies": { "tslib": "^2.6.2" diff --git a/packages/x-randomvalues/package.json b/packages/x-randomvalues/package.json index 6b9c870119..1b795b93ff 100644 --- a/packages/x-randomvalues/package.json +++ b/packages/x-randomvalues/package.json @@ -15,21 +15,21 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "12.6.3-13-x", + "@polkadot/x-global": "13.0.1", "tslib": "^2.6.2" }, "devDependencies": { - "@polkadot/util": "12.6.3-13-x", + "@polkadot/util": "13.0.1", "@polkadot/wasm-util": "^7.3.2", "@types/react-native": "^0.73.0" }, "peerDependencies": { - "@polkadot/util": "12.6.3-13-x", + "@polkadot/util": "13.0.1", "@polkadot/wasm-util": "*" } } diff --git a/packages/x-textdecoder/package.json b/packages/x-textdecoder/package.json index 8459a49bd9..96fc209eae 100644 --- a/packages/x-textdecoder/package.json +++ b/packages/x-textdecoder/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "12.6.3-13-x", + "@polkadot/x-global": "13.0.1", "tslib": "^2.6.2" } } diff --git a/packages/x-textencoder/package.json b/packages/x-textencoder/package.json index 43295fe9eb..adadbf9cff 100644 --- a/packages/x-textencoder/package.json +++ b/packages/x-textencoder/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "12.6.3-13-x", + "@polkadot/x-global": "13.0.1", "tslib": "^2.6.2" } } diff --git a/packages/x-ws/package.json b/packages/x-ws/package.json index af5d16ec85..74c409b09c 100644 --- a/packages/x-ws/package.json +++ b/packages/x-ws/package.json @@ -15,12 +15,12 @@ }, "sideEffects": false, "type": "module", - "version": "12.6.3-13-x", + "version": "13.0.1", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { - "@polkadot/x-global": "12.6.3-13-x", + "@polkadot/x-global": "13.0.1", "tslib": "^2.6.2", "ws": "^8.16.0" }, diff --git a/yarn.lock b/yarn.lock index 5eef3edde4..a6e722ff15 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1586,7 +1586,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/hw-ledger-transports@npm:12.6.3-13-x, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports": +"@polkadot/hw-ledger-transports@npm:13.0.1, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports": version: 0.0.0-use.local resolution: "@polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports" dependencies: @@ -1594,7 +1594,7 @@ __metadata: "@ledgerhq/hw-transport-node-hid-singleton": "npm:^6.31.1" "@ledgerhq/hw-transport-webhid": "npm:^6.29.0" "@ledgerhq/hw-transport-webusb": "npm:^6.29.0" - "@polkadot/util": "npm:12.6.3-13-x" + "@polkadot/util": "npm:13.0.1" tslib: "npm:^2.6.2" dependenciesMeta: "@ledgerhq/hw-transport-node-hid-singleton": @@ -1602,12 +1602,12 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/hw-ledger@npm:12.6.3-13-x, @polkadot/hw-ledger@workspace:packages/hw-ledger": +"@polkadot/hw-ledger@npm:13.0.1, @polkadot/hw-ledger@workspace:packages/hw-ledger": version: 0.0.0-use.local resolution: "@polkadot/hw-ledger@workspace:packages/hw-ledger" dependencies: - "@polkadot/hw-ledger-transports": "npm:12.6.3-13-x" - "@polkadot/util": "npm:12.6.3-13-x" + "@polkadot/hw-ledger-transports": "npm:13.0.1" + "@polkadot/util": "npm:13.0.1" "@zondax/ledger-substrate": "npm:0.44.4" tslib: "npm:^2.6.2" languageName: unknown @@ -1617,54 +1617,54 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/keyring@workspace:packages/keyring" dependencies: - "@polkadot/util": "npm:12.6.3-13-x" - "@polkadot/util-crypto": "npm:12.6.3-13-x" + "@polkadot/util": "npm:13.0.1" + "@polkadot/util-crypto": "npm:13.0.1" tslib: "npm:^2.6.2" peerDependencies: - "@polkadot/util": 12.6.3-13-x - "@polkadot/util-crypto": 12.6.3-13-x + "@polkadot/util": 13.0.1 + "@polkadot/util-crypto": 13.0.1 languageName: unknown linkType: soft -"@polkadot/networks@npm:12.6.3-13-x, @polkadot/networks@workspace:packages/networks": +"@polkadot/networks@npm:13.0.1, @polkadot/networks@workspace:packages/networks": version: 0.0.0-use.local resolution: "@polkadot/networks@workspace:packages/networks" dependencies: - "@polkadot/hw-ledger": "npm:12.6.3-13-x" - "@polkadot/util": "npm:12.6.3-13-x" + "@polkadot/hw-ledger": "npm:13.0.1" + "@polkadot/util": "npm:13.0.1" "@substrate/ss58-registry": "npm:^1.46.0" tslib: "npm:^2.6.2" languageName: unknown linkType: soft -"@polkadot/util-crypto@npm:12.6.3-13-x, @polkadot/util-crypto@workspace:packages/util-crypto": +"@polkadot/util-crypto@npm:13.0.1, @polkadot/util-crypto@workspace:packages/util-crypto": version: 0.0.0-use.local resolution: "@polkadot/util-crypto@workspace:packages/util-crypto" dependencies: "@noble/curves": "npm:^1.3.0" "@noble/hashes": "npm:^1.3.3" - "@polkadot/networks": "npm:12.6.3-13-x" - "@polkadot/util": "npm:12.6.3-13-x" + "@polkadot/networks": "npm:13.0.1" + "@polkadot/util": "npm:13.0.1" "@polkadot/wasm-crypto": "npm:^7.3.2" "@polkadot/wasm-util": "npm:^7.3.2" - "@polkadot/x-bigint": "npm:12.6.3-13-x" - "@polkadot/x-randomvalues": "npm:12.6.3-13-x" + "@polkadot/x-bigint": "npm:13.0.1" + "@polkadot/x-randomvalues": "npm:13.0.1" "@scure/base": "npm:^1.1.5" tslib: "npm:^2.6.2" peerDependencies: - "@polkadot/util": 12.6.3-13-x + "@polkadot/util": 13.0.1 languageName: unknown linkType: soft -"@polkadot/util@npm:12.6.3-13-x, @polkadot/util@workspace:packages/util": +"@polkadot/util@npm:13.0.1, @polkadot/util@workspace:packages/util": version: 0.0.0-use.local resolution: "@polkadot/util@workspace:packages/util" dependencies: - "@polkadot/x-bigint": "npm:12.6.3-13-x" - "@polkadot/x-global": "npm:12.6.3-13-x" - "@polkadot/x-randomvalues": "npm:12.6.3-13-x" - "@polkadot/x-textdecoder": "npm:12.6.3-13-x" - "@polkadot/x-textencoder": "npm:12.6.3-13-x" + "@polkadot/x-bigint": "npm:13.0.1" + "@polkadot/x-global": "npm:13.0.1" + "@polkadot/x-randomvalues": "npm:13.0.1" + "@polkadot/x-textdecoder": "npm:13.0.1" + "@polkadot/x-textencoder": "npm:13.0.1" "@types/bn.js": "npm:^5.1.5" bn.js: "npm:^5.2.1" tslib: "npm:^2.6.2" @@ -1751,11 +1751,11 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.6.3-13-x, @polkadot/x-bigint@workspace:packages/x-bigint": +"@polkadot/x-bigint@npm:13.0.1, @polkadot/x-bigint@workspace:packages/x-bigint": version: 0.0.0-use.local resolution: "@polkadot/x-bigint@workspace:packages/x-bigint" dependencies: - "@polkadot/x-global": "npm:12.6.3-13-x" + "@polkadot/x-global": "npm:13.0.1" tslib: "npm:^2.6.2" languageName: unknown linkType: soft @@ -1764,7 +1764,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-bundle@workspace:packages/x-bundle" dependencies: - "@polkadot/util": "npm:12.6.3-13-x" + "@polkadot/util": "npm:13.0.1" buffer-es6: "npm:^4.9.3" tslib: "npm:^2.6.2" languageName: unknown @@ -1774,13 +1774,13 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-fetch@workspace:packages/x-fetch" dependencies: - "@polkadot/x-global": "npm:12.6.3-13-x" + "@polkadot/x-global": "npm:13.0.1" node-fetch: "npm:^3.3.2" tslib: "npm:^2.6.2" languageName: unknown linkType: soft -"@polkadot/x-global@npm:12.6.3-13-x, @polkadot/x-global@workspace:packages/x-global": +"@polkadot/x-global@npm:13.0.1, @polkadot/x-global@workspace:packages/x-global": version: 0.0.0-use.local resolution: "@polkadot/x-global@workspace:packages/x-global" dependencies: @@ -1788,35 +1788,35 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/x-randomvalues@npm:12.6.3-13-x, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": +"@polkadot/x-randomvalues@npm:13.0.1, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": version: 0.0.0-use.local resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues" dependencies: - "@polkadot/util": "npm:12.6.3-13-x" + "@polkadot/util": "npm:13.0.1" "@polkadot/wasm-util": "npm:^7.3.2" - "@polkadot/x-global": "npm:12.6.3-13-x" + "@polkadot/x-global": "npm:13.0.1" "@types/react-native": "npm:^0.73.0" tslib: "npm:^2.6.2" peerDependencies: - "@polkadot/util": 12.6.3-13-x + "@polkadot/util": 13.0.1 "@polkadot/wasm-util": "*" languageName: unknown linkType: soft -"@polkadot/x-textdecoder@npm:12.6.3-13-x, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": +"@polkadot/x-textdecoder@npm:13.0.1, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": version: 0.0.0-use.local resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder" dependencies: - "@polkadot/x-global": "npm:12.6.3-13-x" + "@polkadot/x-global": "npm:13.0.1" tslib: "npm:^2.6.2" languageName: unknown linkType: soft -"@polkadot/x-textencoder@npm:12.6.3-13-x, @polkadot/x-textencoder@workspace:packages/x-textencoder": +"@polkadot/x-textencoder@npm:13.0.1, @polkadot/x-textencoder@workspace:packages/x-textencoder": version: 0.0.0-use.local resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder" dependencies: - "@polkadot/x-global": "npm:12.6.3-13-x" + "@polkadot/x-global": "npm:13.0.1" tslib: "npm:^2.6.2" languageName: unknown linkType: soft @@ -1825,7 +1825,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/x-ws@workspace:packages/x-ws" dependencies: - "@polkadot/x-global": "npm:12.6.3-13-x" + "@polkadot/x-global": "npm:13.0.1" "@types/ws": "npm:^8.5.10" tslib: "npm:^2.6.2" ws: "npm:^8.16.0" From 37e5ace0904a3e7b0702ab4adf9aa89baced3cda Mon Sep 17 00:00:00 2001 From: tarikgul Date: Fri, 12 Jul 2024 13:35:45 -0400 Subject: [PATCH 2/2] Fix changelog --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c29d546dd..bfc9fc8d5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,6 @@ Changes: - Bump ws, react-native, ss58Registry - Bump yarn to 4.3.1 - Update CI to checkout and setup_node v4 -- ## 12.6.2 Dec 18, 2023