hypercore 10.8.0 → 10.8.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 +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -472,6 +472,10 @@ module.exports = class Hypercore extends EventEmitter {
472
472
  return this.core.tree.length
473
473
  }
474
474
 
475
+ get indexedLength () {
476
+ return this.length
477
+ }
478
+
475
479
  /**
476
480
  * Deprecated. Use `const { byteLength } = await core.info()`.
477
481
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "10.8.0",
3
+ "version": "10.8.1",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {