Socket
Socket
Sign inDemoInstall

@types/ledgerhq__hw-transport-node-hid

Package Overview
Dependencies
4
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/ledgerhq__hw-transport-node-hid

TypeScript definitions for @ledgerhq/hw-transport-node-hid


Version published
Maintainers
1
Install size
2.02 MB
Created

Readme

Source

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.

FAQs

Last updated on 07 Nov 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc