()
| 57 | const AUTH_RETRY_MAX_MS = 30000 |
| 58 | |
| 59 | function getTabSessionId(): string { |
| 60 | if (typeof window === 'undefined') return '' |
| 61 | |
| 62 | let tabSessionId = sessionStorage.getItem(TAB_SESSION_ID_KEY) |
| 63 | if (!tabSessionId) { |
| 64 | tabSessionId = generateId() |
| 65 | sessionStorage.setItem(TAB_SESSION_ID_KEY, tabSessionId) |
| 66 | } |
| 67 | return tabSessionId |
| 68 | } |
| 69 | |
| 70 | interface User { |
| 71 | id: string |
no test coverage detected