discord-protos 1.2.221 → 1.2.222

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.
@@ -51,7 +51,6 @@ message Experiment {
51
51
  int32 start = 1;
52
52
  int32 stop = 2;
53
53
  Type type = 3;
54
- fixed64 owning_experiment_id = 4;
55
54
  }
56
55
 
57
56
  message Variation {
@@ -61,6 +60,7 @@ message Experiment {
61
60
  repeated Bucket buckets = 4;
62
61
  Type type = 5;
63
62
  optional google.protobuf.StringValue configuration = 6;
63
+ fixed64 owning_experiment_id = 7;
64
64
  }
65
65
 
66
66
  message PlatformVersionSpecifier {
@@ -190,10 +190,6 @@ export interface Experiment_Bucket {
190
190
  * @generated from protobuf field: discord_protos.discord_experimentation.v1.Experiment.Type type = 3
191
191
  */
192
192
  type: Experiment_Type;
193
- /**
194
- * @generated from protobuf field: fixed64 owning_experiment_id = 4
195
- */
196
- owningExperimentId: bigint;
197
193
  }
198
194
  /**
199
195
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.Variation
@@ -223,6 +219,10 @@ export interface Experiment_Variation {
223
219
  * @generated from protobuf field: optional google.protobuf.StringValue configuration = 6
224
220
  */
225
221
  configuration?: StringValue;
222
+ /**
223
+ * @generated from protobuf field: fixed64 owning_experiment_id = 7
224
+ */
225
+ owningExperimentId: bigint;
226
226
  }
227
227
  /**
228
228
  * @generated from protobuf message discord_protos.discord_experimentation.v1.Experiment.PlatformVersionSpecifier
@@ -651,8 +651,7 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
651
651
  super("discord_protos.discord_experimentation.v1.Experiment.Bucket", [
652
652
  { no: 1, name: "start", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
653
653
  { no: 2, name: "stop", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
654
- { no: 3, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
655
- { no: 4, name: "owning_experiment_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ }
654
+ { no: 3, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] }
656
655
  ]);
657
656
  }
658
657
  create(value) {
@@ -660,7 +659,6 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
660
659
  message.start = 0;
661
660
  message.stop = 0;
662
661
  message.type = 0;
663
- message.owningExperimentId = 0n;
664
662
  if (value !== undefined)
665
663
  (0, runtime_3.reflectionMergePartial)(this, message, value);
666
664
  return message;
@@ -679,9 +677,6 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
679
677
  case /* discord_protos.discord_experimentation.v1.Experiment.Type type */ 3:
680
678
  message.type = reader.int32();
681
679
  break;
682
- case /* fixed64 owning_experiment_id */ 4:
683
- message.owningExperimentId = reader.fixed64().toBigInt();
684
- break;
685
680
  default:
686
681
  let u = options.readUnknownField;
687
682
  if (u === "throw")
@@ -703,9 +698,6 @@ class Experiment_Bucket$Type extends runtime_4.MessageType {
703
698
  /* discord_protos.discord_experimentation.v1.Experiment.Type type = 3; */
704
699
  if (message.type !== 0)
705
700
  writer.tag(3, runtime_2.WireType.Varint).int32(message.type);
706
- /* fixed64 owning_experiment_id = 4; */
707
- if (message.owningExperimentId !== 0n)
708
- writer.tag(4, runtime_2.WireType.Bit64).fixed64(message.owningExperimentId);
709
701
  let u = options.writeUnknownFields;
710
702
  if (u !== false)
711
703
  (u == true ? runtime_1.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -725,7 +717,8 @@ class Experiment_Variation$Type extends runtime_4.MessageType {
725
717
  { no: 3, name: "target_allocation", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
726
718
  { no: 4, name: "buckets", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => exports.Experiment_Bucket },
727
719
  { no: 5, name: "type", kind: "enum", T: () => ["discord_protos.discord_experimentation.v1.Experiment.Type", Experiment_Type, "TYPE_"] },
728
- { no: 6, name: "configuration", kind: "message", T: () => wrappers_4.StringValue }
720
+ { no: 6, name: "configuration", kind: "message", T: () => wrappers_4.StringValue },
721
+ { no: 7, name: "owning_experiment_id", kind: "scalar", T: 6 /*ScalarType.FIXED64*/, L: 0 /*LongType.BIGINT*/ }
729
722
  ]);
730
723
  }
731
724
  create(value) {
@@ -735,6 +728,7 @@ class Experiment_Variation$Type extends runtime_4.MessageType {
735
728
  message.targetAllocation = 0;
736
729
  message.buckets = [];
737
730
  message.type = 0;
731
+ message.owningExperimentId = 0n;
738
732
  if (value !== undefined)
739
733
  (0, runtime_3.reflectionMergePartial)(this, message, value);
740
734
  return message;
@@ -762,6 +756,9 @@ class Experiment_Variation$Type extends runtime_4.MessageType {
762
756
  case /* optional google.protobuf.StringValue configuration */ 6:
763
757
  message.configuration = wrappers_4.StringValue.internalBinaryRead(reader, reader.uint32(), options, message.configuration);
764
758
  break;
759
+ case /* fixed64 owning_experiment_id */ 7:
760
+ message.owningExperimentId = reader.fixed64().toBigInt();
761
+ break;
765
762
  default:
766
763
  let u = options.readUnknownField;
767
764
  if (u === "throw")
@@ -792,6 +789,9 @@ class Experiment_Variation$Type extends runtime_4.MessageType {
792
789
  /* optional google.protobuf.StringValue configuration = 6; */
793
790
  if (message.configuration)
794
791
  wrappers_4.StringValue.internalBinaryWrite(message.configuration, writer.tag(6, runtime_2.WireType.LengthDelimited).fork(), options).join();
792
+ /* fixed64 owning_experiment_id = 7; */
793
+ if (message.owningExperimentId !== 0n)
794
+ writer.tag(7, runtime_2.WireType.Bit64).fixed64(message.owningExperimentId);
795
795
  let u = options.writeUnknownFields;
796
796
  if (u !== false)
797
797
  (u == true ? runtime_1.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.221",
3
+ "version": "1.2.222",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",