loro-crdt 1.13.0 → 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 CHANGED
@@ -1,5 +1,23 @@
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
+
14
+ ## 1.13.1
15
+
16
+ ### Patch Changes
17
+
18
+ - c1e05bf: Fix Node and Vitest bare imports by resolving the package root to the Node.js
19
+ WASM entry under the `node` export condition.
20
+
3
21
  ## 1.13.0
4
22
 
5
23
  ### Minor Changes