@wppconnect/wa-proto 1.1.2 → 1.1.3

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
+ ## 1.1.3 (2024-10-30)
2
+
3
+
4
+
1
5
  ## 1.1.2 (2024-10-25)
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.1017677236
4
+ /// WhatsApp Version: 2.3000.1017784046
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -1271,6 +1271,7 @@ message Message {
1271
1271
  optional FutureProofMessage pollCreationMessageV4 = 89;
1272
1272
  optional FutureProofMessage pollCreationOptionImageMessage = 90;
1273
1273
  optional FutureProofMessage associatedChildMessage = 91;
1274
+ optional FutureProofMessage groupStatusMentionMessage = 92;
1274
1275
  message AlbumMessage {
1275
1276
  optional uint32 expectedImageCount = 2;
1276
1277
  optional uint32 expectedVideoCount = 3;
package/dist/index.d.ts CHANGED
@@ -13372,6 +13372,9 @@ export namespace waproto {
13372
13372
 
13373
13373
  /** Message associatedChildMessage */
13374
13374
  associatedChildMessage?: (waproto.Message.IFutureProofMessage|null);
13375
+
13376
+ /** Message groupStatusMentionMessage */
13377
+ groupStatusMentionMessage?: (waproto.Message.IFutureProofMessage|null);
13375
13378
  }
13376
13379
 
13377
13380
  /** Represents a Message. */
@@ -13611,6 +13614,9 @@ export namespace waproto {
13611
13614
  /** Message associatedChildMessage. */
13612
13615
  public associatedChildMessage?: (waproto.Message.IFutureProofMessage|null);
13613
13616
 
13617
+ /** Message groupStatusMentionMessage. */
13618
+ public groupStatusMentionMessage?: (waproto.Message.IFutureProofMessage|null);
13619
+
13614
13620
  /**
13615
13621
  * Creates a new Message instance using the specified properties.
13616
13622
  * @param [properties] Properties to set
package/dist/index.js CHANGED
@@ -41323,6 +41323,7 @@ $root.waproto = (function() {
41323
41323
  * @property {waproto.Message.IFutureProofMessage|null} [pollCreationMessageV4] Message pollCreationMessageV4
41324
41324
  * @property {waproto.Message.IFutureProofMessage|null} [pollCreationOptionImageMessage] Message pollCreationOptionImageMessage
41325
41325
  * @property {waproto.Message.IFutureProofMessage|null} [associatedChildMessage] Message associatedChildMessage
41326
+ * @property {waproto.Message.IFutureProofMessage|null} [groupStatusMentionMessage] Message groupStatusMentionMessage
41326
41327
  */
41327
41328
 
41328
41329
  /**
@@ -41948,6 +41949,14 @@ $root.waproto = (function() {
41948
41949
  */
41949
41950
  Message.prototype.associatedChildMessage = null;
41950
41951
 
41952
+ /**
41953
+ * Message groupStatusMentionMessage.
41954
+ * @member {waproto.Message.IFutureProofMessage|null|undefined} groupStatusMentionMessage
41955
+ * @memberof waproto.Message
41956
+ * @instance
41957
+ */
41958
+ Message.prototype.groupStatusMentionMessage = null;
41959
+
41951
41960
  // OneOf field names bound to virtual getters and setters
41952
41961
  var $oneOfFields;
41953
41962
 
@@ -42407,6 +42416,12 @@ $root.waproto = (function() {
42407
42416
  set: $util.oneOfSetter($oneOfFields)
42408
42417
  });
42409
42418
 
42419
+ // Virtual OneOf for proto3 optional field
42420
+ Object.defineProperty(Message.prototype, "_groupStatusMentionMessage", {
42421
+ get: $util.oneOfGetter($oneOfFields = ["groupStatusMentionMessage"]),
42422
+ set: $util.oneOfSetter($oneOfFields)
42423
+ });
42424
+
42410
42425
  /**
42411
42426
  * Creates a new Message instance using the specified properties.
42412
42427
  * @function create
@@ -42583,6 +42598,8 @@ $root.waproto = (function() {
42583
42598
  $root.waproto.Message.FutureProofMessage.encode(message.pollCreationOptionImageMessage, writer.uint32(/* id 90, wireType 2 =*/722).fork()).ldelim();
42584
42599
  if (message.associatedChildMessage != null && Object.hasOwnProperty.call(message, "associatedChildMessage"))
42585
42600
  $root.waproto.Message.FutureProofMessage.encode(message.associatedChildMessage, writer.uint32(/* id 91, wireType 2 =*/730).fork()).ldelim();
42601
+ if (message.groupStatusMentionMessage != null && Object.hasOwnProperty.call(message, "groupStatusMentionMessage"))
42602
+ $root.waproto.Message.FutureProofMessage.encode(message.groupStatusMentionMessage, writer.uint32(/* id 92, wireType 2 =*/738).fork()).ldelim();
42586
42603
  return writer;
42587
42604
  };
