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.
- package/lib/write.js +1 -1
- 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
|