@wppconnect/wa-proto 2.3000.1045477192 → 2.3000.1045490272
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 +1 -2
- package/dist/index.d.ts +0 -7
- package/dist/index.js +0 -40
- package/package.json +1 -1
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1045490272
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -3496,7 +3496,6 @@ message Message {
|
|
|
3496
3496
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
3497
3497
|
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
|
|
3498
3498
|
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
|
3499
|
-
optional FutureProofMessage newsletterAdminProfileMessageV2 = 117;
|
|
3500
3499
|
optional FutureProofMessage spoilerMessage = 118;
|
|
3501
3500
|
optional PollCreationMessage pollCreationMessageV6 = 119;
|
|
3502
3501
|
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
package/dist/index.d.ts
CHANGED
|
@@ -48881,9 +48881,6 @@ export namespace waproto {
|
|
|
48881
48881
|
/** Message newsletterAdminProfileMessage. */
|
|
48882
48882
|
newsletterAdminProfileMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
48883
48883
|
|
|
48884
|
-
/** Message newsletterAdminProfileMessageV2. */
|
|
48885
|
-
newsletterAdminProfileMessageV2?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
48886
|
-
|
|
48887
48884
|
/** Message spoilerMessage. */
|
|
48888
48885
|
spoilerMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
48889
48886
|
|
|
@@ -49298,9 +49295,6 @@ export namespace waproto {
|
|
|
49298
49295
|
/** Message newsletterAdminProfileMessage */
|
|
49299
49296
|
newsletterAdminProfileMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
49300
49297
|
|
|
49301
|
-
/** Message newsletterAdminProfileMessageV2 */
|
|
49302
|
-
newsletterAdminProfileMessageV2?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
49303
|
-
|
|
49304
49298
|
/** Message spoilerMessage */
|
|
49305
49299
|
spoilerMessage?: (waproto.Message.FutureProofMessage.$Properties|null);
|
|
49306
49300
|
|
|
@@ -49445,7 +49439,6 @@ export namespace waproto {
|
|
|
49445
49439
|
newsletterFollowerInviteMessageV2?: waproto.Message.NewsletterFollowerInviteMessage.$Shape|null;
|
|
49446
49440
|
pollResultSnapshotMessageV3?: waproto.Message.PollResultSnapshotMessage.$Shape|null;
|
|
49447
49441
|
newsletterAdminProfileMessage?: waproto.Message.FutureProofMessage.$Shape|null;
|
|
49448
|
-
newsletterAdminProfileMessageV2?: waproto.Message.FutureProofMessage.$Shape|null;
|
|
49449
49442
|
spoilerMessage?: waproto.Message.FutureProofMessage.$Shape|null;
|
|
49450
49443
|
pollCreationMessageV6?: waproto.Message.PollCreationMessage.$Shape|null;
|
|
49451
49444
|
conditionalRevealMessage?: waproto.Message.ConditionalRevealMessage.$Shape|null;
|
package/dist/index.js
CHANGED
|
@@ -136080,7 +136080,6 @@ $root.waproto = (function() {
|
|
|
136080
136080
|
* @property {waproto.Message.NewsletterFollowerInviteMessage.$Properties|null} [newsletterFollowerInviteMessageV2] Message newsletterFollowerInviteMessageV2
|
|
136081
136081
|
* @property {waproto.Message.PollResultSnapshotMessage.$Properties|null} [pollResultSnapshotMessageV3] Message pollResultSnapshotMessageV3
|
|
136082
136082
|
* @property {waproto.Message.FutureProofMessage.$Properties|null} [newsletterAdminProfileMessage] Message newsletterAdminProfileMessage
|
|
136083
|
-
* @property {waproto.Message.FutureProofMessage.$Properties|null} [newsletterAdminProfileMessageV2] Message newsletterAdminProfileMessageV2
|
|
136084
136083
|
* @property {waproto.Message.FutureProofMessage.$Properties|null} [spoilerMessage] Message spoilerMessage
|
|
136085
136084
|
* @property {waproto.Message.PollCreationMessage.$Properties|null} [pollCreationMessageV6] Message pollCreationMessageV6
|
|
136086
136085
|
* @property {waproto.Message.ConditionalRevealMessage.$Properties|null} [conditionalRevealMessage] Message conditionalRevealMessage
|
|
@@ -136205,7 +136204,6 @@ $root.waproto = (function() {
|
|
|
136205
136204
|
* newsletterFollowerInviteMessageV2?: waproto.Message.NewsletterFollowerInviteMessage.$Shape|null;
|
|
136206
136205
|
* pollResultSnapshotMessageV3?: waproto.Message.PollResultSnapshotMessage.$Shape|null;
|
|
136207
136206
|
* newsletterAdminProfileMessage?: waproto.Message.FutureProofMessage.$Shape|null;
|
|
136208
|
-
* newsletterAdminProfileMessageV2?: waproto.Message.FutureProofMessage.$Shape|null;
|
|
136209
136207
|
* spoilerMessage?: waproto.Message.FutureProofMessage.$Shape|null;
|
|
136210
136208
|
* pollCreationMessageV6?: waproto.Message.PollCreationMessage.$Shape|null;
|
|
136211
136209
|
* conditionalRevealMessage?: waproto.Message.ConditionalRevealMessage.$Shape|null;
|
|
@@ -137007,14 +137005,6 @@ $root.waproto = (function() {
|
|
|
137007
137005
|
*/
|
|
137008
137006
|
Message.prototype.newsletterAdminProfileMessage = null;
|
|
137009
137007
|
|
|
137010
|
-
/**
|
|
137011
|
-
* Message newsletterAdminProfileMessageV2.
|
|
137012
|
-
* @member {waproto.Message.FutureProofMessage.$Properties|null|undefined} newsletterAdminProfileMessageV2
|
|
137013
|
-
* @memberof waproto.Message
|
|
137014
|
-
* @instance
|
|
137015
|
-
*/
|
|
137016
|
-
Message.prototype.newsletterAdminProfileMessageV2 = null;
|
|
137017
|
-
|
|
137018
137008
|
/**
|
|
137019
137009
|
* Message spoilerMessage.
|
|
137020
137010
|
* @member {waproto.Message.FutureProofMessage.$Properties|null|undefined} spoilerMessage
|
|
@@ -137706,12 +137696,6 @@ $root.waproto = (function() {
|
|
|
137706
137696
|
set: $util.oneOfSetter($oneOfFields)
|
|
137707
137697
|
});
|
|
137708
137698
|
|
|
137709
|
-
// Virtual OneOf for proto3 optional field
|
|
137710
|
-
$Object.defineProperty(Message.prototype, "_newsletterAdminProfileMessageV2", {
|
|
137711
|
-
get: $util.oneOfGetter($oneOfFields = ["newsletterAdminProfileMessageV2"]),
|
|
137712
|
-
set: $util.oneOfSetter($oneOfFields)
|
|
137713
|
-
});
|
|
137714
|
-
|
|
137715
137699
|
// Virtual OneOf for proto3 optional field
|
|
137716
137700
|
$Object.defineProperty(Message.prototype, "_spoilerMessage", {
|
|
137717
137701
|
get: $util.oneOfGetter($oneOfFields = ["spoilerMessage"]),
|
|
@@ -138020,8 +138004,6 @@ $root.waproto = (function() {
|
|
|
138020
138004
|
$root.waproto.Message.PollResultSnapshotMessage.encode(message.pollResultSnapshotMessageV3, writer.uint32(/* id 115, wireType 2 =*/922).fork(), _depth + 1).ldelim();
|
|
138021
138005
|
if (message.newsletterAdminProfileMessage != null && $Object.hasOwnProperty.call(message, "newsletterAdminProfileMessage"))
|
|
138022
138006
|
$root.waproto.Message.FutureProofMessage.encode(message.newsletterAdminProfileMessage, writer.uint32(/* id 116, wireType 2 =*/930).fork(), _depth + 1).ldelim();
|
|
138023
|
-
if (message.newsletterAdminProfileMessageV2 != null && $Object.hasOwnProperty.call(message, "newsletterAdminProfileMessageV2"))
|
|
138024
|
-
$root.waproto.Message.FutureProofMessage.encode(message.newsletterAdminProfileMessageV2, writer.uint32(/* id 117, wireType 2 =*/938).fork(), _depth + 1).ldelim();
|
|
138025
138007
|
if (message.spoilerMessage != null && $Object.hasOwnProperty.call(message, "spoilerMessage"))
|
|
138026
138008
|
$root.waproto.Message.FutureProofMessage.encode(message.spoilerMessage, writer.uint32(/* id 118, wireType 2 =*/946).fork(), _depth + 1).ldelim();
|
|
138027
138009
|
if (message.pollCreationMessageV6 != null && $Object.hasOwnProperty.call(message, "pollCreationMessageV6"))
|
|
@@ -138769,13 +138751,6 @@ $root.waproto = (function() {
|
|
|
138769
138751
|
message._newsletterAdminProfileMessage = "newsletterAdminProfileMessage";
|
|
138770
138752
|
continue;
|
|
138771
138753
|
}
|
|
138772
|
-
case 117: {
|
|
138773
|
-
if (wireType !== 2)
|
|
138774
|
-
break;
|
|
138775
|
-
message.newsletterAdminProfileMessageV2 = $root.waproto.Message.FutureProofMessage.decode(reader, reader.uint32(), $undefined, _depth + 1, message.newsletterAdminProfileMessageV2);
|
|
138776
|
-
message._newsletterAdminProfileMessageV2 = "newsletterAdminProfileMessageV2";
|
|
138777
|
-
continue;
|
|
138778
|
-
}
|
|
138779
138754
|
case 118: {
|
|
138780
138755
|
if (wireType !== 2)
|
|
138781
138756
|
break;
|
|
@@ -139683,14 +139658,6 @@ $root.waproto = (function() {
|
|
|
139683
139658
|
return "newsletterAdminProfileMessage." + error;
|
|
139684
139659
|
}
|
|
139685
139660
|
}
|
|
139686
|
-
if (message.newsletterAdminProfileMessageV2 != null && $Object.hasOwnProperty.call(message, "newsletterAdminProfileMessageV2")) {
|
|
139687
|
-
properties._newsletterAdminProfileMessageV2 = 1;
|
|
139688
|
-
{
|
|
139689
|
-
var error = $root.waproto.Message.FutureProofMessage.verify(message.newsletterAdminProfileMessageV2, _depth + 1);
|
|
139690
|
-
if (error)
|
|
139691
|
-
return "newsletterAdminProfileMessageV2." + error;
|
|
139692
|
-
}
|
|
139693
|
-
}
|
|
139694
139661
|
if (message.spoilerMessage != null && $Object.hasOwnProperty.call(message, "spoilerMessage")) {
|
|
139695
139662
|
properties._spoilerMessage = 1;
|
|
139696
139663
|
{
|
|
@@ -140301,11 +140268,6 @@ $root.waproto = (function() {
|
|
|
140301
140268
|
throw $TypeError(".waproto.Message.newsletterAdminProfileMessage: object expected");
|
|
140302
140269
|
message.newsletterAdminProfileMessage = $root.waproto.Message.FutureProofMessage.fromObject(object.newsletterAdminProfileMessage, _depth + 1);
|
|
140303
140270
|
}
|
|
140304
|
-
if (object.newsletterAdminProfileMessageV2 != null) {
|
|
140305
|
-
if (!$util.isObject(object.newsletterAdminProfileMessageV2))
|
|
140306
|
-
throw $TypeError(".waproto.Message.newsletterAdminProfileMessageV2: object expected");
|
|
140307
|
-
message.newsletterAdminProfileMessageV2 = $root.waproto.Message.FutureProofMessage.fromObject(object.newsletterAdminProfileMessageV2, _depth + 1);
|
|
140308
|
-
}
|
|
140309
140271
|
if (object.spoilerMessage != null) {
|
|
140310
140272
|
if (!$util.isObject(object.spoilerMessage))
|
|
140311
140273
|
throw $TypeError(".waproto.Message.spoilerMessage: object expected");
|
|
@@ -140588,8 +140550,6 @@ $root.waproto = (function() {
|
|
|
140588
140550
|
object.pollResultSnapshotMessageV3 = $root.waproto.Message.PollResultSnapshotMessage.toObject(message.pollResultSnapshotMessageV3, options, _depth + 1);
|
|
140589
140551
|
if (message.newsletterAdminProfileMessage != null && $Object.hasOwnProperty.call(message, "newsletterAdminProfileMessage"))
|
|
140590
140552
|
object.newsletterAdminProfileMessage = $root.waproto.Message.FutureProofMessage.toObject(message.newsletterAdminProfileMessage, options, _depth + 1);
|
|
140591
|
-
if (message.newsletterAdminProfileMessageV2 != null && $Object.hasOwnProperty.call(message, "newsletterAdminProfileMessageV2"))
|
|
140592
|
-
object.newsletterAdminProfileMessageV2 = $root.waproto.Message.FutureProofMessage.toObject(message.newsletterAdminProfileMessageV2, options, _depth + 1);
|
|
140593
140553
|
if (message.spoilerMessage != null && $Object.hasOwnProperty.call(message, "spoilerMessage"))
|
|
140594
140554
|
object.spoilerMessage = $root.waproto.Message.FutureProofMessage.toObject(message.spoilerMessage, options, _depth + 1);
|
|
140595
140555
|
if (message.pollCreationMessageV6 != null && $Object.hasOwnProperty.call(message, "pollCreationMessageV6"))
|