5.13.3 • Published 5 years ago
@iotexproject/hw-transport-node-hid v5.13.3
@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?