fix: migrating to @cacheable/node-cache as it is maintained (#1074)

This commit is contained in:
Jared Wray
2025-03-01 08:15:49 -08:00
committed by GitHub
parent da26cf5285
commit 588de6ce10
7 changed files with 42 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
import { Boom } from '@hapi/boom'
import NodeCache from 'node-cache'
import NodeCache from '@cacheable/node-cache'
import readline from 'readline'
import makeWASocket, { AnyMessageContent, BinaryInfo, delay, DisconnectReason, downloadAndProcessHistorySyncNotification, encodeWAM, fetchLatestBaileysVersion, getAggregateVotesInPollMessage, getHistoryMsg, isJidNewsletter, makeCacheableSignalKeyStore, makeInMemoryStore, proto, useMultiFileAuthState, WAMessageContent, WAMessageKey } from '../src'
//import MAIN_LOGGER from '../src/Utils/logger'