Security News
Internet Archive Hacked, 31 Million Record Compromised
The Internet Archive's "Wayback Machine" has been hacked and defaced, with 31 millions records compromised.
@ledgerhq/hw-transport-webusb
Advanced tools
Ledger Hardware Wallet WebUSB implementation of the communication layer
Github, API Doc, Ledger Devs Slack
Allows to communicate with Ledger Hardware Wallets.
[Web] (WebUSB) – WebUSB check browser support.
Important: The transport functions create()
and listen()
must be in the context of an user interaction (like a "click" event), otherwise it will fails with DOM Exception.
Extends Transport
WebUSB Transport implementation
device
USBDeviceimport TransportWebUSB from "@ledgerhq/hw-transport-webusb";
...
TransportWebUSB.create().then(transport => ...)
Release the transport device
Returns Promise<void>
Exchange with the device using APDU protocol.
apdu
BufferReturns Promise<Buffer> a promise of apdu response
Check if WebUSB transport is supported.
List the WebUSB devices that was previously authorized.
Actively listen to WebUSB devices and emit ONE device that was selected by the native permission UI.
Important: it must be called in the context of a UI click!
observer
Observer<DescriptorEvent<USBDevice>>Returns Subscription
Create a Ledger transport with a USBDevice
device
USBDeviceFAQs
Ledger Hardware Wallet WebUSB implementation of the communication layer
The npm package @ledgerhq/hw-transport-webusb receives a total of 29,576 weekly downloads. As such, @ledgerhq/hw-transport-webusb popularity was classified as popular.
We found that @ledgerhq/hw-transport-webusb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Internet Archive's "Wayback Machine" has been hacked and defaced, with 31 millions records compromised.
Security News
TC39 is meeting in Tokyo this week and they have approved nearly a dozen proposals to advance to the next stages.
Security News
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.