@shopware-ag/dive 1.6.2 → 1.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/dive",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "Shopware Spatial Framework",
5
5
  "type": "module",
6
6
  "main": "./build/dive.cjs",
@@ -53,7 +53,7 @@ export default class DIVECommunication {
53
53
  private _mediaGenerator: DIVEMediaCreator | null;
54
54
  private get mediaGenerator(): DIVEMediaCreator {
55
55
  if (!this._mediaGenerator) {
56
- const DIVEMediaCreator = require('../mediacreator/MediaCreator.ts').default as typeof import('../mediacreator/MediaCreator.ts').DIVEMediaCreator;
56
+ const DIVEMediaCreator = require('../mediacreator/MediaCreator.ts').DIVEMediaCreator as typeof import('../mediacreator/MediaCreator.ts').DIVEMediaCreator;
57
57
  this._mediaGenerator = new DIVEMediaCreator(this.renderer, this.scene, this.controller);
58
58
  }
59
59
  return this._mediaGenerator;
@@ -28,7 +28,6 @@ import type DIVEOrbitControls from '../../controls/OrbitControls';
28
28
  import { type DIVERenderer } from '../../renderer/Renderer';
29
29
  import { type COMLight, type COMModel, type COMPov } from '../types';
30
30
  import { type Object3D } from 'three';
31
- import { DIVESelectTool, isSelectTool } from '../../toolbox/select/SelectTool';
32
31
 
33
32
  jest.mock('three/src/math/MathUtils', () => {
34
33
  return {
@@ -38,7 +37,7 @@ jest.mock('three/src/math/MathUtils', () => {
38
37
 
39
38
  jest.mock('../../mediacreator/MediaCreator', () => {
40
39
  return {
41
- default: jest.fn(function () {
40
+ DIVEMediaCreator: jest.fn(function () {
42
41
  this.GenerateMedia = jest.fn();
43
42
 
44
43
  return this;