@spooky-sync/ssp-wasm 0.0.1-canary.302 → 0.0.1-canary.304
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/AGENTS.md +1 -1
- package/package.json +1 -1
- package/pkg/package.json +1 -1
- package/pkg/ssp_wasm_bg.wasm +0 -0
package/AGENTS.md
CHANGED
|
@@ -16,7 +16,7 @@ The browser-side stream processor: a Rust crate compiled to WebAssembly via `was
|
|
|
16
16
|
- `register_view(config: WasmViewConfig)` — register a materialized view by ID + SurQL + params.
|
|
17
17
|
- `unregister_view(id)` — remove a view.
|
|
18
18
|
- `ingest(table, op, id, record)` / `ingest_many(items)` — push row changes (`CREATE`/`UPDATE`/`MERGE`/`DELETE`); returns the affected views' deltas (`WasmViewUpdate[]`). Membership is presence-driven: the verb never double-counts or ghosts a row, and an unchanged write is a no-op.
|
|
19
|
-
- `save_store_state()` / `load_store_state(bytes)` — snapshot/restore the base rows as bytes (the binary row image:
|
|
19
|
+
- `save_store_state()` / `load_store_state(bytes)` — snapshot/restore the base rows as bytes (the binary row image: one per-table image of heads and bodies as the circuit holds them, loaded without decoding a row; an image of the previous layout and a JSON snapshot written by older builds still load), under the registered views; `reconcile(table, [id, rv][])` steps in the delta against the durable store.
|
|
20
20
|
- `set_projection(bool)` — keep only the fields registered plans evaluate per row; `register_view` reports `missing_fields` to widen with `MERGE`.
|
|
21
21
|
- `compact()` / `dead_bytes()` / `live_bytes()` / `size_report()` — row-arena hygiene and memory attribution.
|
|
22
22
|
- `save_state()` / `load_state(json)` — full circuit snapshot including views (server-shaped; the client uses the store-only pair).
|
package/package.json
CHANGED
package/pkg/package.json
CHANGED
package/pkg/ssp_wasm_bg.wasm
CHANGED
|
Binary file
|