@hytopia.com/server-protocol 1.4.53 → 1.4.54

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.53",
3
+ "version": "1.4.54",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Camera.ts CHANGED
@@ -12,6 +12,7 @@ export type CameraSchema = {
12
12
  fv?: number // field of view
13
13
  h?: string[] // player model nodes to hide by partial case insensitive match of gltf node names
14
14
  mp?: boolean // model pitches with camera
15
+ my?: boolean // model yaws with camera
15
16
  o?: VectorSchema // offset - positional relative to target
16
17
  p?: VectorSchema // position to attach camera to
17
18
  pt?: VectorSchema // position to track
@@ -33,6 +34,7 @@ export const cameraSchema: JSONSchemaType<CameraSchema> = {
33
34
  fv: { type: 'number', nullable: true },
34
35
  h: { type: 'array', items: { type: 'string' }, nullable: true },
35
36
  mp: { type: 'boolean', nullable: true },
37
+ my: { type: 'boolean', nullable: true },
36
38
  o: { ...vectorSchema, nullable: true },
37
39
  p: { ...vectorSchema, nullable: true },
38
40
  pt: { ...vectorSchema, nullable: true },