@hytopia.com/server-protocol 1.3.63 → 1.3.64

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/Input.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.3.63",
3
+ "version": "1.3.64",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Input.ts CHANGED
@@ -30,6 +30,7 @@ export type InputSchema = {
30
30
  mr?: boolean; // mouse right pressed
31
31
  cp?: number; // camera pitch radians
32
32
  cy?: number; // camera yaw radians
33
+ sn?: number; // sequence number for UDP inputs
33
34
  }
34
35
 
35
36
  export const inputSchema: JSONSchemaType<InputSchema> = {
@@ -64,6 +65,7 @@ export const inputSchema: JSONSchemaType<InputSchema> = {
64
65
  mr: { type: 'boolean', nullable: true },
65
66
  cp: { type: 'number', nullable: true },
66
67
  cy: { type: 'number', nullable: true },
68
+ sn: { type: 'number', nullable: true },
67
69
  },
68
70
  additionalProperties: false,
69
71
  }