🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@codewarriorr/hw-app-btcv

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codewarriorr/hw-app-btcv - npm Package Compare versions

Comparing version

to
1.0.5

7

lib-es/setPasswords.js

@@ -15,8 +15,9 @@ const passwordType = {

throw new Error("btc.setPasswords invalid type=" + type);
}
} // const data = password.toString("hex");
const data = password.toString("hex");
const buffer = Buffer.from(password, "hex");
const p1 = passwordType[type];
const p2 = 0;
const response = await transport.send(0xe0, 0xD8, p1, p2, data);
const response = await transport.send(0xe0, 0xD8, p1, p2, buffer);
return {

@@ -23,0 +24,0 @@ response

@@ -28,8 +28,9 @@ "use strict";

throw new Error("btc.setPasswords invalid type=" + type);
}
} // const data = password.toString("hex");
const data = password.toString("hex");
const buffer = Buffer.from(password, "hex");
const p1 = passwordType[type];
const p2 = 0;
const response = await transport.send(0xe0, 0xD8, p1, p2, data);
const response = await transport.send(0xe0, 0xD8, p1, p2, buffer);
return {

@@ -36,0 +37,0 @@ response

{
"name": "@codewarriorr/hw-app-btcv",
"version": "1.0.4",
"version": "1.0.5",
"description": "Ledger Hardware Wallet Bitcoin Vault Application API",

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

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