coinley-checkout 0.5.4 → 0.5.6
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.
@@ -20880,7 +20880,7 @@ const PaymentMethods = ({ onSelect, selected, theme: theme2 = "light", supported
|
|
20880
20880
|
};
|
20881
20881
|
return isAvailable ? `${walletNames[wallet]} detected - Ready to pay` : `${walletNames[wallet]} required - Please install to continue`;
|
20882
20882
|
}
|
20883
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
20883
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { classname: "bg-white", children: [
|
20884
20884
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mb-6", children: [
|
20885
20885
|
/* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: `block text-sm font-medium mb-2 ${theme2 === "dark" ? "text-white" : "text-gray-700"}`, children: "Blockchain Network" }),
|
20886
20886
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
@@ -21037,14 +21037,14 @@ const CoinleyModal = ({
|
|
21037
21037
|
payment && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "coinley-payment-info mb-6", children: [
|
21038
21038
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-center", children: [
|
21039
21039
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-sm text-gray-600", children: "Total Amount" }),
|
21040
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "coinley-amount-display text-4xl font-
|
21040
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "coinley-amount-display text-4xl font-bold text-[#7042D2] mt-2", children: [
|
21041
21041
|
"$",
|
21042
21042
|
formatAmount(payment.totalAmount || payment.amount)
|
21043
21043
|
] })
|
21044
21044
|
] }),
|
21045
21045
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-center", children: [
|
21046
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-sm text-gray-600", children: "Payment To" }),
|
21047
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "coinley-merchant-name text-lg", children: merchantName })
|
21046
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-sm text-gray-600 mt-2", children: "Payment To:" }),
|
21047
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "coinley-merchant-name text-lg mt-2", children: merchantName })
|
21048
21048
|
] }),
|
21049
21049
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-center gap-4 text-sm", children: [
|
21050
21050
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-3 py-2 rounded-lg", children: [
|
@@ -21064,20 +21064,6 @@ const CoinleyModal = ({
|
|
21064
21064
|
] })
|
21065
21065
|
] }),
|
21066
21066
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mb-6", children: [
|
21067
|
-
debug && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-2 text-right", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
21068
|
-
"button",
|
21069
|
-
{
|
21070
|
-
onClick: () => {
|
21071
|
-
console.log("=== DEBUG INFO ===");
|
21072
|
-
console.log("Current step:", step);
|
21073
|
-
console.log("Payment method:", selectedPaymentMethod);
|
21074
|
-
console.log("Wallet connection:", walletConnection);
|
21075
|
-
debugWalletEnvironment();
|
21076
|
-
},
|
21077
|
-
className: "text-xs bg-gray-200 p-1 rounded",
|
21078
|
-
children: "Debug"
|
21079
|
-
}
|
21080
|
-
) }),
|
21081
21067
|
step === "select-currency" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
21082
21068
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
21083
21069
|
PaymentMethods,
|