@superdoc/sdk 2.16.0-next.1 → 2.16.0-next.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.
@@ -100823,8 +100823,9 @@ export type DocTrackChangesListResult = {
100823
100823
  format?: string;
100824
100824
  };
100825
100825
  revisionGroupId?: string;
100826
- reviewGroup?: {
100826
+ reviewGroup?: ({
100827
100827
  kind: "text-rewrite";
100828
+ groupOrigin: "authored-operation";
100828
100829
  role: "parent" | "child";
100829
100830
  parentId?: string;
100830
100831
  childChangeIds: Array<string>;
@@ -100839,7 +100840,24 @@ export type DocTrackChangesListResult = {
100839
100840
  rsids?: Array<string>;
100840
100841
  };
100841
100842
  }>;
100842
- };
100843
+ }) | ({
100844
+ kind: "comparison-hunk";
100845
+ groupOrigin: "comparison-hunk";
100846
+ role: "parent" | "child";
100847
+ parentId?: string;
100848
+ childChangeIds: Array<string>;
100849
+ members: Array<{
100850
+ id: string;
100851
+ type: "insertion" | "deletion" | "replacement" | "formatting" | "move" | "structural" | "insert" | "delete" | "format";
100852
+ subtype: string;
100853
+ sourceIds: {
100854
+ wordIdInsert?: string;
100855
+ wordIdDelete?: string;
100856
+ wordIdOther?: Array<string>;
100857
+ rsids?: Array<string>;
100858
+ };
100859
+ }>;
100860
+ });
100843
100861
  author?: string;
100844
100862
  authorEmail?: string;
100845
100863
  authorImage?: string;
@@ -101129,8 +101147,9 @@ export type DocTrackChangesGetResult = {
101129
101147
  format?: string;
101130
101148
  };
101131
101149
  revisionGroupId?: string;
101132
- reviewGroup?: {
101150
+ reviewGroup?: ({
101133
101151
  kind: "text-rewrite";
101152
+ groupOrigin: "authored-operation";
101134
101153
  role: "parent" | "child";
101135
101154
  parentId?: string;
101136
101155
  childChangeIds: Array<string>;
@@ -101145,7 +101164,24 @@ export type DocTrackChangesGetResult = {
101145
101164
  rsids?: Array<string>;
101146
101165
  };
101147
101166
  }>;
101148
- };
101167
+ }) | ({
101168
+ kind: "comparison-hunk";
101169
+ groupOrigin: "comparison-hunk";
101170
+ role: "parent" | "child";
101171
+ parentId?: string;
101172
+ childChangeIds: Array<string>;
101173
+ members: Array<{
101174
+ id: string;
101175
+ type: "insertion" | "deletion" | "replacement" | "formatting" | "move" | "structural" | "insert" | "delete" | "format";
101176
+ subtype: string;
101177
+ sourceIds: {
101178
+ wordIdInsert?: string;
101179
+ wordIdDelete?: string;
101180
+ wordIdOther?: Array<string>;
101181
+ rsids?: Array<string>;
101182
+ };
101183
+ }>;
101184
+ });
101149
101185
  splitFromId?: string | null;
101150
101186
  replacement?: {
101151
101187
  inserted: ({
@@ -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.16.0-next.1';
6
+ const SDK_VERSION = '2.16.0-next.3';
7
7
 
8
8
  exports.SDK_VERSION = SDK_VERSION;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.16.0-next.1";
1
+ export declare const SDK_VERSION = "2.16.0-next.3";
@@ -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.16.0-next.1';
4
+ export const SDK_VERSION = '2.16.0-next.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc/sdk",
3
- "version": "2.16.0-next.1",
3
+ "version": "2.16.0-next.3",
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.16.0-next.1",
42
- "@superdoc/sdk-darwin-x64": "2.16.0-next.1",
43
- "@superdoc/sdk-linux-x64": "2.16.0-next.1",
44
- "@superdoc/sdk-linux-arm64": "2.16.0-next.1",
45
- "@superdoc/sdk-windows-x64": "2.16.0-next.1"
41
+ "@superdoc/sdk-darwin-arm64": "2.16.0-next.3",
42
+ "@superdoc/sdk-darwin-x64": "2.16.0-next.3",
43
+ "@superdoc/sdk-linux-x64": "2.16.0-next.3",
44
+ "@superdoc/sdk-linux-arm64": "2.16.0-next.3",
45
+ "@superdoc/sdk-windows-x64": "2.16.0-next.3"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
@@ -43,5 +43,5 @@
43
43
  "mutates": true
44
44
  }
45
45
  ],
46
- "contractHash": "1954c56d3b5bad5bc3d8760a9d205bfd5f0c1dd9357892333e5a356d36d58eb6"
46
+ "contractHash": "d9fdffba5ed106832e9ef43a32722e043a0ed0be540e8ccd7b0c3e5978f87c94"
47
47
  }