@namiml/web-sdk
Version:
Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing
9 lines (8 loc) • 389 B
TypeScript
import { NamiCampaign } from "../../types/externals/campaign";
import { IPaywall } from "../../types/paywall";
export declare const isValidUrl: (label: string) => boolean;
export declare const allCampaigns: () => NamiCampaign[];
export declare const getPaywallDataFromLabel: (value: string, type?: string) => {
campaign: NamiCampaign | undefined;
paywall: IPaywall | undefined;
};