Commit graph

4 commits

Author SHA1 Message Date
Dan Abramov
acf1def6c1 [Session] Persist updates from inactive agent 2024-05-23 03:35:25 +01:00
dan
0c6bf276dd
Replace updateCurrentAccount() with refreshSession() (#3910)
Replace updateCurrentAccount() with resumeSession()
2024-05-08 23:11:39 +01:00
dan
814ec2bd7f
Add session reducer tests (#3860) 2024-05-08 03:34:35 +01:00
dan
0910525e2e
[Session] Code cleanup (#3854)
* Split utils into files

* Move reducer to another file

* Write types explicitly

* Remove unnnecessary check

* Move things around a bit

* Move more stuff into agent factories

* Move more stuff into agent

* Fix gates await

* Clarify comments

* Enforce more via types

* Nit

* initSession -> resumeSession

* Protect against races

* Make agent opaque to reducer

* Check using plain condition
2024-05-08 03:30:55 +01:00