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

@getsafle/vault-bitcoin-controller

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getsafle/vault-bitcoin-controller - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

6

CHANGELOG.md

@@ -30,1 +30,7 @@ ### 1.0.0 (2021-12-27)

- Changed satPerByte from optional to compulsory parameter.
### 1.2.2 (2022-09-06)
##### UTXO calculation fix
- UTXO.satoshi calculation fix.

4

package.json
{
"name": "@getsafle/vault-bitcoin-controller",
"version": "1.2.1",
"version": "1.2.2",
"description": "",

@@ -44,2 +44,2 @@ "engines": {

}
}
}

@@ -16,3 +16,3 @@ const axios = require('axios')

let utxo = {};
utxo.satoshis = Math.floor(Number(element.value) * SATOSHI);
utxo.satoshis = Math.ceil(parseFloat(element.value) * SATOSHI);
utxo.script = element.script_hex;

@@ -19,0 +19,0 @@ utxo.address = utxos.data.data.address;

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