@hytopia.com/server-protocol 1.3.28 → 1.3.30

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": "@hytopia.com/server-protocol",
3
- "version": "1.3.28",
3
+ "version": "1.3.30",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -7,6 +7,8 @@ export type SceneUISchema = {
7
7
  e?: number; // entity attachment, follows entity id
8
8
  o?: VectorSchema; // offset
9
9
  p?: VectorSchema; // spatial position of ui
10
+ rm?: boolean; // remove/removed
11
+ s?: object; // state
10
12
  t?: string; // template id
11
13
  }
12
14
 
@@ -17,6 +19,8 @@ export const sceneUISchema: JSONSchemaType<SceneUISchema> = {
17
19
  e: { type: 'number', nullable: true },
18
20
  o: { ...vectorSchema, nullable: true },
19
21
  p: { ...vectorSchema, nullable: true },
22
+ rm: { type: 'boolean', nullable: true },
23
+ s: { type: 'object', nullable: true },
20
24
  t: { type: 'string', nullable: true },
21
25
  },
22
26
  required: ['i'],