@ledgerhq/hw-transport-webhid
Advanced tools
Comparing version 5.15.0 to 5.16.0
@@ -99,3 +99,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.sendReport(0, blocks[i]); | ||
@@ -110,3 +109,2 @@ } // Read... | ||
const buffer = await this.read(); | ||
log("hid-frame", "<= " + buffer.toString("hex")); | ||
acc = framing.reduceResponse(acc, buffer); | ||
@@ -113,0 +111,0 @@ } |
@@ -113,3 +113,2 @@ "use strict"; | ||
for (let i = 0; i < blocks.length; i++) { | ||
(0, _logs.log)("hid-frame", "=> " + blocks[i].toString("hex")); | ||
await this.device.sendReport(0, blocks[i]); | ||
@@ -124,3 +123,2 @@ } // Read... | ||
const buffer = await this.read(); | ||
(0, _logs.log)("hid-frame", "<= " + buffer.toString("hex")); | ||
acc = framing.reduceResponse(acc, buffer); | ||
@@ -127,0 +125,0 @@ } |
{ | ||
"name": "@ledgerhq/hw-transport-webhid", | ||
"version": "5.15.0", | ||
"version": "5.16.0", | ||
"description": "Ledger Hardware Wallet WebHID implementation of the communication layer", | ||
@@ -43,3 +43,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "819ae5151465d5980c75ff6a356afe1ff6731e11" | ||
"gitHead": "63f26da3ec6d187c519c005bcb19253e25f7cf59" | ||
} |
@@ -197,3 +197,2 @@ //@flow | ||
for (let i = 0; i < blocks.length; i++) { | ||
log("hid-frame", "=> " + blocks[i].toString("hex")); | ||
await this.device.sendReport(0, blocks[i]); | ||
@@ -207,3 +206,2 @@ } | ||
const buffer = await this.read(); | ||
log("hid-frame", "<= " + buffer.toString("hex")); | ||
acc = framing.reduceResponse(acc, buffer); | ||
@@ -210,0 +208,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
71953
587