UNPKG

dodopayments-checkout

Version:

A TypeScript library for embedding Dodo Payments overlay checkout.

15 lines (14 loc) 725 B
/** * SDK Configuration Constants */ export declare const CHECKOUT_URLS: { readonly test: "https://test.checkout.dodopayments.com"; readonly live: "https://checkout.dodopayments.com"; }; export declare const DEFAULT_IFRAME_STYLES: "\n width: 100dvw;\n height: 100dvh;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: none;\n background: transparent;\n z-index: 1000;\n"; export declare const ALLOWED_EVENT_TYPES: Set<string>; export declare const MAX_REDIRECT_URL_LENGTH = 2048; export declare const MAX_PRODUCT_ID_LENGTH = 50; export declare const MAX_PAYMENT_LINK_ID_LENGTH = 10; export declare const MAX_PAYMENT_LINK_LENGTH = 2048; export declare const SDK_VERSION = "1.0.1";