@hytopia.com/server-protocol 1.4.3 → 1.4.4

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.3",
3
+ "version": "1.4.4",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Entity.ts CHANGED
@@ -19,6 +19,7 @@ export type EntitySchema = {
19
19
  h?: string[]; // model parts to hide
20
20
  m?: string; // model uri
21
21
  mo?: ModelNodeOverrideSchema[]; // model node overrides
22
+ mt?: string; // model texture uri (custom override)
22
23
  n?: string; // name
23
24
  o?: number; // opacity
24
25
  p?: VectorSchema; // position
@@ -43,6 +44,7 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
43
44
  h: { type: 'array', items: { type: 'string' }, nullable: true },
44
45
  m: { type: 'string', nullable: true },
45
46
  mo: { type: 'array', items: { ...modelNodeOverrideSchema }, nullable: true },
47
+ mt: { type: 'string', nullable: true },
46
48
  n: { type: 'string', nullable: true },
47
49
  o: { type: 'number', nullable: true },
48
50
  p: { ...vectorSchema, nullable: true },