@wppconnect/wa-proto 2.3000.1046829849 → 2.3000.1046856082
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 +2 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +33 -0
- 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.1046856082
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -4682,6 +4682,7 @@ message MsgOpaqueData {
|
|
|
4682
4682
|
optional bytes sharableEventInviteJpegThumbnail = 59;
|
|
4683
4683
|
optional string sharableEventInviteCallLink = 60;
|
|
4684
4684
|
optional string mediaPngThumbnail = 61;
|
|
4685
|
+
optional string qrUrl = 62;
|
|
4685
4686
|
message EventLocation {
|
|
4686
4687
|
optional double degreesLatitude = 1;
|
|
4687
4688
|
optional double degreesLongitude = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -63925,6 +63925,9 @@ export namespace waproto {
|
|
|
63925
63925
|
/** MsgOpaqueData mediaPngThumbnail. */
|
|
63926
63926
|
mediaPngThumbnail?: (string|null);
|
|
63927
63927
|
|
|
63928
|
+
/** MsgOpaqueData qrUrl. */
|
|
63929
|
+
qrUrl?: (string|null);
|
|
63930
|
+
|
|
63928
63931
|
/**
|
|
63929
63932
|
* Creates a new MsgOpaqueData instance using the specified properties.
|
|
63930
63933
|
* @param [properties] Properties to set
|
|
@@ -64177,6 +64180,9 @@ export namespace waproto {
|
|
|
64177
64180
|
/** MsgOpaqueData mediaPngThumbnail */
|
|
64178
64181
|
mediaPngThumbnail?: (string|null);
|
|
64179
64182
|
|
|
64183
|
+
/** MsgOpaqueData qrUrl */
|
|
64184
|
+
qrUrl?: (string|null);
|
|
64185
|
+
|
|
64180
64186
|
/** Unknown fields preserved while decoding when enabled */
|
|
64181
64187
|
$unknowns?: Uint8Array[];
|
|
64182
64188
|
}
|
package/dist/index.js
CHANGED
|
@@ -191551,6 +191551,7 @@ $root.waproto = (function() {
|
|
|
191551
191551
|
* @property {Uint8Array|null} [sharableEventInviteJpegThumbnail] MsgOpaqueData sharableEventInviteJpegThumbnail
|
|
191552
191552
|
* @property {string|null} [sharableEventInviteCallLink] MsgOpaqueData sharableEventInviteCallLink
|
|
191553
191553
|
* @property {string|null} [mediaPngThumbnail] MsgOpaqueData mediaPngThumbnail
|
|
191554
|
+
* @property {string|null} [qrUrl] MsgOpaqueData qrUrl
|
|
191554
191555
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
191555
191556
|
*/
|
|
191556
191557
|
|
|
@@ -192031,6 +192032,14 @@ $root.waproto = (function() {
|
|
|
192031
192032
|
*/
|
|
192032
192033
|
MsgOpaqueData.prototype.mediaPngThumbnail = null;
|
|
192033
192034
|
|
|
192035
|
+
/**
|
|
192036
|
+
* MsgOpaqueData qrUrl.
|
|
192037
|
+
* @member {string|null|undefined} qrUrl
|
|
192038
|
+
* @memberof waproto.MsgOpaqueData
|
|
192039
|
+
* @instance
|
|
192040
|
+
*/
|
|
192041
|
+
MsgOpaqueData.prototype.qrUrl = null;
|
|
192042
|
+
|
|
192034
192043
|
// OneOf field names bound to virtual getters and setters
|
|
192035
192044
|
var $oneOfFields;
|
|
192036
192045
|
|
|
@@ -192364,6 +192373,12 @@ $root.waproto = (function() {
|
|
|
192364
192373
|
set: $util.oneOfSetter($oneOfFields)
|
|
192365
192374
|
});
|
|
192366
192375
|
|
|
192376
|
+
// Virtual OneOf for proto3 optional field
|
|
192377
|
+
$Object.defineProperty(MsgOpaqueData.prototype, "_qrUrl", {
|
|
192378
|
+
get: $util.oneOfGetter($oneOfFields = ["qrUrl"]),
|
|
192379
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
192380
|
+
});
|
|
192381
|
+
|
|
192367
192382
|
/**
|
|
192368
192383
|
* Creates a new MsgOpaqueData instance using the specified properties.
|
|
192369
192384
|
* @function create
|
|
@@ -192509,6 +192524,8 @@ $root.waproto = (function() {
|
|
|
192509
192524
|
writer.uint32(/* id 60, wireType 2 =*/482).string(message.sharableEventInviteCallLink);
|
|
192510
192525
|
if (message.mediaPngThumbnail != null && $Object.hasOwnProperty.call(message, "mediaPngThumbnail"))
|
|
192511
192526
|
writer.uint32(/* id 61, wireType 2 =*/490).string(message.mediaPngThumbnail);
|
|
192527
|
+
if (message.qrUrl != null && $Object.hasOwnProperty.call(message, "qrUrl"))
|
|
192528
|
+
writer.uint32(/* id 62, wireType 2 =*/498).string(message.qrUrl);
|
|
192512
192529
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
192513
192530
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
192514
192531
|
writer.raw(message.$unknowns[i]);
|
|
@@ -192959,6 +192976,13 @@ $root.waproto = (function() {
|
|
|
192959
192976
|
message._mediaPngThumbnail = "mediaPngThumbnail";
|
|
192960
192977
|
continue;
|
|
192961
192978
|
}
|
|
192979
|
+
case 62: {
|
|
192980
|
+
if (wireType !== 2)
|
|
192981
|
+
break;
|
|
192982
|
+
message.qrUrl = reader.stringVerify();
|
|
192983
|
+
message._qrUrl = "qrUrl";
|
|
192984
|
+
continue;
|
|
192985
|
+
}
|
|
192962
192986
|
}
|
|
192963
192987
|
reader.skipType(wireType, _depth, tag);
|
|
192964
192988
|
if (!reader.discardUnknown) {
|
|
@@ -193301,6 +193325,11 @@ $root.waproto = (function() {
|
|
|
193301
193325
|
if (!$util.isString(message.mediaPngThumbnail))
|
|
193302
193326
|
return "mediaPngThumbnail: string expected";
|
|
193303
193327
|
}
|
|
193328
|
+
if (message.qrUrl != null && $Object.hasOwnProperty.call(message, "qrUrl")) {
|
|
193329
|
+
properties._qrUrl = 1;
|
|
193330
|
+
if (!$util.isString(message.qrUrl))
|
|
193331
|
+
return "qrUrl: string expected";
|
|
193332
|
+
}
|
|
193304
193333
|
return null;
|
|
193305
193334
|
};
|
|
193306
193335
|
|
|
@@ -193546,6 +193575,8 @@ $root.waproto = (function() {
|
|
|
193546
193575
|
message.sharableEventInviteCallLink = $String(object.sharableEventInviteCallLink);
|
|
193547
193576
|
if (object.mediaPngThumbnail != null)
|
|
193548
193577
|
message.mediaPngThumbnail = $String(object.mediaPngThumbnail);
|
|
193578
|
+
if (object.qrUrl != null)
|
|
193579
|
+
message.qrUrl = $String(object.qrUrl);
|
|
193549
193580
|
return message;
|
|
193550
193581
|
};
|
|
193551
193582
|
|
|
@@ -193713,6 +193744,8 @@ $root.waproto = (function() {
|
|
|
193713
193744
|
object.sharableEventInviteCallLink = message.sharableEventInviteCallLink;
|
|
193714
193745
|
if (message.mediaPngThumbnail != null && $Object.hasOwnProperty.call(message, "mediaPngThumbnail"))
|
|
193715
193746
|
object.mediaPngThumbnail = message.mediaPngThumbnail;
|
|
193747
|
+
if (message.qrUrl != null && $Object.hasOwnProperty.call(message, "qrUrl"))
|
|
193748
|
+
object.qrUrl = message.qrUrl;
|
|
193716
193749
|
return object;
|
|
193717
193750
|
};
|
|
193718
193751
|
|