@inweb/viewer-visualize 25.8.12 → 25.8.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inweb/viewer-visualize",
3
- "version": "25.8.12",
3
+ "version": "25.8.13",
4
4
  "description": "3D CAD and BIM data Viewer powered by Visualize",
5
5
  "homepage": "https://cloud.opendesign.com/docs/index.html",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -29,10 +29,10 @@
29
29
  "docs": "typedoc"
30
30
  },
31
31
  "dependencies": {
32
- "@inweb/client": "~25.8.12",
33
- "@inweb/eventemitter2": "~25.8.12",
34
- "@inweb/markup": "~25.8.12",
35
- "@inweb/viewer-core": "~25.8.12"
32
+ "@inweb/client": "~25.8.13",
33
+ "@inweb/eventemitter2": "~25.8.13",
34
+ "@inweb/markup": "~25.8.13",
35
+ "@inweb/viewer-core": "~25.8.13"
36
36
  },
37
37
  "visualizeJS": "https://opencloud.azureedge.net/libs/visualizejs/master/Visualize.js"
38
38
  }
@@ -187,21 +187,19 @@ export class VsfXPartialLoader extends BaseLoader {
187
187
  try {
188
188
  this.viewer.emitEvent({ type: "geometrystart", model: this.model });
189
189
 
190
- await this.model
191
- .downloadResource(this.model.database, chunkLoadHandler, abortController.signal)
192
- .catch((error) => {
193
- if (!servicePartAborted) throw error;
194
- });
190
+ await this.model.downloadResource(this.model.database, chunkLoadHandler, abortController.signal).catch((e) => {
191
+ if (!servicePartAborted) throw e;
192
+ });
195
193
 
196
194
  this.viewer.emitEvent({ type: "geometryend", model: this.model });
197
- } catch (error: any) {
195
+ } catch (e: any) {
198
196
  if (pendingRequestsTimerId) {
199
197
  window.clearTimeout(pendingRequestsTimerId);
200
198
  pendingRequestsTimerId = 0;
201
199
  }
202
200
 
203
- this.viewer.emitEvent({ type: "geometryerror", data: error, model: this.model });
204
- throw error;
201
+ this.viewer.emitEvent({ type: "geometryerror", data: e, model: this.model });
202
+ throw e;
205
203
  }
206
204
  }
207
205
  }