@exodus/hw-ledger 4.0.0 → 4.0.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,29 @@
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
+ ## [4.0.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@4.0.0...@exodus/hw-ledger@4.0.1) (2026-06-29)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - **eslint-config-exodus:** @exodus/eslint-config-exodus no longer enforces
11
+ no-floating-promises or no-unnecessary-condition and no longer sets
12
+ parserOptions.project. Consumers relying on these without oxlint
13
+ --type-aware lose the coverage; adopt oxlint type-aware.
14
+
15
+ Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16
+
17
+ - chore: drop redundant local no-floating-promises disable
18
+
19
+ @exodus/eslint-config-exodus no longer enables no-floating-promises, so
20
+
21
+ ### Features
22
+
23
+ - **eslint-config-exodus:** retire type-aware eslint rules, drop parserOptions.project ([#17273](https://github.com/ExodusMovement/exodus-hydra/issues/17273)) ([622ec93](https://github.com/ExodusMovement/exodus-hydra/commit/622ec935f14f0b7d54ee6f2b034995606383397c)), closes [#7693](https://github.com/ExodusMovement/exodus-hydra/issues/7693) [#17253](https://github.com/ExodusMovement/exodus-hydra/issues/17253)
24
+
25
+ ### Bug Fixes
26
+
27
+ - **hw-ledger:** bump ledgerhq deps + re-enable skipped test suites ([#17394](https://github.com/ExodusMovement/exodus-hydra/issues/17394)) ([2d9f631](https://github.com/ExodusMovement/exodus-hydra/commit/2d9f631af8451a2cac4a8aca9e843f86a5cda87d))
28
+
6
29
  ## [4.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/hw-ledger@3.9.2...@exodus/hw-ledger@4.0.0) (2026-06-09)
7
30
 
8
31
  ### ⚠ BREAKING CHANGES
package/README.md CHANGED
@@ -5,7 +5,7 @@ This Exodus SDK feature handles all hardware wallet actions that are specific to
5
5
  ## Install
6
6
 
7
7
  ```sh
8
- yarn add @exodus/hw-ledger
8
+ pnpm add @exodus/hw-ledger
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -1,9 +1,9 @@
1
- import type { PsbtV2 } from '@exodus/ledger-bitcoin';
1
+ import type { AppClient, PsbtV2 } from '@exodus/ledger-bitcoin';
2
2
  import { WalletPolicy } from '@exodus/ledger-bitcoin';
3
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
- export declare const getWalletPolicy: (fpr: string, xpub: string, purpose: string, coin: string, account: string) => any;
6
+ export declare const getWalletPolicy: (fpr: string, xpub: string, purpose: string, coin: string, account: string) => WalletPolicy;
7
7
  export declare const getMultisigWalletPolicy: (fpr: string, xpub: string, purpose: string, coin: string, account: string, multisigData: MultisigData) => WalletPolicy;
8
- export declare function derivationPathsToWalletPolicy(fpr: string, app: any, derivationPaths: string[], multisigData?: MultisigData): Promise<WalletPolicy[]>;
8
+ export declare function derivationPathsToWalletPolicy(fpr: string, app: AppClient, derivationPaths: string[], multisigData?: MultisigData): Promise<WalletPolicy[]>;
9
9
  export declare function addDummyInputs(psbt: PsbtV2): void;
@@ -1,5 +1,5 @@
1
1
  import id from './id.js';
2
- import initialState from './initial-state.js';
2
+ import initialState, {} from './initial-state.js';
3
3
  import selectorDefinitions from './selectors/index.js';
4
4
  const exchangeReduxDefinition = {
5
5
  id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/hw-ledger",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "The ledger module",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "repository": {
@@ -32,16 +32,16 @@
32
32
  "./CHANGELOG.md"
33
33
  ],
34
34
  "scripts": {
35
- "build": "run -T tsc -p tsconfig.build.json",
36
- "build:watch": "run -T tsc -w -p tsconfig.build.json",
37
- "clean": "run -T tsc --build --clean",
38
- "test": "run -T exodus-test --jest --esbuild",
39
- "typecheck": "run -T tsc -p tsconfig.json --noEmit",
35
+ "build": "pnpm exec tsc -p tsconfig.build.json",
36
+ "build:watch": "pnpm exec tsc -w -p tsconfig.build.json",
37
+ "clean": "pnpm exec tsc --build --clean",
38
+ "test": "pnpm exec exodus-test --jest --esbuild",
39
+ "typecheck": "pnpm exec tsc -p tsconfig.json --noEmit",
40
40
  "zemu:install": "docker pull zondax/builder-zemu:speculos-ef9610662dc90a1eeddba7c991e3ef7c53c4e258",
41
- "test:integration": "yarn zemu:install && RUN_TESTS=integration run test",
42
- "lint": "run -T eslint .",
43
- "lint:fix": "yarn lint --fix",
44
- "prepublishOnly": "yarn run -T build --scope @exodus/hw-ledger"
41
+ "test:integration": "pnpm run zemu:install && RUN_TESTS=integration pnpm run test",
42
+ "lint": "pnpm exec eslint .",
43
+ "lint:fix": "pnpm run lint --fix",
44
+ "prepublishOnly": "pnpm -w run build --scope @exodus/hw-ledger"
45
45
  },
46
46
  "dependencies": {
47
47
  "@exodus/atoms": "^10.3.3",
@@ -53,8 +53,8 @@
53
53
  "@exodus/ethersproject-transactions": "^5.4.2-exodus.0",
54
54
  "@exodus/hw-common": "^3.4.0",
55
55
  "@exodus/ledger-bitcoin": "^0.2.3-exodus.6",
56
- "@exodus/ledgerhq-devices": "^8.1.0-exodus.3",
57
- "@exodus/ledgerhq-hw-app-eth": "^6.33.7-exodus.8",
56
+ "@exodus/ledgerhq-devices": "^8.1.0-exodus.7",
57
+ "@exodus/ledgerhq-hw-app-eth": "^6.33.7-exodus.13",
58
58
  "@exodus/redux-dependency-injection": "^5.0.0",
59
59
  "@exodus/ripple-binary-codec": "^0.3.0",
60
60
  "@exodus/storage-interface": "^1.0.0",
@@ -80,5 +80,5 @@
80
80
  "access": "public",
81
81
  "provenance": false
82
82
  },
83
- "gitHead": "f12f42d2a4062112458a94a2026fcf3cc1913fc6"
83
+ "gitHead": "c34e117ecd34011855d9d6ef514b6c54250568c4"
84
84
  }
package/redux.js CHANGED
@@ -1,2 +1 @@
1
- // eslint-disable-next-line import/no-unresolved -- shim re-exports built artifact
2
1
  export { default } from './lib/redux/index.js'