Rajeh Taher
99142aac96
proto: update manually to 2.3000.1020608496
2025-03-06 04:22:17 +02:00
contato.mateusfr@gmail.com
21f8431e61
Dependency Inversion for Logger ( #1153 )
...
* feat: interface "ILogger" created
feat: interface "ILogger" used instead of pino logger
feat: "PinoLoggerAdapter" created to implement "ILogger" interface
* feat: PinoLoggerAdapter removed
feat: ILogger mapping the features we're using from pino
* fix: sort imports
---------
Co-authored-by: Mateus Franchini de Freitas <contato.mateusfr@outlook.com >
Co-authored-by: Mateus Franchini de Freitas <mfranchini@domtec.com.br >
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2025-03-01 18:30:51 +02:00
Rajeh Taher
49eeb7556d
socket,utils: fix imports
2025-03-01 18:26:20 +02:00
Jared Wray
588de6ce10
fix: migrating to @cacheable/node-cache as it is maintained ( #1074 )
2025-03-01 18:15:49 +02:00
Rajeh Taher
18ac07df8e
lint: 0 warnings left
2024-10-14 05:15:10 +03:00
Rajeh Taher
61a0ff3178
mobile: deprecation.
2024-10-14 03:56:32 +03:00
Bob
b8900639e9
update uuid to v10 ( #847 )
...
* Update auth-utils.ts
* uuid removed from package.json
* fix(uuid): update to v10
---------
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2024-06-09 22:10:27 +03:00
Rajeh Taher
0eaa5af909
feat(add-routing-info): initial commit ( #773 )
2024-05-15 18:34:37 +03:00
Rajeh Taher
fbbb511fb8
fix(master): error in init queries
2024-05-06 18:18:15 +03: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
65aa4a7d99
unify web + mobile and use tcp socket
2023-04-30 12:30:30 +02:00
Andres Aya
4a2db5a033
fix: auth store transactions + tests
2023-04-30 12:30:30 +02:00
Andres Aya
fdbd732205
refactor: store w transaction
2023-04-30 12:30:30 +02:00
SamuelScheit
ef673f62ca
feat: native-mobile-api
2023-04-20 13:01:11 +02:00
Adhiraj Singh
6bced98128
fix: tsc error
2023-03-18 17:40:43 +05:30
Adhiraj Singh
e58d6c9f25
chore: default delete keys on expire
2023-02-28 11:23:17 +05:30
Adhiraj Singh
79aa2e5176
feat: narrower definition of cachestore
2023-02-21 11:56:27 +05:30
Adhiraj Singh
971ce91ffd
refactor: use NodeCache arg in cacheable signal store
2023-02-21 11:44:29 +05:30
Adhiraj Singh
7736114fab
chore: remove pre-fetch from transaction store
2022-10-09 12:19:33 +05:30
Adhiraj Singh
6735263696
feat: add makeCacheableSignalKeyStore util
2022-09-20 12:16:05 +05:30
Adhiraj Singh
c76c2afa0c
feat: add "receivedInitialSync" connection update
2022-08-19 10:48:27 +05:30
Adhiraj Singh
40a1e268aa
feat: add "strictNullChecks"
2022-07-09 10:20:07 +05:30
Adhiraj Singh
ecd8f74800
chore: logging in transaction
2022-06-16 14:47:57 +05:30
Adhiraj Singh
5305730d82
feat: track history being stored
...
This is done because sometimes we receive history after the first connect too, and to ensure the "isLatest" flag is accurate -- we ensure no history was received previously
2022-06-07 21:18:51 +05:30
Adhiraj Singh
6f48bbb736
chore: make transaction logs trace
2022-06-05 13:59:51 +05:30
Adhiraj Singh
06437e182d
feat: add "multi file auth state" implementation
...
1. add multi file auth state since it's far more efficient than single state
2. deprecate single file auth state (please don't use it anymore)
2022-05-22 21:21:35 +05:30
Adhiraj Singh
a8e209705a
feat: add retry capability to SignalKeyStore
2022-05-22 20:52:21 +05:30
Adhiraj Singh
c5d488f1c6
docs: add info about addTransactionCapability
2022-05-22 20:41:00 +05:30
Adhiraj Singh
75c637cf6c
feat: remove need for "serverHasPreKeys"
2022-04-12 18:47:18 +05:30
Adhiraj Singh
2cc5cc2dd4
Revert "feat: resync main app state on first open"
...
This reverts commit 060c838707 .
2022-04-12 17:08:10 +05:30
Adhiraj Singh
060c838707
feat: resync main app state on first open
2022-04-08 23:29:36 +05:30
Adhiraj Singh
0d94315776
feat: handle unarchiveChats setting
2022-04-07 11:29:57 +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
110b9d1f09
fix: transaction not respecting null set
2021-12-22 21:37:27 +05:30
Rajeh Taher
d62db2bbd6
Added List message support and removed "saving auth state" ( #1048 )
...
* Added template support and footers for buttons & templates
* Template message readme
* got rid of "saving auth state" and added lists
* added body
* Update README.md
2021-12-19 22:29:35 +05:30
Adhiraj Singh
13b49e658d
fix: do not fetch empty ID list on transaction
2021-12-12 12:25:03 +05:30
Adhiraj Singh
0650c10c73
fix: decode app state key correctly
2021-12-12 11:18:04 +05:30
Adhiraj Singh
f284217d35
feat: implement transactions on auth state
2021-12-11 18:28:07 +05:30
Adhiraj Singh
2b8256d56b
feat: cleaner auth state management + store SK keys
...
!BREAKING_CHANGE
2021-12-11 17:54:38 +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