loro/crates/loro-wasm/tests
Zixuan Chen ac51ceb2f9
Some checks failed
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
feat: add exportJsonInIdSpan and make peer compression optional (#602)
This change will make the internal operations more accessible to the application code.

* feat: add exportJsonInIdSpan and make peer compression optional

- Introduced `export_json_updates_without_peer_compression` method to allow exporting JSON updates without compressing peer IDs, making it easier for application code to process.
- Updated existing `export_json_updates` method to accept a `with_peer_compression` parameter, defaulting to true.
- Refactored related code in various files to accommodate the new functionality, ensuring backward compatibility.

* fix: slice err & add tests

* chore: changeset
2025-01-05 01:25:15 +08:00
..
__snapshots__ fix: fractional index is enabled by default now (#561) 2024-11-18 14:32:56 +08:00
awareness.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
basic.test.ts feat: add exportJsonInIdSpan and make peer compression optional (#602) 2025-01-05 01:25:15 +08:00
checkout.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
compatibility.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
counter.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
detached_editing.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
event.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
gc.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
issue.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
json.test.ts feat: implement toJsonWithReplacer method for LoroDoc to customize JSON serialization (#582) 2024-12-16 11:53:08 +08:00
misc.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
movable_list.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
richtext.test.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
text.ts Refactor: merge two js packages (#532) 2024-10-29 21:46:56 +08:00
tree.test.ts feat: impl toJSON for LoroTreeNode (#538) 2024-11-05 20:11:03 +08:00
type.test.ts refactor: rename importUpdateBatch into importBatch & refine type (#580) 2024-12-15 12:17:41 +08:00
undo.test.ts feat: UndoManager's onPush now can access the change event (#588) 2024-12-23 11:49:35 +08:00
version.test.ts fix: get correct encode blob info (#545) 2024-11-09 15:43:11 +08:00