()
| 33 | } |
| 34 | |
| 35 | export function generateRecordId(): string { |
| 36 | const cr = typeof globalThis === "object" ? globalThis.crypto : null; |
| 37 | if (typeof cr?.randomUUID !== "function") throw new Error("crypto.randomUUID must be defined"); |
| 38 | return cr.randomUUID(); |
| 39 | } |
no outgoing calls
no test coverage detected