@superdoc-dev/sdk 1.11.0-next.7 → 1.11.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.
package/dist/index.cjs
CHANGED
|
@@ -27,9 +27,9 @@ class BoundRuntime {
|
|
|
27
27
|
}
|
|
28
28
|
async invoke(operation, params = {}, options = {}) {
|
|
29
29
|
if (this.closed) {
|
|
30
|
-
throw new errors.SuperDocCliError(
|
|
30
|
+
throw new errors.SuperDocCliError(`Document handle is closed; cannot invoke ${operation.operationId}.`, {
|
|
31
31
|
code: 'DOCUMENT_CLOSED',
|
|
32
|
-
details: { sessionId: this.sessionId },
|
|
32
|
+
details: { sessionId: this.sessionId, operationId: operation.operationId },
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
return this.runtime.invoke(operation, { ...params, sessionId: this.sessionId }, options);
|
package/dist/index.js
CHANGED
|
@@ -21,9 +21,9 @@ class BoundRuntime {
|
|
|
21
21
|
}
|
|
22
22
|
async invoke(operation, params = {}, options = {}) {
|
|
23
23
|
if (this.closed) {
|
|
24
|
-
throw new SuperDocCliError(
|
|
24
|
+
throw new SuperDocCliError(`Document handle is closed; cannot invoke ${operation.operationId}.`, {
|
|
25
25
|
code: 'DOCUMENT_CLOSED',
|
|
26
|
-
details: { sessionId: this.sessionId },
|
|
26
|
+
details: { sessionId: this.sessionId, operationId: operation.operationId },
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
return this.runtime.invoke(operation, { ...params, sessionId: this.sessionId }, options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/sdk",
|
|
3
|
-
"version": "1.11.0-next.
|
|
3
|
+
"version": "1.11.0-next.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"typescript": "^5.9.2"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@superdoc-dev/sdk-darwin-arm64": "1.11.0-next.
|
|
30
|
-
"@superdoc-dev/sdk-
|
|
31
|
-
"@superdoc-dev/sdk-
|
|
32
|
-
"@superdoc-dev/sdk-linux-arm64": "1.11.0-next.
|
|
33
|
-
"@superdoc-dev/sdk-windows-x64": "1.11.0-next.
|
|
29
|
+
"@superdoc-dev/sdk-darwin-arm64": "1.11.0-next.8",
|
|
30
|
+
"@superdoc-dev/sdk-darwin-x64": "1.11.0-next.8",
|
|
31
|
+
"@superdoc-dev/sdk-linux-x64": "1.11.0-next.8",
|
|
32
|
+
"@superdoc-dev/sdk-linux-arm64": "1.11.0-next.8",
|
|
33
|
+
"@superdoc-dev/sdk-windows-x64": "1.11.0-next.8"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
Binary file
|
|
Binary file
|