UNPKG

@namiml/web-sdk

Version:

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

12 lines (11 loc) 411 B
import { ReactiveController, ReactiveControllerHost } from 'lit'; import { TPaywallContext } from '../types/paywall'; declare class ContextConsumer implements ReactiveController { host: ReactiveControllerHost; state: TPaywallContext; constructor(host: ReactiveControllerHost); handleStateChange(): void; hostConnected(): void; hostDisconnected(): void; } export default ContextConsumer;