(host: string)
| 125 | * @returns The org ID if found, undefined otherwise |
| 126 | */ |
| 127 | export function extractOrgIdFromDsnHost(host: string): string | undefined { |
| 128 | const match = host.match(ORG_ID_REGEX); |
| 129 | |
| 130 | return match?.[1]; |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * Returns the organization ID of the client. |
no test coverage detected