Comparing version 2.12.1 to 2.13.0
@@ -1036,2 +1036,3 @@ const codecs = require('codecs') | ||
this._differ = opts.differ || defaultDiffer | ||
this._eager = !!opts.eager | ||
@@ -1052,7 +1053,9 @@ this.on('newListener', autoFlowOnUpdate) | ||
// Point from which to start watching | ||
this.current = this.bee.snapshot({ | ||
const opts = { | ||
keyEncoding: this.keyEncoding, | ||
valueEncoding: this.valueEncoding | ||
}) | ||
} | ||
// Point from which to start watching | ||
this.current = this._eager ? this.bee.checkout(1, opts) : this.bee.snapshot(opts) | ||
} | ||
@@ -1059,0 +1062,0 @@ |
{ | ||
"name": "hyperbee", | ||
"version": "2.12.1", | ||
"version": "2.13.0", | ||
"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
89949
2223
2488