@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/build/dive.cjs +1 -1
- package/build/dive.cjs.map +1 -1
- package/build/dive.js +1 -1
- package/build/dive.js.map +1 -1
- package/package.json +1 -1
- package/src/com/Communication.ts +1 -1
- package/src/com/__test__/Communication.test.ts +1 -2
package/package.json
CHANGED
package/src/com/Communication.ts
CHANGED
|
@@ -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').
|
|
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
|
-
|
|
40
|
+
DIVEMediaCreator: jest.fn(function () {
|
|
42
41
|
this.GenerateMedia = jest.fn();
|
|
43
42
|
|
|
44
43
|
return this;
|