@inweb/viewer-core 26.12.7 → 27.1.0

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.
@@ -180,8 +180,8 @@ export interface IViewer extends IEventEmitter, ICommandService {
180
180
  * @param params.mode - File opening mode. Can be one of:
181
181
  *
182
182
  * - `file` - Single file mode. Unloads an open file and opens a new one. This is default mode.
183
- * - `assembly` - Assembly mode. Appends a file to an already open file (). This mode is not supported
184
- * for all viewers.
183
+ * - `assembly` - Assembly mode. Appends a file to an already open file. This mode is not supported for
184
+ * all viewers.
185
185
  *
186
186
  * @param params.modelId - Unique model ID in the assembly (multi-model scene). Used as a model prefix
187
187
  * when selecting objects (see {@link getSelected2}). Must not contain the ":" (colon). Required when
@@ -548,7 +548,11 @@ export interface UpdateEvent {
548
548
  /**
549
549
  * `true` to force the update, otherwise the update is delayed until the next animation frame.
550
550
  */
551
- data: boolean;
551
+ force: boolean;
552
+ /**
553
+ * Deprecated since `27.0`. Use `force` instead.
554
+ */
555
+ data?: boolean;
552
556
  }
553
557
  /**
554
558
  * Deprecated since `25.4`. Use {@link InitializeProgressEvent | initializeprogress} instead.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inweb/viewer-core",
3
- "version": "26.12.7",
3
+ "version": "27.1.0",
4
4
  "description": "3D CAD and BIM data Viewer core",
5
5
  "homepage": "https://cloud.opendesign.com/docs/index.html",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -26,7 +26,7 @@
26
26
  "test": "karma start karma.conf.js"
27
27
  },
28
28
  "dependencies": {
29
- "@inweb/client": "~26.12.7",
30
- "@inweb/eventemitter2": "~26.12.7"
29
+ "@inweb/client": "~27.1.0",
30
+ "@inweb/eventemitter2": "~27.1.0"
31
31
  }
32
32
  }
@@ -218,8 +218,8 @@ export interface IViewer extends IEventEmitter, ICommandService {
218
218
  * @param params.mode - File opening mode. Can be one of:
219
219
  *
220
220
  * - `file` - Single file mode. Unloads an open file and opens a new one. This is default mode.
221
- * - `assembly` - Assembly mode. Appends a file to an already open file (). This mode is not supported
222
- * for all viewers.
221
+ * - `assembly` - Assembly mode. Appends a file to an already open file. This mode is not supported for
222
+ * all viewers.
223
223
  *
224
224
  * @param params.modelId - Unique model ID in the assembly (multi-model scene). Used as a model prefix
225
225
  * when selecting objects (see {@link getSelected2}). Must not contain the ":" (colon). Required when
@@ -645,7 +645,12 @@ export interface UpdateEvent {
645
645
  /**
646
646
  * `true` to force the update, otherwise the update is delayed until the next animation frame.
647
647
  */
648
- data: boolean;
648
+ force: boolean;
649
+
650
+ /**
651
+ * Deprecated since `27.0`. Use `force` instead.
652
+ */
653
+ data?: boolean;
649
654
  }
650
655
 
651
656
  /**