tachyon-protocol 1.5.3 → 1.6.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 (56) hide show
  1. package/dist/index.d.mts +214 -31
  2. package/dist/index.d.ts +214 -31
  3. package/dist/index.js +5 -7
  4. package/dist/index.mjs +2 -2
  5. package/dist/validators.d.mts +52 -3
  6. package/dist/validators.d.ts +52 -3
  7. package/dist/validators.js +1 -1
  8. package/dist/validators.mjs +3 -6
  9. package/package.json +26 -17
  10. package/dist/autohost/slave/request.json +0 -34
  11. package/dist/autohost/slave/response.json +0 -107
  12. package/dist/autohost/unslave/request.json +0 -20
  13. package/dist/autohost/unslave/response.json +0 -107
  14. package/dist/game/launch/response.json +0 -117
  15. package/dist/lobby/close/request.json +0 -18
  16. package/dist/lobby/close/response.json +0 -105
  17. package/dist/lobby/create/request.json +0 -55
  18. package/dist/lobby/create/response.json +0 -157
  19. package/dist/lobby/join/request.json +0 -39
  20. package/dist/lobby/join/response.json +0 -287
  21. package/dist/lobby/joined/response.json +0 -548
  22. package/dist/lobby/leave/request.json +0 -18
  23. package/dist/lobby/leave/response.json +0 -131
  24. package/dist/lobby/left/response.json +0 -105
  25. package/dist/lobby/list/request.json +0 -18
  26. package/dist/lobby/list/response.json +0 -698
  27. package/dist/lobby/receiveMessage/response.json +0 -127
  28. package/dist/lobby/sendMessage/request.json +0 -36
  29. package/dist/lobby/sendMessage/response.json +0 -157
  30. package/dist/lobby/subscribe/request.json +0 -33
  31. package/dist/lobby/subscribe/response.json +0 -105
  32. package/dist/lobby/unsubscribe/request.json +0 -30
  33. package/dist/lobby/unsubscribe/response.json +0 -131
  34. package/dist/lobby/updated/response.json +0 -603
  35. package/dist/matchmaking/cancel/request.json +0 -18
  36. package/dist/matchmaking/cancel/response.json +0 -131
  37. package/dist/matchmaking/found/response.json +0 -117
  38. package/dist/matchmaking/list/request.json +0 -18
  39. package/dist/matchmaking/list/response.json +0 -158
  40. package/dist/matchmaking/lost/response.json +0 -105
  41. package/dist/matchmaking/queue/request.json +0 -34
  42. package/dist/matchmaking/queue/response.json +0 -157
  43. package/dist/matchmaking/queueUpdate/response.json +0 -117
  44. package/dist/matchmaking/ready/request.json +0 -18
  45. package/dist/matchmaking/ready/response.json +0 -131
  46. package/dist/matchmaking/readyUpdate/response.json +0 -121
  47. package/dist/system/connected/response.json +0 -335
  48. package/dist/system/disconnect/request.json +0 -29
  49. package/dist/system/disconnect/response.json +0 -105
  50. package/dist/system/serverStats/request.json +0 -18
  51. package/dist/system/serverStats/response.json +0 -117
  52. package/dist/user/subscribe/request.json +0 -33
  53. package/dist/user/subscribe/response.json +0 -318
  54. package/dist/user/unsubscribe/request.json +0 -33
  55. package/dist/user/unsubscribe/response.json +0 -131
  56. package/dist/user/updated/response.json +0 -331
