@roomle/embedding-lib 5.27.0-alpha.2 → 5.27.0-alpha.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.
@@ -1,18 +1,7 @@
1
- ## [5.27.0-alpha.2](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.27.0-alpha.1...embedding-lib-v5.27.0-alpha.2) (2025-09-02)
1
+ ## [5.27.0-alpha.3](https://github.com/roomle-dev/roomle-ui/compare/embedding-lib-v5.27.0-alpha.2...embedding-lib-v5.27.0-alpha.3) (2025-09-03)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * add recasting for measurement labels to check if the associated line is occluded ([094c80d](https://github.com/roomle-dev/roomle-ui/commit/094c80df3ec9267398f5987943e0cb132d946ff4))
7
- * move the dimensions label from SDK to UI ([fed29f6](https://github.com/roomle-dev/roomle-ui/commit/fed29f6c3b9e5eec3faab3996bfeace271c5c05a))
8
- * smart positions of measurements label and add collision detection between labels ([ebf82c6](https://github.com/roomle-dev/roomle-ui/commit/ebf82c63c6b9a52e939c799d6b9b8f1becff3d6b))
9
- * **core:** upgrade to version 2.59.0-alpha.4 ([d370635](https://github.com/roomle-dev/roomle-ui/commit/d3706359b12d6d258d51d8a8466ef143e7951644))
10
- * **core:** upgrade to version 2.59.0-alpha.5 ([92227a9](https://github.com/roomle-dev/roomle-ui/commit/92227a93bead21f191cd33711ed936426e5ed4b3))
11
- * **core:** upgrade to version 2.59.0-alpha.6 ([222e9b0](https://github.com/roomle-dev/roomle-ui/commit/222e9b008715e1de03bed9c3306e4eb32ffe0949))
12
-
13
-
14
- ### Bug Fixes
15
-
16
- * dimensioning artifact after zoom in ([7a36d6a](https://github.com/roomle-dev/roomle-ui/commit/7a36d6a18c30ed6cae3a10df9c09485d368e838e))
17
- * position of dragged in element when in 2d ([e96a5f9](https://github.com/roomle-dev/roomle-ui/commit/e96a5f95d4279ea9908c8b96a1d30a175cedddbf))
18
- * regenerate lines on camera move 90 degrees ([b089c2e](https://github.com/roomle-dev/roomle-ui/commit/b089c2efe72f3c51d38311d88991bf8e275cdde2))
6
+ * extend swap object to also take planElement id ([8959345](https://github.com/roomle-dev/roomle-ui/commit/89593451ce7225fdeadf319cc64e797f2c620ee8))
7
+ * **core:** upgrade to version 2.59.0-alpha.7 ([9b51309](https://github.com/roomle-dev/roomle-ui/commit/9b51309fe283b0f6f9adcdf25f3a30a9357bab14))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomle/embedding-lib",
3
- "version": "5.27.0-alpha.2",
3
+ "version": "5.27.0-alpha.3",
4
4
  "description": "This is a small library which can be used to communicate with the Roomle Configurator",
5
5
  "type": "module",
6
6
  "main": "./roomle-embedding-lib.umd.js",
@@ -365,11 +365,11 @@ export default class RoomlePlanner<P extends readonly PluginName[] = readonly []
365
365
  calcPartsPriceSum(partList: KernelPartList): Promise<KernelPartListPrice>;
366
366
  /**
367
367
  * Swap two plan objects in the scene in the same position for example swap two object variants
368
- * @param old this is the current selected plan object
368
+ * @param old this is the current selected plan object (runtime ID number or PlanElementViewModel)
369
369
  * @param idOfNew the RAPI id of the new plan object
370
- * returns runtime ID of the new object
370
+ * @returns runtime ID of the new object
371
371
  */
372
- swapObject(old: PlanElementViewModel, idOfNew: RapiId): Promise<number>;
372
+ swapObject(old: number | PlanElementViewModel, idOfNew: RapiId): Promise<number>;
373
373
  exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
374
374
  exportCanvasScreenshot(quality?: number): Promise<string>;
375
375
  /**