@hytopia.com/server-protocol 1.3.13 → 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.13",
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,8 +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
- bt?: string; // block texture uri
13
12
  bh?: VectorSchema; // block half extents
13
+ bt?: string; // block texture uri
14
14
  m?: string; // model uri
15
15
  n?: string; // name
16
16
  p?: VectorSchema; // position
@@ -26,8 +26,8 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
26
26
  al: { type: 'array', items: { type: 'string' }, nullable: true },
27
27
  ao: { type: 'array', items: { type: 'string' }, nullable: true },
28
28
  as: { type: 'array', items: { type: 'string' }, nullable: true },
29
- bt: { type: 'string', nullable: true },
30
29
  bh: { ...vectorSchema, nullable: true },
30
+ bt: { type: 'string', nullable: true },
31
31
  m: { type: 'string', nullable: true },
32
32
  n: { type: 'string', nullable: true },
33
33
  p: { ...vectorSchema, nullable: true },