@pocketbitcoin/hw-app-btc
Advanced tools
Comparing version 10.0.0 to 10.0.1
@@ -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; |
@@ -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
1199570
17934