@namiml/web-sdk
Version:
Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing
7 lines (6 loc) • 387 B
TypeScript
import { DevicePayload, TDevice } from "../types/device";
export declare const getDeviceData: (namiCommands?: string[]) => DevicePayload;
export declare const getDeviceFormFactor: () => TDevice;
export declare function getDeviceScaleFactor(formFactor?: string): number;
export declare function generateUUID(): string;
export declare function audienceSplitPosition(uuid: string): number;