evernode-js-client 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -15865,7 +15865,7 @@ class UtilHelpers {
|
|
|
15865
15865
|
leaseIndex: uriBuf.readUint16BE(prefixLen),
|
|
15866
15866
|
halfTos: uriBuf.slice(prefixLen + 2, halfToSLen),
|
|
15867
15867
|
leaseAmount: parseFloat(XflHelpers.toString(uriBuf.readBigInt64BE(prefixLen + 2 + halfToSLen))),
|
|
15868
|
-
identifier: uriBuf.readUInt32BE(prefixLen + 10 + halfToSLen)
|
|
15868
|
+
identifier: uriBuf.length >= (prefixLen + 10 + halfToSLen) ? uriBuf.readUInt32BE(prefixLen + 10 + halfToSLen) : null
|
|
15869
15869
|
}
|
|
15870
15870
|
}
|
|
15871
15871
|
|