coinley-pay 0.0.8 → 0.0.9
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.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -47287,7 +47287,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47287
47287
|
};
|
|
47288
47288
|
const truncateAddress = (addr) => {
|
|
47289
47289
|
if (!addr) return "";
|
|
47290
|
-
return `${addr.slice(0,
|
|
47290
|
+
return `${addr.slice(0, 4)}......${addr.slice(-4)}`;
|
|
47291
47291
|
};
|
|
47292
47292
|
if (!isOpen) return null;
|
|
47293
47293
|
if (currentStep === PAYMENT_STEPS.PROCESSING) {
|
|
@@ -47457,7 +47457,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47457
47457
|
{
|
|
47458
47458
|
src: getTokenLogoUrl(token.symbol),
|
|
47459
47459
|
alt: token.symbol,
|
|
47460
|
-
className: "w-
|
|
47460
|
+
className: "w-4 h-4 rounded-full",
|
|
47461
47461
|
onError: (e) => {
|
|
47462
47462
|
e.target.src = `https://ui-avatars.com/api/?name=${token.symbol}&background=7042D2&color=fff`;
|
|
47463
47463
|
}
|
|
@@ -47465,7 +47465,7 @@ const RedesignedCoinleyPaymentInternal = ({
|
|
|
47465
47465
|
),
|
|
47466
47466
|
/* @__PURE__ */ jsxs("div", { className: "text-left", children: [
|
|
47467
47467
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
47468
|
-
/* @__PURE__ */ jsx("p", { className: "font-medium text-
|
|
47468
|
+
/* @__PURE__ */ jsx("p", { className: "font-medium text-xs text-gray-900", children: token.name || token.symbol }),
|
|
47469
47469
|
token.isStablecoin && /* @__PURE__ */ jsxs("span", { className: "text-xs text-green-600 flex items-center gap-1", children: [
|
|
47470
47470
|
/* @__PURE__ */ jsx("span", { className: "w-1.5 h-1.5 bg-green-500 rounded-full" }),
|
|
47471
47471
|
"Stablecoin"
|