stablezact-pay 0.69.0 → 0.70.1

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,11 +6,11 @@ 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-B1VDVZ7m.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-BRf1B18E.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";
13
- import { d as defineFormatter, e as bytesToHex, n as numberToHex, f as maxUint16, h as hexToBytes, t as toHex, g as defineTransactionReceipt, i as hexToBigInt, j as hexToNumber$1, k as formatLog, l as defineTransaction, q as defineBlock, r as formatUnits, s as etherUnits, B as BaseError, I as InvalidChainIdError, u as isAddress, v as InvalidAddressError, w as serializeTransaction$2, x as concatHex, y as toRlp, z as toBytes, A as sha256, C as pad, D as defineChain, E as chainConfig$3, F as trim, G as formatTransaction, H as serializeTransaction$3, J as serializeAccessList, K as toYParitySignatureArray, L as FeeCapTooHighError, T as TipAboveFeeCapError, M as maxUint256, N as contracts, O as prettyPrint, P as formatGwei, Q as ExecutionRevertedError, R as FeeCapTooLowError, S as NonceTooHighError, U as NonceTooLowError, V as NonceMaxValueError, W as InsufficientFundsError, X as IntrinsicGasTooHighError, Y as IntrinsicGasTooLowError, Z as TransactionTypeNotSupportedError, _ as UnknownNodeError, $ as Hash, a0 as ahash, a1 as toBytes$1, a2 as clean, a3 as aexists, a4 as abytes, m as mainnet, o as optimism, c as bsc, p as polygon, b as arbitrum, a as avalanche, a5 as bytesToHex$1, a6 as hexToBytes$1, a7 as isBytes, a8 as concatBytes, a9 as anumber, aa as randomBytes, ab as sha512, ac as sha256$1, ad as sha256$2, ae as keccak_256 } from "./polygon-C-1Q5KDX.js";
13
+ import { d as defineFormatter, e as bytesToHex, n as numberToHex, f as maxUint16, h as hexToBytes, t as toHex, g as defineTransactionReceipt, i as hexToBigInt, j as hexToNumber$1, k as formatLog, l as defineTransaction, q as defineBlock, r as formatUnits, s as etherUnits, B as BaseError, I as InvalidChainIdError, u as isAddress, v as InvalidAddressError, w as serializeTransaction$2, x as concatHex, y as toRlp, z as toBytes, A as sha256, C as pad, D as defineChain, E as chainConfig$3, F as trim, G as formatTransaction, H as serializeTransaction$3, J as serializeAccessList, K as toYParitySignatureArray, L as FeeCapTooHighError, T as TipAboveFeeCapError, M as maxUint256, N as contracts, O as prettyPrint, P as formatGwei, Q as ExecutionRevertedError, R as FeeCapTooLowError, S as NonceTooHighError, U as NonceTooLowError, V as NonceMaxValueError, W as InsufficientFundsError, X as IntrinsicGasTooHighError, Y as IntrinsicGasTooLowError, Z as TransactionTypeNotSupportedError, _ as UnknownNodeError, $ as Hash, a0 as ahash, a1 as toBytes$1, a2 as clean, a3 as aexists, a4 as abytes, m as mainnet, o as optimism, c as bsc, p as polygon, b as arbitrum, a as avalanche, a5 as bytesToHex$1, a6 as hexToBytes$1, a7 as isBytes, a8 as concatBytes, a9 as anumber, aa as randomBytes, ab as sha512, ac as sha256$1, ad as sha256$2, ae as keccak_256 } from "./polygon-CXeLMH4y.js";
14
14
  import { useAppKitAccount } from "@reown/appkit/react";
15
15
  import QRCode from "qrcode";
