From 1d675ec80350d669c6e6f548ee703bbd69cea6ee Mon Sep 17 00:00:00 2001 From: Jaco Date: Sun, 29 May 2022 08:23:01 +0200 Subject: [PATCH] 9.3.1 (#1507) --- CHANGELOG.md | 9 +-- 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 | 8 +-- 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 | 4 +- packages/x-textdecoder/package.json | 4 +- packages/x-textencoder/package.json | 4 +- packages/x-ws/package.json | 4 +- yarn.lock | 76 +++++++++++----------- 17 files changed, 85 insertions(+), 84 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de03c7478..acc099ce9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## master +## 9.3.1 May 29, 2022 Contributed: @@ -9,12 +9,13 @@ Contributed: Changes: -- Internal code maintainability enhancements -- Add `compactFromU8a` variant with Uint8Array-only inputs -- Add `u8aConcatStrict` variant with Uint8Array-only inputs - Adjust `u8aToU8a` checks with better `isU8a` shortcut - Adjust compact conversion with unrolled loops - Adjust `string{Camel, Pascal}Case` with loop (no map) +- Add `compactFromU8aLim` variant with Uint8Array-only inputs +- Add `u8aConcatStrict` variant with Uint8Array-only inputs +- Internal code maintainability enhancements +- Upgrade dependencies to latest stable versions ## 9.2.1 May 13, 2022 diff --git a/package.json b/package.json index da7e944d1..14900f83e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "url": "https://github.com/polkadot-js/common.git" }, "sideEffects": false, - "version": "9.2.2-16", + "version": "9.3.0", "workspaces": [ "packages/*" ], diff --git a/packages/hw-ledger-transports/package.json b/packages/hw-ledger-transports/package.json index 9a9bd10db..8c8129fc5 100644 --- a/packages/hw-ledger-transports/package.json +++ b/packages/hw-ledger-transports/package.json @@ -16,7 +16,7 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", @@ -25,7 +25,7 @@ "@ledgerhq/hw-transport": "^6.27.1", "@ledgerhq/hw-transport-webhid": "^6.27.1", "@ledgerhq/hw-transport-webusb": "^6.27.1", - "@polkadot/util": "9.2.2-16" + "@polkadot/util": "9.3.0" }, "optionalDependencies": { "@ledgerhq/hw-transport-node-hid-singleton": "^6.27.1" diff --git a/packages/hw-ledger/package.json b/packages/hw-ledger/package.json index 44aec83ba..88ce5296d 100644 --- a/packages/hw-ledger/package.json +++ b/packages/hw-ledger/package.json @@ -19,13 +19,13 @@ "./detectPackage.cjs" ], "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", "@ledgerhq/hw-transport": "^6.27.1", - "@polkadot/hw-ledger-transports": "9.2.2-16", - "@polkadot/util": "9.2.2-16", + "@polkadot/hw-ledger-transports": "9.3.0", + "@polkadot/util": "9.3.0", "@zondax/ledger-substrate": "^0.29.0" } } diff --git a/packages/keyring/package.json b/packages/keyring/package.json index f5e798fe7..74ee2f9d9 100644 --- a/packages/keyring/package.json +++ b/packages/keyring/package.json @@ -20,15 +20,15 @@ "./detectPackage.cjs" ], "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/util": "9.2.2-16", - "@polkadot/util-crypto": "9.2.2-16" + "@polkadot/util": "9.3.0", + "@polkadot/util-crypto": "9.3.0" }, "peerDependencies": { - "@polkadot/util": "9.2.2-16", - "@polkadot/util-crypto": "9.2.2-16" + "@polkadot/util": "9.3.0", + "@polkadot/util-crypto": "9.3.0" } } diff --git a/packages/networks/package.json b/packages/networks/package.json index 5412e005f..80dec7b2d 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -17,15 +17,15 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/util": "9.2.2-16", + "@polkadot/util": "9.3.0", "@substrate/ss58-registry": "^1.20.0" }, "devDependencies": { - "@polkadot/hw-ledger": "9.2.2-16", - "@polkadot/x-fetch": "9.2.2-16" + "@polkadot/hw-ledger": "9.3.0", + "@polkadot/x-fetch": "9.3.0" } } diff --git a/packages/util-crypto/package.json b/packages/util-crypto/package.json index 2fcee5d59..edf90bfa6 100644 --- a/packages/util-crypto/package.json +++ b/packages/util-crypto/package.json @@ -22,7 +22,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "browser": { "crypto": false, "stream": false @@ -32,11 +32,11 @@ "@babel/runtime": "^7.18.3", "@noble/hashes": "1.0.0", "@noble/secp256k1": "1.5.5", - "@polkadot/networks": "9.2.2-16", - "@polkadot/util": "9.2.2-16", + "@polkadot/networks": "9.3.0", + "@polkadot/util": "9.3.0", "@polkadot/wasm-crypto": "^6.1.1", - "@polkadot/x-bigint": "9.2.2-16", - "@polkadot/x-randomvalues": "9.2.2-16", + "@polkadot/x-bigint": "9.3.0", + "@polkadot/x-randomvalues": "9.3.0", "@scure/base": "1.0.0", "ed2curve": "^0.3.0", "tweetnacl": "^1.0.3" @@ -45,6 +45,6 @@ "@types/ed2curve": "^0.2.2" }, "peerDependencies": { - "@polkadot/util": "9.2.2-16" + "@polkadot/util": "9.3.0" } } diff --git a/packages/util/package.json b/packages/util/package.json index 5044bca3d..fb6cbe9e4 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -34,19 +34,19 @@ "./detectPackage.cjs" ], "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/x-bigint": "9.2.2-16", - "@polkadot/x-global": "9.2.2-16", - "@polkadot/x-textdecoder": "9.2.2-16", - "@polkadot/x-textencoder": "9.2.2-16", + "@polkadot/x-bigint": "9.3.0", + "@polkadot/x-global": "9.3.0", + "@polkadot/x-textdecoder": "9.3.0", + "@polkadot/x-textencoder": "9.3.0", "@types/bn.js": "^5.1.0", "bn.js": "^5.2.1", "ip-regex": "^4.3.0" }, "devDependencies": { - "@polkadot/x-randomvalues": "9.2.2-16" + "@polkadot/x-randomvalues": "9.3.0" } } diff --git a/packages/x-bigint/package.json b/packages/x-bigint/package.json index 4a9c3b65a..69587b497 100644 --- a/packages/x-bigint/package.json +++ b/packages/x-bigint/package.json @@ -20,9 +20,9 @@ "./shim.cjs" ], "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.2.2-16" + "@polkadot/x-global": "9.3.0" } } diff --git a/packages/x-bundle/package.json b/packages/x-bundle/package.json index 15cf41a83..1e81f73b1 100644 --- a/packages/x-bundle/package.json +++ b/packages/x-bundle/package.json @@ -17,11 +17,11 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/util": "9.2.2-16", + "@polkadot/util": "9.3.0", "buffer-es6": "^4.9.3" } } diff --git a/packages/x-fetch/package.json b/packages/x-fetch/package.json index fcc623064..9a192e1e0 100644 --- a/packages/x-fetch/package.json +++ b/packages/x-fetch/package.json @@ -17,13 +17,13 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.2.2-16", + "@polkadot/x-global": "9.3.0", "@types/node-fetch": "^2.6.1", "node-fetch": "^2.6.7" } diff --git a/packages/x-global/package.json b/packages/x-global/package.json index 7919cef26..9f6971247 100644 --- a/packages/x-global/package.json +++ b/packages/x-global/package.json @@ -17,7 +17,7 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "main": "index.js", "dependencies": { "@babel/runtime": "^7.18.3" diff --git a/packages/x-randomvalues/package.json b/packages/x-randomvalues/package.json index c0a33a5cb..2a01b7e50 100644 --- a/packages/x-randomvalues/package.json +++ b/packages/x-randomvalues/package.json @@ -17,13 +17,13 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.2.2-16" + "@polkadot/x-global": "9.3.0" }, "devDependencies": { "@types/react-native": "^0.67.7" diff --git a/packages/x-textdecoder/package.json b/packages/x-textdecoder/package.json index 76722d875..84d678021 100644 --- a/packages/x-textdecoder/package.json +++ b/packages/x-textdecoder/package.json @@ -17,12 +17,12 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.2.2-16" + "@polkadot/x-global": "9.3.0" } } diff --git a/packages/x-textencoder/package.json b/packages/x-textencoder/package.json index 5c0316e2f..78b860dd7 100644 --- a/packages/x-textencoder/package.json +++ b/packages/x-textencoder/package.json @@ -17,12 +17,12 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.2.2-16" + "@polkadot/x-global": "9.3.0" } } diff --git a/packages/x-ws/package.json b/packages/x-ws/package.json index 58d9917ed..03516cd79 100644 --- a/packages/x-ws/package.json +++ b/packages/x-ws/package.json @@ -17,13 +17,13 @@ }, "sideEffects": false, "type": "module", - "version": "9.2.2-16", + "version": "9.3.0", "browser": "browser.js", "main": "node.js", "react-native": "react-native.js", "dependencies": { "@babel/runtime": "^7.18.3", - "@polkadot/x-global": "9.2.2-16", + "@polkadot/x-global": "9.3.0", "@types/websocket": "^1.0.5", "websocket": "^1.0.34" } diff --git a/yarn.lock b/yarn.lock index e69df0df3..457524d4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2133,7 +2133,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/hw-ledger-transports@9.2.2-16, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports": +"@polkadot/hw-ledger-transports@9.3.0, @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: @@ -2142,21 +2142,21 @@ __metadata: "@ledgerhq/hw-transport-node-hid-singleton": ^6.27.1 "@ledgerhq/hw-transport-webhid": ^6.27.1 "@ledgerhq/hw-transport-webusb": ^6.27.1 - "@polkadot/util": 9.2.2-16 + "@polkadot/util": 9.3.0 dependenciesMeta: "@ledgerhq/hw-transport-node-hid-singleton": optional: true languageName: unknown linkType: soft -"@polkadot/hw-ledger@9.2.2-16, @polkadot/hw-ledger@workspace:packages/hw-ledger": +"@polkadot/hw-ledger@9.3.0, @polkadot/hw-ledger@workspace:packages/hw-ledger": version: 0.0.0-use.local resolution: "@polkadot/hw-ledger@workspace:packages/hw-ledger" dependencies: "@babel/runtime": ^7.18.3 "@ledgerhq/hw-transport": ^6.27.1 - "@polkadot/hw-ledger-transports": 9.2.2-16 - "@polkadot/util": 9.2.2-16 + "@polkadot/hw-ledger-transports": 9.3.0 + "@polkadot/util": 9.3.0 "@zondax/ledger-substrate": ^0.29.0 languageName: unknown linkType: soft @@ -2166,57 +2166,57 @@ __metadata: resolution: "@polkadot/keyring@workspace:packages/keyring" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/util": 9.2.2-16 - "@polkadot/util-crypto": 9.2.2-16 + "@polkadot/util": 9.3.0 + "@polkadot/util-crypto": 9.3.0 peerDependencies: - "@polkadot/util": 9.2.2-16 - "@polkadot/util-crypto": 9.2.2-16 + "@polkadot/util": 9.3.0 + "@polkadot/util-crypto": 9.3.0 languageName: unknown linkType: soft -"@polkadot/networks@9.2.2-16, @polkadot/networks@workspace:packages/networks": +"@polkadot/networks@9.3.0, @polkadot/networks@workspace:packages/networks": version: 0.0.0-use.local resolution: "@polkadot/networks@workspace:packages/networks" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/hw-ledger": 9.2.2-16 - "@polkadot/util": 9.2.2-16 - "@polkadot/x-fetch": 9.2.2-16 + "@polkadot/hw-ledger": 9.3.0 + "@polkadot/util": 9.3.0 + "@polkadot/x-fetch": 9.3.0 "@substrate/ss58-registry": ^1.20.0 languageName: unknown linkType: soft -"@polkadot/util-crypto@9.2.2-16, @polkadot/util-crypto@workspace:packages/util-crypto": +"@polkadot/util-crypto@9.3.0, @polkadot/util-crypto@workspace:packages/util-crypto": version: 0.0.0-use.local resolution: "@polkadot/util-crypto@workspace:packages/util-crypto" dependencies: "@babel/runtime": ^7.18.3 "@noble/hashes": 1.0.0 "@noble/secp256k1": 1.5.5 - "@polkadot/networks": 9.2.2-16 - "@polkadot/util": 9.2.2-16 + "@polkadot/networks": 9.3.0 + "@polkadot/util": 9.3.0 "@polkadot/wasm-crypto": ^6.1.1 - "@polkadot/x-bigint": 9.2.2-16 - "@polkadot/x-randomvalues": 9.2.2-16 + "@polkadot/x-bigint": 9.3.0 + "@polkadot/x-randomvalues": 9.3.0 "@scure/base": 1.0.0 "@types/ed2curve": ^0.2.2 ed2curve: ^0.3.0 tweetnacl: ^1.0.3 peerDependencies: - "@polkadot/util": 9.2.2-16 + "@polkadot/util": 9.3.0 languageName: unknown linkType: soft -"@polkadot/util@9.2.2-16, @polkadot/util@workspace:packages/util": +"@polkadot/util@9.3.0, @polkadot/util@workspace:packages/util": version: 0.0.0-use.local resolution: "@polkadot/util@workspace:packages/util" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/x-bigint": 9.2.2-16 - "@polkadot/x-global": 9.2.2-16 - "@polkadot/x-randomvalues": 9.2.2-16 - "@polkadot/x-textdecoder": 9.2.2-16 - "@polkadot/x-textencoder": 9.2.2-16 + "@polkadot/x-bigint": 9.3.0 + "@polkadot/x-global": 9.3.0 + "@polkadot/x-randomvalues": 9.3.0 + "@polkadot/x-textdecoder": 9.3.0 + "@polkadot/x-textencoder": 9.3.0 "@types/bn.js": ^5.1.0 bn.js: ^5.2.1 ip-regex: ^4.3.0 @@ -2299,12 +2299,12 @@ __metadata: languageName: node linkType: hard -"@polkadot/x-bigint@9.2.2-16, @polkadot/x-bigint@workspace:packages/x-bigint": +"@polkadot/x-bigint@9.3.0, @polkadot/x-bigint@workspace:packages/x-bigint": version: 0.0.0-use.local resolution: "@polkadot/x-bigint@workspace:packages/x-bigint" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.2.2-16 + "@polkadot/x-global": 9.3.0 languageName: unknown linkType: soft @@ -2313,23 +2313,23 @@ __metadata: resolution: "@polkadot/x-bundle@workspace:packages/x-bundle" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/util": 9.2.2-16 + "@polkadot/util": 9.3.0 buffer-es6: ^4.9.3 languageName: unknown linkType: soft -"@polkadot/x-fetch@9.2.2-16, @polkadot/x-fetch@workspace:packages/x-fetch": +"@polkadot/x-fetch@9.3.0, @polkadot/x-fetch@workspace:packages/x-fetch": version: 0.0.0-use.local resolution: "@polkadot/x-fetch@workspace:packages/x-fetch" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.2.2-16 + "@polkadot/x-global": 9.3.0 "@types/node-fetch": ^2.6.1 node-fetch: ^2.6.7 languageName: unknown linkType: soft -"@polkadot/x-global@9.2.2-16, @polkadot/x-global@workspace:packages/x-global": +"@polkadot/x-global@9.3.0, @polkadot/x-global@workspace:packages/x-global": version: 0.0.0-use.local resolution: "@polkadot/x-global@workspace:packages/x-global" dependencies: @@ -2337,31 +2337,31 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/x-randomvalues@9.2.2-16, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": +"@polkadot/x-randomvalues@9.3.0, @polkadot/x-randomvalues@workspace:packages/x-randomvalues": version: 0.0.0-use.local resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.2.2-16 + "@polkadot/x-global": 9.3.0 "@types/react-native": ^0.67.7 languageName: unknown linkType: soft -"@polkadot/x-textdecoder@9.2.2-16, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": +"@polkadot/x-textdecoder@9.3.0, @polkadot/x-textdecoder@workspace:packages/x-textdecoder": version: 0.0.0-use.local resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.2.2-16 + "@polkadot/x-global": 9.3.0 languageName: unknown linkType: soft -"@polkadot/x-textencoder@9.2.2-16, @polkadot/x-textencoder@workspace:packages/x-textencoder": +"@polkadot/x-textencoder@9.3.0, @polkadot/x-textencoder@workspace:packages/x-textencoder": version: 0.0.0-use.local resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.2.2-16 + "@polkadot/x-global": 9.3.0 languageName: unknown linkType: soft @@ -2370,7 +2370,7 @@ __metadata: resolution: "@polkadot/x-ws@workspace:packages/x-ws" dependencies: "@babel/runtime": ^7.18.3 - "@polkadot/x-global": 9.2.2-16 + "@polkadot/x-global": 9.3.0 "@types/websocket": ^1.0.5 websocket: ^1.0.34 languageName: unknown