@hytopia.com/server-protocol 1.4.1 → 1.4.2

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 +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Input.ts CHANGED
@@ -23,6 +23,14 @@ export type InputSchema = {
23
23
  x?: boolean; // x key pressed
24
24
  c?: boolean; // c key pressed
25
25
  v?: boolean; // v key pressed
26
+ u?: boolean; // u key pressed
27
+ i?: boolean; // i key pressed
28
+ o?: boolean; // o key pressed
29
+ j?: boolean; // j key pressed
30
+ k?: boolean; // k key pressed
31
+ l?: boolean; // l key pressed
32
+ n?: boolean; // n key pressed
33
+ m?: boolean; // m key pressed
26
34
  sp?: boolean; // space key pressed
27
35
  sh?: boolean; // shift key pressed
28
36
  tb?: boolean; // tab key pressed
@@ -58,6 +66,14 @@ export const inputSchema: JSONSchemaType<InputSchema> = {
58
66
  x: { type: 'boolean', nullable: true },
59
67
  c: { type: 'boolean', nullable: true },
60
68
  v: { type: 'boolean', nullable: true },
69
+ u: { type: 'boolean', nullable: true },
70
+ i: { type: 'boolean', nullable: true },
71
+ o: { type: 'boolean', nullable: true },
72
+ j: { type: 'boolean', nullable: true },
73
+ k: { type: 'boolean', nullable: true },
74
+ l: { type: 'boolean', nullable: true },
75
+ n: { type: 'boolean', nullable: true },
76
+ m: { type: 'boolean', nullable: true },
61
77
  sp: { type: 'boolean', nullable: true },
62
78
  sh: { type: 'boolean', nullable: true },
63
79
  tb: { type: 'boolean', nullable: true },