Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-node-hid

Package Overview
Dependencies
Maintainers
7
Versions
399
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-node-hid - npm Package Compare versions

Comparing version 4.19.0 to 4.19.1

12

lib/TransportNodeHid.js

@@ -225,4 +225,6 @@ "use strict";

var send = function send(content) {
if (_this2.debug) {
_this2.debug("=>" + content.toString("hex"));
var debug = _this2.debug;
if (debug) {
debug("=>" + content.toString("hex"));
}

@@ -242,4 +244,6 @@ var data = [0x00];

var buffer = Buffer.from(res);
if (_this2.debug) {
_this2.debug("<=" + buffer.toString("hex"));
var debug = _this2.debug;
if (debug) {
debug("<=" + buffer.toString("hex"));
}

@@ -246,0 +250,0 @@ resolve(buffer);

{
"name": "@ledgerhq/hw-transport-node-hid",
"version": "4.19.0",
"version": "4.19.1",
"description": "Ledger Hardware Wallet Node implementation of the communication layer, using node-hid",

@@ -5,0 +5,0 @@ "keywords": [

@@ -43,3 +43,2 @@ //@flow

timeout: number;
debug: boolean;
exchangeStack: Array<*>;

@@ -248,4 +247,5 @@

const send = content => {
if (this.debug) {
this.debug("=>" + content.toString("hex"));
const { debug } = this;
if (debug) {
debug("=>" + content.toString("hex"));
}

@@ -266,4 +266,5 @@ const data = [0x00];

const buffer = Buffer.from(res);
if (this.debug) {
this.debug("<=" + buffer.toString("hex"));
const { debug } = this;
if (debug) {
debug("<=" + buffer.toString("hex"));
}

@@ -270,0 +271,0 @@ resolve(buffer);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc