@rowsncolumns/rnc-yrs-store 0.11.3 → 0.11.5
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/dist/rnc_yrs_store.d.ts
CHANGED
|
@@ -182,8 +182,15 @@ export class SpreadsheetEngine {
|
|
|
182
182
|
*/
|
|
183
183
|
isEncryptedXlsx(bytes: Uint8Array): boolean;
|
|
184
184
|
/**
|
|
185
|
-
* `[cells, formulaCells]` the last
|
|
186
|
-
*
|
|
185
|
+
* `[cells, formulaCells]` the last import ingested — what its recalc caps were judged on.
|
|
186
|
+
*
|
|
187
|
+
* Contract: after `importXlsx` (or `importCsv`) the whole workbook (one stream); after a
|
|
188
|
+
* NON-final `importXlsxSheet` call the sequence's running total so far (every sheet streamed
|
|
189
|
+
* since the sequence began, this call's included — take the difference between consecutive
|
|
190
|
+
* reads for one sheet's share, never sum the reads); after the `finalize` call the workbook
|
|
191
|
+
* total the finalize's recalc-cap verdict was taken on, until the next sheet-scoped call
|
|
192
|
+
* starts a new sequence or a whole-workbook / CSV import supersedes it. So one read after
|
|
193
|
+
* the sequence is the workbook census. See [`YDocEngine::last_import_counts`].
|
|
187
194
|
*/
|
|
188
195
|
lastImportCounts(): Float64Array;
|
|
189
196
|
/**
|
package/dist/rnc_yrs_store.js
CHANGED
|
@@ -610,8 +610,15 @@ export class SpreadsheetEngine {
|
|
|
610
610
|
return ret !== 0;
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
|
-
* `[cells, formulaCells]` the last
|
|
614
|
-
*
|
|
613
|
+
* `[cells, formulaCells]` the last import ingested — what its recalc caps were judged on.
|
|
614
|
+
*
|
|
615
|
+
* Contract: after `importXlsx` (or `importCsv`) the whole workbook (one stream); after a
|
|
616
|
+
* NON-final `importXlsxSheet` call the sequence's running total so far (every sheet streamed
|
|
617
|
+
* since the sequence began, this call's included — take the difference between consecutive
|
|
618
|
+
* reads for one sheet's share, never sum the reads); after the `finalize` call the workbook
|
|
619
|
+
* total the finalize's recalc-cap verdict was taken on, until the next sheet-scoped call
|
|
620
|
+
* starts a new sequence or a whole-workbook / CSV import supersedes it. So one read after
|
|
621
|
+
* the sequence is the workbook census. See [`YDocEngine::last_import_counts`].
|
|
615
622
|
* @returns {Float64Array}
|
|
616
623
|
*/
|
|
617
624
|
lastImportCounts() {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rowsncolumns/rnc-yrs-store",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
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).",
|