Commit Graph

45 Commits

Author SHA1 Message Date
ShellTear 6ad0674156 Fix platform types
Fixes #701 and #702.
2024-04-02 22:40:01 +03:00
allburov 32533ed7f6 fix: find platform type based on browser second argument
fix #481 #228
2023-11-20 14:57:41 +07:00
Alessandro Autiero c506182035 Finished requestPairingCode 2023-07-16 20:14:17 +02:00
Alessandro Autiero f498e1e56c Added requestPairingCode method and handler
Fixed typo (trimUndefineds)
Added bytesToCrockford
Replaced advSecretKey with advKeyPair
Added pairingCode prop
Fixed formatting
Added pairing code example
2023-07-16 18:44:17 +02:00
SamuelScheit 6ecc5a8757 fix: socket options 2023-05-12 18:02:41 +02:00
SamuelScheit 65aa4a7d99 unify web + mobile and use tcp socket 2023-04-30 12:30:30 +02:00
SamuelScheit ef673f62ca feat: native-mobile-api 2023-04-20 13:01:11 +02:00
Adhiraj Singh 31b54ec7c3 fix: include accountSignatureKey in retry requests 2022-08-07 18:10:28 +05:30
Adhiraj Singh 2549d10be9 feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto

!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
Adhiraj Singh d04718e27a feat: add desktop + full history sync opts 2022-07-26 13:30:01 +05:30
Adhiraj Singh fda266ff73 fix: acc signature 2022-07-14 22:48:37 +05:30
Adhiraj Singh fae4aafdcd fix: validateConnection mutating account 2022-07-14 17:40:49 +05:30
Adhiraj Singh 40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Adhiraj Singh 8fa500a8a2 chore: update proto
the proto was generated using a different method, hence the diff is larger -- but if the method continues to work, we should get very nice little diffs
2022-06-23 22:14:43 +05:30
Adhiraj Singh 3c278b35f0 fix: add legacy constants for decoding 2022-04-24 16:49:13 +05:30
Adhiraj Singh a7e9dcf512 chore: revert osVersion to match wa web 2022-04-24 12:24:37 +05:30
Adhiraj Singh 40abd71d2e fix: curve verification return boolean 2022-04-23 17:46:59 +05:30
Adhiraj Singh 207f279772 chore: remove curve25519-js dep + use signal curve functions 2022-04-22 19:06:27 +05:30
Adhiraj Singh fe9a6d07ae fix: browser version 2022-04-14 21:29:07 +05:30
Adhiraj Singh 44d1acb05f Merge branch 'master' into invalid-qr-patch 2022-04-13 19:04:32 +05:30
Adhiraj Singh 0cf17fb392 refactor: use Buffer instead of Binary 2022-04-13 13:21:15 +05:30
Adhiraj Singh 7db8796fed feat: include platform in creds 2022-04-13 12:49:46 +05:30
Adhiraj Singh 08fa212db8 chore: update default versions 2022-04-12 19:57:49 +05:30
Adhiraj Singh 5f3db192dc fix: different passive settings for reg + login 2022-04-12 19:57:40 +05:30
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