@rowsncolumns/rnc-yrs-store 0.8.138

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.
Binary file
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@rowsncolumns/rnc-yrs-store",
3
+ "version": "0.8.138",
4
+ "author": "Vinay M",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "description": "Document-backed Rust→WASM spreadsheet calc engine (yrs/CRDT, canonical sheetDataV3). Ships the `SpreadsheetEngine` (a `Store<YrsStore>`): applyCommand / undo / redo / canUndo + the Yjs collaboration surface (applyUpdate / takePendingUpdates / loadFromUpdate / stateAsUpdate) the Keryx update-pump binds to. This is the 1,000,000-row engine the demo-app ships today — previously vendored, now a versioned package. The PREBUILT wasm is included (consumers need NO Rust/wasm toolchain); the glue's default init REQUIRES an explicit `module_or_path` — pass the URL of the served `rnc_yrs_store_bg.wasm` (webpack/Turbopack statically resolve a bundled `new URL`, which would 404 from this package, so the inline-default branch is intentionally a throw).",
7
+ "type": "module",
8
+ "main": "./dist/rnc_yrs_store.js",
9
+ "module": "./dist/rnc_yrs_store.js",
10
+ "types": "./dist/rnc_yrs_store.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/rnc_yrs_store.d.ts",
14
+ "import": "./dist/rnc_yrs_store.js"
15
+ },
16
+ "./rnc_yrs_store_bg.wasm": "./dist/rnc_yrs_store_bg.wasm"
17
+ },
18
+ "comment": "The vendored wasm in `src/wasm` is the DEPLOYED, working build (the engine staging runs at 1M), copied verbatim — NOT rebuilt from the in-tree crate (which may lag the optimized release branch). To refresh from source: `wasm-pack build crates/rnc-yrs-store --target web`, copy the three artifacts into `src/wasm`, and re-apply the inline-default `throw` patch (see README).",
19
+ "scripts": {
20
+ "build": "rm -rf dist && mkdir -p dist && cp -f src/wasm/rnc_yrs_store.js src/wasm/rnc_yrs_store.d.ts src/wasm/rnc_yrs_store_bg.wasm dist/"
21
+ },
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/rowsncolumns/spreadsheet.git"
28
+ }
29
+ }