UNPKG

cafebazaar-purchase-validator

Version:

easily validate purchase in app billing of Cafebazaar API

7 lines (6 loc) 415 B
import { PurchaseResponse } from "../components/app-response"; import { InitialData, PurchaseValue } from "../components/app-types"; declare const init: (initialData: InitialData) => void; declare const isNotConsumedPurchase: (purchase: PurchaseValue) => Promise<boolean>; declare const getPurchase: (purchase: PurchaseValue) => Promise<PurchaseResponse>; export { init, getPurchase, isNotConsumedPurchase };