@types/ledgerhq__hw-transport-node-hid
TypeScript icon, indicating that this package has built-in type declarations

4.22.5 • Public • Published

Installation

npm install --save @types/ledgerhq__hw-transport-node-hid

Summary

This package contains type definitions for @ledgerhq/hw-transport-node-hid (https://github.com/LedgerHQ/ledgerjs/tree/master/packages/hw-transport-node-hid).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ledgerhq__hw-transport-node-hid.

index.d.ts

/// <reference types = "node"/>
import HID = require("node-hid");
import Transport from "@ledgerhq/hw-transport";

declare class TransportNodeHid extends Transport {
    constructor(
        device: HID.HID,
        ledgerTransport?: boolean,
        timeout?: number,
    );
    static open(path: string): Promise<TransportNodeHid>;
    setScrambleKey(): void;

    device: HID.HID;
    ledgerTransport: boolean;
    timeout: number;
    exchangeStack: any[];
}

export default TransportNodeHid;

Additional Details

Credits

These definitions were written by Daniel Byrne.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.22.5168ts5.6
4.22.5168latest
4.22.5168ts4.5
4.22.5168ts4.6
4.22.5168ts4.7
4.22.5168ts4.8
4.22.5168ts4.9
4.22.5168ts5.0
4.22.5168ts5.1
4.22.5168ts5.2
4.22.5168ts5.3
4.22.5168ts5.4
4.22.5168ts5.5
4.22.5168ts5.7
4.22.2125ts3.2
4.22.2125ts3.3
4.22.2125ts3.4
4.22.2125ts3.5
4.22.2125ts3.6
4.22.2125ts3.7
4.22.2125ts3.8
4.22.2125ts3.9
4.22.2125ts4.0
4.22.2125ts4.1
4.22.2125ts4.2
4.22.112ts2.3
4.22.112ts2.4
4.22.112ts2.5
4.22.112ts2.6
4.22.112ts2.7
4.22.112ts2.8
4.22.112ts2.9
4.22.112ts3.0
4.22.112ts3.1
4.22.30ts4.3
4.22.30ts4.4

Version History

VersionDownloads (Last 7 Days)Published
4.22.5168
4.22.40
4.22.30
4.22.2125
4.22.112
4.22.00

Package Sidebar

Install

npm i @types/ledgerhq__hw-transport-node-hid

Weekly Downloads

241

Version

4.22.5

License

MIT

Unpacked Size

4.06 kB

Total Files

5

Last publish

Collaborators

  • types