statsig-js
Version:
Statsig JavaScript client SDK for single user environments.
14 lines (13 loc) • 496 B
TypeScript
export declare type StatsigUser = {
userID?: string | number;
email?: string;
ip?: string;
userAgent?: string;
country?: string;
locale?: string;
appVersion?: string;
custom?: Record<string, string | number | boolean | Array<string> | undefined>;
privateAttributes?: Record<string, string | number | boolean | Array<string> | undefined>;
customIDs?: Record<string, string>;
};
export declare function getUserHashWithoutStableID(user: StatsigUser): string;