@ledgerhq/hw-transport-webusb
Advanced tools
Comparing version 5.15.0 to 5.16.0
@@ -44,3 +44,2 @@ import Transport from "@ledgerhq/hw-transport"; | ||
for (let i = 0; i < blocks.length; i++) { | ||
log("hid-frame", "=> " + blocks[i].toString("hex")); | ||
await this.device.transferOut(endpointNumber, blocks[i]); | ||
@@ -56,3 +55,2 @@ } // Read... | ||
const buffer = Buffer.from(r.data.buffer); | ||
log("hid-frame", "<= " + buffer.toString("hex")); | ||
acc = framing.reduceResponse(acc, buffer); | ||
@@ -59,0 +57,0 @@ } |
@@ -59,3 +59,2 @@ "use strict"; | ||
for (let i = 0; i < blocks.length; i++) { | ||
(0, _logs.log)("hid-frame", "=> " + blocks[i].toString("hex")); | ||
await this.device.transferOut(endpointNumber, blocks[i]); | ||
@@ -71,3 +70,2 @@ } // Read... | ||
const buffer = Buffer.from(r.data.buffer); | ||
(0, _logs.log)("hid-frame", "<= " + buffer.toString("hex")); | ||
acc = framing.reduceResponse(acc, buffer); | ||
@@ -74,0 +72,0 @@ } |
{ | ||
"name": "@ledgerhq/hw-transport-webusb", | ||
"version": "5.15.0", | ||
"version": "5.16.0", | ||
"description": "Ledger Hardware Wallet WebUSB implementation of the communication layer", | ||
@@ -43,3 +43,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "819ae5151465d5980c75ff6a356afe1ff6731e11" | ||
"gitHead": "63f26da3ec6d187c519c005bcb19253e25f7cf59" | ||
} |
@@ -182,3 +182,2 @@ //@flow | ||
for (let i = 0; i < blocks.length; i++) { | ||
log("hid-frame", "=> " + blocks[i].toString("hex")); | ||
await this.device.transferOut(endpointNumber, blocks[i]); | ||
@@ -193,3 +192,2 @@ } | ||
const buffer = Buffer.from(r.data.buffer); | ||
log("hid-frame", "<= " + buffer.toString("hex")); | ||
acc = framing.reduceResponse(acc, buffer); | ||
@@ -196,0 +194,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83304
723