autobee 2.9.0 → 2.9.1

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
@@ -1039,7 +1039,7 @@ module.exports = class Autobee extends ReadyResource {
1039
1039
 
1040
1040
  const anchor = { key: core.key, length: core.length }
1041
1041
 
1042
- this.emit('anchor', anchor, core)
1042
+ this.emit('anchor', anchor, { key, length })
1043
1043
 
1044
1044
  await core.close()
1045
1045
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autobee",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "description": "Bee based autobase",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Holepunch Inc.",