@namiml/web-sdk
Version:
Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web
15 lines (14 loc) • 493 B
TypeScript
import type { IDeviceAdapter } from '@namiml/sdk-core';
import type { DevicePayload, TDevice } from '@namiml/sdk-core';
export declare class WebDeviceAdapter implements IDeviceAdapter {
getDeviceData(namiCommands?: string[]): DevicePayload;
getDeviceFormFactor(): TDevice;
getDeviceScaleFactor(formFactor?: string): number;
getScreenInfo(): {
width: number;
height: number;
scale: number;
};
getLanguage(): string;
generateUUID(): string;
}