Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hw-app-dfi

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hw-app-dfi - npm Package Compare versions

Comparing version 7.0.22 to 7.0.23

7

lib-es/DfiNew.js

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

console.log(inputTxBuffer.toString("hex"));
console.log(crypto.hash256(inputTxBuffer));
inputTxid = new Buffer(Buffer.from(inputTx.txId, "hex").reverse());
console.log();
inputTxid = crypto.hash256(inputTxBuffer);
console.log(inputTxid);
if (inputTx.txId) {
inputTxid = Buffer.from(Buffer.from(inputTx.txId, "hex").reverse()); //
}
return [4 /*yield*/, this.client.getExtendedPubkey(false, pathElements)];

@@ -372,0 +375,0 @@ case 1:

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

console.log(inputTxBuffer.toString("hex"));
console.log(bitcoinjs_lib_1.crypto.hash256(inputTxBuffer));
inputTxid = new Buffer(Buffer.from(inputTx.txId, "hex").reverse());
console.log();
inputTxid = bitcoinjs_lib_1.crypto.hash256(inputTxBuffer);
console.log(inputTxid);
if (inputTx.txId) {
inputTxid = Buffer.from(Buffer.from(inputTx.txId, "hex").reverse()); //
}
return [4 /*yield*/, this.client.getExtendedPubkey(false, pathElements)];

@@ -379,0 +382,0 @@ case 1:

{
"name": "hw-app-dfi",
"version": "7.0.22",
"version": "7.0.23",
"description": "Ledger Hardware Wallet DeFiChain Application API",

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

@@ -381,5 +381,9 @@ import { crypto } from "bitcoinjs-lib";

console.log(inputTxBuffer.toString("hex"));
console.log(crypto.hash256(inputTxBuffer));
const inputTxid = new Buffer(Buffer.from(inputTx.txId!, "hex").reverse());//
console.log();
let inputTxid = crypto.hash256(inputTxBuffer);
console.log(inputTxid);
if (inputTx.txId) {
inputTxid = Buffer.from(Buffer.from(inputTx.txId!, "hex").reverse());//
}
const xpubBase58 = await this.client.getExtendedPubkey(false, pathElements);

@@ -386,0 +390,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

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