UNPKG

@namiml/web-sdk

Version:

Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing

11 lines (10 loc) 507 B
import { Device, DevicePayload } from "../types/device"; export declare class DeviceRepository { static instance: DeviceRepository; createOrUpdateDevice(deviceData: DevicePayload): Promise<Device | null>; createDevice(deviceData: DevicePayload): Promise<Device | null>; updateDevice(currentDeviceId: string, deviceData: DevicePayload): Promise<Device | null>; updateDeviceField<T>(key: string, value: T): Promise<Device | null>; private requestAPIData; private isEqualDevices; }