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

unielon-coin-bitcoin

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unielon-coin-bitcoin - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

8

dist/inscribedrc.js

@@ -96,3 +96,3 @@ "use strict";

let prevOutputValue = defaultRevealOutValue * repeats;
if (body.p == drc20P && (opDeploy == body.op || opTransfer == body.op)) {
if (body.p == drc20P && (opDeploy == body.op || opTransfer == body.op || opMint == body.op)) {
const baseFee = 50000000;

@@ -103,8 +103,2 @@ const changePkScript = bitcoin.address.toOutputScript(feeAddress, network);

}
else if (body.p == drc20P && opMint == body.op) {
const baseFee = 50000000;
const changePkScript = bitcoin.address.toOutputScript(feeAddress, network);
tx.addOutput(changePkScript, baseFee * inscriptionDataList[i].repeat);
prevOutputValue += baseFee * inscriptionDataList[i].repeat;
}
else if (body.p == wdogeP && opDeposit == body.op) {

@@ -111,0 +105,0 @@ let amt = parseInt(body.amt);

2

package.json
{
"name": "unielon-coin-bitcoin",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

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

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