@realvare/based 2.6.254 → 2.6.767
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.
|
@@ -1074,7 +1074,7 @@ const makeMessagesRecvSocket = (config) => {
|
|
|
1074
1074
|
|
|
1075
1075
|
// Enhanced retry logic for stuck pending messages with anti-ban delays
|
|
1076
1076
|
ev.on('messages.update', (updates) => {
|
|
1077
|
-
const config = getPerformanceConfig();
|
|
1077
|
+
const config = (0, performance_config_1.getPerformanceConfig)();
|
|
1078
1078
|
updates.forEach(update => {
|
|
1079
1079
|
if (update.update.status === WAProto_1.proto.WebMessageInfo.Status.PENDING &&
|
|
1080
1080
|
Date.now() - (update.update.timestamp || 0) > 30000) { // 30 seconds
|
package/lib/Utils/messages.js
CHANGED
|
@@ -1213,7 +1213,6 @@ const toJid = (id) => {
|
|
|
1213
1213
|
exports.toJid = toJid;
|
|
1214
1214
|
|
|
1215
1215
|
const getSenderLid = (message) => {
|
|
1216
|
-
console.warn('getSenderLid is deprecated. Use getNormalizedJid and isLidFormat instead.');
|
|
1217
1216
|
const sender = message?.key?.participant || message?.key?.remoteJid;
|
|
1218
1217
|
if (!sender) return null;
|
|
1219
1218
|
|