Commit Graph

21 Commits

Author SHA1 Message Date
Adhiraj Singh 7fe4e58a11 refactor: remove useless "encodeInt" function 2022-04-12 19:22:16 +05:30
Adhiraj Singh cf37910297 chore: minor updates to user agent 2022-04-12 16:30:20 +05:30
Muhamad Ristiyanto e6e8e24ea9 fix browser icon and typo (#1450) 2022-04-06 13:36:15 +05:30
Adhiraj Singh 8663598292 chore: log proto objects to prevent buffer arrays being printed 2022-04-02 15:44:51 +05:30
Adhiraj Singh 1635b1e756 refactor: cleanup MD socket initial connect code + log more 2022-03-24 20:33:55 +05:30
kaatt c8ced28ed4 consistency fixes for getUserAgent, update version (#1392)
* fixes to getUserAgent

* update version
2022-03-22 00:46:01 +05:30
Adhiraj Singh b7713673b2 chore: match reg data 2022-03-21 23:31:07 +05:30
Adhiraj Singh 0a02742060 fix: use semver for os build number 2022-03-19 08:25:59 +05:30
Adhiraj Singh 2b10b7b18f chore: minor code cleanup 2022-03-14 19:38:01 +05:30
Adhiraj Singh 2e61d04d68 feat: include correct browser version in connect 2022-03-07 19:45:59 +05:30
Adhiraj Singh 179db2c520 fix: use correct version in validation 2022-03-07 19:20:41 +05:30
Adhiraj Singh de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh 8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh 3d0704a317 feat: cleaner auth state management
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
2021-11-20 16:21:56 +05:30
Adhiraj Singh 71664756dd style: use getAllBinaryNodeChildren 2021-11-11 11:29:12 +05:30
Adhiraj Singh fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30
Adhiraj Singh 23101f87a1 move appstatesynckey to keys 2021-09-26 12:35:56 +05:30
Adhiraj Singh f1527a9f6b separate out crypto utils 2021-09-23 22:37:33 +05:30
Adhiraj Singh f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh 71e34fc5f8 Cleanup + add remaining utils 2021-07-12 23:50:08 +05:30
Adhiraj Singh 89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30