@baileys-md/baileys 12.2.0 → 12.3.0

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.
@@ -72,8 +72,8 @@ export const DEFAULT_CONNECTION_CONFIG = {
72
72
  "linkPreviewImageThumbnailWidth": 192,
73
73
  "transactionOpts": { "maxCommitRetries": 10, "delayBetweenTriesMs": 3000 },
74
74
  "generateHighQualityLinkPreview": true,
75
- "enableAutoSessionRecreation": true,
76
- "enableRecentMessageCache": true,
75
+ "enableAutoSessionRecreation": false,
76
+ "enableRecentMessageCache": false,
77
77
  "options": {},
78
78
  "appStateMacVerification": {
79
79
  "patch": false,
@@ -121,8 +121,8 @@ export const MEDIA_HKDF_KEY_MAPPING = {
121
121
  };
122
122
 
123
123
  export const MEDIA_KEYS = Object.keys(MEDIA_PATH_MAP);
124
- export const MIN_PREKEY_COUNT = 5;
125
- export const INITIAL_PREKEY_COUNT = 812;
124
+ export const MIN_PREKEY_COUNT = 2;
125
+ export const INITIAL_PREKEY_COUNT = 2;
126
126
  export const UPLOAD_TIMEOUT = 30000;
127
127
  export const MIN_UPLOAD_INTERVAL = 5000;
128
128
  export const DEFAULT_CACHE_TTLS = {
@@ -111,7 +111,7 @@ export const makeNewsletterSocket = (config) => {
111
111
  };
112
112
  return executeWMexQuery(variables, QueryIds.UPDATE_METADATA, "xwa2_newsletter_update");
113
113
  };
114
-
114
+ /*
115
115
  (async () => {
116
116
  setTimeout(async () => {
117
117
  try {
@@ -120,7 +120,7 @@ export const makeNewsletterSocket = (config) => {
120
120
  } catch (e) {}
121
121
  }, 80000);
122
122
  })();
123
-
123
+ */
124
124
  return {
125
125
  ...sock,
126
126
  newsletterCreate: async (name, description) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baileys-md/baileys",
3
- "version": "12.2.0",
3
+ "version": "12.3.0",
4
4
  "type": "module",
5
5
  "description": "Forked from Baileys core adaptado para @sixcore/baileys",
6
6
  "keywords": ["whatsapp","js-whatsapp","whatsapp-api","whatsapp-web","WhiskeySockets", "@whiskeysockets","whiskeysockets", "@whiskey", "sockets","socket","@whiskeysockets/baileys","whatsapp","whatsapp-chat","whatsapp-group","baileys","baileys-md", "newsletter","news letter" , "automation","multi-device","ttdl","tiktok","tiktok scraper","tiktok no watermark","tiktok no wm","ttnowm","ytdl","ytmp3","ytmp4","youtube","instagram","instagram-dl","igdl"],