Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopware-ag/dive

Package Overview
Dependencies
Maintainers
0
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-ag/dive - npm Package Compare versions

Comparing version 1.15.1 to 1.15.2

2

package.json
{
"name": "@shopware-ag/dive",
"version": "1.15.1",
"version": "1.15.2",
"description": "Shopware Spatial Framework",

@@ -5,0 +5,0 @@ "type": "module",

@@ -28,3 +28,3 @@ import { DIVECommunication } from '../Communication';

import { type DIVERenderer } from '../../renderer/Renderer';
import { type COMEntity, type COMEntityType, type COMLight, type COMModel, type COMPov, type COMPrimitive } from '../types';
import { type COMGroup, type COMEntity, type COMEntityType, type COMLight, type COMModel, type COMPov, type COMPrimitive } from '../types';
import { type DIVESceneObject } from '../../types';

@@ -520,2 +520,10 @@

testCom.PerformAction('ADD_OBJECT', {
entityType: "group",
id: "group1",
position: { x: 0, y: 0, z: 0 },
rotation: { x: 0, y: 0, z: 0 },
parent: null,
} as COMGroup);
const success = testCom.PerformAction('GET_ALL_SCENE_DATA', {});

@@ -558,2 +566,9 @@ expect(success).toStrictEqual({

},
groups: [{
entityType: "group",
id: "group1",
position: { x: 0, y: 0, z: 0 },
rotation: { x: 0, y: 0, z: 0 },
parent: null,
}],
});

@@ -560,0 +575,0 @@ });

@@ -7,3 +7,3 @@ import { Actions } from "./actions/index.ts";

import { type Color, type MeshStandardMaterial } from "three";
import { type COMLight, type COMModel, type COMEntity, type COMPov, type COMPrimitive } from "./types";
import { type COMLight, type COMModel, type COMEntity, type COMPov, type COMPrimitive, type COMGroup } from "./types";
import { type DIVEScene } from "../scene/Scene.ts";

@@ -244,2 +244,3 @@ import type DIVEToolbox from "../toolbox/Toolbox.ts";

primitives: Array.from(this.registered.values()).filter((object) => object.entityType === 'primitive') as COMPrimitive[],
groups: Array.from(this.registered.values()).filter((object) => object.entityType === 'group') as COMGroup[],
};

@@ -246,0 +247,0 @@ Object.assign(payload, sceneData);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc