Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-webhid

Package Overview
Dependencies
Maintainers
18
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-webhid - npm Package Compare versions

Comparing version 6.4.1 to 6.7.0

10

lib/TransportWebHID.js

@@ -196,4 +196,4 @@ "use strict";

_a = this, channel = _a.channel, packetSize = _a.packetSize;
logs_1.log("apdu", "=> " + apdu.toString("hex"));
framing = hid_framing_1["default"](channel, packetSize);
(0, logs_1.log)("apdu", "=> " + apdu.toString("hex"));
framing = (0, hid_framing_1["default"])(channel, packetSize);
blocks = framing.makeBlocks(apdu);

@@ -219,3 +219,3 @@ i = 0;

case 6:
logs_1.log("apdu", "<= " + result.toString("hex"));
(0, logs_1.log)("apdu", "<= " + result.toString("hex"));
return [2 /*return*/, result];

@@ -240,3 +240,3 @@ }

typeof device.productId === "number"
? devices_1.identifyUSBProductId(device.productId)
? (0, devices_1.identifyUSBProductId)(device.productId)
: undefined;

@@ -346,3 +346,3 @@ device.addEventListener("inputreport", _this.onInputReport);

var deviceModel = typeof device.productId === "number"
? devices_1.identifyUSBProductId(device.productId)
? (0, devices_1.identifyUSBProductId)(device.productId)
: undefined;

@@ -349,0 +349,0 @@ observer.next({

{
"name": "@ledgerhq/hw-transport-webhid",
"version": "6.4.1",
"version": "6.7.0",
"description": "Ledger Hardware Wallet WebHID implementation of the communication layer",

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

"dependencies": {
"@ledgerhq/devices": "^6.3.0",
"@ledgerhq/devices": "^6.7.0",
"@ledgerhq/errors": "^6.2.0",
"@ledgerhq/hw-transport": "^6.3.0",
"@ledgerhq/hw-transport": "^6.7.0",
"@ledgerhq/logs": "^6.2.0"

@@ -45,3 +45,3 @@ },

},
"gitHead": "031cf51f254375ddde48bda613f89c581b01dbb1"
"gitHead": "91b41e29087aba025c03ad3a3f94342316ead554"
}

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