@jiancodes/baileys 2.0.7 → 2.0.9

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.
@@ -27,7 +27,7 @@ exports.DEFAULT_CACHE_TTLS =
27
27
  void 0;
28
28
 
29
29
  const crypto_1 = require("crypto");
30
- const WAProto_1 = require("../../WAProto"),
30
+ const { proto } = require("../../WAProto"),
31
31
  libsignal_1 = require("../Signal/libsignal"),
32
32
  Utils_1 = require("../Utils"),
33
33
  logger_1 = __importDefault(require("../Utils/logger")),
@@ -64,11 +64,11 @@ exports.URL_REGEX = /https:\/\/(?![^:@\/\s]+:[^:@\/\s]+@)[a-zA-Z0-9.-]+\.[a-zA-Z
64
64
  exports.WA_CERT_DETAILS = { SERIAL: 0 };
65
65
 
66
66
  exports.PROCESSABLE_HISTORY_TYPES = [
67
- WAProto_1.proto.Message.HistorySyncNotification.HistorySyncType.INITIAL_BOOTSTRAP,
68
- WAProto_1.proto.Message.HistorySyncNotification.HistorySyncType.PUSH_NAME,
69
- WAProto_1.proto.Message.HistorySyncNotification.HistorySyncType.RECENT,
70
- WAProto_1.proto.Message.HistorySyncNotification.HistorySyncType.FULL,
71
- WAProto_1.proto.Message.HistorySyncNotification.HistorySyncType.ON_DEMAND
67
+ "INITIAL_BOOTSTRAP",
68
+ "PUSH_NAME",
69
+ "RECENT",
70
+ "FULL",
71
+ "ON_DEMAND"
72
72
  ];
73
73
 
74
74
  exports.DEFAULT_CONNECTION_CONFIG = {
@@ -144,4 +144,4 @@ exports.DEFAULT_CACHE_TTLS = {
144
144
  MSG_RETRY: 3600,
145
145
  CALL_OFFER: 300,
146
146
  USER_DEVICES: 300
147
- };
147
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiancodes/baileys",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "WhatsApp Modified By jiancodes",
5
5
  "keywords": [
6
6
  "whatsapp-baileys"