@wppconnect/wa-proto 2.3000.1028401180 → 2.3000.1028596186

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.3000.1028596186](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028401180...v2.3000.1028596186) (2025-10-17)
2
+
3
+
4
+
1
5
  ## [2.3000.1028401180](https://github.com/wppconnect-team/wa-proto/compare/v2.3000.1028355510...v2.3000.1028401180) (2025-10-14)
2
6
 
3
7
 
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1028401180
4
+ /// WhatsApp Version: 2.3000.1028596186
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -3713,6 +3713,7 @@ message MsgOpaqueData {
3713
3713
  optional bool isSentCagPollCreation = 28;
3714
3714
  optional PollContentType pollContentType = 42;
3715
3715
  optional PollType pollType = 46;
3716
+ optional int32 correctOptionIndex = 47;
3716
3717
  optional PollVotesSnapshot pollVotesSnapshot = 41;
3717
3718
  optional string encReactionTargetMessageKey = 25;
3718
3719
  optional bytes encReactionEncPayload = 26;
package/dist/index.d.ts CHANGED
@@ -42034,6 +42034,9 @@ export namespace waproto {
42034
42034
  /** MsgOpaqueData pollType */
42035
42035
  pollType?: (waproto.MsgOpaqueData.PollType|null);
42036
42036
 
42037
+ /** MsgOpaqueData correctOptionIndex */
42038
+ correctOptionIndex?: (number|null);
42039
+
42037
42040
  /** MsgOpaqueData pollVotesSnapshot */
42038
42041
  pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
42039
42042
 
@@ -42170,6 +42173,9 @@ export namespace waproto {
42170
42173
  /** MsgOpaqueData pollType. */
42171
42174
  public pollType?: (waproto.MsgOpaqueData.PollType|null);
42172
42175
 
42176
+ /** MsgOpaqueData correctOptionIndex. */
42177
+ public correctOptionIndex?: (number|null);
42178
+
42173
42179
  /** MsgOpaqueData pollVotesSnapshot. */
42174
42180
  public pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
42175
42181
 
package/dist/index.js CHANGED
@@ -130452,6 +130452,7 @@ $root.waproto = (function() {
130452
130452
  * @property {boolean|null} [isSentCagPollCreation] MsgOpaqueData isSentCagPollCreation
130453
130453
  * @property {waproto.MsgOpaqueData.PollContentType|null} [pollContentType] MsgOpaqueData pollContentType
130454
130454
  * @property {waproto.MsgOpaqueData.PollType|null} [pollType] MsgOpaqueData pollType
130455
+ * @property {number|null} [correctOptionIndex] MsgOpaqueData correctOptionIndex
130455
130456
  * @property {waproto.MsgOpaqueData.IPollVotesSnapshot|null} [pollVotesSnapshot] MsgOpaqueData pollVotesSnapshot
130456
130457
  * @property {string|null} [encReactionTargetMessageKey] MsgOpaqueData encReactionTargetMessageKey
130457
130458
  * @property {Uint8Array|null} [encReactionEncPayload] MsgOpaqueData encReactionEncPayload
@@ -130680,6 +130681,14 @@ $root.waproto = (function() {
130680
130681
  */
130681
130682
  MsgOpaqueData.prototype.pollType = null;
130682
130683
 
130684
+ /**
130685
+ * MsgOpaqueData correctOptionIndex.
130686
+ * @member {number|null|undefined} correctOptionIndex
130687
+ * @memberof waproto.MsgOpaqueData
130688
+ * @instance
130689
+ */
130690
+ MsgOpaqueData.prototype.correctOptionIndex = null;
130691
+
130683
130692
  /**
130684
130693
  * MsgOpaqueData pollVotesSnapshot.
130685
130694
  * @member {waproto.MsgOpaqueData.IPollVotesSnapshot|null|undefined} pollVotesSnapshot
@@ -130965,6 +130974,12 @@ $root.waproto = (function() {
130965
130974
  set: $util.oneOfSetter($oneOfFields)
130966
130975
  });
130967
130976
 
130977
+ // Virtual OneOf for proto3 optional field
130978
+ Object.defineProperty(MsgOpaqueData.prototype, "_correctOptionIndex", {
130979
+ get: $util.oneOfGetter($oneOfFields = ["correctOptionIndex"]),
130980
+ set: $util.oneOfSetter($oneOfFields)
130981
+ });
130982
+
130968
130983
  // Virtual OneOf for proto3 optional field
130969
130984
  Object.defineProperty(MsgOpaqueData.prototype, "_pollVotesSnapshot", {
130970
130985
  get: $util.oneOfGetter($oneOfFields = ["pollVotesSnapshot"]),
@@ -131180,6 +131195,8 @@ $root.waproto = (function() {
131180
131195
  writer.uint32(/* id 45, wireType 0 =*/360).bool(message.eventExtraGuestsAllowed);
131181
131196
  if (message.pollType != null && Object.hasOwnProperty.call(message, "pollType"))
131182
131197
  writer.uint32(/* id 46, wireType 0 =*/368).int32(message.pollType);
131198
+ if (message.correctOptionIndex != null && Object.hasOwnProperty.call(message, "correctOptionIndex"))
131199
+ writer.uint32(/* id 47, wireType 0 =*/376).int32(message.correctOptionIndex);
131183
131200
  if (message.originalSelfAuthor != null && Object.hasOwnProperty.call(message, "originalSelfAuthor"))
131184
131201
  writer.uint32(/* id 51, wireType 2 =*/410).string(message.originalSelfAuthor);
131185
131202
  return writer;
@@ -131314,6 +131331,10 @@ $root.waproto = (function() {
131314
131331
  message.pollType = reader.int32();
131315
131332
  break;
131316
131333
  }
131334
+ case 47: {
131335
+ message.correctOptionIndex = reader.int32();
131336
+ break;
131337
+ }
131317
131338
  case 41: {
131318
131339
  message.pollVotesSnapshot = $root.waproto.MsgOpaqueData.PollVotesSnapshot.decode(reader, reader.uint32());
131319
131340
  break;
@@ -131560,6 +131581,11 @@ $root.waproto = (function() {
131560
131581
  break;
131561
131582
  }
131562
131583
  }
131584
+ if (message.correctOptionIndex != null && message.hasOwnProperty("correctOptionIndex")) {
131585
+ properties._correctOptionIndex = 1;
131586
+ if (!$util.isInteger(message.correctOptionIndex))
131587
+ return "correctOptionIndex: integer expected";
131588
+ }
131563
131589
  if (message.pollVotesSnapshot != null && message.hasOwnProperty("pollVotesSnapshot")) {
131564
131590
  properties._pollVotesSnapshot = 1;
131565
131591
  {
@@ -131775,6 +131801,8 @@ $root.waproto = (function() {
131775
131801
  message.pollType = 1;
131776
131802
  break;
131777
131803
  }
131804
+ if (object.correctOptionIndex != null)
131805
+ message.correctOptionIndex = object.correctOptionIndex | 0;
131778
131806
  if (object.pollVotesSnapshot != null) {
131779
131807
  if (typeof object.pollVotesSnapshot !== "object")
131780
131808
  throw TypeError(".waproto.MsgOpaqueData.pollVotesSnapshot: object expected");
@@ -132081,6 +132109,11 @@ $root.waproto = (function() {
132081
132109
  if (options.oneofs)
132082
132110
  object._pollType = "pollType";
132083
132111
  }
132112
+ if (message.correctOptionIndex != null && message.hasOwnProperty("correctOptionIndex")) {
132113
+ object.correctOptionIndex = message.correctOptionIndex;
132114
+ if (options.oneofs)
132115
+ object._correctOptionIndex = "correctOptionIndex";
132116
+ }
132084
132117
  if (message.originalSelfAuthor != null && message.hasOwnProperty("originalSelfAuthor")) {
132085
132118
  object.originalSelfAuthor = message.originalSelfAuthor;
132086
132119
  if (options.oneofs)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1028401180",
3
+ "version": "2.3000.1028596186",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {