Scheduling infrastructure for absolutely everyone.
fix: enhance bot ID initialization check in instrumentation client (#24961)
Hariom Balhara2e8b89c4ee02
diff --git a/apps/web/instrumentation-client.ts b/apps/web/instrumentation-client.tsindex dfc63ad88b9..20bd096f2e5 100644--- a/apps/web/instrumentation-client.ts+++ b/apps/web/instrumentation-client.ts@@ -53,7 +53,8 @@ export function onRouterTransitionStart(url: string, navigationType: "push" | "rif (process.env.NEXT_PUBLIC_VERCEL_USE_BOTID_IN_BOOKER === "1" &&typeof window !== "undefined" &&- typeof window.crypto?.getRandomValues === "function"+ typeof window.crypto?.getRandomValues === "function" &&+ typeof window.crypto?.randomUUID === "function") {initBotId({protect: [