@hytopia.com/server-protocol 1.4.38-prerelease → 1.4.38-prerelease3

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.38-prerelease",
3
+ "version": "1.4.38-prerelease3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Entity.ts CHANGED
@@ -20,6 +20,7 @@ export type EntitySchema = {
20
20
  h?: string[]; // model nodes to hide by partial case insensitive match of gltf node names
21
21
  ir?: string; // input resolver function
22
22
  irs?: object; // input resolver state; TODO: this should be a json type?
23
+ is?: number; // input sequence number of this entity update
23
24
  m?: string; // model uri
24
25
  mo?: ModelNodeOverrideSchema[]; // model node overrides, (not implemented yet)
25
26
  mt?: string; // model texture uri (custom override)
@@ -48,6 +49,9 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
48
49
  bt: { type: 'string', nullable: true },
49
50
  e: { type: 'boolean', nullable: true },
50
51
  h: { type: 'array', items: { type: 'string' }, nullable: true },
52
+ ir: { type: 'string', nullable: true },
53
+ irs: { type: 'object', nullable: true },
54
+ is: { type: 'number', nullable: true },
51
55
  m: { type: 'string', nullable: true },
52
56
  mo: { type: 'array', items: { ...modelNodeOverrideSchema }, nullable: true },
53
57
  mt: { type: 'string', nullable: true },