discord-protos 1.2.185 → 1.2.186

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.
@@ -327,6 +327,7 @@ message PreloadedUserSettings {
327
327
  optional google.protobuf.BoolValue quests_3p_data_opted_out = 30;
328
328
  optional google.protobuf.BoolValue show_local_time = 31;
329
329
  ProfileVisibility profile_visibility = 32;
330
+ optional google.protobuf.BoolValue hide_friend_request_notes = 33;
330
331
  }
331
332
 
332
333
  message DebugSettings {
@@ -912,6 +912,10 @@ export interface PreloadedUserSettings_PrivacySettings {
912
912
  * @generated from protobuf field: discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility profile_visibility = 32
913
913
  */
914
914
  profileVisibility: PreloadedUserSettings_ProfileVisibility;
915
+ /**
916
+ * @generated from protobuf field: optional google.protobuf.BoolValue hide_friend_request_notes = 33
917
+ */
918
+ hideFriendRequestNotes?: BoolValue;
915
919
  }
916
920
  /**
917
921
  * @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.DebugSettings
@@ -2678,7 +2678,8 @@ class PreloadedUserSettings_PrivacySettings$Type extends runtime_4.MessageType {
2678
2678
  { no: 29, name: "default_guilds_activity_restricted_v2", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.GuildActivityStatusRestrictionDefaultV2", PreloadedUserSettings_GuildActivityStatusRestrictionDefaultV2, "GUILD_ACTIVITY_STATUS_RESTRICTION_DEFAULT_V2_"] },
2679
2679
  { no: 30, name: "quests_3p_data_opted_out", kind: "message", jsonName: "quests3pDataOptedOut", T: () => wrappers_5.BoolValue },
2680
2680
  { no: 31, name: "show_local_time", kind: "message", T: () => wrappers_5.BoolValue },
2681
- { no: 32, name: "profile_visibility", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility", PreloadedUserSettings_ProfileVisibility, "PROFILE_VISIBILITY_"] }
2681
+ { no: 32, name: "profile_visibility", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility", PreloadedUserSettings_ProfileVisibility, "PROFILE_VISIBILITY_"] },
2682
+ { no: 33, name: "hide_friend_request_notes", kind: "message", T: () => wrappers_5.BoolValue }
2682
2683
  ]);
2683
2684
  }
2684
2685
  create(value) {
@@ -2809,6 +2810,9 @@ class PreloadedUserSettings_PrivacySettings$Type extends runtime_4.MessageType {
2809
2810
  case /* discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility profile_visibility */ 32:
2810
2811
  message.profileVisibility = reader.int32();
2811
2812
  break;
2813
+ case /* optional google.protobuf.BoolValue hide_friend_request_notes */ 33:
2814
+ message.hideFriendRequestNotes = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.hideFriendRequestNotes);
2815
+ break;
2812
2816
  default:
2813
2817
  let u = options.readUnknownField;
2814
2818
  if (u === "throw")
@@ -2927,6 +2931,9 @@ class PreloadedUserSettings_PrivacySettings$Type extends runtime_4.MessageType {
2927
2931
  /* discord_protos.discord_users.v1.PreloadedUserSettings.ProfileVisibility profile_visibility = 32; */
2928
2932
  if (message.profileVisibility !== 0)
2929
2933
  writer.tag(32, runtime_1.WireType.Varint).int32(message.profileVisibility);
2934
+ /* optional google.protobuf.BoolValue hide_friend_request_notes = 33; */
2935
+ if (message.hideFriendRequestNotes)
2936
+ wrappers_5.BoolValue.internalBinaryWrite(message.hideFriendRequestNotes, writer.tag(33, runtime_1.WireType.LengthDelimited).fork(), options).join();
2930
2937
  let u = options.writeUnknownFields;
2931
2938
  if (u !== false)
2932
2939
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.185",
3
+ "version": "1.2.186",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",