@exodus/hw-ledger 2.11.0 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.13.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@2.12.0...@exodus/hw-ledger@2.13.0) (2024-10-03)
7
+
8
+ ### Features
9
+
10
+ - update bip32 to 3.3.0 ([#9721](https://github.com/ExodusMovement/exodus-hydra/issues/9721)) ([eb08369](https://github.com/ExodusMovement/exodus-hydra/commit/eb08369df93ed7239cb106e095b143da0032e174))
11
+
12
+ ## [2.11.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@2.11.0...@exodus/hw-ledger@2.11.1) (2024-10-01)
13
+
14
+ ### Features
15
+
16
+ - use internal xpub for multisig hardware wallet policy ([#9639](https://github.com/ExodusMovement/exodus-hydra/issues/9639)) ([e96bee0](https://github.com/ExodusMovement/exodus-hydra/commit/e96bee045b3799a43464db4487d42a980ef95f0f))
17
+
6
18
  ## [2.11.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@2.10.0...@exodus/hw-ledger@2.11.0) (2024-09-23)
7
19
 
8
20
  ### Features
@@ -4,7 +4,6 @@ import type { MultisigData } from 'libraries/hw-common/lib';
4
4
  export declare function assertPsbtOnlyHasAllowedDerivationPaths(psbt: PsbtV2, masterFingerprint: string, derivationPaths: string[]): void;
5
5
  export declare function tagPsbtWithDerivationPaths(psbt: PsbtV2, masterFingerprint: string, derivationPathToPublicKeyMap: Record<string, Buffer>, addressToDerivationPathMap?: Record<string, string>): void;
6
6
  export declare const getWalletPolicy: (fpr: string, xpub: string, purpose: string, coin: string, account: string) => DefaultWalletPolicy;
7
- export declare const DUMMY_TAPROOT_XPUB = "xpub661MyMwAqRbcEYS8w7XLSVeEsBXy79zSzH1J8vCdxAZningWLdN3zgtU6QgnecKFpJFPpdzxKrwoaZoV44qAJewsc4kX9vGaCaBExuvJH57";
8
7
  export declare const getMultisigWalletPolicy: (fpr: string, xpub: string, purpose: string, coin: string, account: string, multisigData: MultisigData) => WalletPolicy;
9
8
  export declare function derivationPathsToWalletPolicy(fpr: string, app: any, derivationPaths: string[], multisigData?: MultisigData): Promise<WalletPolicy[]>;
10
9
  export declare function addDummyInputs(psbt: PsbtV2): void;
@@ -118,10 +118,9 @@ export const getWalletPolicy = (fpr, xpub, purpose, coin, account) => {
118
118
  }[purpose];
119
119
  return new DefaultWalletPolicy(desc, `[${fpr}/${purpose}/${coin}/${account}]${xpub}`);
120
120
  };
121
- export const DUMMY_TAPROOT_XPUB = 'xpub661MyMwAqRbcEYS8w7XLSVeEsBXy79zSzH1J8vCdxAZningWLdN3zgtU6QgnecKFpJFPpdzxKrwoaZoV44qAJewsc4kX9vGaCaBExuvJH57';
122
121
  export const getMultisigWalletPolicy = (fpr, xpub, purpose, coin, account, multisigData) => {
123
122
  let template = `tr(@0/**,sortedmulti_a(${multisigData.threshold}`;
124
- const keys = [DUMMY_TAPROOT_XPUB];
123
+ const keys = [multisigData.internalXpub];
125
124
  multisigData.xpubs.forEach((xpub2, i) => {
126
125
  if (xpub === xpub2) {
127
126
  keys.push(`[${fpr}/${purpose}/${coin}/${account}]${xpub}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/hw-ledger",
3
- "version": "2.11.0",
3
+ "version": "2.13.0",
4
4
  "description": "The ledger module",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "repository": {
@@ -30,11 +30,11 @@
30
30
  "prepublishOnly": "yarn run -T build --scope @exodus/hw-ledger"
31
31
  },
32
32
  "dependencies": {
33
- "@exodus/atoms": "^8.0.0",
33
+ "@exodus/atoms": "^9.0.0",
34
34
  "@exodus/bip322-js": "^1.1.0-exodus.4",
35
35
  "@exodus/bitcoinjs-lib": "^6.1.5-exodus.0",
36
36
  "@exodus/ethersproject-transactions": "^5.4.2-exodus.0",
37
- "@exodus/hw-common": "^2.4.0",
37
+ "@exodus/hw-common": "^2.5.0",
38
38
  "@exodus/ledger-bitcoin": "^0.2.3-exodus.3",
39
39
  "@exodus/ledgerhq-devices": "^8.1.0-exodus.3",
40
40
  "@exodus/ledgerhq-hw-app-eth": "^6.33.7-exodus.8",
@@ -49,7 +49,7 @@
49
49
  "semver": "^7.3.5"
50
50
  },
51
51
  "devDependencies": {
52
- "@exodus/bip32": "^2.0.0",
52
+ "@exodus/bip32": "^3.3.0",
53
53
  "@exodus/ethersproject-abi": "^5.4.2-exodus.3",
54
54
  "@ledgerhq/hw-transport-node-hid": "^6.27.17",
55
55
  "@ledgerhq/hw-transport-node-speculos": "^6.27.16",
@@ -71,5 +71,5 @@
71
71
  "tiny-secp256k1": "^2.2.3",
72
72
  "ts-jest": "^29.0.3"
73
73
  },
74
- "gitHead": "fbbf9681c3b997008ee9ad9d76a93484d3f686b9"
74
+ "gitHead": "5c386a721f22b80addc551f86519047b931dd839"
75
75
  }