New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pocketbitcoin/hw-app-btc

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pocketbitcoin/hw-app-btc - npm Package Compare versions

Comparing version 10.0.0 to 10.0.1

5

lib-es/Btc.d.ts

@@ -75,6 +75,3 @@ /// <reference types="node" />

*/
signMessage(arg: {
path: string;
messageHex: string;
}): Promise<{
signMessage(path: string, messageHex: string): Promise<{
v: number;

@@ -81,0 +78,0 @@ r: string;

7

lib-es/Btc.js

@@ -134,5 +134,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

*/
Btc.prototype.signMessage = function (arg) {
Btc.prototype.signMessage = function (path, messageHex) {
return this.changeImplIfNecessary().then(function (impl) {
return impl.signMessage(arg);
return impl.signMessage({
path: path,
messageHex: messageHex
});
});

@@ -139,0 +142,0 @@ };

@@ -259,3 +259,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

chunksRoot,
]))];
]), clientInterpreter)];
case 1:

@@ -262,0 +262,0 @@ response = _a.sent();

@@ -75,6 +75,3 @@ /// <reference types="node" />

*/
signMessage(arg: {
path: string;
messageHex: string;
}): Promise<{
signMessage(path: string, messageHex: string): Promise<{
v: number;

@@ -81,0 +78,0 @@ r: string;

@@ -139,5 +139,8 @@ "use strict";

*/
Btc.prototype.signMessage = function (arg) {
Btc.prototype.signMessage = function (path, messageHex) {
return this.changeImplIfNecessary().then(function (impl) {
return impl.signMessage(arg);
return impl.signMessage({
path: path,
messageHex: messageHex
});
});

@@ -144,0 +147,0 @@ };

@@ -262,3 +262,3 @@ "use strict";

chunksRoot,
]))];
]), clientInterpreter)];
case 1:

@@ -265,0 +265,0 @@ response = _a.sent();

{
"name": "@pocketbitcoin/hw-app-btc",
"version": "10.0.0",
"version": "10.0.1",
"description": "Ledger Hardware Wallet Bitcoin Application API",

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

@@ -134,6 +134,6 @@ import type Transport from "@ledgerhq/hw-transport";

*/
signMessage(arg: {
signMessage(
path: string,
messageHex: string
}): Promise<{
): Promise<{
v: number;

@@ -144,3 +144,6 @@ r: string;

return this.changeImplIfNecessary().then((impl) => {
return impl.signMessage(arg);
return impl.signMessage({
path,
messageHex,
});
});

@@ -147,0 +150,0 @@ }

@@ -215,3 +215,4 @@ import Transport from "@ledgerhq/hw-transport";

chunksRoot,
])
]),
clientInterpreter
);

@@ -218,0 +219,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

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

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