@suportepos/split-checkout 0.5.9 → 0.6.0
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/index.es.js +4 -3
- package/dist/index.umd.js +1 -1
- package/dist/standalone/suportepos-checkout.js +1 -1
- package/dist/types/CheckoutFlow.d.ts +2 -1
- package/dist/types/CheckoutFlowContent.d.ts +1 -1
- package/dist/types/lib/CheckoutFlow.d.ts +2 -1
- package/dist/types/lib/CheckoutFlowContent.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -22514,18 +22514,19 @@ function CheckoutFlowContent({
|
|
|
22514
22514
|
merchantId,
|
|
22515
22515
|
codigoPedido,
|
|
22516
22516
|
uuid,
|
|
22517
|
-
producao,
|
|
22517
|
+
producao = true,
|
|
22518
22518
|
onResponse,
|
|
22519
22519
|
paymentEnabled,
|
|
22520
22520
|
resumo,
|
|
22521
22521
|
parcelas,
|
|
22522
|
-
pagamento
|
|
22522
|
+
pagamento,
|
|
22523
|
+
url
|
|
22523
22524
|
}) {
|
|
22524
22525
|
useMediaQuery("(max-width:900px)");
|
|
22525
22526
|
useTheme();
|
|
22526
22527
|
const primaryButtons = [];
|
|
22527
22528
|
const listItems = [];
|
|
22528
|
-
const apiUrl = producao ? "https://api-conciliapos.suportepos.com.br" : "https://api-conciliapos-stag.suportepos.com.br";
|
|
22529
|
+
const apiUrl = url ?? (producao ? "https://api-conciliapos.suportepos.com.br" : "https://api-conciliapos-stag.suportepos.com.br");
|
|
22529
22530
|
if (paymentEnabled?.creditCard) {
|
|
22530
22531
|
listItems.push(
|
|
22531
22532
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(ListItemButton, { onClick: () => setStep("card"), sx: {
|