Package Exports
- @iotexproject/hw-transport-node-hid
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@iotexproject/hw-transport-node-hid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@ledgerhq/hw-transport-node-hid
Allows to communicate with Ledger Hardware Wallets.
[Node]/Electron (HID) – uses node-hid and usb.
API
Table of Contents
TransportNodeHid
Extends TransportNodeHidNoEvents
node-hid Transport implementation
Examples
import TransportNodeHid from "@ledgerhq/hw-transport-node-hid";
...
TransportNodeHid.create().then(transport => ...)isSupported
list
setListenDevicesDebounce
Parameters
delaynumber
setListenDevicesPollingSkip
Parameters
conditionToSkipfunction (): boolean
setListenDevicesDebug
listen
Parameters
observerObserver<DescriptorEvent<string?>>
Returns Subscription
open
if path="" is not provided, the library will take the first device
Parameters
pathstring?