Skip to content

build: remove @ledgerhq/hw-transport-node-hid-noevents#7349

Draft
peterpeterparker wants to merge 1 commit intomainfrom
build/remove-ledgerhq-hw-transport-node-hid-noevents
Draft

build: remove @ledgerhq/hw-transport-node-hid-noevents#7349
peterpeterparker wants to merge 1 commit intomainfrom
build/remove-ledgerhq-hw-transport-node-hid-noevents

Conversation

@peterpeterparker
Copy link
Member

@peterpeterparker peterpeterparker commented Sep 16, 2025

Motivation

When I looked at the removal of buffer in #7348, I noticed that the package-lock was not fully cleaned of references to it. After digging deeper, I found the reason: the usage of @ledgerhq/hw-transport-node-hid-noevents.

Checking the repository, I learned that this library is meant to communicate with the Ledger on Node/Electron (HID).

It feels like this dependency is still referenced for historical reasons, perhaps from the time when the hardware wallet CLI was still part of the repo. I don’t think it’s necessary anymore.

Requires TESTs.

Changes

  • npm rm @ledgerhq/hw-transport-node-hid-noevents

Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
@peterpeterparker
Copy link
Member Author

peterpeterparker commented Jan 9, 2026

@yhabib did a test and we had an issue with a peer dep, https://dfinity.enterprise.slack.com/archives/C08DN0K8Q9G/p1758009025184629

Not sure if it can be resolved, maybe it also has to do with vite polyfill? Need to check... or not

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.

1 participant