@rowsncolumns/rnc-yrs-store 0.25.1 → 0.25.3

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.
@@ -216,8 +216,10 @@ export class SpreadsheetEngine {
216
216
  */
217
217
  importXlsx(bytes: Uint8Array): string;
218
218
  /**
219
- * Import exactly ONE sheet of the workbook — `sheet_id` is the positional (1-based) `sheetId`
220
- * from [`listXlsxSheets`](Self::list_xlsx_sheets). Pass `finalize: false` on every call but the
219
+ * Import exactly ONE sheet of the workbook — `sheet_id` is the sheet's `sheetId` in
220
+ * [`listXlsxSheets`](Self::list_xlsx_sheets): its position (1-based), unless the workbook carries
221
+ * the engine's own sheet ids (an `exportXlsx` of a document whose ids are not its tab
222
+ * positions), which the sheet then keeps. Pass `finalize: false` on every call but the
221
223
  * sequence's last: intermediate calls skip the whole-document recalc and the workbook-level
222
224
  * facets (named ranges, slicers, pivots, calcPr, Power Query), which land on the `finalize`
223
225
  * call together with the engine rebuild + recalc (or its over-cap skip — check
@@ -723,8 +723,10 @@ export class SpreadsheetEngine {
723
723
  }
724
724
  }
725
725
  /**
726
- * Import exactly ONE sheet of the workbook — `sheet_id` is the positional (1-based) `sheetId`
727
- * from [`listXlsxSheets`](Self::list_xlsx_sheets). Pass `finalize: false` on every call but the
726
+ * Import exactly ONE sheet of the workbook — `sheet_id` is the sheet's `sheetId` in
727
+ * [`listXlsxSheets`](Self::list_xlsx_sheets): its position (1-based), unless the workbook carries
728
+ * the engine's own sheet ids (an `exportXlsx` of a document whose ids are not its tab
729
+ * positions), which the sheet then keeps. Pass `finalize: false` on every call but the
728
730
  * sequence's last: intermediate calls skip the whole-document recalc and the workbook-level
729
731
  * facets (named ranges, slicers, pivots, calcPr, Power Query), which land on the `finalize`
730
732
  * call together with the engine rebuild + recalc (or its over-cap skip — check
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rowsncolumns/rnc-yrs-store",
3
- "version": "0.25.1",
3
+ "version": "0.25.3",
4
4
  "author": "Vinay M",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
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).",