@hytopia.com/server-protocol 1.4.56-dev6 → 1.4.56

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.4.56-dev6",
3
+ "version": "1.4.56",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -13,9 +13,12 @@ export type ModelNodeOverrideSchema = {
13
13
  ei?: number; // emissive intensity
14
14
  h?: boolean; // hidden
15
15
  p?: VectorSchema; // local position
16
+ pi?: number; // local position interpolation time in milliseconds
16
17
  r?: QuaternionSchema; // local rotation
18
+ ri?: number; // local rotation interpolation time in milliseconds
17
19
  rm?: boolean; // removed/remove
18
20
  s?: VectorSchema; // local scale
21
+ si?: number; // local scale interpolation time in milliseconds
19
22
  }
20
23
 
21
24
  export const modelNodeOverrideSchema: JSONSchemaType<ModelNodeOverrideSchema> = {
@@ -26,9 +29,12 @@ export const modelNodeOverrideSchema: JSONSchemaType<ModelNodeOverrideSchema> =
26
29
  ei: { type: 'number', nullable: true },
27
30
  h: { type: 'boolean', nullable: true },
28
31
  p: { ...vectorSchema, nullable: true },
32
+ pi: { type: 'number', nullable: true },
29
33
  r: { ...quaternionSchema, nullable: true },
34
+ ri: { type: 'number', nullable: true },
30
35
  rm: { type: 'boolean', nullable: true },
31
36
  s: { ...vectorSchema, nullable: true },
37
+ si: { type: 'number', nullable: true },
32
38
  },
33
39
  required: [ 'n' ],
34
40
  additionalProperties: false,