@cedros/pay-react
Version:
React frontend library for Cedros Pay - unified Stripe and Solana x402 payments
34 lines (33 loc) • 1.04 kB
JavaScript
import { C as r, L as t, b as o, R as i, d as m, c as g, g as n, u, a as c, v as d } from "./CedrosContext-CFEXGwQg.mjs";
import { C, E as P, b as R, P as p, a as S, S as y, d as L, i as l, g as T, e as f, h as M, f as h, l as v, k as _, p as b, j as x, c as I, u as O } from "./styles-DFcRS8Uu.mjs";
import "@solana/wallet-adapter-wallets";
export {
C as CEDROS_EVENTS,
r as CedrosProvider,
P as ERROR_CATEGORIES,
t as LogLevel,
o as Logger,
R as PaymentMethodBadge,
p as PaymentModal,
S as ProductPrice,
i as RATE_LIMITER_PRESETS,
y as StripeButton,
L as calculateDiscountPercentage,
m as createLogger,
g as createRateLimiter,
l as emitPaymentError,
T as emitPaymentProcessing,
f as emitPaymentStart,
M as emitPaymentSuccess,
h as formatCouponCodes,
n as getLogger,
v as getUserErrorMessage,
_ as isRetryableError,
b as parseCouponCodes,
x as parseStructuredErrorResponse,
u as useCedrosContext,
c as useCedrosTheme,
I as usePaymentMode,
O as useStripeCheckout,
d as validateConfig
};