hyperbee2 1.1.0 → 1.1.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/lib/write.js +1 -1
  2. package/package.json +1 -1
package/lib/write.js CHANGED
@@ -350,7 +350,7 @@ module.exports = class WriteBatch {
350
350
  const b = await this.tree.bootstrap()
351
351
  const n = update.node[0]
352
352
  if (b && b.context === n.context && b.core === n.core && b.seq === n.seq) return
353
- if (!b && n.isEmpty()) return
353
+ if (!b && n.value.isEmpty()) return
354
354
  }
355
355
 
356
356
  const length = context.core.length
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperbee2",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "btree",
5
5
  "main": "index.js",
6
6
  "files": [