MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getGrowthBookClientKey

Function getGrowthBookClientKey

src/constants/keys.ts:5–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3// Lazy read so ENABLE_GROWTHBOOK_DEV from globalSettings.env (applied after
4// module load) is picked up. USER_TYPE is a build-time define so it's safe.
5export function getGrowthBookClientKey(): string {
6 return process.env.USER_TYPE === 'ant'
7 ? isEnvTruthy(process.env.ENABLE_GROWTHBOOK_DEV)
8 ? 'sdk-yZQvlplybuXjYh6L'
9 : 'sdk-xRVcrliHIlrg4og4'
10 : 'sdk-zAZezfDKGoZuXXKe'
11}
12

Callers 1

growthbook.tsFile · 0.85

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected