Commit Graph

9 Commits

Author SHA1 Message Date
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Cesar Cejudo
54a448b2a8 Fix in-memory-store contacts (#1420)
fix issue where fromJSON loads contacts from the wrong variable
2022-03-27 20:36:28 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Anshu S
bbea04e5bc Fix Issue #1209 (#1210) 2022-02-07 18:20:48 +05:30
Adhiraj Singh
08cd253e90 feat: add 'updateMessageWithReceipt' utility 2022-01-22 12:05:38 +05:30
Adhiraj Singh
92587bd46a refactor: use the proto UserReceipt instead of custom MessageInfo 2022-01-22 00:27:00 +05:30
Adhiraj Singh
284c7e7812 fix: do not mutate update object reference 2022-01-20 12:28:56 +05:30
Adhiraj Singh
1fb52de958 docs: update readme about store 2022-01-19 22:38:04 +05:30
Adhiraj Singh
fb66733b61 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
2022-01-19 21:35:59 +05:30