Skip to content

getClientId

getClientId(): string | undefined

Defined in: config/clientId.ts:71

The derived anonymous id, or undefined when derivation has not completed yet (or failed). Synchronous, and never mints anything — any value it returns is P-256-derived. On a cold cache it schedules derivation in the background so a later call succeeds, without blocking or throwing.

Prefer getClientIdAsync anywhere an await is possible.

string | undefined

The derived client ID (UUID format), or undefined