feat: adding session hash

This commit is contained in:
Chubby Granny Chaser
2024-06-21 02:37:49 +01:00
parent 458acb0b70
commit 9ef6329799
7 changed files with 116 additions and 2 deletions

View File

@@ -119,6 +119,7 @@ declare global {
/* Auth */
signOut: () => Promise<void>;
openAuthWindow: () => Promise<void>;
getSessionHash: () => Promise<string | null>;
onSignIn: (cb: () => void) => () => Electron.IpcRenderer;
onSignOut: (cb: () => void) => () => Electron.IpcRenderer;