@spooky-sync/ssp-wasm 0.0.1-canary.300 → 0.0.1-canary.301

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 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, under the registered views; `reconcile(table, [id, rv][])` steps in the delta against the durable store.
19
+ - `save_store_state()` / `load_store_state(bytes)` — snapshot/restore the base rows as bytes (the binary row image: records as the circuit holds them, loaded without decoding a row; a JSON snapshot written by an older build still loads), 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spooky-sync/ssp-wasm",
3
- "version": "0.0.1-canary.300",
3
+ "version": "0.0.1-canary.301",
4
4
  "main": "pkg/ssp_wasm.js",
5
5
  "types": "pkg/ssp_wasm.d.ts",
6
6
  "files": [
package/pkg/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ssp-wasm",
3
3
  "type": "module",
4
4
  "description": "WASM bindings for ssp",
5
- "version": "0.0.1-canary.300",
5
+ "version": "0.0.1-canary.301",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "ssp_wasm_bg.wasm",
Binary file