fix(bridge): keep account recovery non-interactive
Keep background account discovery passive and distinguish an identified account from a ready session. Update the process dialog and regression coverage so recovery waits for authoritative readiness before exposing the account as online.
This commit is contained in:
6 files changed
+58
-130
No files matched your search
@@ -45,7 +45,7 @@ describe('API client request deadline', () => {
|
||||
}),
|
||||
)
|
||||
.mockResolvedValueOnce(new Response(JSON.stringify({
|
||||
info: { port: 0, uin: '', loggedIn: false },
|
||||
info: { port: 0, uin: '', identityKnown: false },
|
||||
}), {
|
||||
status: 200,
|
||||
headers: { 'content-type': 'application/json' },
|
||||
@@ -61,7 +61,7 @@ describe('API client request deadline', () => {
|
||||
await expect(client.processes.probeLoginInfo(4242)).resolves.toEqual({
|
||||
port: 0,
|
||||
uin: '',
|
||||
loggedIn: false,
|
||||
identityKnown: false,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user