@rowsncolumns/rnc-native-linux-x64 0.27.0 → 0.28.1

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/README.md CHANGED
@@ -8,11 +8,18 @@ The rnc engine as a native Linux x86-64 binary, for servers. It is the engine th
8
8
  bin/rnc-native --version
9
9
  bin/rnc-native recalc [--fn NAME]... < room.bin > delta.bin
10
10
  bin/rnc-native export [--fn NAME]... [--command JSON]... [--sheets-json PATH] < room.bin > book.xlsx
11
+ bin/rnc-native convert < positional.bin > stable-ids.bin
11
12
  ```
12
13
 
13
14
  - `recalc`: the forced recalculation of a whole room (one v1 update on stdin). stdout is the v1
14
15
  update it makes against the room as read; the host applies it and writes it as its own.
15
16
  - `export`: the full `exportXlsx`, byte for byte the wasm's.
17
+ - `convert`: the wasm's `convertToStableIds`. stdin is a positional (v3) document's whole state
18
+ (one v1 update); stdout is the converted stable-ids (v5) document's whole state: a document of
19
+ its own, to read content from, never to merge into a room. No flags, no calc engine. For an
20
+ input it refuses it writes nothing and exits 1, the reason on stderr starting with
21
+ `already-stable-ids`, `newer-format`, `migration-refused`, `invalid-document` or
22
+ `convert-failed`.
16
23
  - `--version`: `{"name","version","commit","wasmSha256","target"}`. `manifest.json` holds the same
17
24
  fields plus the binary's sha256. A host pins this package to the same version as
18
25
  `@rowsncolumns/rnc-yrs-store` and checks `wasmSha256` against the wasm it loads.
package/bin/rnc-native CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/rnc-native
3
- size: 42879080 bytes
4
- sha256: 23f2ce81e523c6ee69fa3e5a75f57750bb448a2a7dccb6edac4d52cec8bf75b8
3
+ size: 42961032 bytes
4
+ sha256: bea54f2a1e263899cd0a4820cdde8db2ede8527f66fd0faeb1de58c1e21699b7
package/manifest.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "rnc-native",
3
- "version": "0.27.0",
4
- "commit": "ce42562b2a9463641141800e1ac319796d847a7d",
5
- "wasmSha256": "607878290860e1e8df3de918b5d9dd71d6474836f8b668443cfd07fcec7362c4",
3
+ "version": "0.28.1",
4
+ "commit": "3c935587cdb32c14db2b6b6dc6f2cf5ffe641e1a",
5
+ "wasmSha256": "1734d66f3f5fa3162d53a4a33298ad16f081af040e39de649ba16e94a2a32b93",
6
6
  "target": "x86_64-unknown-linux-gnu",
7
7
  "rustc": "1.96.0",
8
- "binarySha256": "23f2ce81e523c6ee69fa3e5a75f57750bb448a2a7dccb6edac4d52cec8bf75b8"
8
+ "binarySha256": "bea54f2a1e263899cd0a4820cdde8db2ede8527f66fd0faeb1de58c1e21699b7"
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rowsncolumns/rnc-native-linux-x64",
3
- "version": "0.27.0",
3
+ "version": "0.28.1",
4
4
  "author": "Vinay M",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "description": "The rnc engine as a native Linux x86-64 binary (`bin/rnc-native`) for servers: the forced recalculation and the full XLSX export of a whole document past the wasm32 heap. Built from the same commit as @rowsncolumns/rnc-yrs-store at the same version; `manifest.json` (and `bin/rnc-native --version`) names that commit and the sha256 of its wasm.",