@xpla/ledger-xpla-js
Advanced tools
Comparing version 1.0.1-beta.1 to 1.0.1-beta.2
@@ -92,5 +92,8 @@ "use strict"; | ||
} | ||
console.log('sign(Buffer)', message.toString()); | ||
const res = yield this.app.sign(this.path, message); | ||
checkLedgerErrors(res); | ||
return Buffer.from((0, secp256k1_1.signatureImport)(Buffer.from(res.signature).slice(0, 71))); | ||
console.debug('ledger sig:', res.signature); | ||
console.debug('sig buff:', new Uint8Array(Buffer.from(res.signature).subarray(0, 71))); | ||
return Buffer.from((0, secp256k1_1.signatureImport)(Buffer.from(res.signature).subarray(0, 71))); | ||
}); | ||
@@ -97,0 +100,0 @@ } |
{ | ||
"name": "@xpla/ledger-xpla-js", | ||
"version": "1.0.1-beta.1", | ||
"version": "1.0.1-beta.2", | ||
"description": "API for XPLA App (Ledger Nano S/X)", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
68678
873