From 40e841fd2aee1508d347b3c315135a42f680e95e Mon Sep 17 00:00:00 2001 From: kaladinlight <35275952+kaladinlight@users.noreply.github.com> Date: Mon, 22 Jan 2024 13:37:36 -0700 Subject: [PATCH 1/3] feat: add cosmos to ledger --- .../hdwallet-ledger-webusb/src/transport.ts | 6 ++ packages/hdwallet-ledger/package.json | 1 + packages/hdwallet-ledger/src/cosmos.ts | 86 +++++++++++++++++++ packages/hdwallet-ledger/src/ledger.ts | 28 ++++-- packages/hdwallet-ledger/src/transport.ts | 5 +- packages/hdwallet-ledger/src/utils.ts | 21 +++++ yarn.lock | 16 +++- 7 files changed, 156 insertions(+), 7 deletions(-) create mode 100644 packages/hdwallet-ledger/src/cosmos.ts diff --git a/packages/hdwallet-ledger-webusb/src/transport.ts b/packages/hdwallet-ledger-webusb/src/transport.ts index b0efc05af..6ce6e7271 100644 --- a/packages/hdwallet-ledger-webusb/src/transport.ts +++ b/packages/hdwallet-ledger-webusb/src/transport.ts @@ -1,4 +1,5 @@ import Btc from "@ledgerhq/hw-app-btc"; +import Cosmos from "@ledgerhq/hw-app-cosmos"; import Eth from "@ledgerhq/hw-app-eth"; import TransportWebUSB from "@ledgerhq/hw-transport-webusb"; import getAppAndVersion from "@ledgerhq/live-common/lib/hw/getAppAndVersion"; @@ -94,6 +95,11 @@ export async function translateCoinAndMethod].bind(eth); return methodInstance as LedgerTransportMethod; } + case "Cosmos": { + const cosmos = new Cosmos(transport); + const methodInstance = cosmos[method as LedgerTransportMethodName<"Cosmos">].bind(cosmos); + return methodInstance as LedgerTransportMethod; + } case null: { switch (method) { case "decorateAppAPIMethods": { diff --git a/packages/hdwallet-ledger/package.json b/packages/hdwallet-ledger/package.json index 0b95d1b79..01827a4c1 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -17,6 +17,7 @@ "dependencies": { "@ethereumjs/common": "^2.4.0", "@ethereumjs/tx": "^3.3.0", + "@ledgerhq/hw-app-cosmos": "^6.29.1", "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", "@shapeshiftoss/hdwallet-core": "1.52.14", "base64-js": "^1.5.1", diff --git a/packages/hdwallet-ledger/src/cosmos.ts b/packages/hdwallet-ledger/src/cosmos.ts new file mode 100644 index 000000000..2dba6398e --- /dev/null +++ b/packages/hdwallet-ledger/src/cosmos.ts @@ -0,0 +1,86 @@ +import { AccountData, AminoSignResponse, OfflineAminoSigner, StdSignDoc, StdTx } from "@cosmjs/amino"; +import { Secp256k1Signature } from "@cosmjs/crypto"; +import type { SignerData } from "@cosmjs/stargate"; +import * as core from "@shapeshiftoss/hdwallet-core"; +import { fromByteArray } from "base64-js"; +import PLazy from "p-lazy"; + +import { LedgerTransport } from "./transport"; +import { handleError, stringifyKeysInOrder } from "./utils"; + +const protoTxBuilder = PLazy.from(() => import("@shapeshiftoss/proto-tx-builder")); + +const ATOM_CHAIN = "cosmoshub-4"; + +export const cosmosGetAddress = async (transport: LedgerTransport, msg: core.CosmosGetAddress): Promise => { + const bip32path = core.addressNListToBIP32(msg.addressNList); + const res = await transport.call("Cosmos", "getAddress", bip32path, "cosmos"); + + handleError(res, transport, "Unable to obtain address from device."); + + return res.payload.address; +}; + +export const cosmosSignTx = async ( + transport: LedgerTransport, + msg: core.CosmosSignTx +): Promise => { + const bip32path = core.addressNListToBIP32(msg.addressNList); + const getAddressResponse = await transport.call("Cosmos", "getAddress", bip32path, "cosmos"); + + handleError(getAddressResponse, transport, "Unable to obtain address and public key from device."); + + const { address, publicKey } = getAddressResponse.payload; + + const rawTx = stringifyKeysInOrder({ + account_number: msg.account_number, + chain_id: ATOM_CHAIN, + fee: { amount: msg.tx.fee.amount, gas: msg.tx.fee.gas }, + memo: msg.tx.memo, + msgs: msg.tx.msg, + sequence: msg.sequence, + }); + + const signResponse = await transport.call("Cosmos", "sign", bip32path, rawTx); + + handleError(signResponse, transport, "Unable to obtain signature from device."); + + const signature = signResponse.payload.signature; + + if (!signature) throw new Error("No signature returned from device"); + + const offlineSigner: OfflineAminoSigner = { + async getAccounts(): Promise { + return [ + { + address, + algo: "secp256k1", + pubkey: Buffer.from(publicKey, "hex"), + }, + ]; + }, + + async signAmino(signerAddress: string, signDoc: StdSignDoc): Promise { + if (signerAddress !== address) throw new Error("expected signerAddress to match address"); + + return { + signed: signDoc, + signature: { + pub_key: { + type: "tendermint/PubKeySecp256k1", + value: publicKey, + }, + signature: fromByteArray(Secp256k1Signature.fromDer(signature).toFixedLength()), + }, + }; + }, + }; + + const signerData: SignerData = { + sequence: Number(msg.sequence), + accountNumber: Number(msg.account_number), + chainId: msg.chain_id, + }; + + return (await protoTxBuilder).sign(address, msg.tx as StdTx, offlineSigner, signerData, "cosmos"); +}; diff --git a/packages/hdwallet-ledger/src/ledger.ts b/packages/hdwallet-ledger/src/ledger.ts index 69975c293..b7a8929a3 100644 --- a/packages/hdwallet-ledger/src/ledger.ts +++ b/packages/hdwallet-ledger/src/ledger.ts @@ -2,6 +2,7 @@ import * as core from "@shapeshiftoss/hdwallet-core"; import _ from "lodash"; import * as btc from "./bitcoin"; +import * as cosmos from "./cosmos"; import * as eth from "./ethereum"; import * as thorchain from "./thorchain"; import { LedgerTransport } from "./transport"; @@ -136,11 +137,12 @@ function describeUTXOPath(path: core.BIP32Path, coin: core.Coin, scriptType?: co } export class LedgerHDWalletInfo - implements core.HDWalletInfo, core.BTCWalletInfo, core.ETHWalletInfo, core.ThorchainWalletInfo + implements core.HDWalletInfo, core.BTCWalletInfo, core.ETHWalletInfo, core.ThorchainWalletInfo, core.CosmosWalletInfo { readonly _supportsBTCInfo = true; readonly _supportsETHInfo = true; readonly _supportsThorchainInfo = true; + readonly _supportsCosmosInfo = true; public getVendor(): string { return "Ledger"; @@ -200,6 +202,16 @@ export class LedgerHDWalletInfo return undefined; } + public cosmosGetAccountPaths(msg: core.CosmosGetAccountPaths): Array { + const slip44 = core.slip44ByCoin("Atom"); + return [{ addressNList: [0x80000000 + 44, 0x80000000 + slip44, 0x80000000 + msg.accountIdx, 0, 0] }]; + } + + // eslint-disable-next-line @typescript-eslint/no-unused-vars + public cosmosNextAccountPath(msg: core.CosmosAccountPath): core.CosmosAccountPath | undefined { + return undefined; + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars public hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean { return false; @@ -308,10 +320,8 @@ export class LedgerHDWalletInfo export class LedgerHDWallet extends LedgerHDWalletInfo - implements core.HDWallet, core.BTCWallet, core.ETHWallet, core.ThorchainWallet + implements core.HDWallet, core.BTCWallet, core.ETHWallet, core.ThorchainWallet, core.CosmosWallet { - readonly _supportsETHInfo = true; - readonly _supportsBTCInfo = true; readonly _supportsBTC = true; readonly _supportsETH = true; readonly _supportsEthSwitchChain = false; @@ -322,8 +332,8 @@ export class LedgerHDWallet readonly _supportsGnosis = true; readonly _supportsArbitrum = true; readonly _supportsArbitrumNova = true; - readonly _supportsThorchainInfo = true; readonly _supportsThorchain = true; + readonly _supportsCosmos = true; _isLedger = true; @@ -529,6 +539,14 @@ export class LedgerHDWallet return thorchain.thorchainSignTx(this.transport, msg); } + public cosmosGetAddress(msg: core.CosmosGetAddress): Promise { + return cosmos.cosmosGetAddress(this.transport, msg); + } + + public cosmosSignTx(msg: core.CosmosSignTx): Promise { + return cosmos.cosmosSignTx(this.transport, msg); + } + public disconnect(): Promise { return this.transport.disconnect(); } diff --git a/packages/hdwallet-ledger/src/transport.ts b/packages/hdwallet-ledger/src/transport.ts index f45cc14f8..1bbb13d04 100644 --- a/packages/hdwallet-ledger/src/transport.ts +++ b/packages/hdwallet-ledger/src/transport.ts @@ -1,4 +1,5 @@ import type Btc from "@ledgerhq/hw-app-btc"; +import type Cosmos from "@ledgerhq/hw-app-cosmos"; import type Eth from "@ledgerhq/hw-app-eth"; import type Transport from "@ledgerhq/hw-transport"; import type getAppAndVersion from "@ledgerhq/live-common/lib/hw/getAppAndVersion"; @@ -14,7 +15,7 @@ type MethodsOnly = { type UnwrapPromise = T extends Promise ? R : T; type DefinitelyCallable = T extends (...args: any) => any ? T : never; -export type LedgerTransportCoinType = null | "Btc" | "Eth" | "Rune"; +export type LedgerTransportCoinType = null | "Btc" | "Eth" | "Rune" | "Cosmos"; type CurriedWithTransport any> = T extends ( transport: Transport, ...args: infer R @@ -37,6 +38,8 @@ type LedgerTransportMethodMap = T extends nul ? MethodsOnly : T extends "Rune" ? MethodsOnly + : T extends "Cosmos" + ? MethodsOnly : never; export type LedgerTransportMethodName = LedgerTransportMethodMap extends never ? never diff --git a/packages/hdwallet-ledger/src/utils.ts b/packages/hdwallet-ledger/src/utils.ts index c9f499492..24e2e5bc1 100644 --- a/packages/hdwallet-ledger/src/utils.ts +++ b/packages/hdwallet-ledger/src/utils.ts @@ -594,3 +594,24 @@ export const networksUtil: Record = { export function coinToLedgerAppName(coin: core.Coin): string | undefined { return _.get(networksUtil[core.mustBeDefined(core.slip44ByCoin(coin))], "appName"); } + +export const recursivelyOrderKeys = (unordered: any) => { + // If it's an array - recursively order any + // dictionary items within the array + if (Array.isArray(unordered)) { + unordered.forEach((item, index) => { + unordered[index] = recursivelyOrderKeys(item); + }); + return unordered; + } + + // If it's an object - let's order the keys + if (typeof unordered !== "object") return unordered; + const ordered: any = {}; + Object.keys(unordered) + .sort() + .forEach((key) => (ordered[key] = recursivelyOrderKeys(unordered[key]))); + return ordered; +}; + +export const stringifyKeysInOrder = (data: any) => JSON.stringify(recursivelyOrderKeys(data)); diff --git a/yarn.lock b/yarn.lock index 62c3ddf77..7a7c7df77 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2862,6 +2862,11 @@ resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-6.10.0.tgz#dda9127b65f653fbb2f74a55e8f0e550d69de6e4" integrity sha512-fQFnl2VIXh9Yd41lGjReCeK+Q2hwxQJvLZfqHnKqWapTz68NHOv5QcI0OHuZVNEbv0xhgdLhi5b65kgYeQSUVg== +"@ledgerhq/errors@^6.16.1": + version "6.16.1" + resolved "https://registry.yarnpkg.com/@ledgerhq/errors/-/errors-6.16.1.tgz#df650a9ba105397dee2e8c0ceddf6931c5b25ede" + integrity sha512-4D4wKecGzQpIu7sx03Sg4uE1e8g1oZUndWgw9gw776H8h9ov9c5TxPaldTn2j6orPECAERViLf7LTO4L5pE2Cw== + "@ledgerhq/hw-app-algorand@6.7.0": version "6.7.0" resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-algorand/-/hw-app-algorand-6.7.0.tgz#0fea8ec5fca00b1acb14201c4383d17d714ada6f" @@ -2911,6 +2916,15 @@ "@ledgerhq/hw-transport" "^6.7.0" bip32-path "^0.4.2" +"@ledgerhq/hw-app-cosmos@^6.29.1": + version "6.29.1" + resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-cosmos/-/hw-app-cosmos-6.29.1.tgz#30df3cb8c02267b734ab9f5dfd4a5909ab7f651a" + integrity sha512-6nqFaxGLjvmVH8/BmOhPbFXpZ1N4zgyNmaA8jMvrNhl701CAxNvMQ8/aan01eHL7+hgKeCMsctpejCICwzFHAg== + dependencies: + "@ledgerhq/errors" "^6.16.1" + "@ledgerhq/hw-transport" "^6.30.1" + bip32-path "^0.4.2" + "@ledgerhq/hw-app-eth@6.8.2": version "6.8.2" resolved "https://registry.yarnpkg.com/@ledgerhq/hw-app-eth/-/hw-app-eth-6.8.2.tgz#e361ff4fda6ff205550246f6e75ca8db33515a4c" @@ -3020,7 +3034,7 @@ "@ledgerhq/hw-transport" "^6.7.0" "@ledgerhq/logs" "^6.2.0" -"@ledgerhq/hw-transport@6.7.0", "@ledgerhq/hw-transport@^5.19.1", "@ledgerhq/hw-transport@^5.51.1", "@ledgerhq/hw-transport@^6.20.0", "@ledgerhq/hw-transport@^6.28.8", "@ledgerhq/hw-transport@^6.7.0": +"@ledgerhq/hw-transport@6.7.0", "@ledgerhq/hw-transport@^5.19.1", "@ledgerhq/hw-transport@^5.51.1", "@ledgerhq/hw-transport@^6.20.0", "@ledgerhq/hw-transport@^6.28.8", "@ledgerhq/hw-transport@^6.30.1", "@ledgerhq/hw-transport@^6.7.0": version "6.7.0" resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.7.0.tgz#d1f0d70e21b91e6457a32d4c3cec0764e97461ff" integrity sha512-w+PhW6Y4KXYdoCykkE1zt0VL6Ryf72RP8sZP8OH1O90hX/R/q9BMYKl8VNqTbqlrOrORgATlKkbmIJBjbngZew== From 3077d57c336c52aeb7e70cf710c1ea5b13f92c1d Mon Sep 17 00:00:00 2001 From: kaladinlight <35275952+kaladinlight@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:07:55 -0700 Subject: [PATCH 2/3] tests --- integration/src/cosmos/cosmos.ts | 3 +- integration/src/wallets/ledger.ts | 145 +++++++++++++++++++++++++++--- 2 files changed, 133 insertions(+), 15 deletions(-) diff --git a/integration/src/cosmos/cosmos.ts b/integration/src/cosmos/cosmos.ts index 57f39f77d..b9731e65e 100644 --- a/integration/src/cosmos/cosmos.ts +++ b/integration/src/cosmos/cosmos.ts @@ -1,5 +1,6 @@ import * as core from "@shapeshiftoss/hdwallet-core"; import * as keepkey from "@shapeshiftoss/hdwallet-keepkey"; +import * as ledger from "@shapeshiftoss/hdwallet-ledger"; // Amino-encoded transactions import tx_unsigned_delegate_cosmos_amino from "./amino/tx01.mainnet.cosmos.delegate.json"; @@ -43,7 +44,7 @@ export function cosmosTests(get: () => { wallet: core.HDWallet; info: core.HDWal beforeAll(async () => { const { wallet: w } = get(); if (core.supportsCosmos(w)) wallet = w; - useAmino = w instanceof keepkey.KeepKeyHDWallet; + useAmino = w instanceof keepkey.KeepKeyHDWallet || w instanceof ledger.LedgerHDWallet; }); beforeEach(async () => { diff --git a/integration/src/wallets/ledger.ts b/integration/src/wallets/ledger.ts index 7a4543051..f3fc78c78 100644 --- a/integration/src/wallets/ledger.ts +++ b/integration/src/wallets/ledger.ts @@ -2,6 +2,13 @@ import * as core from "@shapeshiftoss/hdwallet-core"; import * as ledger from "@shapeshiftoss/hdwallet-ledger"; import { toByteArray } from "base64-js"; +const getRawSig = (sig: string) => { + const sigBz = toByteArray(sig); + const r = sigBz.slice(0, 32); + const s = sigBz.slice(32, 64); + return Uint8Array.from([48, 68, 2, 32, ...r, 2, 32, ...s]); +}; + export class MockTransport extends ledger.LedgerTransport { memoized = new Map(); currentApp: string; @@ -225,12 +232,6 @@ export class MockTransport extends ledger.LedgerTransport { ) ); - const sig1 = toByteArray( - "1s+0FVJ5R8O+ewGq5yNbTQuVG5MJZppFDqVJ4cd5D68ogOb2GMVHvYCH2dvQXo/uK/fT6Rk6dLGhK8tgW/HqtA==" - ); - const r1 = sig1.slice(0, 32); - const s1 = sig1.slice(32, 64); - const rawSig1 = Uint8Array.from([48, 68, 2, 32, ...r1, 2, 32, ...s1]); this.memoize( "Rune", "sign", @@ -242,17 +243,13 @@ export class MockTransport extends ledger.LedgerTransport { coin: "Rune", method: "sign", payload: { - signature: rawSig1, + signature: getRawSig( + "1s+0FVJ5R8O+ewGq5yNbTQuVG5MJZppFDqVJ4cd5D68ogOb2GMVHvYCH2dvQXo/uK/fT6Rk6dLGhK8tgW/HqtA==" + ), }, } ); - const sig2 = toByteArray( - "0Bjk7npdUw/Qa4MQTS4PH8sw8jM4JSzpd7G2DsF3DMVoYgdpO2fjHh/DUq6v30nghxUSJj0jNm0VIq9viPB+tQ==" - ); - const r2 = sig2.slice(0, 32); - const s2 = sig2.slice(32, 64); - const rawSig2 = Uint8Array.from([48, 68, 2, 32, ...r2, 2, 32, ...s2]); this.memoize( "Rune", "sign", @@ -264,7 +261,127 @@ export class MockTransport extends ledger.LedgerTransport { coin: "Rune", method: "sign", payload: { - signature: rawSig2, + signature: getRawSig( + "0Bjk7npdUw/Qa4MQTS4PH8sw8jM4JSzpd7G2DsF3DMVoYgdpO2fjHh/DUq6v30nghxUSJj0jNm0VIq9viPB+tQ==" + ), + }, + } + ); + + // Cosmos + this.memoize( + "Cosmos", + "getAddress", + JSON.parse(`["m/44'/118'/0'/0/0", "cosmos"]`), + JSON.parse( + '{"success":true,"coin":"Cosmos","method":"getAddress","payload":{"address":"cosmos15cenya0tr7nm3tz2wn3h3zwkht2rxrq7q7h3dj","publicKey":"03bee3af30e53a73f38abc5a2fcdac426d7b04eb72a8ebd3b01992e2d206e24ad8"}}' + ) + ); + + this.memoize( + "Cosmos", + "sign", + JSON.parse( + `["m/44'/118'/0'/0/0","{\\"account_number\\":\\"16359\\",\\"chain_id\\":\\"cosmoshub-4\\",\\"fee\\":{\\"amount\\":[{\\"amount\\":\\"900\\",\\"denom\\":\\"uatom\\"}],\\"gas\\":\\"90000\\"},\\"memo\\":\\"\\",\\"msgs\\":[{\\"type\\":\\"cosmos-sdk/MsgSend\\",\\"value\\":{\\"amount\\":[{\\"amount\\":\\"9000\\",\\"denom\\":\\"uatom\\"}],\\"from_address\\":\\"cosmos15cenya0tr7nm3tz2wn3h3zwkht2rxrq7q7h3dj\\",\\"to_address\\":\\"cosmos19xq52fdl5x2pp8gu4ph0ytzjz8msrdxwtjlm95\\"}}],\\"sequence\\":\\"29\\"}"]` + ), + { + success: true, + coin: "Cosmos", + method: "sign", + payload: { + signature: getRawSig( + "5R1jQIAu45Ded6nIuzusHIKOuR2sAsFFGvMbCumCbhE3k86gYOKUlJ3829dwe6n2clMueEbLeESMBG/dhAMeDA==" + ), + }, + } + ); + + this.memoize( + "Cosmos", + "sign", + JSON.parse( + `["m/44'/118'/0'/0/0","{\\"account_number\\":\\"16359\\",\\"chain_id\\":\\"cosmoshub-4\\",\\"fee\\":{\\"amount\\":[{\\"amount\\":\\"2500\\",\\"denom\\":\\"uatom\\"}],\\"gas\\":\\"250000\\"},\\"memo\\":\\"\\",\\"msgs\\":[{\\"type\\":\\"cosmos-sdk/MsgDelegate\\",\\"value\\":{\\"amount\\":{\\"amount\\":\\"10000\\",\\"denom\\":\\"uatom\\"},\\"delegator_address\\":\\"cosmos15cenya0tr7nm3tz2wn3h3zwkht2rxrq7q7h3dj\\",\\"validator_address\\":\\"cosmosvaloper199mlc7fr6ll5t54w7tts7f4s0cvnqgc59nmuxf\\"}}],\\"sequence\\":\\"35\\"}"]` + ), + { + success: true, + coin: "Cosmos", + method: "sign", + payload: { + signature: getRawSig( + "lM+NkHlL5lx1Kt8/3TQXZo3TENWb+qWBsJ5XQFq7WekHw4O+YF6Iv0aCqoH7YD40vYubGZpZXcjMZy/mAbe0cA==" + ), + }, + } + ); + + this.memoize( + "Cosmos", + "sign", + JSON.parse( + `["m/44'/118'/0'/0/0","{\\"account_number\\":\\"16359\\",\\"chain_id\\":\\"cosmoshub-4\\",\\"fee\\":{\\"amount\\":[{\\"amount\\":\\"2500\\",\\"denom\\":\\"uatom\\"}],\\"gas\\":\\"250000\\"},\\"msgs\\":[{\\"type\\":\\"cosmos-sdk/MsgUndelegate\\",\\"value\\":{\\"amount\\":{\\"amount\\":\\"10000\\",\\"denom\\":\\"uatom\\"},\\"delegator_address\\":\\"cosmos15cenya0tr7nm3tz2wn3h3zwkht2rxrq7q7h3dj\\",\\"validator_address\\":\\"cosmosvaloper199mlc7fr6ll5t54w7tts7f4s0cvnqgc59nmuxf\\"}}],\\"sequence\\":\\"37\\"}"]` + ), + { + success: true, + coin: "Cosmos", + method: "sign", + payload: { + signature: getRawSig( + "mfJjZ2w5iNDFJ1bTsw/Ln3LPbOZ0r33jqrIz0LB3LNYFNq7X+uFV/UErZiehSDAwv09PgF24+zi8Ip7yZ1ISkQ==" + ), + }, + } + ); + + this.memoize( + "Cosmos", + "sign", + JSON.parse( + `["m/44'/118'/0'/0/0","{\\"account_number\\":\\"16359\\",\\"chain_id\\":\\"cosmoshub-4\\",\\"fee\\":{\\"amount\\":[{\\"amount\\":\\"2500\\",\\"denom\\":\\"uatom\\"}],\\"gas\\":\\"250000\\"},\\"memo\\":\\"\\",\\"msgs\\":[{\\"type\\":\\"cosmos-sdk/MsgBeginRedelegate\\",\\"value\\":{\\"amount\\":{\\"amount\\":\\"1000\\",\\"denom\\":\\"uatom\\"},\\"delegator_address\\":\\"cosmos15cenya0tr7nm3tz2wn3h3zwkht2rxrq7q7h3dj\\",\\"validator_dst_address\\":\\"cosmosvaloper199mlc7fr6ll5t54w7tts7f4s0cvnqgc59nmuxf\\",\\"validator_src_address\\":\\"cosmosvaloper1qwl879nx9t6kef4supyazayf7vjhennyh568ys\\"}}],\\"sequence\\":\\"33\\"}"]` + ), + { + success: true, + coin: "Cosmos", + method: "sign", + payload: { + signature: getRawSig( + "kskHVIe2AyWzRpHszO/9ePI4yVgcAWB10lWbolEOBCpDSIeD0JWTX4x1TO3lnKNMawcm2NfGyTh3GseC7s+BRg==" + ), + }, + } + ); + + this.memoize( + "Cosmos", + "sign", + JSON.parse( + `["m/44'/118'/0'/0/0","{\\"account_number\\":\\"16359\\",\\"chain_id\\":\\"cosmoshub-4\\",\\"fee\\":{\\"amount\\":[{\\"amount\\":\\"1400\\",\\"denom\\":\\"uatom\\"}],\\"gas\\":\\"140000\\"},\\"memo\\":\\"\\",\\"msgs\\":[{\\"type\\":\\"cosmos-sdk/MsgWithdrawDelegationReward\\",\\"value\\":{\\"delegator_address\\":\\"cosmos15cenya0tr7nm3tz2wn3h3zwkht2rxrq7q7h3dj\\",\\"validator_address\\":\\"cosmosvaloper1qwl879nx9t6kef4supyazayf7vjhennyh568ys\\"}}],\\"sequence\\":\\"31\\"}"]` + ), + { + success: true, + coin: "Cosmos", + method: "sign", + payload: { + signature: getRawSig( + "rxrww6IUxj89HZ3Yx3dH51/SkRZzHzuSwH4ZwCGUSc4ggVuiaPCyClO1q8CGQDuc/D9Lx6JWDnnaQnvty8RkCw==" + ), + }, + } + ); + + this.memoize( + "Cosmos", + "sign", + JSON.parse( + `["m/44'/118'/0'/0/0","{\\"account_number\\":\\"16359\\",\\"chain_id\\":\\"cosmoshub-4\\",\\"fee\\":{\\"amount\\":[{\\"amount\\":\\"4500\\",\\"denom\\":\\"uatom\\"}],\\"gas\\":\\"450000\\"},\\"memo\\":\\"\\",\\"msgs\\":[{\\"type\\":\\"cosmos-sdk/MsgTransfer\\",\\"value\\":{\\"receiver\\":\\"osmo15cenya0tr7nm3tz2wn3h3zwkht2rxrq7g9ypmq\\",\\"sender\\":\\"cosmos15cenya0tr7nm3tz2wn3h3zwkht2rxrq7q7h3dj\\",\\"source_channel\\":\\"channel-141\\",\\"source_port\\":\\"transfer\\",\\"timeout_height\\":{\\"revision_height\\":\\"4006321\\",\\"revision_number\\":\\"1\\"},\\"token\\":{\\"amount\\":\\"5500\\",\\"denom\\":\\"uatom\\"}}}],\\"sequence\\":\\"39\\"}"]` + ), + { + success: true, + coin: "Cosmos", + method: "sign", + payload: { + signature: getRawSig( + "cZPi9Dkq4b0NoePZWwN6QIxgu4Yi0i64iKgsDx3eAftX3j/jtQCxE75oxw583j2tm4xwj8r5t/3CU0WqAAEGbw==" + ), }, } ); From 4ce902bf6752f2756aba01d9fe78abc85814f610 Mon Sep 17 00:00:00 2001 From: kaladinlight <35275952+kaladinlight@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:21:47 -0700 Subject: [PATCH 3/3] chore(release): publish 1.53.0 --- 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 311e3c3c5..4d10d4fe4 100644 --- a/examples/sandbox/package.json +++ b/examples/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-sandbox", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "private": true, "browserslist": "> 0.5%, last 2 versions, not dead", @@ -11,21 +11,21 @@ }, "dependencies": { "@metamask/eth-sig-util": "^7.0.0", - "@shapeshiftoss/hdwallet-core": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey-webusb": "1.52.14", - "@shapeshiftoss/hdwallet-keplr": "1.52.14", - "@shapeshiftoss/hdwallet-ledger": "1.52.14", - "@shapeshiftoss/hdwallet-ledger-webhid": "1.52.14", - "@shapeshiftoss/hdwallet-ledger-webusb": "1.52.14", - "@shapeshiftoss/hdwallet-metamask": "1.52.14", - "@shapeshiftoss/hdwallet-native": "1.52.14", - "@shapeshiftoss/hdwallet-portis": "1.52.14", - "@shapeshiftoss/hdwallet-tallyho": "1.52.14", - "@shapeshiftoss/hdwallet-trezor": "1.52.14", - "@shapeshiftoss/hdwallet-trezor-connect": "1.52.14", - "@shapeshiftoss/hdwallet-walletconnect": "1.52.14", - "@shapeshiftoss/hdwallet-xdefi": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey-webusb": "1.53.0", + "@shapeshiftoss/hdwallet-keplr": "1.53.0", + "@shapeshiftoss/hdwallet-ledger": "1.53.0", + "@shapeshiftoss/hdwallet-ledger-webhid": "1.53.0", + "@shapeshiftoss/hdwallet-ledger-webusb": "1.53.0", + "@shapeshiftoss/hdwallet-metamask": "1.53.0", + "@shapeshiftoss/hdwallet-native": "1.53.0", + "@shapeshiftoss/hdwallet-portis": "1.53.0", + "@shapeshiftoss/hdwallet-tallyho": "1.53.0", + "@shapeshiftoss/hdwallet-trezor": "1.53.0", + "@shapeshiftoss/hdwallet-trezor-connect": "1.53.0", + "@shapeshiftoss/hdwallet-walletconnect": "1.53.0", + "@shapeshiftoss/hdwallet-xdefi": "1.53.0", "bip32": "^2.0.4", "eip-712": "^1.0.0", "jquery": "^3.7.1", diff --git a/integration/package.json b/integration/package.json index e8b6a18a2..84ba6a174 100644 --- a/integration/package.json +++ b/integration/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/integration", - "version": "1.52.14", + "version": "1.53.0", "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.14", - "@shapeshiftoss/hdwallet-keepkey": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey-tcp": "1.52.14", - "@shapeshiftoss/hdwallet-ledger": "1.52.14", - "@shapeshiftoss/hdwallet-native": "1.52.14", - "@shapeshiftoss/hdwallet-portis": "1.52.14", - "@shapeshiftoss/hdwallet-trezor": "1.52.14", - "@shapeshiftoss/hdwallet-xdefi": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey-nodewebusb": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey-tcp": "1.53.0", + "@shapeshiftoss/hdwallet-ledger": "1.53.0", + "@shapeshiftoss/hdwallet-native": "1.53.0", + "@shapeshiftoss/hdwallet-portis": "1.53.0", + "@shapeshiftoss/hdwallet-trezor": "1.53.0", + "@shapeshiftoss/hdwallet-xdefi": "1.53.0", "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 a434a0185..8a8aae497 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "5.2.0", - "version": "1.52.14", + "version": "1.53.0", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/hdwallet-coinbase/package.json b/packages/hdwallet-coinbase/package.json index 6b4e22303..1db1c10d0 100644 --- a/packages/hdwallet-coinbase/package.json +++ b/packages/hdwallet-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-coinbase", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.6", - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "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 be8bccabb..f2e265f16 100644 --- a/packages/hdwallet-core/package.json +++ b/packages/hdwallet-core/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-core", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" diff --git a/packages/hdwallet-keepkey-chromeusb/package.json b/packages/hdwallet-keepkey-chromeusb/package.json index 6e78e071e..1942adc0f 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey": "1.52.14" + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey": "1.53.0" } } diff --git a/packages/hdwallet-keepkey-electron/package.json b/packages/hdwallet-keepkey-electron/package.json index a58851dbb..e1daf0cd0 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.52.14", + "@shapeshiftoss/hdwallet-keepkey": "1.53.0", "uuid": "^8.3.2" }, "peerDependencies": { diff --git a/packages/hdwallet-keepkey-nodehid/package.json b/packages/hdwallet-keepkey-nodehid/package.json index 2acf0d4ea..c1c0761a1 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-keepkey": "1.52.14" + "@shapeshiftoss/hdwallet-keepkey": "1.53.0" }, "peerDependencies": { "node-hid": "^2.1.1" diff --git a/packages/hdwallet-keepkey-nodewebusb/package.json b/packages/hdwallet-keepkey-nodewebusb/package.json index 0d2fb745d..286f2c386 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey": "1.52.14" + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey": "1.53.0" }, "peerDependencies": { "usb": "^2.3.1" diff --git a/packages/hdwallet-keepkey-tcp/package.json b/packages/hdwallet-keepkey-tcp/package.json index 570e67f4c..b52c8881e 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey": "1.53.0", "axios": "^0.21.1" } } diff --git a/packages/hdwallet-keepkey-webusb/package.json b/packages/hdwallet-keepkey-webusb/package.json index 522e39b18..f2d85dfde 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", - "@shapeshiftoss/hdwallet-keepkey": "1.52.14" + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-keepkey": "1.53.0" }, "devDependencies": { "@types/w3c-web-usb": "^1.0.4" diff --git a/packages/hdwallet-keepkey/package.json b/packages/hdwallet-keepkey/package.json index 38173b8ce..63af24227 100644 --- a/packages/hdwallet-keepkey/package.json +++ b/packages/hdwallet-keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keepkey", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -20,7 +20,7 @@ "@keepkey/device-protocol": "^7.12.2", "@metamask/eth-sig-util": "^7.0.0", "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "@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 11fb22673..dfbee47ec 100644 --- a/packages/hdwallet-keplr/package.json +++ b/packages/hdwallet-keplr/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-keplr", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@shapeshiftoss/caip": "8.15.0", - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "@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 7eea4754e..dfc11acaa 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.14", + "version": "1.53.0", "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.14", - "@shapeshiftoss/hdwallet-ledger": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-ledger": "1.53.0", "@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 10b7b4f97..b0047f4a9 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.14", + "version": "1.53.0", "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.14", - "@shapeshiftoss/hdwallet-ledger": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-ledger": "1.53.0", "@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 01827a4c1..63713dcc7 100644 --- a/packages/hdwallet-ledger/package.json +++ b/packages/hdwallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-ledger", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -19,7 +19,7 @@ "@ethereumjs/tx": "^3.3.0", "@ledgerhq/hw-app-cosmos": "^6.29.1", "@shapeshiftoss/bitcoinjs-lib": "5.2.0-shapeshift.2", - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "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 09a3f61e0..6cebd4437 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.14", + "version": "1.53.0", "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.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "@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 242052af2..7335a4a56 100644 --- a/packages/hdwallet-metamask/package.json +++ b/packages/hdwallet-metamask/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-metamask", - "version": "1.52.14", + "version": "1.53.0", "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.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "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 935532fca..adabf479d 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-native": "1.52.14", + "@shapeshiftoss/hdwallet-native": "1.53.0", "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 bf47308e7..e1367cc4c 100644 --- a/packages/hdwallet-native/package.json +++ b/packages/hdwallet-native/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-native", - "version": "1.52.14", + "version": "1.53.0", "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.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "@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 319c31226..15c7c9658 100644 --- a/packages/hdwallet-portis/package.json +++ b/packages/hdwallet-portis/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-portis", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ }, "dependencies": { "@portis/web3": "3.0.10", - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "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 28a89547a..f38015688 100644 --- a/packages/hdwallet-tallyho/package.json +++ b/packages/hdwallet-tallyho/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-tallyho", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "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 6dffb4de6..bf314d8ac 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.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", - "@shapeshiftoss/hdwallet-trezor": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", + "@shapeshiftoss/hdwallet-trezor": "1.53.0", "@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 7e5759dcd..3133ac71c 100644 --- a/packages/hdwallet-trezor/package.json +++ b/packages/hdwallet-trezor/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-trezor", - "version": "1.52.14", + "version": "1.53.0", "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.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "base64-js": "^1.5.1", "lodash": "^4.17.21" }, diff --git a/packages/hdwallet-walletconnect/package.json b/packages/hdwallet-walletconnect/package.json index 12a0b05a6..797244c92 100644 --- a/packages/hdwallet-walletconnect/package.json +++ b/packages/hdwallet-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnect", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "@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 8faacdb47..048da9b5a 100644 --- a/packages/hdwallet-walletconnectV2/package.json +++ b/packages/hdwallet-walletconnectV2/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-walletconnectv2", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "@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 1c94ffa66..8e8aabd62 100644 --- a/packages/hdwallet-xdefi/package.json +++ b/packages/hdwallet-xdefi/package.json @@ -1,6 +1,6 @@ { "name": "@shapeshiftoss/hdwallet-xdefi", - "version": "1.52.14", + "version": "1.53.0", "license": "MIT", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "prepublishOnly": "yarn clean && yarn build" }, "dependencies": { - "@shapeshiftoss/hdwallet-core": "1.52.14", + "@shapeshiftoss/hdwallet-core": "1.53.0", "lodash": "^4.17.21" }, "devDependencies": {