42588
42605
 
@@ -42921,6 +42938,10 @@ $root.waproto = (function() {
42921
42938
  message.associatedChildMessage = $root.waproto.Message.FutureProofMessage.decode(reader, reader.uint32());
42922
42939
  break;
42923
42940
  }
42941
+ case 92: {
42942
+ message.groupStatusMentionMessage = $root.waproto.Message.FutureProofMessage.decode(reader, reader.uint32());
42943
+ break;
42944
+ }
42924
42945
  default:
42925
42946
  reader.skipType(tag & 7);
42926
42947
  break;
@@ -43562,6 +43583,14 @@ $root.waproto = (function() {
43562
43583
  return "associatedChildMessage." + error;
43563
43584
  }
43564
43585
  }
43586
+ if (message.groupStatusMentionMessage != null && message.hasOwnProperty("groupStatusMentionMessage")) {
43587
+ properties._groupStatusMentionMessage = 1;
43588
+ {
43589
+ var error = $root.waproto.Message.FutureProofMessage.verify(message.groupStatusMentionMessage);
43590
+ if (error)
43591
+ return "groupStatusMentionMessage." + error;
43592
+ }
43593
+ }
43565
43594
  return null;
43566
43595
  };
43567
43596
 
@@ -43954,6 +43983,11 @@ $root.waproto = (function() {
43954
43983
  throw TypeError(".waproto.Message.associatedChildMessage: object expected");
43955
43984
  message.associatedChildMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.associatedChildMessage);
43956
43985
  }
43986
+ if (object.groupStatusMentionMessage != null) {
43987
+ if (typeof object.groupStatusMentionMessage !== "object")
43988
+ throw TypeError(".waproto.Message.groupStatusMentionMessage: object expected");
43989
+ message.groupStatusMentionMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.groupStatusMentionMessage);
43990
+ }
43957
43991
  return message;
43958
43992
  };
43959
43993
 
@@ -44350,6 +44384,11 @@ $root.waproto = (function() {
44350
44384
  if (options.oneofs)
44351
44385
  object._associatedChildMessage = "associatedChildMessage";
44352
44386
  }
44387
+ if (message.groupStatusMentionMessage != null && message.hasOwnProperty("groupStatusMentionMessage")) {
44388
+ object.groupStatusMentionMessage = $root.waproto.Message.FutureProofMessage.toObject(message.groupStatusMentionMessage, options);
44389
+ if (options.oneofs)
44390
+ object._groupStatusMentionMessage = "groupStatusMentionMessage";
44391
+ }
44353
44392
  return object;
44354
44393
  };
44355
44394
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "acorn": "^8.11.3",
29
- "acorn-walk": "^8.3.2",
29
+ "acorn-walk": "^8.3.4",
30
30
  "conventional-changelog-cli": "^4.1.0",
31
31
  "protobufjs-cli": "^1.1.3",
32
32
  "release-it": "^17.1.1",