coinley-pay 0.0.7 → 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 CHANGED
@@ -47287,7 +47287,7 @@ const RedesignedCoinleyPaymentInternal = ({
47287
47287
  };
47288
47288
  const truncateAddress = (addr) => {
47289
47289
  if (!addr) return "";
47290
- return `${addr.slice(0, 12)}......${addr.slice(-12)}`;
47290
+ return `${addr.slice(0, 4)}......${addr.slice(-4)}`;
47291
47291
  };
47292
47292
  if (!isOpen) return null;
47293
47293
  if (currentStep === PAYMENT_STEPS.PROCESSING) {
@@ -47428,14 +47428,14 @@ const RedesignedCoinleyPaymentInternal = ({
47428
47428
  {
47429
47429
  src: getNetworkLogoUrl(network),
47430
47430
  alt: network.name,
47431
- className: "w-10 h-10 rounded-full",
47431
+ className: "w-6 h-6 rounded-full",
47432
47432
  onError: (e) => {
47433
47433
  e.target.src = `https://ui-avatars.com/api/?name=${network.shortName}&background=7042D2&color=fff`;
47434
47434
  }
47435
47435
  }
47436
47436
  ),
47437
47437
  /* @__PURE__ */ jsxs("div", { className: "text-left", children: [
47438
- /* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900", children: network.name }),
47438
+ /* @__PURE__ */ jsx("p", { className: "font-medium text-sm text-gray-900", children: network.name }),
47439
47439
  /* @__PURE__ */ jsx("p", { className: "text-xs text-gray-400", children: "Blockchain network" })
47440
47440
  ] })
47441
47441
  ]
@@ -47457,7 +47457,7 @@ const RedesignedCoinleyPaymentInternal = ({
47457
47457
  {
47458
47458
  src: getTokenLogoUrl(token.symbol),
47459
47459
  alt: token.symbol,
47460
- className: "w-10 h-10 rounded-full",
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-semibold text-gray-900", children: token.name || token.symbol }),
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"