loro-crdt 1.13.1 → 1.13.2
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/CHANGELOG.md +11 -0
- package/base64/index.js +88 -84
- package/base64/loro_wasm.d.ts +16 -16
- package/browser/index.js +5 -5
- package/browser/loro_wasm.d.ts +16 -16
- package/browser/loro_wasm.js +15 -15
- package/browser/loro_wasm_bg.js +82 -78
- package/browser/loro_wasm_bg.wasm +0 -0
- package/browser/loro_wasm_bg.wasm.d.ts +2 -2
- package/bundler/index.js +5 -5
- package/bundler/loro_wasm.d.ts +16 -16
- package/bundler/loro_wasm_bg.js +82 -78
- package/bundler/loro_wasm_bg.wasm +0 -0
- package/bundler/loro_wasm_bg.wasm.d.ts +2 -2
- package/nodejs/loro_wasm.d.ts +16 -16
- package/nodejs/loro_wasm.js +83 -79
- package/nodejs/loro_wasm_bg.wasm +0 -0
- package/nodejs/loro_wasm_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
- package/web/loro_wasm.d.ts +18 -18
- package/web/loro_wasm.js +81 -77
- package/web/loro_wasm_bg.wasm +0 -0
- package/web/loro_wasm_bg.wasm.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9d7d5c8: Fix `getContainerById` / `hasContainer` for ensured-but-empty mergeable containers.
|
|
8
|
+
After `ensureMergeableMap` (and friends), the child was visible via `map.get(key)`
|
|
9
|
+
and `toJSON()` but its id did not resolve until the first op was written into it —
|
|
10
|
+
locally and on remote peers after sync. The id now resolves as long as the parent
|
|
11
|
+
map's child ref is alive; a mergeable cid that was never ensured still resolves to
|
|
12
|
+
`undefined`.
|
|
13
|
+
|
|
3
14
|
## 1.13.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|