Comparing version 2.4.0 to 2.4.1
@@ -359,3 +359,6 @@ const codecs = require('codecs') | ||
const snapshot = right.version > this.version ? right.feed.snapshot() : this.feed.snapshot() | ||
if (this.keyEncoding) opts = encRange(this.keyEncoding, { ...opts, sub: this._sub }) | ||
const keyEncoding = opts && opts.keyEncoding ? codecs(opts.keyEncoding) : this.keyEncoding | ||
if (keyEncoding) opts = encRange(keyEncoding, { ...opts, sub: this._sub }) | ||
return iteratorToStream(new DiffIterator(new Batch(this, snapshot, null, false, opts), new Batch(right, snapshot, null, false, opts), opts)) | ||
@@ -362,0 +365,0 @@ } |
{ | ||
"name": "hyperbee", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "An append-only B-tree 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
78094
2196