Comparing version 2.7.0 to 2.7.1
@@ -938,3 +938,3 @@ const codecs = require('codecs') | ||
for await (const data of this.stream) { // eslint-disable-line | ||
return { done: false, value: { current: this.current, previous: this.previous } } | ||
return { done: false, value: [this.current, this.previous] } | ||
} | ||
@@ -941,0 +941,0 @@ } finally { |
{ | ||
"name": "hyperbee", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "An append-only B-tree running on a Hypercore.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -241,3 +241,3 @@ # Hyperbee 🐝 | ||
```js | ||
for await (const { current, previous } of watcher) { | ||
for await (const [current, previous] of watcher) { | ||
console.log(current.version) | ||
@@ -244,0 +244,0 @@ console.log(previous.version) |
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
82182