moons-ta-client 1.3.0 → 1.3.1

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.
@@ -306,21 +306,6 @@ class Response$Type extends MessageType {
306
306
  /* proto.packets.Response.DeleteQualifierEvent delete_qualifier_event = 9; */
307
307
  if (message.details.oneofKind === "deleteQualifierEvent")
308
308
  Response_DeleteQualifierEvent.internalBinaryWrite(message.details.deleteQualifierEvent, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
309
- /* proto.packets.Response.AddAuthorizedUser add_authorized_user = 21; */
310
- if (message.details.oneofKind === "addAuthorizedUser")
311
- Response_AddAuthorizedUser.internalBinaryWrite(message.details.addAuthorizedUser, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
312
- /* proto.packets.Response.UpdateAuthorizedUser update_authorized_user = 22; */
313
- if (message.details.oneofKind === "updateAuthorizedUser")
314
- Response_UpdateAuthorizedUser.internalBinaryWrite(message.details.updateAuthorizedUser, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
315
- /* proto.packets.Response.RemoveAuthorizedUser remove_authorized_user = 23; */
316
- if (message.details.oneofKind === "removeAuthorizedUser")
317
- Response_RemoveAuthorizedUser.internalBinaryWrite(message.details.removeAuthorizedUser, writer.tag(23, WireType.LengthDelimited).fork(), options).join();
318
- /* proto.packets.Response.GetAuthorizedUsers get_authorized_users = 24; */
319
- if (message.details.oneofKind === "getAuthorizedUsers")
320
- Response_GetAuthorizedUsers.internalBinaryWrite(message.details.getAuthorizedUsers, writer.tag(24, WireType.LengthDelimited).fork(), options).join();
321
- /* proto.packets.Response.GetDiscordInfo get_discord_info = 25; */
322
- if (message.details.oneofKind === "getDiscordInfo")
323
- Response_GetDiscordInfo.internalBinaryWrite(message.details.getDiscordInfo, writer.tag(25, WireType.LengthDelimited).fork(), options).join();
324
309
  /* proto.packets.Response.CreateTournament create_tournament = 10; */
325
310
  if (message.details.oneofKind === "createTournament")
326
311
  Response_CreateTournament.internalBinaryWrite(message.details.createTournament, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
@@ -354,6 +339,21 @@ class Response$Type extends MessageType {
354
339
  /* proto.packets.Response.RemainingAttempts remaining_attempts = 20; */
355
340
  if (message.details.oneofKind === "remainingAttempts")
356
341
  Response_RemainingAttempts.internalBinaryWrite(message.details.remainingAttempts, writer.tag(20, WireType.LengthDelimited).fork(), options).join();
342
+ /* proto.packets.Response.AddAuthorizedUser add_authorized_user = 21; */
343
+ if (message.details.oneofKind === "addAuthorizedUser")
344
+ Response_AddAuthorizedUser.internalBinaryWrite(message.details.addAuthorizedUser, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
345
+ /* proto.packets.Response.UpdateAuthorizedUser update_authorized_user = 22; */
346
+ if (message.details.oneofKind === "updateAuthorizedUser")
347
+ Response_UpdateAuthorizedUser.internalBinaryWrite(message.details.updateAuthorizedUser, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
348
+ /* proto.packets.Response.RemoveAuthorizedUser remove_authorized_user = 23; */
349
+ if (message.details.oneofKind === "removeAuthorizedUser")
350
+ Response_RemoveAuthorizedUser.internalBinaryWrite(message.details.removeAuthorizedUser, writer.tag(23, WireType.LengthDelimited).fork(), options).join();
351
+ /* proto.packets.Response.GetAuthorizedUsers get_authorized_users = 24; */
352
+ if (message.details.oneofKind === "getAuthorizedUsers")
353
+ Response_GetAuthorizedUsers.internalBinaryWrite(message.details.getAuthorizedUsers, writer.tag(24, WireType.LengthDelimited).fork(), options).join();
354
+ /* proto.packets.Response.GetDiscordInfo get_discord_info = 25; */
355
+ if (message.details.oneofKind === "getDiscordInfo")
356
+ Response_GetDiscordInfo.internalBinaryWrite(message.details.getDiscordInfo, writer.tag(25, WireType.LengthDelimited).fork(), options).join();
357
357
  /* proto.packets.Response.GetBotTokensForUser get_bot_tokens_for_user = 26; */
358
358
  if (message.details.oneofKind === "getBotTokensForUser")
359
359
  Response_GetBotTokensForUser.internalBinaryWrite(message.details.getBotTokensForUser, writer.tag(26, WireType.LengthDelimited).fork(), options).join();
@@ -951,7 +951,7 @@ class Response_GetAuthorizedUsers$Type extends MessageType {
951
951
  constructor() {
952
952
  super("proto.packets.Response.GetAuthorizedUsers", [
953
953
  { no: 1, name: "tournament_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
954
- { no: 2, name: "authorized_users", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Response_GetAuthorizedUsers_AuthroizedUser }
954
+ { no: 2, name: "authorized_users", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Response_GetAuthorizedUsers_AuthroizedUser }
955
955
  ]);
956
956
  }
957
957
  create(value) {
@@ -1503,7 +1503,7 @@ export const Response_Join = new Response_Join$Type();
1503
1503
  class Response_LeaderboardEntries$Type extends MessageType {
1504
1504
  constructor() {
1505
1505
  super("proto.packets.Response.LeaderboardEntries", [
1506
- { no: 1, name: "scores", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => LeaderboardEntry }
1506
+ { no: 1, name: "scores", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LeaderboardEntry }
1507
1507
  ]);
1508
1508
  }
1509
1509
  create(value) {
@@ -1746,7 +1746,7 @@ export const Response_RemainingAttempts = new Response_RemainingAttempts$Type();
1746
1746
  class Response_GetBotTokensForUser$Type extends MessageType {
1747
1747
  constructor() {
1748
1748
  super("proto.packets.Response.GetBotTokensForUser", [
1749
- { no: 1, name: "bot_users", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Response_GetBotTokensForUser_BotUser }
1749
+ { no: 1, name: "bot_users", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Response_GetBotTokensForUser_BotUser }
1750
1750
  ]);
1751
1751
  }
1752
1752
  create(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moons-ta-client",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -49,4 +49,4 @@
49
49
  "dist",
50
50
  "package.json"
51
51
  ]
52
- }
52
+ }