@rakku-kun/baileys 2.0.18 → 2.0.20

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.
@@ -199,7 +199,7 @@ export function makeLibSignalRepository(auth, logger, pnToLIDFunc) {
199
199
  },
200
200
  close() {
201
201
  migratedSessionCache.clear();
202
- lidMapping.close();
202
+ lidMapping.close?.();
203
203
  },
204
204
  async migrateSession(fromJid, toJid) {
205
205
  // TODO: use usync to handle this entire mess
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rakku-kun/baileys",
3
3
  "type": "module",
4
- "version": "2.0.18",
4
+ "version": "2.0.20",
5
5
  "description": "🌿 Rakku Baileys - Modern WhatsApp Multi-Device API with enhanced JID/LID mapping & clean architecture.",
6
6
  "keywords": [
7
7
  "whatsapp",