@cedros/pay-react 1.1.17 → 1.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AISettingsSection-BrXUD4l_.js → AISettingsSection-C-thWh51.js} +1 -1
- package/dist/{AISettingsSection--jn-BNmd.mjs → AISettingsSection-CD9IRyR1.mjs} +2 -2
- package/dist/{AutosaveIndicator-BQkm3cn8.js → AutosaveIndicator-DxemlKnX.js} +1 -1
- package/dist/{AutosaveIndicator-B3T328jH.mjs → AutosaveIndicator-G2CRN8hH.mjs} +1 -1
- package/dist/{CryptoButton-Dhxnk9d7.mjs → CryptoButton-BdOtL7w-.mjs} +1 -1
- package/dist/{CryptoButton-B4-oJ8lF.js → CryptoButton-N8kRfNDO.js} +1 -1
- package/dist/{FAQSection-BB1wJRsR.mjs → FAQSection-CyYK9OAN.mjs} +1 -1
- package/dist/{FAQSection-aoAz35MV.js → FAQSection-_pm1ekTe.js} +1 -1
- package/dist/{MessagingSection-DId-WJdU.js → MessagingSection-BHzf1Mhu.js} +1 -1
- package/dist/{MessagingSection-BG9O62ko.mjs → MessagingSection-DO2yPTvs.mjs} +2 -2
- package/dist/{PaymentSettingsSection-c13RAUxn.mjs → PaymentSettingsSection--Aqlne1F.mjs} +1 -1
- package/dist/{PaymentSettingsSection-D92IO4xJ.js → PaymentSettingsSection-DpENgoca.js} +1 -1
- package/dist/{SettingsSection-htem-WL3.mjs → SettingsSection-CGKKGXWz.mjs} +1 -1
- package/dist/{SettingsSection-DUxjXl2G.js → SettingsSection-DNoODw7i.js} +1 -1
- package/dist/{SingleCategorySettings-BIEs6s6Z.mjs → SingleCategorySettings-8DCtLcow.mjs} +22 -22
- package/dist/{SingleCategorySettings-CQ-osdzb.js → SingleCategorySettings-NLBYxM0O.js} +2 -2
- package/dist/{StorefrontSection-DcSoDx-k.js → StorefrontSection-BEOMtSAg.js} +1 -1
- package/dist/{StorefrontSection-CKTQt255.mjs → StorefrontSection-Mzr1H51w.mjs} +2 -2
- package/dist/{SubscriptionsSection-C0hYf7Hr.js → SubscriptionsSection-4b29i-41.js} +1 -1
- package/dist/{SubscriptionsSection-CONwHhT4.mjs → SubscriptionsSection-Dy1e15fe.mjs} +1 -1
- package/dist/components/admin/SingleCategorySettings.d.ts.map +1 -1
- package/dist/crypto-only.js +1 -1
- package/dist/crypto-only.mjs +3 -3
- package/dist/{index-2N_CMVAv.js → index-B-0trqeD.js} +1 -1
- package/dist/{index-C1hbnxn0.mjs → index-bbSf3B7-.mjs} +24 -24
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{sections-D2GMJuKq.js → sections-CKwGmrzV.js} +1 -1
- package/dist/{sections-DICaHGhz.mjs → sections-DpEdFL1B.mjs} +1 -1
- package/dist/stripe-only.js +1 -1
- package/dist/stripe-only.mjs +1 -1
- package/package.json +1 -1
|
@@ -868,7 +868,7 @@ function vl({
|
|
|
868
868
|
] });
|
|
869
869
|
}
|
|
870
870
|
const Wp = L.lazy(
|
|
871
|
-
() => import("./CryptoButton-
|
|
871
|
+
() => import("./CryptoButton-BdOtL7w-.mjs").then((e) => e.a).then((e) => ({ default: e.CryptoButton }))
|
|
872
872
|
), Hp = ({
|
|
873
873
|
isOpen: e,
|
|
874
874
|
onClose: t,
|
|
@@ -1181,7 +1181,7 @@ function Yp({
|
|
|
1181
1181
|
return /* @__PURE__ */ s(o, { endpoint: e, children: /* @__PURE__ */ s(a, { wallets: t, autoConnect: !1, children: n }) });
|
|
1182
1182
|
}
|
|
1183
1183
|
const Qp = L.lazy(
|
|
1184
|
-
() => import("./CryptoButton-
|
|
1184
|
+
() => import("./CryptoButton-BdOtL7w-.mjs").then((e) => e.a).then((e) => ({ default: e.CryptoButton }))
|
|
1185
1185
|
);
|
|
1186
1186
|
function ON(e) {
|
|
1187
1187
|
const { resource: t, items: n, checkout: r = {}, display: o = {}, callbacks: a = {}, advanced: i = {} } = e, { config: c, walletPool: l } = sr(), d = bn(), { isCartMode: f } = jo(t, n), u = o.showCrypto ?? !0, h = L.useMemo(() => ({
|
|
@@ -3999,7 +3999,7 @@ function am({ serverUrl: e, apiKey: t, pageSize: n = 20, authManager: r }) {
|
|
|
3999
3999
|
] });
|
|
4000
4000
|
}
|
|
4001
4001
|
const im = ln(
|
|
4002
|
-
() => import("./SettingsSection-
|
|
4002
|
+
() => import("./SettingsSection-CGKKGXWz.mjs").then((e) => ({ default: e.SettingsSection }))
|
|
4003
4003
|
);
|
|
4004
4004
|
function cm(e) {
|
|
4005
4005
|
return /* @__PURE__ */ s(mn, { fallback: null, children: /* @__PURE__ */ s(im, { ...e }) });
|
|
@@ -4155,17 +4155,17 @@ function lm({
|
|
|
4155
4155
|
};
|
|
4156
4156
|
}
|
|
4157
4157
|
const dm = ln(
|
|
4158
|
-
() => import("./SubscriptionsSection-
|
|
4158
|
+
() => import("./SubscriptionsSection-Dy1e15fe.mjs").then((e) => ({ default: e.SubscriptionsSection }))
|
|
4159
4159
|
), um = ln(
|
|
4160
|
-
() => import("./StorefrontSection-
|
|
4160
|
+
() => import("./StorefrontSection-Mzr1H51w.mjs").then((e) => ({ default: e.StorefrontSection }))
|
|
4161
4161
|
), fm = ln(
|
|
4162
|
-
() => import("./AISettingsSection
|
|
4162
|
+
() => import("./AISettingsSection-CD9IRyR1.mjs").then((e) => ({ default: e.AISettingsSection }))
|
|
4163
4163
|
), pm = ln(
|
|
4164
|
-
() => import("./PaymentSettingsSection
|
|
4164
|
+
() => import("./PaymentSettingsSection--Aqlne1F.mjs").then((e) => ({ default: e.PaymentSettingsSection }))
|
|
4165
4165
|
), mm = ln(
|
|
4166
|
-
() => import("./MessagingSection-
|
|
4166
|
+
() => import("./MessagingSection-DO2yPTvs.mjs").then((e) => ({ default: e.MessagingSection }))
|
|
4167
4167
|
), hm = ln(
|
|
4168
|
-
() => import("./FAQSection-
|
|
4168
|
+
() => import("./FAQSection-CyYK9OAN.mjs").then((e) => ({ default: e.FAQSection }))
|
|
4169
4169
|
), xl = [
|
|
4170
4170
|
{
|
|
4171
4171
|
label: "Menu",
|
|
@@ -4386,16 +4386,16 @@ function Vo(e) {
|
|
|
4386
4386
|
return n.displayName = "LazyAdminSection", n;
|
|
4387
4387
|
}
|
|
4388
4388
|
Vo(
|
|
4389
|
-
() => import("./SettingsSection-
|
|
4389
|
+
() => import("./SettingsSection-CGKKGXWz.mjs").then((e) => ({ default: e.SettingsSection }))
|
|
4390
4390
|
);
|
|
4391
4391
|
Vo(
|
|
4392
|
-
() => import("./SubscriptionsSection-
|
|
4392
|
+
() => import("./SubscriptionsSection-Dy1e15fe.mjs").then((e) => ({ default: e.SubscriptionsSection }))
|
|
4393
4393
|
);
|
|
4394
4394
|
Vo(
|
|
4395
|
-
() => import("./StorefrontSection-
|
|
4395
|
+
() => import("./StorefrontSection-Mzr1H51w.mjs").then((e) => ({ default: e.StorefrontSection }))
|
|
4396
4396
|
);
|
|
4397
4397
|
Vo(
|
|
4398
|
-
() => import("./FAQSection-
|
|
4398
|
+
() => import("./FAQSection-CyYK9OAN.mjs").then((e) => ({ default: e.FAQSection }))
|
|
4399
4399
|
);
|
|
4400
4400
|
const Pt = (e) => ln(async () => {
|
|
4401
4401
|
const r = (await e()).default;
|
|
@@ -4433,17 +4433,17 @@ const Pt = (e) => ln(async () => {
|
|
|
4433
4433
|
{ id: "Configuration", label: "Configuration", order: 2, defaultCollapsed: !0 }
|
|
4434
4434
|
],
|
|
4435
4435
|
components: {
|
|
4436
|
-
products: Pt(() => import("./sections-
|
|
4437
|
-
subscriptions: Pt(() => import("./SubscriptionsSection-
|
|
4438
|
-
transactions: Pt(() => import("./sections-
|
|
4439
|
-
coupons: Pt(() => import("./sections-
|
|
4440
|
-
refunds: Pt(() => import("./sections-
|
|
4441
|
-
storefront: Pt(() => import("./StorefrontSection-
|
|
4442
|
-
"ai-settings": Pt(() => import("./AISettingsSection
|
|
4443
|
-
faqs: Pt(() => import("./FAQSection-
|
|
4444
|
-
"payment-settings": Pt(() => import("./PaymentSettingsSection
|
|
4445
|
-
messaging: Pt(() => import("./MessagingSection-
|
|
4446
|
-
settings: Pt(() => import("./SettingsSection-
|
|
4436
|
+
products: Pt(() => import("./sections-DpEdFL1B.mjs").then((e) => ({ default: e.ProductsSection }))),
|
|
4437
|
+
subscriptions: Pt(() => import("./SubscriptionsSection-Dy1e15fe.mjs").then((e) => ({ default: e.SubscriptionsSection }))),
|
|
4438
|
+
transactions: Pt(() => import("./sections-DpEdFL1B.mjs").then((e) => ({ default: e.TransactionsSection }))),
|
|
4439
|
+
coupons: Pt(() => import("./sections-DpEdFL1B.mjs").then((e) => ({ default: e.CouponsSection }))),
|
|
4440
|
+
refunds: Pt(() => import("./sections-DpEdFL1B.mjs").then((e) => ({ default: e.RefundsSection }))),
|
|
4441
|
+
storefront: Pt(() => import("./StorefrontSection-Mzr1H51w.mjs").then((e) => ({ default: e.StorefrontSection }))),
|
|
4442
|
+
"ai-settings": Pt(() => import("./AISettingsSection-CD9IRyR1.mjs").then((e) => ({ default: e.AISettingsSection }))),
|
|
4443
|
+
faqs: Pt(() => import("./FAQSection-CyYK9OAN.mjs").then((e) => ({ default: e.FAQSection }))),
|
|
4444
|
+
"payment-settings": Pt(() => import("./PaymentSettingsSection--Aqlne1F.mjs").then((e) => ({ default: e.PaymentSettingsSection }))),
|
|
4445
|
+
messaging: Pt(() => import("./MessagingSection-DO2yPTvs.mjs").then((e) => ({ default: e.MessagingSection }))),
|
|
4446
|
+
settings: Pt(() => import("./SettingsSection-CGKKGXWz.mjs").then((e) => ({ default: e.SettingsSection })))
|
|
4447
4447
|
},
|
|
4448
4448
|
createPluginContext(e) {
|
|
4449
4449
|
const t = e.cedrosPay, n = e.cedrosLogin;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-B-0trqeD.js"),t=require("./CedrosContext-C26DlvLF.js");exports.CEDROS_EVENTS=e.CEDROS_EVENTS;exports.CSP_PRESETS=e.CSP_PRESETS;exports.CedrosPay=e.CedrosPay;exports.CedrosPayAdminDashboard=e.CedrosPayAdminDashboard;exports.CreditsButton=e.CreditsButton;exports.CreditsSubscribeButton=e.CreditsSubscribeButton;exports.PaymentMethodBadge=e.PaymentMethodBadge;exports.PaymentModal=e.PaymentModal;exports.ProductPrice=e.ProductPrice;exports.PurchaseButton=e.PurchaseButton;exports.RPC_PROVIDERS=e.RPC_PROVIDERS;exports.SECURITY_RECOMMENDATIONS=e.SECURITY_RECOMMENDATIONS;exports.StripeButton=e.StripeButton;exports.SubscribeButton=e.SubscribeButton;exports.SubscriptionManagementPanel=e.SubscriptionManagementPanel;exports.calculateDiscountPercentage=e.calculateDiscountPercentage;exports.cedrosPayPlugin=e.cedrosPayPlugin;exports.createTranslator=e.createTranslator;exports.detectLocale=e.detectLocale;exports.ecommerce=e.index;exports.emitPaymentError=e.emitPaymentError;exports.emitPaymentProcessing=e.emitPaymentProcessing;exports.emitPaymentStart=e.emitPaymentStart;exports.emitPaymentSuccess=e.emitPaymentSuccess;exports.emitWalletConnect=e.emitWalletConnect;exports.emitWalletConnected=e.emitWalletConnected;exports.emitWalletError=e.emitWalletError;exports.formatCSP=e.formatCSP;exports.formatCouponCodes=e.formatCouponCodes;exports.generateCSP=e.generateCSP;exports.generateCSPDirectives=e.generateCSPDirectives;exports.getAvailableLocales=e.getAvailableLocales;exports.getLocalizedError=e.getLocalizedError;exports.getUserErrorMessage=e.getUserErrorMessage;exports.isRetryableError=e.isRetryableError;exports.loadLocale=e.loadLocale;exports.logSecurityReport=e.logSecurityReport;exports.parseCouponCodes=e.parseCouponCodes;exports.stackCheckoutCoupons=e.stackCheckoutCoupons;exports.useCreditsPayment=e.useCreditsPayment;exports.useCreditsSubscription=e.useCreditsSubscription;exports.useLocalizedError=e.useLocalizedError;exports.usePaymentMode=e.usePaymentMode;exports.useStripeCheckout=e.useStripeCheckout;exports.useSubscription=e.useSubscription;exports.useSubscriptionManagement=e.useSubscriptionManagement;exports.useTranslation=e.useTranslation;exports.validateSecurity=e.validateSecurity;exports.CIRCUIT_BREAKER_PRESETS=t.CIRCUIT_BREAKER_PRESETS;exports.CedrosProvider=t.CedrosProvider;exports.CircuitBreakerOpenError=t.CircuitBreakerOpenError;exports.CircuitState=t.CircuitState;exports.ERROR_CATEGORIES=t.ERROR_CATEGORIES;exports.LogLevel=t.LogLevel;exports.Logger=t.Logger;exports.RATE_LIMITER_PRESETS=t.RATE_LIMITER_PRESETS;exports.RETRY_PRESETS=t.RETRY_PRESETS;exports.createCircuitBreaker=t.createCircuitBreaker;exports.createLogger=t.createLogger;exports.createRateLimiter=t.createRateLimiter;exports.getLogger=t.getLogger;exports.retryWithBackoff=t.retryWithBackoff;exports.useCedrosContext=t.useCedrosContext;exports.useCedrosTheme=t.useCedrosTheme;exports.validateConfig=t.validateConfig;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as s, w as t, C as r, a as o, b as i, h as c, f as n, d as u, e as C, P as E, R as S, K as P, S as d, g as l, i as m, q as R, c as g, O as y, L as T, V as p, F as L, D as b, y as B, E as M, z as _, A as f, B as h, v as I, o as v, r as O, t as k, N as A, Q as D, H as x, G as N, M as U, J as W, p as z, s as V, j, m as G, U as K, k as Y, u as q, l as w, n as F, T as H, I as J } from "./index-
|
|
1
|
+
import { x as s, w as t, C as r, a as o, b as i, h as c, f as n, d as u, e as C, P as E, R as S, K as P, S as d, g as l, i as m, q as R, c as g, O as y, L as T, V as p, F as L, D as b, y as B, E as M, z as _, A as f, B as h, v as I, o as v, r as O, t as k, N as A, Q as D, H as x, G as N, M as U, J as W, p as z, s as V, j, m as G, U as K, k as Y, u as q, l as w, n as F, T as H, I as J } from "./index-bbSf3B7-.mjs";
|
|
2
2
|
import { f as X, C as Z, e as $, d as ee, E as ae, L as se, h as te, R as re, g as oe, b as ie, j as ce, c as ne, i as ue, r as Ce, u as Ee, a as Se, v as Pe } from "./CedrosContext-BnJ2Cf7R.mjs";
|
|
3
3
|
export {
|
|
4
4
|
s as CEDROS_EVENTS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("react");const e=require("./index-B-0trqeD.js");exports.CouponsSection=e.CouponsSection;exports.ProductsSection=e.ProductsSection;exports.RefundsSection=e.RefundsSection;exports.SettingsSection=e.SettingsSection;exports.TransactionsSection=e.TransactionsSection;
|
package/dist/stripe-only.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-B-0trqeD.js"),t=require("./CedrosContext-C26DlvLF.js");exports.CEDROS_EVENTS=e.CEDROS_EVENTS;exports.CSP_PRESETS=e.CSP_PRESETS;exports.CedrosPay=e.CedrosPay;exports.CedrosPayAdminDashboard=e.CedrosPayAdminDashboard;exports.CreditsButton=e.CreditsButton;exports.CreditsSubscribeButton=e.CreditsSubscribeButton;exports.PaymentMethodBadge=e.PaymentMethodBadge;exports.PaymentModal=e.PaymentModal;exports.ProductPrice=e.ProductPrice;exports.PurchaseButton=e.PurchaseButton;exports.RPC_PROVIDERS=e.RPC_PROVIDERS;exports.SECURITY_RECOMMENDATIONS=e.SECURITY_RECOMMENDATIONS;exports.StripeButton=e.StripeButton;exports.SubscribeButton=e.SubscribeButton;exports.SubscriptionManagementPanel=e.SubscriptionManagementPanel;exports.calculateDiscountPercentage=e.calculateDiscountPercentage;exports.cedrosPayPlugin=e.cedrosPayPlugin;exports.createTranslator=e.createTranslator;exports.detectLocale=e.detectLocale;exports.ecommerce=e.index;exports.emitPaymentError=e.emitPaymentError;exports.emitPaymentProcessing=e.emitPaymentProcessing;exports.emitPaymentStart=e.emitPaymentStart;exports.emitPaymentSuccess=e.emitPaymentSuccess;exports.emitWalletConnect=e.emitWalletConnect;exports.emitWalletConnected=e.emitWalletConnected;exports.emitWalletError=e.emitWalletError;exports.formatCSP=e.formatCSP;exports.formatCouponCodes=e.formatCouponCodes;exports.generateCSP=e.generateCSP;exports.generateCSPDirectives=e.generateCSPDirectives;exports.getAvailableLocales=e.getAvailableLocales;exports.getLocalizedError=e.getLocalizedError;exports.getUserErrorMessage=e.getUserErrorMessage;exports.isRetryableError=e.isRetryableError;exports.loadLocale=e.loadLocale;exports.logSecurityReport=e.logSecurityReport;exports.parseCouponCodes=e.parseCouponCodes;exports.stackCheckoutCoupons=e.stackCheckoutCoupons;exports.useCreditsPayment=e.useCreditsPayment;exports.useCreditsSubscription=e.useCreditsSubscription;exports.useLocalizedError=e.useLocalizedError;exports.usePaymentMode=e.usePaymentMode;exports.useStripeCheckout=e.useStripeCheckout;exports.useSubscription=e.useSubscription;exports.useSubscriptionManagement=e.useSubscriptionManagement;exports.useTranslation=e.useTranslation;exports.validateSecurity=e.validateSecurity;exports.CIRCUIT_BREAKER_PRESETS=t.CIRCUIT_BREAKER_PRESETS;exports.CedrosProvider=t.CedrosProvider;exports.CircuitBreakerOpenError=t.CircuitBreakerOpenError;exports.CircuitState=t.CircuitState;exports.ERROR_CATEGORIES=t.ERROR_CATEGORIES;exports.LogLevel=t.LogLevel;exports.Logger=t.Logger;exports.RATE_LIMITER_PRESETS=t.RATE_LIMITER_PRESETS;exports.RETRY_PRESETS=t.RETRY_PRESETS;exports.createCircuitBreaker=t.createCircuitBreaker;exports.createLogger=t.createLogger;exports.createRateLimiter=t.createRateLimiter;exports.getLogger=t.getLogger;exports.retryWithBackoff=t.retryWithBackoff;exports.useCedrosContext=t.useCedrosContext;exports.useCedrosTheme=t.useCedrosTheme;exports.validateConfig=t.validateConfig;
|
package/dist/stripe-only.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as s, w as t, C as r, a as o, b as i, h as c, f as n, d as u, e as C, P as E, R as S, K as P, S as d, g as l, i as m, q as R, c as g, O as y, L as T, V as p, F as L, D as b, y as B, E as M, z as _, A as f, B as h, v as I, o as v, r as O, t as k, N as A, Q as D, H as x, G as N, M as U, J as W, p as z, s as V, j, m as G, U as K, k as Y, u as q, l as w, n as F, T as H, I as J } from "./index-
|
|
1
|
+
import { x as s, w as t, C as r, a as o, b as i, h as c, f as n, d as u, e as C, P as E, R as S, K as P, S as d, g as l, i as m, q as R, c as g, O as y, L as T, V as p, F as L, D as b, y as B, E as M, z as _, A as f, B as h, v as I, o as v, r as O, t as k, N as A, Q as D, H as x, G as N, M as U, J as W, p as z, s as V, j, m as G, U as K, k as Y, u as q, l as w, n as F, T as H, I as J } from "./index-bbSf3B7-.mjs";
|
|
2
2
|
import { f as X, C as Z, e as $, d as ee, E as ae, L as se, h as te, R as re, g as oe, b as ie, j as ce, c as ne, i as ue, r as Ce, u as Ee, a as Se, v as Pe } from "./CedrosContext-BnJ2Cf7R.mjs";
|
|
3
3
|
export {
|
|
4
4
|
s as CEDROS_EVENTS,
|
package/package.json
CHANGED