autobee 2.8.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 +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1039,6 +1039,8 @@ 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, { key, length })
1043
+
1042
1044
  await core.close()
1043
1045
 
1044
1046
  return anchor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autobee",
3
- "version": "2.8.0",
3
+ "version": "2.9.1",
4
4
  "description": "Bee based autobase",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Holepunch Inc.",