@naanzitos/baileys-make-in-memory-store
v1.0.6
Published
Restore makeInMemoryStore functionality for Baileys - injects necessary files into the correct directory
Maintainers
Readme
@naanzitos/baileys-make-in-memory-store
🚀 Installation
npm install @naanzitos/baileys-make-in-memory-storeOr with yarn:
yarn add @naanzitos/baileys-make-in-memory-store📖 Usage
After installation, you can use makeInMemoryStore normally:
const { makeInMemoryStore } = require('@whiskeysockets/baileys')
// Create the store
const store = makeInMemoryStore({
logger: console
})
// Use with Baileys socket
const sock = makeWASocket({
// ... other configurations
})
// Bind store to socket
store.bind(sock.ev)✅ Compatibility
- ✅ Baileys v6.x
- ✅ Node.js 16+
- ✅ TypeScript (with basic types)
- ✅ ESM and CommonJS
🐛 Troubleshooting
If you encounter issues, try:
Reinstall the package:
npm uninstall @naanzitos/baileys-make-in-memory-store && npm install @naanzitos/baileys-make-in-memory-storeClear npm cache:
npm cache clean --forceVerify Baileys installation:
npm list @whiskeysockets/baileysManual verification: Check if files exist in
node_modules/@whiskeysockets/baileys/lib/Store/
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
⭐ Support
If this package helped you, please give it a star on GitHub!