@@ -1,157 +0,0 @@
1
- {
2
- "$id": "lobby/create/response",
3
- "roles": [],
4
- "anyOf": [
5
- {
6
- "type": "object",
7
- "properties": {
8
- "messageId": {
9
- "type": "string"
10
- },
11
- "commandId": {
12
- "const": "lobby/create/response",
13
- "type": "string"
14
- },
15
- "status": {
16
- "const": "success",
17
- "type": "string"
18
- }
19
- },
20
- "required": [
21
- "messageId",
22
- "commandId",
23
- "status"
24
- ]
25
- },
26
- {
27
- "type": "object",
28
- "properties": {
29
- "messageId": {
30
- "type": "string"
31
- },
32
- "commandId": {
33
- "const": "lobby/create/response",
34
- "type": "string"
35
- },
36
- "status": {
37
- "const": "failed",
38
- "type": "string"
39
- },
40
- "reason": {
41
- "const": "no_hosts_available",
42
- "type": "string"
43
- }
44
- },
45
- "required": [
46
- "messageId",
47
- "commandId",
48
- "status",
49
- "reason"
50
- ]
51
- },
52
- {
53
- "type": "object",
54
- "properties": {
55
- "messageId": {
56
- "type": "string"
57
- },
58
- "commandId": {
59
- "const": "lobby/create/response",
60
- "type": "string"
61
- },
62
- "status": {
63
- "const": "failed",
64
- "type": "string"
65
- },
66
- "reason": {
67
- "const": "invalid_region",
68
- "type": "string"
69
- }
70
- },
71
- "required": [
72
- "messageId",
73
- "commandId",
74
- "status",
75
- "reason"
76
- ]
77
- },
78
- {
79
- "type": "object",
80
- "properties": {
81
- "messageId": {
82
- "type": "string"
83
- },
84
- "commandId": {
85
- "const": "lobby/create/response",
86
- "type": "string"
87
- },
88
- "status": {
89
- "const": "failed",
90
- "type": "string"
91
- },
92
- "reason": {
93
- "const": "internal_error",
94
- "type": "string"
95
- }
96
- },
97
- "required": [
98
- "messageId",
99
- "commandId",
100
- "status",
101
- "reason"
102
- ]
103
- },
104
- {
105
- "type": "object",
106
- "properties": {
107
- "messageId": {
108
- "type": "string"
109
- },
110
- "commandId": {
111
- "const": "lobby/create/response",
112
- "type": "string"
113
- },
114
- "status": {
115
- "const": "failed",
116
- "type": "string"
117
- },
118
- "reason": {
119
- "const": "unauthorized",
120
- "type": "string"
121
- }
122
- },
123
- "required": [
124
- "messageId",
125
- "commandId",
126
- "status",
127
- "reason"
128
- ]
129
- },
130
- {
131
- "type": "object",
132
- "properties": {
133
- "messageId": {
134
- "type": "string"
135
- },
136
- "commandId": {
137
- "const": "lobby/create/response",
138
- "type": "string"
139
- },
140
- "status": {
141
- "const": "failed",
142
- "type": "string"
143
- },
144
- "reason": {
145
- "const": "invalid_command",
146
- "type": "string"
147
- }
148
- },
149
- "required": [
150
- "messageId",
151
- "commandId",
152
- "status",
153
- "reason"
154
- ]
155
- }
156
- ]
157
- }
@@ -1,39 +0,0 @@
1
- {
2
- "$id": "lobby/join/request",
3
- "roles": [],
4
- "type": "object",
5
- "properties": {
6
- "messageId": {
7
- "type": "string"
8
- },
9
- "commandId": {
10
- "const": "lobby/join/request",
11
- "type": "string"
12
- },
13
- "data": {
14
- "examples": [
15
- {
16
- "lobbyId": 27,
17
- "password": "fish"
18
- }
19
- ],
20
- "type": "object",
21
- "properties": {
22
- "lobbyId": {
23
- "type": "string"
24
- },
25
- "password": {
26
- "type": "string"
27
- }
28
- },
29
- "required": [
30
- "lobbyId"
31
- ]
32
- }
33
- },
34
- "required": [
35
- "messageId",
36
- "commandId",
37
- "data"
38
- ]
39
- }
@@ -1,287 +0,0 @@
1
- {
2
- "$id": "lobby/join/response",
3
- "roles": [],
4
- "anyOf": [
5
- {
6
- "type": "object",
7
- "properties": {
8
- "messageId": {
9
- "type": "string"
10
- },
11
- "commandId": {
12
- "const": "lobby/join/response",
13
- "type": "string"
14
- },
15
- "status": {
16
- "const": "success",
17
- "type": "string"
18
- }
19
- },
20
- "required": [
21
- "messageId",
22
- "commandId",
23
- "status"
24
- ]
25
- },
26
- {
27
- "type": "object",
28
- "properties": {
29
- "messageId": {
30
- "type": "string"
31
- },
32
- "commandId": {
33
- "const": "lobby/join/response",
34
- "type": "string"
35
- },
36
- "status": {
37
- "const": "failed",
38
- "type": "string"
39
- },
40
- "reason": {
41
- "const": "locked",
42
- "type": "string"
43
- }
44
- },
45
- "required": [
46
- "messageId",
47
- "commandId",
48
- "status",
49
- "reason"
50
- ]
51
- },
52
- {
53
- "type": "object",
54
- "properties": {
55
- "messageId": {
56
- "type": "string"
57
- },
58
- "commandId": {
59
- "const": "lobby/join/response",
60
- "type": "string"
61
- },
62
- "status": {
63
- "const": "failed",
64
- "type": "string"
65
- },
66
- "reason": {
67
- "const": "requires_password",
68
- "type": "string"
69
- }
70
- },
71
- "required": [
72
- "messageId",
73
- "commandId",
74
- "status",
75
- "reason"
76
- ]
77
- },
78
- {
79
- "type": "object",
80
- "properties": {
81
- "messageId": {
82
- "type": "string"
83
- },
84
- "commandId": {
85
- "const": "lobby/join/response",
86
- "type": "string"
87
- },
88
- "status": {
89
- "const": "failed",
90
- "type": "string"
91
- },
92
- "reason": {
93
- "const": "invalid_password",
94
- "type": "string"
95
- }
96
- },
97
- "required": [
98
- "messageId",
99
- "commandId",
100
- "status",
101
- "reason"
102
- ]
103
- },
104
- {
105
- "type": "object",
106
- "properties": {
107
- "messageId": {
108
- "type": "string"
109
- },
110
- "commandId": {
111
- "const": "lobby/join/response",
112
- "type": "string"
113
- },
114
- "status": {
115
- "const": "failed",
116
- "type": "string"
117
- },
118
- "reason": {
119
- "const": "max_participants_reached",
120
- "type": "string"
121
- }
122
- },
123
- "required": [
124
- "messageId",
125
- "commandId",
126
- "status",
127
- "reason"
128
- ]
129
- },
130
- {
131
- "type": "object",
132
- "properties": {
133
- "messageId": {
134
- "type": "string"
135
- },
136
- "commandId": {
137
- "const": "lobby/join/response",
138
- "type": "string"
139
- },
140
- "status": {
141
- "const": "failed",
142
- "type": "string"
143
- },
144
- "reason": {
145
- "const": "rank_too_low",
146
- "type": "string"
147
- }
148
- },
149
- "required": [
150
- "messageId",
151
- "commandId",
152
- "status",
153
- "reason"
154
- ]
155
- },
156
- {
157
- "type": "object",
158
- "properties": {
159
- "messageId": {
160
- "type": "string"
161
- },
162
- "commandId": {
163
- "const": "lobby/join/response",
164
- "type": "string"
165
- },
166
- "status": {
167
- "const": "failed",
168
- "type": "string"
169
- },
170
- "reason": {
171
- "const": "rank_too_high",
172
- "type": "string"
173
- }
174
- },
175
- "required": [
176
- "messageId",
177
- "commandId",
178
- "status",
179
- "reason"
180
- ]
181
- },
182
- {
183
- "type": "object",
184
- "properties": {
185
- "messageId": {
186
- "type": "string"
187
- },
188
- "commandId": {
189
- "const": "lobby/join/response",
190
- "type": "string"
191
- },
192
- "status": {
193
- "const": "failed",
194
- "type": "string"
195
- },
196
- "reason": {
197
- "const": "banned",
198
- "type": "string"
199
- }
200
- },
201
- "required": [
202
- "messageId",
203
- "commandId",
204
- "status",
205
- "reason"
206
- ]
207
- },
208
- {
209
- "type": "object",
210
- "properties": {
211
- "messageId": {
212
- "type": "string"
213
- },
214
- "commandId": {
215
- "const": "lobby/join/response",
216
- "type": "string"
217
- },
218
- "status": {
219
- "const": "failed",
220
- "type": "string"
221
- },
222
- "reason": {
223
- "const": "internal_error",
224
- "type": "string"
225
- }
226
- },
227
- "required": [
228
- "messageId",
229
- "commandId",
230
- "status",
231
- "reason"
232
- ]
233
- },
234
- {
235
- "type": "object",
236
- "properties": {
237
- "messageId": {
238
- "type": "string"
239
- },
240
- "commandId": {
241
- "const": "lobby/join/response",
242
- "type": "string"
243
- },
244
- "status": {
245
- "const": "failed",
246
- "type": "string"
247
- },
248
- "reason": {
249
- "const": "unauthorized",
250
- "type": "string"
251
- }
252
- },
253
- "required": [
254
- "messageId",
255
- "commandId",
256
- "status",
257
- "reason"
258
- ]
259
- },
260
- {
261
- "type": "object",
262
- "properties": {
263
- "messageId": {
264
- "type": "string"
265
- },
266
- "commandId": {
267
- "const": "lobby/join/response",
268
- "type": "string"
269
- },
270
- "status": {
271
- "const": "failed",
272
- "type": "string"
273
- },
274
- "reason": {
275
- "const": "invalid_command",
276
- "type": "string"
277
- }
278
- },
279
- "required": [
280
- "messageId",
281
- "commandId",
282
- "status",
283
- "reason"
284
- ]
285
- }
286
- ]
287
- }