Comparing version 0.0.10 to 0.0.11
@@ -21,2 +21,3 @@ module.exports = class RangeIterator { | ||
if (!node.block) continue | ||
if (i < 0) continue | ||
checkpoint.push(node.block.seq, node.offset, i) | ||
@@ -33,2 +34,3 @@ } | ||
reverse: this._reverse, | ||
ended: this.opened && !checkpoint.length, | ||
checkpoint: this.opened ? checkpoint : [] | ||
@@ -35,0 +37,0 @@ } |
@@ -51,2 +51,3 @@ const { Extension } = require('./messages') | ||
iterator (snapshot) { | ||
if (snapshot.ended) return | ||
if (snapshot.limit === 0) return | ||
@@ -53,0 +54,0 @@ if (snapshot.limit === -1) snapshot.limit = 0 |
{ | ||
"name": "hyperbee", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "An append-only Btree running on a Hypercore.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
81857
20
2450
2