New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sbtc-bridge-lib

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sbtc-bridge-lib - npm Package Compare versions

Comparing version 1.0.77 to 1.0.78

4

dist/reveal_utils.js

@@ -41,3 +41,3 @@ import * as btc from '@scure/btc-signer';

throw new Error('Taproot required');
//const fromBtcAddressScript = btc.Address(net).decode(peginRequest.fromBtcAddress);
//const fromBtcAddressScript = btc.Address(net).decode(peginRequest.uiPayload.bitcoinAddress);
//if (fromBtcAddressScript.type !== 'tr') throw new Error('Taproot required')

@@ -135,3 +135,3 @@ const commitAddressScript = btc.Address(net).decode(peginRequest.commitTxScript.address);

const feeUtxo = addInputForFee(tx);
amount = peginRequest.amount + feeUtxo?.value - fee;
amount = peginRequest.uiPayload.amountSats + feeUtxo?.value - fee;
}

@@ -138,0 +138,0 @@ */

{
"name": "sbtc-bridge-lib",
"version": "1.0.77",
"version": "1.0.78",
"description": "Library for sBTC Bridge web client and API apps ",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -34,3 +34,3 @@ import * as btc from '@scure/btc-signer';

if (sbtcWalletAddrScript.type !== 'tr') throw new Error('Taproot required')
//const fromBtcAddressScript = btc.Address(net).decode(peginRequest.fromBtcAddress);
//const fromBtcAddressScript = btc.Address(net).decode(peginRequest.uiPayload.bitcoinAddress);
//if (fromBtcAddressScript.type !== 'tr') throw new Error('Taproot required')

@@ -133,3 +133,3 @@

const feeUtxo = addInputForFee(tx);
amount = peginRequest.amount + feeUtxo?.value - fee;
amount = peginRequest.uiPayload.amountSats + feeUtxo?.value - fee;
}

@@ -136,0 +136,0 @@ */

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