@exodus/hw-ledger 3.9.0 → 3.9.1

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,16 @@
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
+ ## [3.9.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@3.9.0...@exodus/hw-ledger@3.9.1) (2026-04-15)
7
+
8
+ ### Bug Fixes
9
+
10
+ - fix(hw-ledger): add missing @exodus/storage-interface dependency (#16012)
11
+
12
+ - fix(hw-ledger): use correct variable in listApplications format check (#15064)
13
+
14
+ - fix: remove baseUrl from root tsconfig to fix .d.ts import paths (#15993)
15
+
6
16
  ## [3.9.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@3.8.2...@exodus/hw-ledger@3.9.0) (2026-01-21)
7
17
 
8
18
  ### Features
@@ -1,4 +1,4 @@
1
- import type { Storage } from 'adapters/storage-interface';
1
+ import type { Storage } from '@exodus/storage-interface';
2
2
  export type BluetoothStatus = {
3
3
  type: 'Unknown' | 'Resetting' | 'Unsupported' | 'Unauthorized' | 'PoweredOff' | 'PoweredOn';
4
4
  available: boolean;
package/lib/index.d.ts CHANGED
@@ -22,7 +22,7 @@ declare const hardwareWalletLedger: ({ bluetoothScannerTimeout, }?: Partial<HwLe
22
22
  readonly id: "walletPolicyAtom";
23
23
  readonly type: "atom";
24
24
  readonly factory: ({ storage }: {
25
- storage: import("adapters/storage-interface").Storage<Record<string, Buffer>>;
25
+ storage: import("@exodus/storage-interface").Storage<Record<string, Buffer>>;
26
26
  }) => import("@exodus/atoms").Atom<Record<string, Buffer<ArrayBufferLike>> | {}>;
27
27
  readonly dependencies: readonly ["storage"];
28
28
  readonly public: true;
@@ -4,6 +4,6 @@ declare const metadata: {
4
4
  supportedVersions: string;
5
5
  primaryAssetName: string;
6
6
  }[];
7
- handler: (transport: import("@ledgerhq/hw-transport").default) => Promise<import("libraries/hw-common/lib").HardwareWalletAssetHandler>;
7
+ handler: (transport: import("@ledgerhq/hw-transport").default) => Promise<import("@exodus/hw-common").HardwareWalletAssetHandler>;
8
8
  };
9
9
  export default metadata;
@@ -4,6 +4,6 @@ declare const metadata: {
4
4
  supportedVersions: string;
5
5
  primaryAssetName: string;
6
6
  }[];
7
- handler: (transport: import("@ledgerhq/hw-transport").default) => Promise<import("libraries/hw-common/lib").HardwareWalletAssetHandler>;
7
+ handler: (transport: import("@ledgerhq/hw-transport").default) => Promise<import("@exodus/hw-common").HardwareWalletAssetHandler>;
8
8
  };
9
9
  export default metadata;
@@ -1,6 +1,6 @@
1
1
  import type { PsbtV2 } from '@exodus/ledger-bitcoin';
2
2
  import { DefaultWalletPolicy, WalletPolicy } from '@exodus/ledger-bitcoin';
3
- import type { MultisigData } from 'libraries/hw-common/lib';
3
+ import type { MultisigData } from '@exodus/hw-common';
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>): string[];
6
6
  export declare const getWalletPolicy: (fpr: string, xpub: string, purpose: string, coin: string, account: string) => DefaultWalletPolicy;
@@ -110,7 +110,7 @@ function computeScriptPubKeyToDerivationPathMap(derivationPathToPublicKeyMap) {
110
110
  const nestedSegwit = payments.p2sh({
111
111
  redeem: payments.p2wpkh({ pubkey: publicKey }),
112
112
  }).output;
113
- assert(nestedSegwit, 'failed to compute p2pkh scriptPubKey');
113
+ assert(nestedSegwit, 'failed to compute p2sh scriptPubKey');
114
114
  Object.assign(acc, {
115
115
  [nestedSegwit.toString('hex')]: derivationPath,
116
116
  });
@@ -1 +1 @@
1
- export declare function buildFauxXPUB(publicKey: Buffer, chainCode: Buffer): any;
1
+ export declare function buildFauxXPUB(publicKey: Buffer, chainCode: Buffer): string;
@@ -24,7 +24,7 @@ export async function createApplicationManager(transport) {
24
24
  const apps = [];
25
25
  let data = payload;
26
26
  while (data.length > 2) {
27
- if (payload[0] !== 0x01) {
27
+ if (data[0] !== 0x01) {
28
28
  throw new Error('unknown listApps format');
29
29
  }
30
30
  let i = 1;
@@ -17,13 +17,13 @@ declare const exchangeReduxDefinition: {
17
17
  readonly id: "bluetoothStatus";
18
18
  readonly resultFunction: (state: LedgerHardwareWalletState) => import("../atoms").BluetoothStatus;
19
19
  readonly dependencies: readonly [{
20
- readonly selector: string;
20
+ readonly selector: "$state";
21
21
  }];
22
22
  } | {
23
23
  readonly id: "bluetoothScanning";
24
24
  readonly resultFunction: (state: LedgerHardwareWalletState) => boolean;
25
25
  readonly dependencies: readonly [{
26
- readonly selector: string;
26
+ readonly selector: "$state";
27
27
  }];
28
28
  })[];
29
29
  };
@@ -3,7 +3,7 @@ declare const bluetoothScanningSelectorDefinition: {
3
3
  readonly id: "bluetoothScanning";
4
4
  readonly resultFunction: (state: LedgerHardwareWalletState) => boolean;
5
5
  readonly dependencies: readonly [{
6
- readonly selector: string;
6
+ readonly selector: "$state";
7
7
  }];
8
8
  };
9
9
  export default bluetoothScanningSelectorDefinition;
@@ -3,7 +3,7 @@ declare const bluetoothStatusSelectorDefinition: {
3
3
  readonly id: "bluetoothStatus";
4
4
  readonly resultFunction: (state: LedgerHardwareWalletState) => import("../../atoms").BluetoothStatus;
5
5
  readonly dependencies: readonly [{
6
- readonly selector: string;
6
+ readonly selector: "$state";
7
7
  }];
8
8
  };
9
9
  export default bluetoothStatusSelectorDefinition;
@@ -2,13 +2,13 @@ declare const ledgerSelectors: ({
2
2
  readonly id: "bluetoothStatus";
3
3
  readonly resultFunction: (state: import("../initial-state").LedgerHardwareWalletState) => import("../../atoms").BluetoothStatus;
4
4
  readonly dependencies: readonly [{
5
- readonly selector: string;
5
+ readonly selector: "$state";
6
6
  }];
7
7
  } | {
8
8
  readonly id: "bluetoothScanning";
9
9
  readonly resultFunction: (state: import("../initial-state").LedgerHardwareWalletState) => boolean;
10
10
  readonly dependencies: readonly [{
11
- readonly selector: string;
11
+ readonly selector: "$state";
12
12
  }];
13
13
  })[];
14
14
  export default ledgerSelectors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/hw-ledger",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "description": "The ledger module",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "prepublishOnly": "yarn run -T build --scope @exodus/hw-ledger"
31
31
  },
32
32
  "dependencies": {
33
- "@exodus/atoms": "^9.0.0",
33
+ "@exodus/atoms": "^10.3.3",
34
34
  "@exodus/bip322-js": "^3.1.0",
35
35
  "@exodus/bitcoinjs": "^2.0.0",
36
36
  "@exodus/bytes": "^1.0.0-rc.6",
@@ -43,6 +43,7 @@
43
43
  "@exodus/ledgerhq-hw-app-eth": "^6.33.7-exodus.8",
44
44
  "@exodus/redux-dependency-injection": "^4.0.0",
45
45
  "@exodus/ripple-binary-codec": "^0.2.6",
46
+ "@exodus/storage-interface": "^1.0.0",
46
47
  "@ledgerhq/hw-app-solana": "^7.0.10",
47
48
  "@ledgerhq/hw-app-trx": "^6.29.4",
48
49
  "@ledgerhq/hw-app-xrp": "^6.32.7",
@@ -65,5 +66,5 @@
65
66
  "access": "public",
66
67
  "provenance": false
67
68
  },
68
- "gitHead": "43e7fa9467acd5e681d99473eb54d9e790130e04"
69
+ "gitHead": "dd67667f6d9e59c554300dfa9b3acfef228eb6d8"
69
70
  }