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.2.0 to 4.2.1

4

flow-typed/npm/@ledgerhq/hw-transport_vx.x.x.js

@@ -1,3 +0,3 @@

// flow-typed signature: e8ff6b87e2bf6d7df329077e048036ef
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^2.0.1/flow_v0.63.1
// flow-typed signature: 75d330203ebfe98a2c99295790ffe07c
// flow-typed version: <<STUB>>/@ledgerhq/hw-transport_v^2.1.0/flow_v0.63.1

@@ -4,0 +4,0 @@ /**

@@ -510,14 +510,14 @@ "use strict";

}
}).then(function () {
for (var i = 0; i < inputs.length; i++) {
var _sequence = Buffer.alloc(4);
_sequence.writeUInt32LE(inputs[i].length >= 4 && typeof inputs[i][3] === "number" ? inputs[i][3] : DEFAULT_SEQUENCE, 0);
targetTransaction.inputs.push({
script: nullScript,
prevout: nullPrevout,
sequence: _sequence
});
}
});
}).then(function () {
for (var i = 0; i < inputs.length; i++) {
var _sequence = Buffer.alloc(4);
_sequence.writeUInt32LE(inputs[i].length >= 4 && typeof inputs[i][3] === "number" ? inputs[i][3] : DEFAULT_SEQUENCE, 0);
targetTransaction.inputs.push({
script: nullScript,
prevout: nullPrevout,
sequence: _sequence
});
}
}).then(function () {
return (0, _utils.doIf)(!resuming, function () {

@@ -524,0 +524,0 @@ return (

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

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

@@ -516,27 +516,26 @@ //@flow

})
)
.then(() => {
const { outputs } = input[0];
const index = input[1];
if (outputs && index <= outputs.length - 1) {
regularOutputs.push(outputs[index]);
}
})
.then(() => {
for (let i = 0; i < inputs.length; i++) {
let sequence = Buffer.alloc(4);
sequence.writeUInt32LE(
inputs[i].length >= 4 && typeof inputs[i][3] === "number"
? inputs[i][3]
: DEFAULT_SEQUENCE,
0
);
targetTransaction.inputs.push({
script: nullScript,
prevout: nullPrevout,
sequence
});
}
});
).then(() => {
const { outputs } = input[0];
const index = input[1];
if (outputs && index <= outputs.length - 1) {
regularOutputs.push(outputs[index]);
}
});
})
.then(() => {
for (let i = 0; i < inputs.length; i++) {
let sequence = Buffer.alloc(4);
sequence.writeUInt32LE(
inputs[i].length >= 4 && typeof inputs[i][3] === "number"
? inputs[i][3]
: DEFAULT_SEQUENCE,
0
);
targetTransaction.inputs.push({
script: nullScript,
prevout: nullPrevout,
sequence
});
}
})
.then(() =>

@@ -543,0 +542,0 @@ doIf(!resuming, () =>

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