loro/crates/loro-wasm
Zixuan Chen bc09a0489f
feat: add typed versions of getMap and getList to Loro class (#96)
* feat: add typed versions of getMap and getList to Loro class

This commit adds `getTypedMap` and `getTypedList` methods to the `Loro` class, which allow for accessing maps and lists with type information. It also adds corresponding `getTyped`, `insertTyped`, and `setTyped` methods to `LoroMap` and `LoroList`. This makes it easier and safer to work with Loro's data structures.

* chore: bump version

* chore: alpha 1

* feat: add size and length to list and map

* chore: update deno test script
2023-05-11 11:59:48 +08:00
..
.cargo Perf: speed up utf16 and wasm (#90) 2023-04-03 09:29:25 +08:00
scripts Perf: speed up utf16 and wasm (#90) 2023-04-03 09:29:25 +08:00
src feat: add typed versions of getMap and getList to Loro class (#96) 2023-05-11 11:59:48 +08:00
web-test bench: add wasm bench to web test 2022-12-12 13:44:49 +08:00
.gitignore chore(wasm): change the build methods 2022-12-09 10:46:55 +08:00
.npmignore chore: bump versions 2023-03-28 01:05:17 +08:00
Cargo.toml chore: remove tracing 2023-03-23 21:17:16 +08:00
deno.json feat: add typed versions of getMap and getList to Loro class (#96) 2023-05-11 11:59:48 +08:00
deno.lock Perf: speed up utf16 and wasm (#90) 2023-04-03 09:29:25 +08:00
LICENSE feat: init encoding and build pipeline for wasm 2022-12-09 10:46:30 +08:00
package.json feat: add typed versions of getMap and getList to Loro class (#96) 2023-05-11 11:59:48 +08:00
pnpm-lock.yaml feat: extra pkg loro-crdt to wrap loro-wasm 2023-03-24 10:08:11 +08:00
README.md feat: init encoding and build pipeline for wasm 2022-12-09 10:46:30 +08:00
yarn.lock bench: add wasm bench to web test 2022-12-12 13:44:49 +08:00