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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. 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
 
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  ],
7
7
  "homepage": "https://github.com/HotPocketDev/evernode-js-client",
8
8
  "license": "MIT",
9
- "version": "0.6.3",
9
+ "version": "0.6.4",
10
10
  "dependencies": {
11
11
  "elliptic": "6.5.4",
12
12
  "libsodium-wrappers": "0.7.10",