stablezact-pay 0.68.0 → 0.69.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.
@@ -6,7 +6,7 @@ import { useState, useRef, useEffect, useCallback, useMemo } from "react";
6
6
  import ReactDOM, { createPortal } from "react-dom";
7
7
  import { useConnect, useAccount, useSwitchChain, useSendTransaction, useWaitForTransactionReceipt, WagmiProvider, useDisconnect } from "wagmi";
8
8
  import { QueryClientProvider, QueryClient } from "@tanstack/react-query";
9
- import { s as sdkAnalytics, c as clarityAnalytics, d as dist, a as Buffer2, B as Buffer$1, g as getCurrencyInfo, p as prefetchRates, i as isSupportedCurrency, b as convertToUSD, f as formatCurrency } from "./index-CW1p6ar4.js";
9
+ import { s as sdkAnalytics, c as clarityAnalytics, d as dist, a as Buffer2, B as Buffer$1, g as getCurrencyInfo, p as prefetchRates, i as isSupportedCurrency, b as convertToUSD, f as formatCurrency } from "./index-B1VDVZ7m.js";
10
10
  import { createConfig, fallback, http, getAccount as getAccount$1, getWalletClient, simulateContract, writeContract, readContract, waitForTransactionReceipt, estimateFeesPerGas as estimateFeesPerGas$1 } from "@wagmi/core";
11
11
  import { injected, metaMask, coinbaseWallet, walletConnect } from "@wagmi/connectors";
12
12
  import { defineChain as defineChain$1, erc20Abi, http as http$1, createPublicClient, fallback as fallback$1 } from "viem";
@@ -23641,7 +23641,7 @@ const WalletSelector = ({
23641
23641
  try {
23642
23642
  setAppKitError(null);
23643
23643
  setWalletConnectAddress(solanaAccountState.address);
23644
- const { createWalletConnectAdapter } = await import("./appKitSolana-BUMkrcwF.js");
23644
+ const { createWalletConnectAdapter } = await import("./appKitSolana-DrYzsOr8.js");
23645
23645
  const adapter = createWalletConnectAdapter(solanaAccountState.address);
23646
23646
  await solanaWallet.connectWalletConnect(adapter, solanaAccountState.address);
23647
23647
  console.log("✅ WalletConnect synced with SDK");
@@ -23746,7 +23746,7 @@ const WalletSelector = ({
23746
23746
  setAppKitLoading(true);
23747
23747
  setAppKitError(null);
23748
23748
  try {
23749
- const { initializeAppKitEVM, openAppKitModal } = await import("./appKitEVM-BKw-NMzs.js");
23749
+ const { initializeAppKitEVM, openAppKitModal } = await import("./appKitEVM-CoFigoDi.js");
23750
23750
  await initializeAppKitEVM(wagmiConfig);
23751
23751
  await openAppKitModal();
23752
23752
  } catch (error) {
@@ -23766,7 +23766,7 @@ const WalletSelector = ({
23766
23766
  setAppKitError(null);
23767
23767
  try {
23768
23768
  console.log("📦 Loading AppKit Solana module...");
23769
- const { initializeAppKitSolana } = await import("./appKitSolana-BUMkrcwF.js");
23769
+ const { initializeAppKitSolana } = await import("./appKitSolana-DrYzsOr8.js");
23770
23770
  console.log("✅ Module loaded, initializing...");
23771
23771
  const modal = await initializeAppKitSolana(solanaWallet);
23772
23772
  console.log("✅ AppKit Solana initialized successfully");
@@ -29258,7 +29258,7 @@ const CoinleyPaymentInternal = ({
29258
29258
  return `${hash.slice(0, 7)}...${hash.slice(-8)}`;
29259
29259
  };
29260
29260
  if (!isOpen) return null;
29261
- if (refundRequestStatus === "pending") {
29261
+ if (!payAgainAfterRefund && (refundRequestStatus === "submitting" || refundRequestStatus === "pending")) {
29262
29262
  return renderInPortal(
29263
29263
  /* @__PURE__ */ jsxs("div", { id: SDK_ROOT_ID, className: `${SDK_ROOT_CLASS} fixed inset-0 z-50`, style: { fontFamily: FONT_FAMILY }, children: [
29264
29264
  /* @__PURE__ */ jsx("div", { className: "fixed inset-0 bg-black bg-opacity-50", onClick: onClose }),
@@ -31145,4 +31145,4 @@ export {
31145
31145
  chainTransports as c,
31146
31146
  isFeatureEnabled as i
31147
31147
  };
31148
- //# sourceMappingURL=CoinleyPayment-C6ChHSdL.js.map
31148
+ //# sourceMappingURL=CoinleyPayment-CgOyBTiZ.js.map
@@ -1,4 +1,4 @@
1
- import { i as isFeatureEnabled, F as FEATURES, c as chainTransports, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-C6ChHSdL.js";
1
+ import { i as isFeatureEnabled, F as FEATURES, c as chainTransports, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-CgOyBTiZ.js";
2
2
  const logo = "https://coinley.io/logo.png";
3
3
  let appKitInstance = null;
4
4
  let isInitializing = false;
@@ -135,4 +135,4 @@ export {
135
135
  openAppKitModal,
136
136
  resetAppKitInstance
137
137
  };
138
- //# sourceMappingURL=appKitEVM-BKw-NMzs.js.map
138
+ //# sourceMappingURL=appKitEVM-CoFigoDi.js.map
@@ -1,4 +1,4 @@
1
- import { F as FEATURES, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-C6ChHSdL.js";
1
+ import { F as FEATURES, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-CgOyBTiZ.js";
2
2
  const logo = "https://coinley.io/logo.png";
3
3
  let appKitInstance = null;
4
4
  let isInitializing = false;
@@ -306,4 +306,4 @@ export {
306
306
  openAppKitModalSolana,
307
307
  resetAppKitInstanceSolana
308
308
  };
309
- //# sourceMappingURL=appKitSolana-BUMkrcwF.js.map
309
+ //# sourceMappingURL=appKitSolana-DrYzsOr8.js.map