16
16
  const rpcTransactionType = {
@@ -897,6 +897,12 @@ const hyperEvm = /* @__PURE__ */ defineChain({
897
897
  url: "https://hyperevmscan.io"
898
898
  }
899
899
  },
900
+ contracts: {
901
+ multicall3: {
902
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
903
+ blockCreated: 13051
904
+ }
905
+ },
900
906
  rpcUrls: {
901
907
  default: {
902
908
  http: ["https://rpc.hyperliquid.xyz/evm"]
@@ -1339,13 +1345,13 @@ const monad = /* @__PURE__ */ defineChain({
1339
1345
  },
1340
1346
  blockExplorers: {
1341
1347
  default: {
1342
- name: "MonadVision",
1343
- url: "https://monadvision.com"
1344
- },
1345
- monadscan: {
1346
1348
  name: "Monadscan",
1347
1349
  url: "https://monadscan.com",
1348
- apiUrl: "https://api.monadscan.com/api"
1350
+ apiUrl: "https://api.etherscan.io/v2/api?chainid=143"
1351
+ },
1352
+ monadvision: {
1353
+ name: "MonadVision",
1354
+ url: "https://monadvision.com"
1349
1355
  }
1350
1356
  },
1351
1357
  testnet: false,
@@ -1485,9 +1491,9 @@ const sei = /* @__PURE__ */ defineChain({
1485
1491
  },
1486
1492
  blockExplorers: {
1487
1493
  default: {
1488
- name: "Seitrace",
1489
- url: "https://seitrace.com",
1490
- apiUrl: "https://seitrace.com/pacific-1/api"
1494
+ name: "Seiscan",
1495
+ url: "https://seiscan.io",
1496
+ apiUrl: "https://api.etherscan.io/v2/api"
1491
1497
  }
1492
1498
  },
1493
1499
  contracts: {
@@ -1908,11 +1914,6 @@ const zksync = /* @__PURE__ */ defineChain({
1908
1914
  },
1909
1915
  blockExplorers: {
1910
1916
  default: {
1911
- name: "Etherscan",
1912
- url: "https://era.zksync.network/",
1913
- apiUrl: "https://api-era.zksync.network/api"
1914
- },
1915
- native: {
1916
1917
  name: "ZKsync Explorer",
1917
1918
  url: "https://explorer.zksync.io/",
1918
1919
  apiUrl: "https://block-explorer-api.mainnet.zksync.io/api"
@@ -1920,7 +1921,8 @@ const zksync = /* @__PURE__ */ defineChain({
1920
1921
  },
1921
1922
  contracts: {
1922
1923
  multicall3: {
1923
- address: "0xF9cda624FBC7e059355ce98a31693d299FACd963"
1924
+ address: "0xF9cda624FBC7e059355ce98a31693d299FACd963",
1925
+ blockCreated: 3908235
1924
1926
  },
1925
1927
  erc6492Verifier: {
1926
1928
  address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C",
@@ -23641,7 +23643,7 @@ const WalletSelector = ({
23641
23643
  try {
23642
23644
  setAppKitError(null);
23643
23645
  setWalletConnectAddress(solanaAccountState.address);
23644
- const { createWalletConnectAdapter } = await import("./appKitSolana-DrYzsOr8.js");
23646
+ const { createWalletConnectAdapter } = await import("./appKitSolana-CnieXptB.js");
23645
23647
  const adapter = createWalletConnectAdapter(solanaAccountState.address);
23646
23648
  await solanaWallet.connectWalletConnect(adapter, solanaAccountState.address);
23647
23649
  console.log("✅ WalletConnect synced with SDK");
@@ -23746,7 +23748,7 @@ const WalletSelector = ({
23746
23748
  setAppKitLoading(true);
23747
23749
  setAppKitError(null);
23748
23750
  try {
23749
- const { initializeAppKitEVM, openAppKitModal } = await import("./appKitEVM-CoFigoDi.js");
23751
+ const { initializeAppKitEVM, openAppKitModal } = await import("./appKitEVM-CuM22PMj.js");
23750
23752
  await initializeAppKitEVM(wagmiConfig);
23751
23753
  await openAppKitModal();
23752
23754
  } catch (error) {
@@ -23766,7 +23768,7 @@ const WalletSelector = ({
23766
23768
  setAppKitError(null);
23767
23769
  try {
23768
23770
  console.log("📦 Loading AppKit Solana module...");
23769
- const { initializeAppKitSolana } = await import("./appKitSolana-DrYzsOr8.js");
23771
+ const { initializeAppKitSolana } = await import("./appKitSolana-CnieXptB.js");
23770
23772
  console.log("✅ Module loaded, initializing...");
23771
23773
  const modal = await initializeAppKitSolana(solanaWallet);
23772
23774
  console.log("✅ AppKit Solana initialized successfully");
@@ -31145,4 +31147,4 @@ export {
31145
31147
  chainTransports as c,
31146
31148
  isFeatureEnabled as i
31147
31149
  };
31148
- //# sourceMappingURL=CoinleyPayment-CgOyBTiZ.js.map
31150
+ //# sourceMappingURL=CoinleyPayment-f7TzoM2M.js.map
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect } from "react";
3
3
  import QRCode from "qrcode";
4
4
  import { createPublicClient, http, formatUnits, getContract } from "viem";
5
- import { a as avalanche, o as optimism, b as arbitrum, p as polygon, c as bsc, m as mainnet } from "./polygon-C-1Q5KDX.js";
5
+ import { a as avalanche, o as optimism, b as arbitrum, p as polygon, c as bsc, m as mainnet } from "./polygon-CXeLMH4y.js";
6
6
  const NETWORK_CHAINS = {
7
7
  ethereum: mainnet,
8
8
  bsc,
@@ -857,4 +857,4 @@ const QRCodePayment = ({
857
857
  export {
858
858
  QRCodePayment as default
859
859
  };
860
- //# sourceMappingURL=QRCodePayment-C50CNuFu.js.map
860
+ //# sourceMappingURL=QRCodePayment-Dn8w0HYK.js.map
@@ -1,4 +1,4 @@
1
- import { i as isFeatureEnabled, F as FEATURES, c as chainTransports, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-CgOyBTiZ.js";
1
+ import { i as isFeatureEnabled, F as FEATURES, c as chainTransports, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-f7TzoM2M.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-CoFigoDi.js.map
138
+ //# sourceMappingURL=appKitEVM-CuM22PMj.js.map
@@ -1,4 +1,4 @@
1
- import { F as FEATURES, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-CgOyBTiZ.js";
1
+ import { F as FEATURES, W as WALLETCONNECT_PROJECT_ID } from "./CoinleyPayment-f7TzoM2M.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-DrYzsOr8.js.map
309
+ //# sourceMappingURL=appKitSolana-CnieXptB.js.map