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

liquidjs-lib

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liquidjs-lib - npm Package Compare versions

Comparing version 6.0.2-liquid.21 to 6.0.2-liquid.22

2

package.json
{
"name": "liquidjs-lib",
"version": "6.0.2-liquid.21",
"version": "6.0.2-liquid.22",
"description": "Client-side Liquid JavaScript library",

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

@@ -9,2 +9,3 @@ 'use strict';

const issuance_1 = require('../issuance');
const asset_1 = require('../asset');
class ZKPValidator {

@@ -436,3 +437,3 @@ constructor(zkpLib) {

return pset.inputs.map((input, i) => {
const ownedInput = this.ownedInputs.find(({ index }) => index === i);
const ownedInput = this.ownedInputs?.find(({ index }) => index === i);
if (ownedInput) {

@@ -446,6 +447,10 @@ return {

}
const utxo = input.getUtxo();
if (!utxo) {
throw new Error(`Missing utxo for input #${i}`);
}
return {
value: '',
valueBlindingFactor: Buffer.from([]),
asset: input.getUtxo().asset,
asset: asset_1.AssetHash.fromBytes(utxo.asset).bytesWithoutPrefix,
assetBlindingFactor: transaction_1.ZERO,

@@ -452,0 +457,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