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

@ledgerhq/hw-app-btc

Package Overview
Dependencies
Maintainers
7
Versions
437
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.15.0 to 4.17.0

4

lib/Btc.js

@@ -574,4 +574,4 @@ "use strict";

var pseudoTX = (0, _assign2.default)({}, targetTransaction);
var pseudoTrustedInputs = segwit ? [trustedInputs[i]] : trustedInputs;
if (segwit) {
var pseudoTrustedInputs = useBip143 ? [trustedInputs[i]] : trustedInputs;
if (useBip143) {
pseudoTX.inputs = [(0, _extends3.default)({}, pseudoTX.inputs[i], { script: script })];

@@ -578,0 +578,0 @@ } else {

{
"name": "@ledgerhq/hw-app-btc",
"version": "4.15.0",
"version": "4.17.0",
"description": "Ledger Hardware Wallet Bitcoin Application API",

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

@@ -630,4 +630,6 @@ //@flow

let pseudoTX = Object.assign({}, targetTransaction);
let pseudoTrustedInputs = segwit ? [trustedInputs[i]] : trustedInputs;
if (segwit) {
let pseudoTrustedInputs = useBip143
? [trustedInputs[i]]
: trustedInputs;
if (useBip143) {
pseudoTX.inputs = [{ ...pseudoTX.inputs[i], script }];

@@ -634,0 +636,0 @@ } else {

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