liquidjs-lib
Advanced tools
Comparing version 6.0.2-liquid.31 to 6.0.2-liquid.32
{ | ||
"name": "liquidjs-lib", | ||
"version": "6.0.2-liquid.31", | ||
"version": "6.0.2-liquid.32", | ||
"description": "Client-side Liquid JavaScript library", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -233,3 +233,3 @@ 'use strict'; | ||
case fields_1.InputTypes.REQUIRED_TIME_LOCKTIME: | ||
if (input.requiredTimeLocktime > 0) { | ||
if (input.requiredTimeLocktime !== undefined) { | ||
throw new InputDuplicateFieldError('time locktime'); | ||
@@ -243,3 +243,3 @@ } | ||
case fields_1.InputTypes.REQUIRED_HEIGHT_LOCKTIME: | ||
if (input.requiredHeightLocktime > 0) { | ||
if (input.requiredHeightLocktime !== undefined) { | ||
throw new InputDuplicateFieldError('height locktime'); | ||
@@ -898,3 +898,3 @@ } | ||
keyPairs.push(new key_pair_1.KeyPair(prevTxIndexKey, prevTxIndex)); | ||
if (this.sequence > 0) { | ||
if (this.sequence !== undefined) { | ||
const sequenceKey = new key_pair_1.Key(fields_1.InputTypes.SEQUENCE); | ||
@@ -905,3 +905,3 @@ const sequence = Buffer.allocUnsafe(4); | ||
} | ||
if (this.requiredTimeLocktime > 0) { | ||
if (this.requiredTimeLocktime !== undefined) { | ||
const key = new key_pair_1.Key( | ||
@@ -914,3 +914,3 @@ fields_1.InputTypes.REQUIRED_TIME_LOCKTIME, | ||
} | ||
if (this.requiredHeightLocktime > 0) { | ||
if (this.requiredHeightLocktime !== undefined) { | ||
const key = new key_pair_1.Key( | ||
@@ -917,0 +917,0 @@ fields_1.InputTypes.REQUIRED_HEIGHT_LOCKTIME, |
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
514484