()
| 12 | let emailFetchPromise: Promise<string | undefined> | null = null |
| 13 | |
| 14 | function getCurrentAnalyticsSession() { |
| 15 | const session = getAuthRuntime().getCurrentSession() |
| 16 | return session.providerPlan.mode === 'noumena_managed' && |
| 17 | session.headersKind === 'bearer' |
| 18 | ? session |
| 19 | : null |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * GitHub Actions metadata when running in CI |
no test coverage detected