@hytopia.com/server-protocol 1.4.38 → 1.4.39

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/UI.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.4.38",
3
+ "version": "1.4.39",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/UI.ts CHANGED
@@ -4,7 +4,7 @@ export type UISchema = {
4
4
  p?: boolean; // pointer lock, true = lock pointer, false = unlock pointer
5
5
  pf?: boolean; // pointer lock freeze, prevents states other than p for pointer lock
6
6
  u?: string; // .html ui uri to load
7
- ua?: string; // .html ui uri to append
7
+ ua?: string[]; // .html ui uri to append
8
8
  };
9
9
 
10
10
  export const uiSchema: JSONSchemaType<UISchema> = {
@@ -13,7 +13,7 @@ export const uiSchema: JSONSchemaType<UISchema> = {
13
13
  p: { type: 'boolean', nullable: true },
14
14
  pf: { type: 'boolean', nullable: true },
15
15
  u: { type: 'string', nullable: true },
16
- ua: { type: 'string', nullable: true },
16
+ ua: { type: 'array', items: { type: 'string' }, nullable: true },
17
17
  },
18
18
  additionalProperties: false,
19
19
  }