@wppconnect/wa-proto 1.1.6 → 1.1.7
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 +4 -0
- package/WAProto.proto +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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.1019229338
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -401,6 +401,7 @@ message BotSessionMetadata {
|
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
enum BotSessionSource {
|
|
404
|
+
NONE = 0;
|
|
404
405
|
NULL_STATE = 1;
|
|
405
406
|
TYPEAHEAD = 2;
|
|
406
407
|
USER_INPUT = 3;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -13232,6 +13232,7 @@ $root.waproto = (function() {
|
|
|
13232
13232
|
switch (message.sessionSource) {
|
|
13233
13233
|
default:
|
|
13234
13234
|
return "sessionSource: enum value expected";
|
|
13235
|
+
case 0:
|
|
13235
13236
|
case 1:
|
|
13236
13237
|
case 2:
|
|
13237
13238
|
case 3:
|
|
@@ -13265,6 +13266,10 @@ $root.waproto = (function() {
|
|
|
13265
13266
|
break;
|
|
13266
13267
|
}
|
|
13267
13268
|
break;
|
|
13269
|
+
case "NONE":
|
|
13270
|
+
case 0:
|
|
13271
|
+
message.sessionSource = 0;
|
|
13272
|
+
break;
|
|
13268
13273
|
case "NULL_STATE":
|
|
13269
13274
|
case 1:
|
|
13270
13275
|
message.sessionSource = 1;
|
|
@@ -13352,6 +13357,7 @@ $root.waproto = (function() {
|
|
|
13352
13357
|
* BotSessionSource enum.
|
|
13353
13358
|
* @name waproto.BotSessionSource
|
|
13354
13359
|
* @enum {number}
|
|
13360
|
+
* @property {number} NONE=0 NONE value
|
|
13355
13361
|
* @property {number} NULL_STATE=1 NULL_STATE value
|
|
13356
13362
|
* @property {number} TYPEAHEAD=2 TYPEAHEAD value
|
|
13357
13363
|
* @property {number} USER_INPUT=3 USER_INPUT value
|
|
@@ -13361,6 +13367,7 @@ $root.waproto = (function() {
|
|
|
13361
13367
|
*/
|
|
13362
13368
|
waproto.BotSessionSource = (function() {
|
|
13363
13369
|
var valuesById = {}, values = Object.create(valuesById);
|
|
13370
|
+
values[valuesById[0] = "NONE"] = 0;
|
|
13364
13371
|
values[valuesById[1] = "NULL_STATE"] = 1;
|
|
13365
13372
|
values[valuesById[2] = "TYPEAHEAD"] = 2;
|
|
13366
13373
|
values[valuesById[3] = "USER_INPUT"] = 3;
|