()
| 42 | const diagnosticsStorage = new AsyncLocalStorage<DiagnosticsScope>(); |
| 43 | |
| 44 | export function createRequestId(): string { |
| 45 | return crypto.randomBytes(8).toString('hex'); |
| 46 | } |
| 47 | |
| 48 | function createDiagnosticId(): string { |
| 49 | return `${Date.now().toString(36)}-${crypto.randomBytes(4).toString('hex')}`; |
no outgoing calls
no test coverage detected