Skip to content

feat: add DeviceUnresponsive error code and mapping#442

Merged
mathieuartu merged 2 commits into
mainfrom
feat/device-unresponsive-error-code
Jan 20, 2026
Merged

feat: add DeviceUnresponsive error code and mapping#442
mathieuartu merged 2 commits into
mainfrom
feat/device-unresponsive-error-code

Conversation

@mathieuartu

@mathieuartu mathieuartu commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

Examples


Note

Adds support for unresponsive device handling in the hardware wallet SDK.

  • Introduces ErrorCode.DeviceUnresponsive (3006) in hardware-errors-enums.ts
  • Maps Ledger status 0x6f00 to DeviceUnresponsive in hardware-error-mappings.ts with user guidance
  • Extends tests in hardware-error-mappings.test.ts to validate the new mapping and structure
  • Updates CHANGELOG.md under Unreleased

Written by Cursor Bugbot for commit 949735a. This will update automatically on new commits. Configure here.

@mathieuartu mathieuartu requested a review from a team as a code owner January 20, 2026 21:02
@mathieuartu mathieuartu self-assigned this Jan 20, 2026
@mathieuartu mathieuartu changed the title feat: add DeviceUnresponsive error code and mapping feat: add DeviceUnresponsive error code and mapping Jan 20, 2026
@mathieuartu mathieuartu added this pull request to the merge queue Jan 20, 2026
Merged via the queue into main with commit e74206c Jan 20, 2026
38 checks passed
@mathieuartu mathieuartu deleted the feat/device-unresponsive-error-code branch January 20, 2026 21:43
github-merge-queue Bot pushed a commit that referenced this pull request Jan 21, 2026
Minor release of `@metamask/hw-wallet-sdk`

```md
- Add `DeviceUnresponsive` error code and Ledger mapping for unresponsive device state ([#442](#442))
```

## Examples

<!--
Are there any examples of this change being used in another repository?

When considering changes to the MetaMask module template, it's strongly
preferred that the change be experimented with in another repository
first. This gives reviewers a better sense of how the change works,
making it less likely the change will need to be reverted or adjusted
later.
-->

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Minor release cut.
> 
> - Bumps monorepo to `83.0.0` and publishes `@metamask/hw-wallet-sdk`
`0.2.0`
> - Adds `DeviceUnresponsive` error code with Ledger mapping for
unresponsive device state in `hw-wallet-sdk`
> - Updates `CHANGELOG.md` links for the new version
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
0e87eda. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants