@hytopia.com/server-protocol 1.3.32 → 1.3.33

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.32",
3
+ "version": "1.3.33",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -7,6 +7,7 @@ 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
+ rd?: number; // reference distance
10
11
  rm?: boolean; // remove/removed
11
12
  s?: object; // state
12
13
  t?: string; // template id
@@ -19,6 +20,7 @@ export const sceneUISchema: JSONSchemaType<SceneUISchema> = {
19
20
  e: { type: 'number', nullable: true },
20
21
  o: { ...vectorSchema, nullable: true },
21
22
  p: { ...vectorSchema, nullable: true },
23
+ rd: { type: 'number', nullable: true },
22
24
  rm: { type: 'boolean', nullable: true },
23
25
  s: { type: 'object', nullable: true },
24
26
  t: { type: 'string', nullable: true },