automerge/rust/automerge-wasm/src
Alex Good 5763210b07
wasm: Allow a choice of text representations
The wasm codebase assumed that clients want to represent text as a
string of characters. This is faster, but in order to enable backwards
compatibility we add a `TextRepresentation` argument to
`automerge_wasm::Automerge::new` to allow clients to choose between a
`string` or `Array<any>` representation. The `automerge_wasm::Observer`
will consult this setting to determine what kind of diffs to generate.
2023-01-10 12:52:19 +00:00
..
interop.rs wasm: Allow a choice of text representations 2023-01-10 12:52:19 +00:00
lib.rs wasm: Allow a choice of text representations 2023-01-10 12:52:19 +00:00
observer.rs wasm: Allow a choice of text representations 2023-01-10 12:52:19 +00:00
sync.rs wasm: improve error messages 2022-12-02 14:42:55 +00:00
value.rs Text v2. JS Api now uses text by default (#462) 2022-12-09 23:48:07 +00:00