@inweb/client 25.3.25 → 25.3.26
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/client.js +12 -6
- package/dist/client.js.map +1 -1
- package/dist/client.min.js +1 -1
- package/dist/client.module.js +4 -4
- package/dist/client.module.js.map +1 -1
- package/package.json +2 -2
- package/src/Api/Client.ts +3 -1
- package/src/Api/File.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/client",
|
|
3
|
-
"version": "25.3.
|
|
3
|
+
"version": "25.3.26",
|
|
4
4
|
"description": "JavaScript REST API client for the Open Cloud Server",
|
|
5
5
|
"homepage": "https://cloud.opendesign.com/docs/index.html",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"ts-docs": "typedoc"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@inweb/eventemitter2": "^25.3.
|
|
29
|
+
"@inweb/eventemitter2": "^25.3.26"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/src/Api/Client.ts
CHANGED
|
@@ -491,7 +491,9 @@ export class Client extends EventEmitter2<ClientEventMap> {
|
|
|
491
491
|
const jobs: string[] = [];
|
|
492
492
|
if (params.geometry) jobs.push((await result.extractGeometry(geometryType)).outputFormat);
|
|
493
493
|
if (params.properties) jobs.push((await result.extractProperties()).outputFormat);
|
|
494
|
-
if (
|
|
494
|
+
if (jobs.length > 0)
|
|
495
|
+
if (params.waitForDone) await result.waitForDone(jobs, true, params);
|
|
496
|
+
else await result.checkout();
|
|
495
497
|
|
|
496
498
|
return result;
|
|
497
499
|
}
|
package/src/Api/File.ts
CHANGED
|
@@ -878,7 +878,9 @@ export class File {
|
|
|
878
878
|
const jobs: string[] = [];
|
|
879
879
|
if (params.geometry) jobs.push((await result.extractGeometry(geometryType)).outputFormat);
|
|
880
880
|
if (params.properties) jobs.push((await result.extractProperties()).outputFormat);
|
|
881
|
-
if (
|
|
881
|
+
if (jobs.length > 0)
|
|
882
|
+
if (params.waitForDone) await result.waitForDone(jobs, true, params);
|
|
883
|
+
else await result.checkout();
|
|
882
884
|
|
|
883
885
|
await this.checkout();
|
|
884
886
|
|