tachyon-protocol 0.3.3 → 0.3.4

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/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { EmptyObject } from 'type-fest';
2
2
  import { ValidateFunction } from 'ajv';
3
3
 
4
4
  declare const tachyonMeta: {
5
- readonly version: "0.3.3";
5
+ readonly version: "0.3.4";
6
6
  readonly ids: {
7
7
  readonly autohost: {
8
8
  readonly slave: readonly ["request", "response"];
@@ -309,8 +309,8 @@ export type LobbyJoinedResponse =
309
309
  commandId: "lobby/joined/response";
310
310
  status: "success";
311
311
  data: {
312
- battleId: number;
313
- hostId: number;
312
+ battleId: string;
313
+ hostId: string;
314
314
  engine: string;
315
315
  game: string;
316
316
  map: string;
@@ -346,7 +346,7 @@ export type LobbyJoinedResponse =
346
346
  inGame: boolean;
347
347
  isSpectator: false;
348
348
  isBot: true;
349
- ownerId: number;
349
+ ownerId: string;
350
350
  aiShortName: string;
351
351
  name: string;
352
352
  aiOptions: {
@@ -363,14 +363,14 @@ export type LobbyJoinedResponse =
363
363
  username: string;
364
364
  displayName: string;
365
365
  avatarUrl: string;
366
- clanId: number | null;
367
- partyId: number | null;
366
+ clanId: string | null;
367
+ partyId: string | null;
368
368
  roles: string[];
369
369
  countryCode?: string;
370
370
  status: "offline" | "menu" | "playing" | "lobby";
371
371
  battleStatus:
372
372
  | ({
373
- battleId: number;
373
+ battleId: string;
374
374
  } & (
375
375
  | ({
376
376
  playerId: number;
@@ -476,8 +476,8 @@ export type LobbyListResponse =
476
476
  status: "success";
477
477
  data: {
478
478
  battles: ({
479
- battleId: number;
480
- hostId: number;
479
+ battleId: string;
480
+ hostId: string;
481
481
  engine: string;
482
482
  game: string;
483
483
  map: string;
@@ -513,7 +513,7 @@ export type LobbyListResponse =
513
513
  inGame: boolean;
514
514
  isSpectator: false;
515
515
  isBot: true;
516
- ownerId: number;
516
+ ownerId: string;
517
517
  aiShortName: string;
518
518
  name: string;
519
519
  aiOptions: {
@@ -530,14 +530,14 @@ export type LobbyListResponse =
530
530
  username: string;
531
531
  displayName: string;
532
532
  avatarUrl: string;
533
- clanId: number | null;
534
- partyId: number | null;
533
+ clanId: string | null;
534
+ partyId: string | null;
535
535
  roles: string[];
536
536
  countryCode?: string;
537
537
  status: "offline" | "menu" | "playing" | "lobby";
538
538
  battleStatus:
539
539
  | ({
540
- battleId: number;
540
+ battleId: string;
541
541
  } & (
542
542
  | ({
543
543
  playerId: number;
@@ -566,8 +566,8 @@ export type LobbyListResponse =
566
566
  title: string;
567
567
  locked: boolean;
568
568
  passworded: boolean;
569
- bossIds: number[];
570
- joinQueueIds: number[];
569
+ bossIds: string[];
570
+ joinQueueIds: string[];
571
571
  limits: {
572
572
  minTeamsize: number | null;
573
573
  maxTeamsize: number | null;
@@ -601,7 +601,7 @@ export type LobbyReceiveMessageResponse =
601
601
  commandId: "lobby/receiveMessage/response";
602
602
  status: "success";
603
603
  data: {
604
- userId: number;
604
+ userId: string;
605
605
  message: string;
606
606
  };
607
607
  }
@@ -720,8 +720,8 @@ export type LobbyUpdatedResponse =
720
720
  status: "success";
721
721
  data: {
722
722
  battles: ({
723
- battleId?: number;
724
- hostId?: number;
723
+ battleId?: string;
724
+ hostId?: string;
725
725
  engine?: string;
726
726
  game?: string;
727
727
  map?: string;
@@ -757,7 +757,7 @@ export type LobbyUpdatedResponse =
757
757
  inGame: boolean;
758
758
  isSpectator: false;
759
759
  isBot: true;
760
- ownerId: number;
760
+ ownerId: string;
761
761
  aiShortName: string;
762
762
  name: string;
763
763
  aiOptions: {
@@ -774,14 +774,14 @@ export type LobbyUpdatedResponse =
774
774
  username: string;
775
775
  displayName: string;
776
776
  avatarUrl: string;
777
- clanId: number | null;
778
- partyId: number | null;
777
+ clanId: string | null;
778
+ partyId: string | null;
779
779
  roles: string[];
780
780
  countryCode?: string;
781
781
  status: "offline" | "menu" | "playing" | "lobby";
782
782
  battleStatus:
783
783
  | ({
784
- battleId: number;
784
+ battleId: string;
785
785
  } & (
786
786
  | ({
787
787
  playerId: number;
@@ -810,8 +810,8 @@ export type LobbyUpdatedResponse =
810
810
  title?: string;
811
811
  locked?: boolean;
812
812
  passworded?: boolean;
813
- bossIds?: number[];
814
- joinQueueIds?: number[];
813
+ bossIds?: string[];
814
+ joinQueueIds?: string[];
815
815
  limits?: {
816
816
  minTeamsize: number | null;
817
817
  maxTeamsize: number | null;
@@ -994,7 +994,7 @@ export type MatchmakingQueueUpdateResponse =
994
994
  commandId: "matchmaking/queueUpdate/response";
995
995
  status: "success";
996
996
  data: {
997
- playersQueued: number;
997
+ playersQueued: string;
998
998
  };
999
999
  }
1000
1000
  | {
@@ -1083,14 +1083,14 @@ export type SystemConnectedResponse =
1083
1083
  username: string;
1084
1084
  displayName: string;
1085
1085
  avatarUrl: string;
1086
- clanId: number | null;
1087
- partyId: number | null;
1086
+ clanId: string | null;
1087
+ partyId: string | null;
1088
1088
  roles: string[];
1089
1089
  countryCode?: string;
1090
1090
  status: "offline" | "menu" | "playing" | "lobby";
1091
1091
  battleStatus:
1092
1092
  | ({
1093
- battleId: number;
1093
+ battleId: string;
1094
1094
  } & (
1095
1095
  | ({
1096
1096
  playerId: number;
@@ -1114,10 +1114,10 @@ export type SystemConnectedResponse =
1114
1114
  }
1115
1115
  ))
1116
1116
  | null;
1117
- friendIds: number[];
1118
- outgoingFriendRequestIds: number[];
1119
- incomingFriendRequestIds: number[];
1120
- ignoreIds: number[];
1117
+ friendIds: string[];
1118
+ outgoingFriendRequestIds: string[];
1119
+ incomingFriendRequestIds: string[];
1120
+ ignoreIds: string[];
1121
1121
  };
1122
1122
  }
1123
1123
  | {
@@ -1200,14 +1200,14 @@ export type UserSubscribeResponse =
1200
1200
  username: string;
1201
1201
  displayName: string;
1202
1202
  avatarUrl: string;
1203
- clanId: number | null;
1204
- partyId: number | null;
1203
+ clanId: string | null;
1204
+ partyId: string | null;
1205
1205
  roles: string[];
1206
1206
  countryCode?: string;
1207
1207
  status: "offline" | "menu" | "playing" | "lobby";
1208
1208
  battleStatus:
1209
1209
  | ({
1210
- battleId: number;
1210
+ battleId: string;
1211
1211
  } & (
1212
1212
  | ({
1213
1213
  playerId: number;
@@ -1293,14 +1293,14 @@ export type UserUpdatedResponse =
1293
1293
  username?: string;
1294
1294
  displayName?: string;
1295
1295
  avatarUrl?: string;
1296
- clanId?: number | null;
1297
- partyId?: number | null;
1296
+ clanId?: string | null;
1297
+ partyId?: string | null;
1298
1298
  roles?: string[];
1299
1299
  countryCode?: string;
1300
1300
  status?: "offline" | "menu" | "playing" | "lobby";
1301
1301
  battleStatus?:
1302
1302
  | ({
1303
- battleId: number;
1303
+ battleId: string;
1304
1304
  } & (
1305
1305
  | ({
1306
1306
  playerId: number;
@@ -1324,10 +1324,10 @@ export type UserUpdatedResponse =
1324
1324
  }
1325
1325
  ))
1326
1326
  | null;
1327
- friendIds?: number[];
1328
- outgoingFriendRequestIds?: number[];
1329
- incomingFriendRequestIds?: number[];
1330
- ignoreIds?: number[];
1327
+ friendIds?: string[];
1328
+ outgoingFriendRequestIds?: string[];
1329
+ incomingFriendRequestIds?: string[];
1330
+ ignoreIds?: string[];
1331
1331
  }[];
1332
1332
  };
1333
1333
  }
@@ -1586,7 +1586,7 @@ export interface LobbyJoinRequest {
1586
1586
  messageId: string;
1587
1587
  commandId: "lobby/join/request";
1588
1588
  data: {
1589
- lobbyId: number;
1589
+ lobbyId: string;
1590
1590
  password?: string;
1591
1591
  };
1592
1592
  }
@@ -1609,14 +1609,14 @@ export interface LobbySubscribeRequest {
1609
1609
  messageId: string;
1610
1610
  commandId: "lobby/subscribe/request";
1611
1611
  data: {
1612
- battleIds: number[];
1612
+ battleIds: string[];
1613
1613
  };
1614
1614
  }
1615
1615
  export interface LobbyUnsubscribeRequest {
1616
1616
  messageId: string;
1617
1617
  commandId: "lobby/unsubscribe/request";
1618
1618
  data: {
1619
- battleIds?: number[];
1619
+ battleIds?: string[];
1620
1620
  };
1621
1621
  }
1622
1622
  export interface MatchmakingCancelRequest {
@@ -1656,14 +1656,14 @@ export interface UserSubscribeRequest {
1656
1656
  messageId: string;
1657
1657
  commandId: "user/subscribe/request";
1658
1658
  data: {
1659
- userIds: number[];
1659
+ userIds: string[];
1660
1660
  };
1661
1661
  }
1662
1662
  export interface UserUnsubscribeRequest {
1663
1663
  messageId: string;
1664
1664
  commandId: "user/unsubscribe/request";
1665
1665
  data: {
1666
- userIds: number[];
1666
+ userIds: string[];
1667
1667
  };
1668
1668
  }
1669
1669
  export type TachyonUnixTime = number | null;
@@ -1706,7 +1706,7 @@ export interface TachyonBot {
1706
1706
  inGame: boolean;
1707
1707
  isSpectator: false;
1708
1708
  isBot: true;
1709
- ownerId: number;
1709
+ ownerId: string;
1710
1710
  aiShortName: string;
1711
1711
  name: string;
1712
1712
  aiOptions: {
@@ -1721,7 +1721,7 @@ export interface TachyonBot {
1721
1721
 
1722
1722
  export type TachyonBattleStatus =
1723
1723
  | ({
1724
- battleId: number;
1724
+ battleId: string;
1725
1725
  } & (
1726
1726
  | ({
1727
1727
  playerId: number;
@@ -1753,14 +1753,14 @@ export interface TachyonUser {
1753
1753
  username: string;
1754
1754
  displayName: string;
1755
1755
  avatarUrl: string;
1756
- clanId: number | null;
1757
- partyId: number | null;
1756
+ clanId: string | null;
1757
+ partyId: string | null;
1758
1758
  roles: string[];
1759
1759
  countryCode?: string;
1760
1760
  status: "offline" | "menu" | "playing" | "lobby";
1761
1761
  battleStatus:
1762
1762
  | ({
1763
- battleId: number;
1763
+ battleId: string;
1764
1764
  } & (
1765
1765
  | ({
1766
1766
  playerId: number;
@@ -1791,14 +1791,14 @@ export interface TachyonPrivateUser {
1791
1791
  username: string;
1792
1792
  displayName: string;
1793
1793
  avatarUrl: string;
1794
- clanId: number | null;
1795
- partyId: number | null;
1794
+ clanId: string | null;
1795
+ partyId: string | null;
1796
1796
  roles: string[];
1797
1797
  countryCode?: string;
1798
1798
  status: "offline" | "menu" | "playing" | "lobby";
1799
1799
  battleStatus:
1800
1800
  | ({
1801
- battleId: number;
1801
+ battleId: string;
1802
1802
  } & (
1803
1803
  | ({
1804
1804
  playerId: number;
@@ -1822,10 +1822,10 @@ export interface TachyonPrivateUser {
1822
1822
  }
1823
1823
  ))
1824
1824
  | null;
1825
- friendIds: number[];
1826
- outgoingFriendRequestIds: number[];
1827
- incomingFriendRequestIds: number[];
1828
- ignoreIds: number[];
1825
+ friendIds: string[];
1826
+ outgoingFriendRequestIds: string[];
1827
+ incomingFriendRequestIds: string[];
1828
+ ignoreIds: string[];
1829
1829
  }
1830
1830
 
1831
1831
  export interface TachyonRect {
@@ -1836,8 +1836,8 @@ export interface TachyonRect {
1836
1836
  }
1837
1837
 
1838
1838
  export interface TachyonBattle {
1839
- battleId: number;
1840
- hostId: number;
1839
+ battleId: string;
1840
+ hostId: string;
1841
1841
  engine: string;
1842
1842
  game: string;
1843
1843
  map: string;
@@ -1873,7 +1873,7 @@ export interface TachyonBattle {
1873
1873
  inGame: boolean;
1874
1874
  isSpectator: false;
1875
1875
  isBot: true;
1876
- ownerId: number;
1876
+ ownerId: string;
1877
1877
  aiShortName: string;
1878
1878
  name: string;
1879
1879
  aiOptions: {
@@ -1890,14 +1890,14 @@ export interface TachyonBattle {
1890
1890
  username: string;
1891
1891
  displayName: string;
1892
1892
  avatarUrl: string;
1893
- clanId: number | null;
1894
- partyId: number | null;
1893
+ clanId: string | null;
1894
+ partyId: string | null;
1895
1895
  roles: string[];
1896
1896
  countryCode?: string;
1897
1897
  status: "offline" | "menu" | "playing" | "lobby";
1898
1898
  battleStatus:
1899
1899
  | ({
1900
- battleId: number;
1900
+ battleId: string;
1901
1901
  } & (
1902
1902
  | ({
1903
1903
  playerId: number;
@@ -1925,8 +1925,8 @@ export interface TachyonBattle {
1925
1925
  }
1926
1926
 
1927
1927
  export type TachyonCustomBattle = {
1928
- battleId: number;
1929
- hostId: number;
1928
+ battleId: string;
1929
+ hostId: string;
1930
1930
  engine: string;
1931
1931
  game: string;
1932
1932
  map: string;
@@ -1962,7 +1962,7 @@ export type TachyonCustomBattle = {
1962
1962
  inGame: boolean;
1963
1963
  isSpectator: false;
1964
1964
  isBot: true;
1965
- ownerId: number;
1965
+ ownerId: string;
1966
1966
  aiShortName: string;
1967
1967
  name: string;
1968
1968
  aiOptions: {
@@ -1979,14 +1979,14 @@ export type TachyonCustomBattle = {
1979
1979
  username: string;
1980
1980
  displayName: string;
1981
1981
  avatarUrl: string;
1982
- clanId: number | null;
1983
- partyId: number | null;
1982
+ clanId: string | null;
1983
+ partyId: string | null;
1984
1984
  roles: string[];
1985
1985
  countryCode?: string;
1986
1986
  status: "offline" | "menu" | "playing" | "lobby";
1987
1987
  battleStatus:
1988
1988
  | ({
1989
- battleId: number;
1989
+ battleId: string;
1990
1990
  } & (
1991
1991
  | ({
1992
1992
  playerId: number;
@@ -2015,8 +2015,8 @@ export type TachyonCustomBattle = {
2015
2015
  title: string;
2016
2016
  locked: boolean;
2017
2017
  passworded: boolean;
2018
- bossIds: number[];
2019
- joinQueueIds: number[];
2018
+ bossIds: string[];
2019
+ joinQueueIds: string[];
2020
2020
  limits: {
2021
2021
  minTeamsize: number | null;
2022
2022
  maxTeamsize: number | null;
package/dist/index.js CHANGED
@@ -7075,7 +7075,7 @@ module.exports = __toCommonJS(compiled_exports);
7075
7075
 
7076
7076
  // src/meta.ts
7077
7077
  var tachyonMeta = {
7078
- "version": "0.3.3",
7078
+ "version": "0.3.4",
7079
7079
  "ids": {
7080
7080
  "autohost": {
7081
7081
  "slave": [
@@ -20,7 +20,7 @@
20
20
  "type": "object",
21
21
  "properties": {
22
22
  "lobbyId": {
23
- "type": "integer"
23
+ "type": "string"
24
24
  },
25
25
  "password": {
26
26
  "type": "string"
@@ -53,10 +53,10 @@
53
53
  "type": "object",
54
54
  "properties": {
55
55
  "battleId": {
56
- "type": "integer"
56
+ "type": "string"
57
57
  },
58
58
  "hostId": {
59
- "type": "integer"
59
+ "type": "string"
60
60
  },
61
61
  "engine": {
62
62
  "type": "string"
@@ -202,7 +202,7 @@
202
202
  "type": "boolean"
203
203
  },
204
204
  "ownerId": {
205
- "type": "integer"
205
+ "type": "string"
206
206
  },
207
207
  "aiShortName": {
208
208
  "type": "string"
@@ -257,7 +257,7 @@
257
257
  "clanId": {
258
258
  "anyOf": [
259
259
  {
260
- "type": "integer"
260
+ "type": "string"
261
261
  },
262
262
  {
263
263
  "type": "null"
@@ -267,7 +267,7 @@
267
267
  "partyId": {
268
268
  "anyOf": [
269
269
  {
270
- "type": "integer"
270
+ "type": "string"
271
271
  },
272
272
  {
273
273
  "type": "null"
@@ -311,7 +311,7 @@
311
311
  "type": "object",
312
312
  "properties": {
313
313
  "battleId": {
314
- "type": "integer"
314
+ "type": "string"
315
315
  }
316
316
  },
317
317
  "required": [
@@ -110,10 +110,10 @@
110
110
  "type": "object",
111
111
  "properties": {
112
112
  "battleId": {
113
- "type": "integer"
113
+ "type": "string"
114
114
  },
115
115
  "hostId": {
116
- "type": "integer"
116
+ "type": "string"
117
117
  },
118
118
  "engine": {
119
119
  "type": "string"
@@ -259,7 +259,7 @@
259
259
  "type": "boolean"
260
260
  },
261
261
  "ownerId": {
262
- "type": "integer"
262
+ "type": "string"
263
263
  },
264
264
  "aiShortName": {
265
265
  "type": "string"
@@ -314,7 +314,7 @@
314
314
  "clanId": {
315
315
  "anyOf": [
316
316
  {
317
- "type": "integer"
317
+ "type": "string"
318
318
  },
319
319
  {
320
320
  "type": "null"
@@ -324,7 +324,7 @@
324
324
  "partyId": {
325
325
  "anyOf": [
326
326
  {
327
- "type": "integer"
327
+ "type": "string"
328
328
  },
329
329
  {
330
330
  "type": "null"
@@ -368,7 +368,7 @@
368
368
  "type": "object",
369
369
  "properties": {
370
370
  "battleId": {
371
- "type": "integer"
371
+ "type": "string"
372
372
  }
373
373
  },
374
374
  "required": [
@@ -523,13 +523,13 @@
523
523
  "bossIds": {
524
524
  "type": "array",
525
525
  "items": {
526
- "type": "integer"
526
+ "type": "string"
527
527
  }
528
528
  },
529
529
  "joinQueueIds": {
530
530
  "type": "array",
531
531
  "items": {
532
- "type": "integer"
532
+ "type": "string"
533
533
  }
534
534
  },
535
535
  "limits": {
@@ -26,7 +26,7 @@
26
26
  "type": "object",
27
27
  "properties": {
28
28
  "userId": {
29
- "type": "integer"
29
+ "type": "string"
30
30
  },
31
31
  "message": {
32
32
  "type": "string"
@@ -16,7 +16,7 @@
16
16
  "battleIds": {
17
17
  "type": "array",
18
18
  "items": {
19
- "type": "integer"
19
+ "type": "string"
20
20
  }
21
21
  }
22
22
  },
@@ -16,7 +16,7 @@
16
16
  "battleIds": {
17
17
  "type": "array",
18
18
  "items": {
19
- "type": "integer"
19
+ "type": "string"
20
20
  }
21
21
  }
22
22
  }
@@ -39,10 +39,10 @@
39
39
  "type": "object",
40
40
  "properties": {
41
41
  "battleId": {
42
- "type": "integer"
42
+ "type": "string"
43
43
  },
44
44
  "hostId": {
45
- "type": "integer"
45
+ "type": "string"
46
46
  },
47
47
  "engine": {
48
48
  "type": "string"
@@ -188,7 +188,7 @@
188
188
  "type": "boolean"
189
189
  },
190
190
  "ownerId": {
191
- "type": "integer"
191
+ "type": "string"
192
192
  },
193
193
  "aiShortName": {
194
194
  "type": "string"
@@ -243,7 +243,7 @@
243
243
  "clanId": {
244
244
  "anyOf": [
245
245
  {
246
- "type": "integer"
246
+ "type": "string"
247
247
  },
248
248
  {
249
249
  "type": "null"
@@ -253,7 +253,7 @@
253
253
  "partyId": {
254
254
  "anyOf": [
255
255
  {
256
- "type": "integer"
256
+ "type": "string"
257
257
  },
258
258
  {
259
259
  "type": "null"
@@ -297,7 +297,7 @@
297
297
  "type": "object",
298
298
  "properties": {
299
299
  "battleId": {
300
- "type": "integer"
300
+ "type": "string"
301
301
  }
302
302
  },
303
303
  "required": [
@@ -436,13 +436,13 @@
436
436
  "bossIds": {
437
437
  "type": "array",
438
438
  "items": {
439
- "type": "integer"
439
+ "type": "string"
440
440
  }
441
441
  },
442
442
  "joinQueueIds": {
443
443
  "type": "array",
444
444
  "items": {
445
- "type": "integer"
445
+ "type": "string"
446
446
  }
447
447
  },
448
448
  "limits": {
@@ -20,7 +20,7 @@
20
20
  "type": "object",
21
21
  "properties": {
22
22
  "playersQueued": {
23
- "type": "integer"
23
+ "type": "string"
24
24
  }
25
25
  },
26
26
  "required": [
@@ -35,7 +35,7 @@
35
35
  "clanId": {
36
36
  "anyOf": [
37
37
  {
38
- "type": "integer"
38
+ "type": "string"
39
39
  },
40
40
  {
41
41
  "type": "null"
@@ -45,7 +45,7 @@
45
45
  "partyId": {
46
46
  "anyOf": [
47
47
  {
48
- "type": "integer"
48
+ "type": "string"
49
49
  },
50
50
  {
51
51
  "type": "null"
@@ -89,7 +89,7 @@
89
89
  "type": "object",
90
90
  "properties": {
91
91
  "battleId": {
92
- "type": "integer"
92
+ "type": "string"
93
93
  }
94
94
  },
95
95
  "required": [
@@ -200,25 +200,25 @@
200
200
  "friendIds": {
201
201
  "type": "array",
202
202
  "items": {
203
- "type": "integer"
203
+ "type": "string"
204
204
  }
205
205
  },
206
206
  "outgoingFriendRequestIds": {
207
207
  "type": "array",
208
208
  "items": {
209
- "type": "integer"
209
+ "type": "string"
210
210
  }
211
211
  },
212
212
  "incomingFriendRequestIds": {
213
213
  "type": "array",
214
214
  "items": {
215
- "type": "integer"
215
+ "type": "string"
216
216
  }
217
217
  },
218
218
  "ignoreIds": {
219
219
  "type": "array",
220
220
  "items": {
221
- "type": "integer"
221
+ "type": "string"
222
222
  }
223
223
  }
224
224
  },
@@ -16,7 +16,7 @@
16
16
  "userIds": {
17
17
  "type": "array",
18
18
  "items": {
19
- "type": "integer"
19
+ "type": "string"
20
20
  }
21
21
  }
22
22
  },
@@ -40,7 +40,7 @@
40
40
  "clanId": {
41
41
  "anyOf": [
42
42
  {
43
- "type": "integer"
43
+ "type": "string"
44
44
  },
45
45
  {
46
46
  "type": "null"
@@ -50,7 +50,7 @@
50
50
  "partyId": {
51
51
  "anyOf": [
52
52
  {
53
- "type": "integer"
53
+ "type": "string"
54
54
  },
55
55
  {
56
56
  "type": "null"
@@ -94,7 +94,7 @@
94
94
  "type": "object",
95
95
  "properties": {
96
96
  "battleId": {
97
- "type": "integer"
97
+ "type": "string"
98
98
  }
99
99
  },
100
100
  "required": [
@@ -16,7 +16,7 @@
16
16
  "userIds": {
17
17
  "type": "array",
18
18
  "items": {
19
- "type": "integer"
19
+ "type": "string"
20
20
  }
21
21
  }
22
22
  },
@@ -40,7 +40,7 @@
40
40
  "clanId": {
41
41
  "anyOf": [
42
42
  {
43
- "type": "integer"
43
+ "type": "string"
44
44
  },
45
45
  {
46
46
  "type": "null"
@@ -50,7 +50,7 @@
50
50
  "partyId": {
51
51
  "anyOf": [
52
52
  {
53
- "type": "integer"
53
+ "type": "string"
54
54
  },
55
55
  {
56
56
  "type": "null"
@@ -94,7 +94,7 @@
94
94
  "type": "object",
95
95
  "properties": {
96
96
  "battleId": {
97
- "type": "integer"
97
+ "type": "string"
98
98
  }
99
99
  },
100
100
  "required": [
@@ -205,25 +205,25 @@
205
205
  "friendIds": {
206
206
  "type": "array",
207
207
  "items": {
208
- "type": "integer"
208
+ "type": "string"
209
209
  }
210
210
  },
211
211
  "outgoingFriendRequestIds": {
212
212
  "type": "array",
213
213
  "items": {
214
- "type": "integer"
214
+ "type": "string"
215
215
  }
216
216
  },
217
217
  "incomingFriendRequestIds": {
218
218
  "type": "array",
219
219
  "items": {
220
- "type": "integer"
220
+ "type": "string"
221
221
  }
222
222
  },
223
223
  "ignoreIds": {
224
224
  "type": "array",
225
225
  "items": {
226
- "type": "integer"
226
+ "type": "string"
227
227
  }
228
228
  }
229
229
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tachyon-protocol",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "nodemon --watch src/** --ext ts --ignore src/meta.ts --exec npm run build",