@hytopia.com/server-protocol 1.3.33 → 1.3.34

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.33",
3
+ "version": "1.3.34",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -7,10 +7,10 @@ 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
11
10
  rm?: boolean; // remove/removed
12
11
  s?: object; // state
13
12
  t?: string; // template id
13
+ v?: number; // view distance
14
14
  }
15
15
 
16
16
  export const sceneUISchema: JSONSchemaType<SceneUISchema> = {
@@ -20,10 +20,10 @@ export const sceneUISchema: JSONSchemaType<SceneUISchema> = {
20
20
  e: { type: 'number', nullable: true },
21
21
  o: { ...vectorSchema, nullable: true },
22
22
  p: { ...vectorSchema, nullable: true },
23
- rd: { type: 'number', nullable: true },
24
23
  rm: { type: 'boolean', nullable: true },
25
24
  s: { type: 'object', nullable: true },
26
25
  t: { type: 'string', nullable: true },
26
+ v: { type: 'number', nullable: true },
27
27
  },
28
28
  required: ['i'],
29
29
  additionalProperties: false,