Preliminary Checks
Reproduction
I'm using clerk like so:
import { createClerkClient } from '@clerk/backend';
Publishable key
N/A
Description
process.env is not defined in certain ENVs like cloudflare workers. You added this via 9b57986#diff-d96799d2fd54da88ed62847443a3b141f3d481b8ee1b09a05cad557cdb374b5cR79 in packages/shared/src/proxy.ts
In other parts of the codebase you check if the path to process.env is defined:
|
(typeof process !== 'undefined' && process.env && isTruthy(process.env.CLERK_TELEMETRY_DISABLED)) |
Environment
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
I'm using clerk like so:
Publishable key
N/A
Description
process.env is not defined in certain ENVs like cloudflare workers. You added this via 9b57986#diff-d96799d2fd54da88ed62847443a3b141f3d481b8ee1b09a05cad557cdb374b5cR79 in packages/shared/src/proxy.ts
In other parts of the codebase you check if the path to process.env is defined:
javascript/packages/shared/src/telemetry/collector.ts
Line 159 in c5cec84
Environment