From ea9f3fb2996a5d6b14113600e4865ce74d582175 Mon Sep 17 00:00:00 2001 From: Apotheosis <97164662+0xApotheosis@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:39:55 +1100 Subject: [PATCH 1/4] perf: optimize seed creation --- .../crypto/isolation/engines/default/bip39.ts | 42 ++++++------------- 1 file changed, 13 insertions(+), 29 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts index a7c1cafa0..beeb2438f 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts @@ -2,6 +2,7 @@ import * as core from "@shapeshiftoss/hdwallet-core"; import * as bip32crypto from "bip32/src/crypto"; +import { createSHA512, pbkdf2 } from "hash-wasm"; import { TextEncoder } from "web-encoding"; import * as BIP32 from "../../core/bip32"; @@ -12,34 +13,6 @@ import { Revocable, revocable } from "./revocable"; export * from "../../core/bip39"; -// Poor man's single-block PBKDF2 implementation -//TODO: get something better -function pbkdf2_sha512_singleblock( - password: string, - salt: Uint8Array, - iterations: number -): Uint8Array & { length: 64 } { - function be32Buf(index: number): Buffer { - const indexBE = Buffer.alloc(4); - indexBE.writeUInt32BE(index); - return indexBE; - } - - const pwBuffer = safeBufferFrom(new TextEncoder().encode(password)); - - const out = bip32crypto.hmacSHA512(pwBuffer, core.compatibleBufferConcat([salt, be32Buf(1)])) as Buffer & { - length: 64; - }; - let lastU = out; - for (let i = 2; i <= iterations; i++) { - const newU = bip32crypto.hmacSHA512(pwBuffer, lastU) as Buffer & { length: 64 }; - for (let j = 0; j < out.length; j++) out[j] ^= newU[j]; - lastU = newU; - } - - return out; -} - export class Mnemonic extends Revocable(class {}) implements BIP39.Mnemonic { readonly #mnemonic: string; @@ -59,7 +32,18 @@ export class Mnemonic extends Revocable(class {}) implements BIP39.Mnemonic { const mnemonic = this.#mnemonic; const salt = new TextEncoder().encode(`mnemonic${passphrase ?? ""}`.normalize("NFKD")); - const out = await BIP32Engine.Seed.create(pbkdf2_sha512_singleblock(mnemonic, salt, 2048)); + const out = await BIP32Engine.Seed.create( + Buffer.from( + await pbkdf2({ + password: mnemonic, + salt, + iterations: 2048, + hashLength: 64, + hashFunction: createSHA512(), + outputType: "binary", + }) + ) + ); this.addRevoker(() => out.revoke?.()); return out; } From feafe29d2ba8ac61b6d684078fe43fad431426c7 Mon Sep 17 00:00:00 2001 From: Apotheosis <97164662+0xApotheosis@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:10:18 +1100 Subject: [PATCH 2/4] chore: improve types --- .../crypto/isolation/engines/default/bip39.ts | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts index beeb2438f..565c1d93a 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts @@ -1,19 +1,16 @@ /// -import * as core from "@shapeshiftoss/hdwallet-core"; -import * as bip32crypto from "bip32/src/crypto"; import { createSHA512, pbkdf2 } from "hash-wasm"; import { TextEncoder } from "web-encoding"; -import * as BIP32 from "../../core/bip32"; -import * as BIP39 from "../../core/bip39"; -import { safeBufferFrom } from "../../types"; -import * as BIP32Engine from "./bip32"; +import type { Seed as SeedType } from "../../core/bip32"; +import type { Mnemonic as Bip39Mnemonic } from "../../core/bip39"; +import { Seed } from "./bip32"; import { Revocable, revocable } from "./revocable"; export * from "../../core/bip39"; -export class Mnemonic extends Revocable(class {}) implements BIP39.Mnemonic { +export class Mnemonic extends Revocable(class {}) implements Bip39Mnemonic { readonly #mnemonic: string; protected constructor(mnemonic: string) { @@ -21,18 +18,18 @@ export class Mnemonic extends Revocable(class {}) implements BIP39.Mnemonic { this.#mnemonic = mnemonic.normalize("NFKD"); } - static async create(mnemonic: string): Promise { + static async create(mnemonic: string): Promise { const obj = new Mnemonic(mnemonic); return revocable(obj, (x) => obj.addRevoker(x)); } - async toSeed(passphrase?: string): Promise { + async toSeed(passphrase?: string): Promise { if (passphrase !== undefined && typeof passphrase !== "string") throw new Error("bad passphrase type"); const mnemonic = this.#mnemonic; const salt = new TextEncoder().encode(`mnemonic${passphrase ?? ""}`.normalize("NFKD")); - const out = await BIP32Engine.Seed.create( + const out = await Seed.create( Buffer.from( await pbkdf2({ password: mnemonic, From 38f85ef641f71d0628017c0f0e7184166b1aeac5 Mon Sep 17 00:00:00 2001 From: Apotheosis <97164662+0xApotheosis@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:11:12 +1100 Subject: [PATCH 3/4] chore: remove useless check --- .../src/crypto/isolation/engines/default/bip39.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts index 565c1d93a..f563e66a7 100644 --- a/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts +++ b/packages/hdwallet-native/src/crypto/isolation/engines/default/bip39.ts @@ -24,8 +24,6 @@ export class Mnemonic extends Revocable(class {}) implements Bip39Mnemonic { } async toSeed(passphrase?: string): Promise { - if (passphrase !== undefined && typeof passphrase !== "string") throw new Error("bad passphrase type"); - const mnemonic = this.#mnemonic; const salt = new TextEncoder().encode(`mnemonic${passphrase ?? ""}`.normalize("NFKD")); From 75c32341abfa78e6b3236448a20f7c07f3a9ff4e Mon Sep 17 00:00:00 2001 From: Apotheosis <97164662+0xApotheosis@users.noreply.github.com> Date: Thu, 19 Oct 2023 07:27:51 +1100 Subject: [PATCH 4/4] chore(release): publish 1.52.6 --- examples/sandbox/package.json | 32 +++++++++---------- integration/package.json | 20 ++++++------ lerna.json | 2 +- packages/hdwallet-coinbase/package.json | 4 +-- packages/hdwallet-core/package.json | 2 +- .../hdwallet-keepkey-chromeusb/package.json | 6 ++-- .../hdwallet-keepkey-electron/package.json | 4 +-- .../hdwallet-keepkey-nodehid/package.json | 4 +-- .../hdwallet-keepkey-nodewebusb/package.json | 6 ++-- packages/hdwallet-keepkey-tcp/package.json | 6 ++-- packages/hdwallet-keepkey-webusb/package.json | 6 ++-- packages/hdwallet-keepkey/package.json | 4 +-- packages/hdwallet-keplr/package.json | 4 +-- packages/hdwallet-ledger-webhid/package.json | 6 ++-- packages/hdwallet-ledger-webusb/package.json | 6 ++-- packages/hdwallet-ledger/package.json | 4 +-- .../package.json | 4 +-- packages/hdwallet-metamask/package.json | 4 +-- packages/hdwallet-native-vault/package.json | 4 +-- packages/hdwallet-native/package.json | 4 +-- packages/hdwallet-portis/package.json | 4 +-- packages/hdwallet-tallyho/package.json | 4 +-- packages/hdwallet-trezor-connect/package.json | 6 ++-- packages/hdwallet-trezor/package.json | 4 +-- packages/hdwallet-walletconnect/package.json | 4 +-- .../hdwallet-walletconnectV2/package.json | 4 +-- packages/hdwallet-xdefi/package.json | 4 +-- 27 files changed, 81 insertions(+), 81 deletions(-) diff --git a/examples/sandbox/package.json b/examples/sandbox/package.json index 378aaded6..94b93c775 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -10,21 +10,21 @@ "clean": "rm -rf dist node_modules public .parcel-cache" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey-webusb": "1.52.5", - "@shapeshiftoss/hdwallet-keplr": "1.52.5", - "@shapeshiftoss/hdwallet-ledger": "1.52.5", - "@shapeshiftoss/hdwallet-ledger-webhid": "1.52.5", - "@shapeshiftoss/hdwallet-ledger-webusb": "1.52.5", - "@shapeshiftoss/hdwallet-metamask": "1.52.5", - "@shapeshiftoss/hdwallet-native": "1.52.5", - "@shapeshiftoss/hdwallet-portis": "1.52.5", - "@shapeshiftoss/hdwallet-tallyho": "1.52.5", - "@shapeshiftoss/hdwallet-trezor": "1.52.5", - "@shapeshiftoss/hdwallet-trezor-connect": "1.52.5", - "@shapeshiftoss/hdwallet-walletconnect": "1.52.5", - "@shapeshiftoss/hdwallet-xdefi": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey-webusb": "1.52.6", + "@shapeshiftoss/hdwallet-keplr": "1.52.6", + "@shapeshiftoss/hdwallet-ledger": "1.52.6", + "@shapeshiftoss/hdwallet-ledger-webhid": "1.52.6", + "@shapeshiftoss/hdwallet-ledger-webusb": "1.52.6", + "@shapeshiftoss/hdwallet-metamask": "1.52.6", + "@shapeshiftoss/hdwallet-native": "1.52.6", + "@shapeshiftoss/hdwallet-portis": "1.52.6", + "@shapeshiftoss/hdwallet-tallyho": "1.52.6", + "@shapeshiftoss/hdwallet-trezor": "1.52.6", + "@shapeshiftoss/hdwallet-trezor-connect": "1.52.6", + "@shapeshiftoss/hdwallet-walletconnect": "1.52.6", + "@shapeshiftoss/hdwallet-xdefi": "1.52.6", "bip32": "^2.0.4", "jquery": "^3.4.1", "json": "^9.0.6", diff --git a/integration/package.json b/integration/package.json index b4d89f943..8f3d7ea38 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.52.5", + "version": "1.52.6", "main": "index.js", "license": "MIT", "private": true, @@ -10,15 +10,15 @@ "dev": "lerna run test --scope integration --parallel --include-filtered-dependencies" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.52.5", - "@shapeshiftoss/hdwallet-ledger": "1.52.5", - "@shapeshiftoss/hdwallet-native": "1.52.5", - "@shapeshiftoss/hdwallet-portis": "1.52.5", - "@shapeshiftoss/hdwallet-trezor": "1.52.5", - "@shapeshiftoss/hdwallet-xdefi": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.52.6", + "@shapeshiftoss/hdwallet-ledger": "1.52.6", + "@shapeshiftoss/hdwallet-native": "1.52.6", + "@shapeshiftoss/hdwallet-portis": "1.52.6", + "@shapeshiftoss/hdwallet-trezor": "1.52.6", + "@shapeshiftoss/hdwallet-xdefi": "1.52.6", "fast-json-stable-stringify": "^2.1.0", "msw": "^0.27.1", "whatwg-fetch": "^3.6.2" diff --git a/lerna.json b/lerna.json index 1abeb2256..e39242c53 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.52.5", + "version": "1.52.6", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index bf1ce6625..0c953c777 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-core/package.json b/packages/hdwallet-core/package.json index be2824ebc..c576885e2 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 3d406db4f..b250827f3 100644 --- a/packages/hdwallet-keepkey-chromeusb/package.json +++ b/packages/hdwallet-keepkey-chromeusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-chromeusb", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey": "1.52.5" + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey": "1.52.6" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index 397a3bb98..325339384 100644 --- a/packages/hdwallet-keepkey-electron/package.json +++ b/packages/hdwallet-keepkey-electron/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-electron", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.52.5", + "@shapeshiftoss/hdwallet-keepkey": "1.52.6", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index c7c3b6641..1377b9a9f 100644 --- a/packages/hdwallet-keepkey-nodehid/package.json +++ b/packages/hdwallet-keepkey-nodehid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodehid", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.52.5" + "@shapeshiftoss/hdwallet-keepkey": "1.52.6" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index fdc4fbc0a..20ae0e6ec 100644 --- a/packages/hdwallet-keepkey-nodewebusb/package.json +++ b/packages/hdwallet-keepkey-nodewebusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-nodewebusb", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey": "1.52.5" + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey": "1.52.6" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 6e7ad9d39..e92b652e5 100644 --- a/packages/hdwallet-keepkey-tcp/package.json +++ b/packages/hdwallet-keepkey-tcp/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-tcp", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey": "1.52.6", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index cbdc09b77..7fe7323c8 100644 --- a/packages/hdwallet-keepkey-webusb/package.json +++ b/packages/hdwallet-keepkey-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey-webusb", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-keepkey": "1.52.5" + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-keepkey": "1.52.6" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index b6dd00e43..91a950e4a 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -19,7 +19,7 @@ "@ethereumjs/tx": "^3.3.0", "@keepkey/device-protocol": "^7.12.2", "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "@shapeshiftoss/proto-tx-builder": "^0.8.0", "bignumber.js": "^9.0.1", "bnb-javascript-sdk-nobroadcast": "^2.16.14", diff --git a/packages/hdwallet-keplr/package.json b/packages/hdwallet-keplr/package.json index 3e43c24e8..372f7da25 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "@shapeshiftoss/proto-tx-builder": "^0.8.0", "@shapeshiftoss/types": "3.1.3", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger-webhid/package.json b/packages/hdwallet-ledger-webhid/package.json index 9db488887..4c48c4236 100644 --- a/packages/hdwallet-ledger-webhid/package.json +++ b/packages/hdwallet-ledger-webhid/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webhid", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -19,8 +19,8 @@ "@ledgerhq/hw-transport": "^6.7.0", "@ledgerhq/hw-transport-webhid": "^6.7.0", "@ledgerhq/live-common": "^21.8.2", - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-ledger": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-ledger": "1.52.6", "@types/w3c-web-hid": "^1.0.2" }, "devDependencies": { diff --git a/packages/hdwallet-ledger-webusb/package.json b/packages/hdwallet-ledger-webusb/package.json index e09d14d49..82aaaaf56 100644 --- a/packages/hdwallet-ledger-webusb/package.json +++ b/packages/hdwallet-ledger-webusb/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger-webusb", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -20,8 +20,8 @@ "@ledgerhq/hw-transport-webusb": "^6.7.0", "@ledgerhq/live-common": "^21.8.2", "@ledgerhq/logs": "^6.10.1", - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-ledger": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-ledger": "1.52.6", "@types/w3c-web-usb": "^1.0.4", "p-queue": "^7.4.1" }, diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 1e22505bd..ac597b32f 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -18,7 +18,7 @@ "@ethereumjs/common": "^2.4.0", "@ethereumjs/tx": "^3.3.0", "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "base64-js": "^1.5.1", "bchaddrjs": "^0.4.4", "bitcoinjs-message": "^2.0.0", diff --git a/packages/hdwallet-metamask-shapeshift-multichain/package.json b/packages/hdwallet-metamask-shapeshift-multichain/package.json index c0dfa45ed..ff58859c9 100644 --- a/packages/hdwallet-metamask-shapeshift-multichain/package.json +++ b/packages/hdwallet-metamask-shapeshift-multichain/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-shapeshift-multichain", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", "@shapeshiftoss/common-api": "^9.3.0", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "@shapeshiftoss/metamask-snaps-adapter": "^1.0.8", "@shapeshiftoss/metamask-snaps-types": "^1.0.8", "eth-rpc-errors": "^4.0.3", diff --git a/packages/hdwallet-metamask/package.json b/packages/hdwallet-metamask/package.json index 535d6ecfa..e61eecc0f 100644 --- a/packages/hdwallet-metamask/package.json +++ b/packages/hdwallet-metamask/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@metamask/detect-provider": "^1.2.0", "@metamask/onboarding": "^1.0.1", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "eth-rpc-errors": "^4.0.3", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-native-vault/package.json b/packages/hdwallet-native-vault/package.json index a4eb6d536..39dd35410 100644 --- a/packages/hdwallet-native-vault/package.json +++ b/packages/hdwallet-native-vault/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native-vault", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-native": "1.52.5", + "@shapeshiftoss/hdwallet-native": "1.52.6", "bip39": "^3.0.4", "hash-wasm": "^4.9.0", "idb-keyval": "^6.0.3", diff --git a/packages/hdwallet-native/package.json b/packages/hdwallet-native/package.json index 5e880bd9c..7e6a91ed3 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "dependencies": { "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", "@shapeshiftoss/fiosdk": "1.2.1-shapeshift.6", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "@shapeshiftoss/proto-tx-builder": "^0.8.0", "@zxing/text-encoding": "^0.9.0", "bchaddrjs": "^0.4.9", diff --git a/packages/hdwallet-portis/package.json b/packages/hdwallet-portis/package.json index 5093312bf..a83a27c5f 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@portis/web3": "3.0.10", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "base64-js": "^1.5.1", "bip32": "^2.0.4", "bitcoinjs-lib": "^5.1.6", diff --git a/packages/hdwallet-tallyho/package.json b/packages/hdwallet-tallyho/package.json index b022b1597..29e856e48 100644 --- a/packages/hdwallet-tallyho/package.json +++ b/packages/hdwallet-tallyho/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-tallyho", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "lodash": "^4.17.21", "tallyho-onboarding": "^1.0.2" }, diff --git a/packages/hdwallet-trezor-connect/package.json b/packages/hdwallet-trezor-connect/package.json index 8d7a66d11..1d85846c0 100644 --- a/packages/hdwallet-trezor-connect/package.json +++ b/packages/hdwallet-trezor-connect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor-connect", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", - "@shapeshiftoss/hdwallet-trezor": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", + "@shapeshiftoss/hdwallet-trezor": "1.52.6", "@trezor/rollout": "^1.2.0", "trezor-connect": "^8.2.1" } diff --git a/packages/hdwallet-trezor/package.json b/packages/hdwallet-trezor/package.json index 7f4b01609..a17e13756 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@ethereumjs/common": "^2.4.0", "@ethereumjs/tx": "^3.3.0", - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "base64-js": "^1.5.1", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 997bb6add..9c3425293 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "@walletconnect/qrcode-modal": "^1.7.8", "@walletconnect/web3-provider": "^1.7.8", "ethers": "^5.6.5" diff --git a/packages/hdwallet-walletconnectV2/package.json b/packages/hdwallet-walletconnectV2/package.json index 67f075191..8c665baa8 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "@walletconnect/ethereum-provider": "^2.10.1", "@walletconnect/modal": "^2.6.2", "ethers": "^5.6.5" diff --git a/packages/hdwallet-xdefi/package.json b/packages/hdwallet-xdefi/package.json index 8fe5be1df..b75377706 100644 --- a/packages/hdwallet-xdefi/package.json +++ b/packages/hdwallet-xdefi/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-xdefi", - "version": "1.52.5", + "version": "1.52.6", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.5", + "@shapeshiftoss/hdwallet-core": "1.52.6", "lodash": "^4.17.21" }, "devDependencies": {