@hytopia.com/server-protocol 1.4.32 → 1.4.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.4.32",
3
+ "version": "1.4.34",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Entity.ts CHANGED
@@ -16,6 +16,7 @@ export type EntitySchema = {
16
16
  as?: string[]; // model animations stop
17
17
  bh?: VectorSchema; // block half extents
18
18
  bt?: string; // block texture uri
19
+ e?: boolean; // environmental
19
20
  h?: string[]; // model nodes to hide by partial case insensitive match of gltf node names
20
21
  m?: string; // model uri
21
22
  mo?: ModelNodeOverrideSchema[]; // model node overrides, (not implemented yet)
@@ -43,6 +44,7 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
43
44
  as: { type: 'array', items: { type: 'string' }, nullable: true },
44
45
  bh: { ...vectorSchema, nullable: true },
45
46
  bt: { type: 'string', nullable: true },
47
+ e: { type: 'boolean', nullable: true },
46
48
  h: { type: 'array', items: { type: 'string' }, nullable: true },
47
49
  m: { type: 'string', nullable: true },
48
50
  mo: { type: 'array', items: { ...modelNodeOverrideSchema }, nullable: true },