liquidjs-lib
Advanced tools
Comparing version 6.0.2-liquid.32 to 6.0.2-liquid.33
{ | ||
"name": "liquidjs-lib", | ||
"version": "6.0.2-liquid.32", | ||
"version": "6.0.2-liquid.33", | ||
"description": "Client-side Liquid JavaScript library", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
/// <reference types="node" /> | ||
import { Pset } from './pset'; | ||
import { PsetInput } from './input'; | ||
import { PsetOutput } from './output'; | ||
import { Pset } from './pset'; | ||
export declare class CreatorInput { | ||
@@ -6,0 +6,0 @@ txid: string; |
@@ -9,10 +9,10 @@ 'use strict'; | ||
exports.Creator = exports.CreatorOutput = exports.CreatorInput = void 0; | ||
const bitset_1 = __importDefault(require('bitset')); | ||
const asset_1 = require('../asset'); | ||
const bufferutils_1 = require('../bufferutils'); | ||
const transaction_1 = require('../transaction'); | ||
const globals_1 = require('./globals'); | ||
const pset_1 = require('./pset'); | ||
const input_1 = require('./input'); | ||
const output_1 = require('./output'); | ||
const bufferutils_1 = require('../bufferutils'); | ||
const asset_1 = require('../asset'); | ||
const transaction_1 = require('../transaction'); | ||
const bitset_1 = __importDefault(require('bitset')); | ||
const pset_1 = require('./pset'); | ||
class CreatorInput { | ||
@@ -22,3 +22,3 @@ constructor(txid, txIndex, sequence, heightLocktime, timeLocktime) { | ||
this.txIndex = txIndex; | ||
this.sequence = sequence || transaction_1.Transaction.DEFAULT_SEQUENCE; | ||
this.sequence = sequence ?? transaction_1.Transaction.DEFAULT_SEQUENCE; | ||
this.heightLocktime = heightLocktime || 0; | ||
@@ -25,0 +25,0 @@ this.timeLocktime = timeLocktime || 0; |
@@ -244,3 +244,3 @@ 'use strict'; | ||
inflationRangeProof: EMPTY_BUFFER, | ||
sequence: sequence || Transaction.DEFAULT_SEQUENCE, | ||
sequence: sequence ?? Transaction.DEFAULT_SEQUENCE, | ||
}) - 1 | ||
@@ -247,0 +247,0 @@ ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package