feat: implement in memory store

1. the store works as a temporary store for connection data such as chats, messages & contacts
2. the store is primarily meant to illustrate the usage of the event emitter as a way to construct the state of the connection. This will likely be very inefficient to perform well at scale
3. the store is meant to be a quick way to have some visibility of data while testing
4. the store works for both legacy & MD connections
This commit is contained in:
Adhiraj Singh
2022-01-19 21:35:59 +05:30
parent 8f11f0be76
commit fb66733b61
9 changed files with 495 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
node_modules
auth_info*.json
baileys_store*.json
output.csv
*/.DS_Store
.DS_Store