@wppconnect/wa-proto 2.3000.1047359146 → 2.3000.1047386701

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/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1047359146
4
+ /// WhatsApp Version: 2.3000.1047386701
5
5
 
6
6
  message ACP2Setting {
7
7
  optional bool enabled = 1;
@@ -4637,6 +4637,7 @@ message MsgOpaqueData {
4637
4637
  message PollOption {
4638
4638
  optional string name = 1;
4639
4639
  optional string hash = 2;
4640
+ optional string addOptionMsgKey = 3;
4640
4641
  }
4641
4642
 
4642
4643
  enum PollType {
package/dist/index.d.ts CHANGED
@@ -63221,6 +63221,9 @@ export namespace waproto {
63221
63221
  /** PollOption hash. */
63222
63222
  hash?: (string|null);
63223
63223
 
63224
+ /** PollOption addOptionMsgKey. */
63225
+ addOptionMsgKey?: (string|null);
63226
+
63224
63227
  /**
63225
63228
  * Creates a new PollOption instance using the specified properties.
63226
63229
  * @param [properties] Properties to set
@@ -63311,6 +63314,9 @@ export namespace waproto {
63311
63314
  /** PollOption hash */
63312
63315
  hash?: (string|null);
63313
63316
 
63317
+ /** PollOption addOptionMsgKey */
63318
+ addOptionMsgKey?: (string|null);
63319
+
63314
63320
  /** Unknown fields preserved while decoding when enabled */
63315
63321
  $unknowns?: Uint8Array[];
63316
63322
  }
package/dist/index.js CHANGED
@@ -190671,6 +190671,7 @@ $root.waproto = (function() {
190671
190671
  * @typedef {Object} waproto.MsgOpaqueData.PollOption.$Properties
190672
190672
  * @property {string|null} [name] PollOption name
190673
190673
  * @property {string|null} [hash] PollOption hash
190674
+ * @property {string|null} [addOptionMsgKey] PollOption addOptionMsgKey
190674
190675
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
190675
190676
  */
190676
190677
 
@@ -190718,6 +190719,14 @@ $root.waproto = (function() {
190718
190719
  */
190719
190720
  PollOption.prototype.hash = null;
190720
190721
 
190722
+ /**
190723
+ * PollOption addOptionMsgKey.
190724
+ * @member {string|null|undefined} addOptionMsgKey
190725
+ * @memberof waproto.MsgOpaqueData.PollOption
190726
+ * @instance
190727
+ */
190728
+ PollOption.prototype.addOptionMsgKey = null;
190729
+
190721
190730
  // OneOf field names bound to virtual getters and setters
190722
190731
  var $oneOfFields;
190723
190732
 
@@ -190733,6 +190742,12 @@ $root.waproto = (function() {
190733
190742
  set: $util.oneOfSetter($oneOfFields)
190734
190743
  });
190735
190744
 
190745
+ // Virtual OneOf for proto3 optional field
190746
+ $Object.defineProperty(PollOption.prototype, "_addOptionMsgKey", {
190747
+ get: $util.oneOfGetter($oneOfFields = ["addOptionMsgKey"]),
190748
+ set: $util.oneOfSetter($oneOfFields)
190749
+ });
190750
+
190736
190751
  /**
190737
190752
  * Creates a new PollOption instance using the specified properties.
190738
190753
  * @function create
@@ -190769,6 +190784,8 @@ $root.waproto = (function() {
190769
190784
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
190770
190785
  if (message.hash != null && $Object.hasOwnProperty.call(message, "hash"))
190771
190786
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.hash);
190787
+ if (message.addOptionMsgKey != null && $Object.hasOwnProperty.call(message, "addOptionMsgKey"))
190788
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.addOptionMsgKey);
190772
190789
  if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
190773
190790
  for (var i = 0; i < message.$unknowns.length; ++i)
190774
190791
  writer.raw(message.$unknowns[i]);
@@ -190840,6 +190857,13 @@ $root.waproto = (function() {
190840
190857
  message._hash = "hash";
190841
190858
  continue;
190842
190859
  }
190860
+ case 3: {
190861
+ if (wireType !== 2)
190862
+ break;
190863
+ message.addOptionMsgKey = reader.stringVerify();
190864
+ message._addOptionMsgKey = "addOptionMsgKey";
190865
+ continue;
190866
+ }
190843
190867
  }
190844
190868
  reader.skipType(wireType, _depth, tag);
190845
190869
  if (!reader.discardUnknown) {
@@ -190899,6 +190923,11 @@ $root.waproto = (function() {
190899
190923
  if (!$util.isString(message.hash))
190900
190924
  return "hash: string expected";
190901
190925
  }
190926
+ if (message.addOptionMsgKey != null && $Object.hasOwnProperty.call(message, "addOptionMsgKey")) {
190927
+ properties._addOptionMsgKey = 1;
190928
+ if (!$util.isString(message.addOptionMsgKey))
190929
+ return "addOptionMsgKey: string expected";
190930
+ }
190902
190931
  return null;
190903
190932
  };
190904
190933
 
@@ -190924,6 +190953,8 @@ $root.waproto = (function() {
190924
190953
  message.name = $String(object.name);
190925
190954
  if (object.hash != null)
190926
190955
  message.hash = $String(object.hash);
190956
+ if (object.addOptionMsgKey != null)
190957
+ message.addOptionMsgKey = $String(object.addOptionMsgKey);
190927
190958
  return message;
190928
190959
  };
190929
190960
 
@@ -190948,6 +190979,8 @@ $root.waproto = (function() {
190948
190979
  object.name = message.name;
190949
190980
  if (message.hash != null && $Object.hasOwnProperty.call(message, "hash"))
190950
190981
  object.hash = message.hash;
190982
+ if (message.addOptionMsgKey != null && $Object.hasOwnProperty.call(message, "addOptionMsgKey"))
190983
+ object.addOptionMsgKey = message.addOptionMsgKey;
190951
190984
  return object;
190952
190985
  };
190953
190986
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1047359146",
3
+ "version": "2.3000.1047386701",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {