* potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan.
* refactor: extract dictionary reduce code into utility
* refactor: convert the props + abt send req to somewhat useful query
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com>
1. removes the "auth-state.update" event since it was bloated and fairly unnecessary
2. adds "creds.update" event that only sends the updated properties of the auth credentials
3. ensure the auth creds are not mutated anywhere, but only with the "creds.update" event
4. Separates the signal credentials from the auth credentials (kinda in progress)
5. in memory key store requires a save function to let one know when to save the keys
!BREAKING_CHANGE