(key: unknown)
| 81 | } |
| 82 | |
| 83 | export function validateKeyFormat(key: unknown): key is string { |
| 84 | return typeof key === 'string' && IDEMPOTENCY_KEY_PATTERN.test(key); |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Build a cache-scoping principal from the auth layer's principal string |
no outgoing calls
no test coverage detected