@hytopia.com/server-protocol 1.3.12 → 1.3.14

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.12",
3
+ "version": "1.3.14",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Entity.ts CHANGED
@@ -9,6 +9,8 @@ export type EntitySchema = {
9
9
  al?: string[]; // model animations looped
10
10
  ao?: string[]; // model animations one shot
11
11
  as?: string[]; // model animations stop
12
+ bh?: VectorSchema; // block half extents
13
+ bt?: string; // block texture uri
12
14
  m?: string; // model uri
13
15
  n?: string; // name
14
16
  p?: VectorSchema; // position
@@ -24,6 +26,8 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
24
26
  al: { type: 'array', items: { type: 'string' }, nullable: true },
25
27
  ao: { type: 'array', items: { type: 'string' }, nullable: true },
26
28
  as: { type: 'array', items: { type: 'string' }, nullable: true },
29
+ bh: { ...vectorSchema, nullable: true },
30
+ bt: { type: 'string', nullable: true },
27
31
  m: { type: 'string', nullable: true },
28
32
  n: { type: 'string', nullable: true },
29
33
  p: { ...vectorSchema, nullable: true },