Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.0.4 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

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