scryptlib
Advanced tools
Comparing version 2.1.7 to 2.1.8
# CHANGELOG | ||
## 2.1.8 | ||
- fix bsv issue | ||
## 2.1.7 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "scryptlib", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -178,2 +178,3 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
eof(): boolean; | ||
remaining(): number; | ||
pos: number; | ||
@@ -180,0 +181,0 @@ } |
@@ -200,2 +200,6 @@ 'use strict' | ||
BufferReader.prototype.remaining = function () { | ||
return this.buf.length - this.pos | ||
} | ||
module.exports = BufferReader |
@@ -155,2 +155,5 @@ 'use strict' | ||
if (size !== 0) { | ||
if (br.remaining() < size) { | ||
throw new TypeError('Unrecognized Output') | ||
} | ||
obj.script = br.read(size) | ||
@@ -157,0 +160,0 @@ } else { |
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
958485
23245