braid-text 0.2.2 → 0.2.3
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/index.js +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -487,6 +487,7 @@ braid_text.put = async (key, options) => {
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
for (let b of bytes) resource.doc.mergeBytes(b)
|
|
490
|
+
resource.val = resource.doc.get()
|
|
490
491
|
|
|
491
492
|
resource.need_defrag = true
|
|
492
493
|
|
|
@@ -589,8 +590,6 @@ braid_text.put = async (key, options) => {
|
|
|
589
590
|
}
|
|
590
591
|
|
|
591
592
|
await resource.db_delta(resource.doc.getPatchSince(v_before))
|
|
592
|
-
|
|
593
|
-
resource.val = resource.doc.get()
|
|
594
593
|
}
|
|
595
594
|
|
|
596
595
|
braid_text.list = async () => {
|