@superdoc/sdk 2.12.0-next.6 → 2.12.0-next.8

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.
@@ -10728,7 +10728,7 @@ const CONTRACT = {
10728
10728
  "command": [
10729
10729
  "open"
10730
10730
  ],
10731
- "description": "Open a document and create a persistent v2 editing session. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
10731
+ "description": "Open a document and create a persistent v2 editing session. Content override atomically initializes a blank document or replaces a template body. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
10732
10732
  "category": "session",
10733
10733
  "stability": "stable",
10734
10734
  "mutates": true,
@@ -10738,7 +10738,8 @@ const CONTRACT = {
10738
10738
  "examples": [
10739
10739
  "superdoc open my-doc.docx",
10740
10740
  "superdoc open --content-override \"# Title\\n\\nBody text\" --override-type markdown",
10741
- "superdoc open template.docx --content-override '<p>ALPHA01</p><p>BRAVO02</p>' --override-type html"
10741
+ "superdoc open template.docx --content-override '<p>ALPHA01</p><p>BRAVO02</p>' --override-type html",
10742
+ "superdoc open my-doc.docx --collaboration-json '{\"url\":\"wss://collab.example.com\"}'"
10742
10743
  ],
10743
10744
  "errors": []
10744
10745
  },
@@ -308506,7 +308507,7 @@ const CONTRACT = {
308506
308507
  "open"
308507
308508
  ],
308508
308509
  "category": "session",
308509
- "description": "Open a document and create a persistent v2 editing session. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
308510
+ "description": "Open a document and create a persistent v2 editing session. Content override atomically initializes a blank document or replaces a template body. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
308510
308511
  "requiresDocumentContext": false,
308511
308512
  "docRequirement": "none",
308512
308513
  "responseEnvelopeKey": null,
@@ -308714,13 +308715,15 @@ const CONTRACT = {
308714
308715
  "name": "contentOverride",
308715
308716
  "kind": "flag",
308716
308717
  "type": "string",
308717
- "flag": "content-override"
308718
+ "flag": "content-override",
308719
+ "description": "Complete main-body content. Requires --override-type and cannot be combined with collaboration."
308718
308720
  },
308719
308721
  {
308720
308722
  "name": "overrideType",
308721
308723
  "kind": "flag",
308722
308724
  "type": "string",
308723
- "flag": "override-type"
308725
+ "flag": "override-type",
308726
+ "description": "Content format for --content-override: markdown, html, or text. Required when --content-override is present."
308724
308727
  },
308725
308728
  {
308726
308729
  "name": "roomMode",
@@ -308949,10 +308952,12 @@ const CONTRACT = {
308949
308952
  "description": "Tracked-change projection options for the opened session."
308950
308953
  },
308951
308954
  "contentOverride": {
308952
- "type": "string"
308955
+ "type": "string",
308956
+ "description": "Complete main-body content. Requires --override-type and cannot be combined with collaboration."
308953
308957
  },
308954
308958
  "overrideType": {
308955
- "type": "string"
308959
+ "type": "string",
308960
+ "description": "Content format for --content-override: markdown, html, or text. Required when --content-override is present."
308956
308961
  },
308957
308962
  "roomMode": {
308958
308963
  "type": "string",
@@ -13644,7 +13644,7 @@ export const CONTRACT = {
13644
13644
  "command": [
13645
13645
  "open"
13646
13646
  ],
13647
- "description": "Open a document and create a persistent v2 editing session. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
13647
+ "description": "Open a document and create a persistent v2 editing session. Content override atomically initializes a blank document or replaces a template body. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
13648
13648
  "category": "session",
13649
13649
  "stability": "stable",
13650
13650
  "mutates": true,
@@ -13654,7 +13654,8 @@ export const CONTRACT = {
13654
13654
  "examples": [
13655
13655
  "superdoc open my-doc.docx",
13656
13656
  "superdoc open --content-override \"# Title\\n\\nBody text\" --override-type markdown",
13657
- "superdoc open template.docx --content-override '<p>ALPHA01</p><p>BRAVO02</p>' --override-type html"
13657
+ "superdoc open template.docx --content-override '<p>ALPHA01</p><p>BRAVO02</p>' --override-type html",
13658
+ "superdoc open my-doc.docx --collaboration-json '{\"url\":\"wss://collab.example.com\"}'"
13658
13659
  ],
13659
13660
  "errors": []
13660
13661
  },
@@ -311422,7 +311423,7 @@ export const CONTRACT = {
311422
311423
  "open"
311423
311424
  ],
311424
311425
  "category": "session",
311425
- "description": "Open a document and create a persistent v2 editing session. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
311426
+ "description": "Open a document and create a persistent v2 editing session. Content override atomically initializes a blank document or replaces a template body. V2 single-socket collaboration supports y-websocket, Hocuspocus, and Liveblocks.",
311426
311427
  "requiresDocumentContext": false,
311427
311428
  "docRequirement": "none",
311428
311429
  "responseEnvelopeKey": null,
@@ -311630,13 +311631,15 @@ export const CONTRACT = {
311630
311631
  "name": "contentOverride",
311631
311632
  "kind": "flag",
311632
311633
  "type": "string",
311633
- "flag": "content-override"
311634
+ "flag": "content-override",
311635
+ "description": "Complete main-body content. Requires --override-type and cannot be combined with collaboration."
311634
311636
  },
311635
311637
  {
311636
311638
  "name": "overrideType",
311637
311639
  "kind": "flag",
311638
311640
  "type": "string",
311639
- "flag": "override-type"
311641
+ "flag": "override-type",
311642
+ "description": "Content format for --content-override: markdown, html, or text. Required when --content-override is present."
311640
311643
  },
311641
311644
  {
311642
311645
  "name": "roomMode",
@@ -311865,10 +311868,12 @@ export const CONTRACT = {
311865
311868
  "description": "Tracked-change projection options for the opened session."
311866
311869
  },
311867
311870
  "contentOverride": {
311868
- "type": "string"
311871
+ "type": "string",
311872
+ "description": "Complete main-body content. Requires --override-type and cannot be combined with collaboration."
311869
311873
  },
311870
311874
  "overrideType": {
311871
- "type": "string"
311875
+ "type": "string",
311876
+ "description": "Content format for --content-override: markdown, html, or text. Required when --content-override is present."
311872
311877
  },
311873
311878
  "roomMode": {
311874
311879
  "type": "string",
@@ -3,6 +3,6 @@
3
3
  // AUTO-GENERATED by scripts/embed-version.mjs — DO NOT EDIT.
4
4
  // Source of truth: package.json. Regenerated on every SDK build so the
5
5
  // SDK retains its own version identity when bundled into another package.
6
- const SDK_VERSION = '2.12.0-next.6';
6
+ const SDK_VERSION = '2.12.0-next.8';
7
7
 
8
8
  exports.SDK_VERSION = SDK_VERSION;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.12.0-next.6";
1
+ export declare const SDK_VERSION = "2.12.0-next.8";
@@ -1,4 +1,4 @@
1
1
  // AUTO-GENERATED by scripts/embed-version.mjs — DO NOT EDIT.
2
2
  // Source of truth: package.json. Regenerated on every SDK build so the
3
3
  // SDK retains its own version identity when bundled into another package.
4
- export const SDK_VERSION = '2.12.0-next.6';
4
+ export const SDK_VERSION = '2.12.0-next.8';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc/sdk",
3
- "version": "2.12.0-next.6",
3
+ "version": "2.12.0-next.8",
4
4
  "description": "Node SDK for SuperDoc, wrapping the SuperDoc CLI to read and edit .docx files from JavaScript and TypeScript.",
5
5
  "private": false,
6
6
  "license": "AGPL-3.0",
@@ -38,11 +38,11 @@
38
38
  "typescript": "^5.9.2"
39
39
  },
40
40
  "optionalDependencies": {
41
- "@superdoc/sdk-darwin-arm64": "2.12.0-next.6",
42
- "@superdoc/sdk-darwin-x64": "2.12.0-next.6",
43
- "@superdoc/sdk-linux-x64": "2.12.0-next.6",
44
- "@superdoc/sdk-linux-arm64": "2.12.0-next.6",
45
- "@superdoc/sdk-windows-x64": "2.12.0-next.6"
41
+ "@superdoc/sdk-darwin-arm64": "2.12.0-next.8",
42
+ "@superdoc/sdk-darwin-x64": "2.12.0-next.8",
43
+ "@superdoc/sdk-linux-x64": "2.12.0-next.8",
44
+ "@superdoc/sdk-linux-arm64": "2.12.0-next.8",
45
+ "@superdoc/sdk-windows-x64": "2.12.0-next.8"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"