@funkit/connect 6.14.9-next.0 → 6.14.10

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.
Files changed (26) hide show
  1. package/CHANGELOG.md +17 -5
  2. package/dist/domains/bridge.d.ts +3 -1
  3. package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
  4. package/dist/index.js +43 -38
  5. package/dist/utils/checkout.d.ts +1 -1
  6. package/dist/utils/flags/config.d.ts +1 -1
  7. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  9. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  12. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/index.js +64 -64
  17. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  26. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,22 +1,34 @@
1
1
  # @funkit/connect
2
2
 
3
- ## 6.14.9-next.0
3
+ ## 6.14.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 553c4b7: fix display amount
8
+ - 237e42d: Refactor Bridge chain lookup logic into shared utility function
9
+
10
+ ## 6.14.9
4
11
 
5
12
  ### Patch Changes
6
13
 
7
14
  - 4d52e42: fix: add fallback bridge bank account to prevent SEPA error
8
15
  - 157aa94: feat(connect): added tracking for navigaton and modal open/close events in checkout modal
16
+ - 04438fa: fix no divider bug
9
17
  - 0a14ab9: feat(connect): implement feature flag for hiding non wallet options
10
18
  - d8e25ba: feat(connect): tracking for checkout completion in wallet balance flow + quote tracking
11
19
  - 8891f56: feat(connect): add user metadata tracking to statsig
12
20
  - 27c1bdb: feat(connect): tracking for QR Code flow completion events (success::token_transfer)
13
21
  - 613a8eb: chore(connect): statsig initial setup
22
+ - Updated dependencies [5d8c791]
14
23
  - Updated dependencies [4d52e42]
15
24
  - Updated dependencies [613a8eb]
16
- - @funkit/api-base@1.12.8-next.0
17
- - @funkit/utils@1.2.0-next.0
18
- - @funkit/core@2.3.53-next.0
19
- - @funkit/wagmi-tools@3.0.76-next.0
25
+ - Updated dependencies [f92238c]
26
+ - @funkit/fun-relay@2.1.1
27
+ - @funkit/api-base@1.12.8
28
+ - @funkit/utils@1.1.13
29
+ - @funkit/chains@0.4.2
30
+ - @funkit/core@2.3.53
31
+ - @funkit/wagmi-tools@3.0.76
20
32
 
21
33
  ## 6.14.8
22
34
 
@@ -6,8 +6,10 @@
6
6
  * - Bridge Bank Account: corresponds to a payment route for a user
7
7
  * https://docs.google.com/document/d/1A0GVWMIe1aLHtblMYJZfFP3C-DybMo47l4vvoxcbpcs/edit?tab=t.0
8
8
  */
9
- import { type BaseApiRequest, type BridgeCustomer, BridgeCustomerStatus, BridgeKycStatus, type BridgeSubAccount, type BridgeVirtualBankAccount, type FunAddress } from '@funkit/api-base';
9
+ import { type BaseApiRequest, type BridgeCustomer, BridgeCustomerStatus, BridgeKycStatus, type BridgeSubAccount, type BridgeVirtualBankAccount, type CreateBridgeBankAccountRequest, type FunAddress } from '@funkit/api-base';
10
10
  import type { Address } from 'viem';
11
+ /** Bridge only supports a handful of chains so we need to normalize other chains to the supported chain*/
12
+ export declare const findBridgeSupportedChain: (chainId: string) => CreateBridgeBankAccountRequest["chainName"];
11
13
  export interface AllFiatAccounts {
12
14
  bridgeCustomer?: BridgeCustomer;
13
15
  bankAccounts?: BridgeVirtualBankAccount[];
@@ -14,7 +14,6 @@ export declare function useCheckoutAccountBalanceTransfer(): {
14
14
  bypassInit: boolean;
15
15
  apiKey?: string;
16
16
  nonce?: bigint | undefined;
17
- logger?: import("@funkit/api-base").Logger | undefined;
18
17
  fee?: {
19
18
  token?: string;
20
19
  amount?: number;
@@ -22,6 +21,7 @@ export declare function useCheckoutAccountBalanceTransfer(): {
22
21
  recipient: import("viem").Address;
23
22
  } | undefined;
24
23
  skipDBAction?: boolean | undefined;
24
+ logger?: import("@funkit/api-base").Logger | undefined;
25
25
  };
26
26
  } | {
27
27
  rFunWallet: null;
package/dist/index.js CHANGED
@@ -1528,7 +1528,7 @@ function setFunkitConnectVersion({ version }) {
1528
1528
  localStorage.setItem(storageKey, version);
1529
1529
  }
1530
1530
  function getCurrentSdkVersion() {
1531
- return "6.14.9-next.0";
1531
+ return "6.14.10";
1532
1532
  }
1533
1533
  function useFingerprint() {
1534
1534
  const fingerprint = useCallback2(() => {
@@ -2288,6 +2288,7 @@ import {
2288
2288
  CAMBRIA_API_KEY,
2289
2289
  DEGEN_API_KEY,
2290
2290
  DEV_API_KEY as DEV_API_KEY2,
2291
+ ETHEREAL_API_KEY,
2291
2292
  HYPERBEAT_API_KEY,
2292
2293
  HYPERDASH_API_KEY,
2293
2294
  HYPERSWAP_API_KEY,
@@ -2485,7 +2486,8 @@ var flagConfig = {
2485
2486
  HYPERSWAP_API_KEY,
2486
2487
  HYPERDASH_API_KEY,
2487
2488
  MONKEY_TILT_API_KEY,
2488
- VENTUALS_API_KEY
2489
+ VENTUALS_API_KEY,
2490
+ ETHEREAL_API_KEY
2489
2491
  ]
2490
2492
  }
2491
2493
  ],
@@ -3131,7 +3133,7 @@ import {
3131
3133
  BANKR_API_KEY as BANKR_API_KEY2,
3132
3134
  BASED_API_KEY as BASED_API_KEY2,
3133
3135
  BSX_API_KEY,
3134
- ETHEREAL_API_KEY,
3136
+ ETHEREAL_API_KEY as ETHEREAL_API_KEY2,
3135
3137
  HYENA_API_KEY,
3136
3138
  HYPERBEAT_API_KEY as HYPERBEAT_API_KEY2,
3137
3139
  HYPERDASH_API_KEY as HYPERDASH_API_KEY2,
@@ -3150,7 +3152,7 @@ function isBankrCustomer(apiKey) {
3150
3152
  return apiKey === BANKR_API_KEY2;
3151
3153
  }
3152
3154
  function isEtherealCustomer(apiKey) {
3153
- return apiKey === ETHEREAL_API_KEY;
3155
+ return apiKey === ETHEREAL_API_KEY2;
3154
3156
  }
3155
3157
  function isKatanaCustomer(apiKey) {
3156
3158
  return apiKey === KATANA_API_KEY2;
@@ -4697,7 +4699,11 @@ function getCheckoutReceivedAmountFormatted({
4697
4699
  config,
4698
4700
  targetTokenAmount
4699
4701
  );
4700
- return formatCryptoAndStringify(stakingTokenAmount);
4702
+ const feeBreakdown = quote?.baseQuote.metadata?.feeBreakdown;
4703
+ const swapImpactPct = config?.generateActionsParams || config?.stakingToken ? feeBreakdown?.swapImpact + feeBreakdown?.appFeePercent || 0 : 0;
4704
+ return formatCryptoAndStringify(
4705
+ stakingTokenAmount * (1 + swapImpactPct / 100)
4706
+ );
4701
4707
  }
4702
4708
  function getCheckoutItemDisplay({
4703
4709
  checkoutConfig,
@@ -12599,12 +12605,26 @@ import {
12599
12605
  BridgeCustomerStatus,
12600
12606
  BridgeKycStatus,
12601
12607
  BridgeVirtualBankAccountStatus,
12608
+ createBridgeBankAccountRequestChainNames,
12602
12609
  getBridgeBankAccounts,
12603
12610
  getBridgeCustomer,
12604
12611
  getFrogAccount
12605
12612
  } from "@funkit/api-base";
12606
- import { FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO8 } from "@funkit/chains";
12613
+ import {
12614
+ FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO8,
12615
+ hyperCoreChain
12616
+ } from "@funkit/chains";
12607
12617
  import { ResourceNotFoundError } from "@funkit/utils";
12618
+ var findBridgeSupportedChain = (chainId) => {
12619
+ if (chainId === hyperCoreChain.id.toString()) {
12620
+ return "arbitrum";
12621
+ }
12622
+ const chainName = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO8[chainId]?.name.toLowerCase();
12623
+ if (createBridgeBankAccountRequestChainNames.includes(chainName)) {
12624
+ return chainName;
12625
+ }
12626
+ return "polygon";
12627
+ };
12608
12628
  async function fetchFrogAccounts(walletAddress, params) {
12609
12629
  const { logger: logger2 } = params;
12610
12630
  logger2?.info("Fetching frog subaccounts");
@@ -12647,12 +12667,12 @@ async function fetchAllFiatAccounts(bridgeSubAccount, params) {
12647
12667
  }
12648
12668
  function getMatchingBankAccount(accounts, targetChain, targetAddress) {
12649
12669
  const { bankAccounts } = accounts;
12650
- const chainInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO8[targetChain];
12651
- if (!bankAccounts || !chainInfo) {
12670
+ const chainInfoName = findBridgeSupportedChain(targetChain);
12671
+ if (!bankAccounts) {
12652
12672
  return void 0;
12653
12673
  }
12654
12674
  const matchingAccount = bankAccounts.find(
12655
- ({ destination, status }) => status === BridgeVirtualBankAccountStatus.ACTIVATED && destination.address.toLowerCase() === targetAddress.toLowerCase() && destination.payment_rail === chainInfo.name.toLowerCase()
12675
+ ({ destination, status }) => status === BridgeVirtualBankAccountStatus.ACTIVATED && destination.address.toLowerCase() === targetAddress.toLowerCase() && destination.payment_rail === chainInfoName
12656
12676
  );
12657
12677
  return matchingAccount;
12658
12678
  }
@@ -12690,13 +12710,8 @@ function useCheckoutTimeEstimate(originalTimeEstimationMs, paymentMethod = "card
12690
12710
  // src/hooks/useFrogAccount.ts
12691
12711
  import {
12692
12712
  createBridgeBankAccount,
12693
- createBridgeBankAccountRequestChainNames,
12694
12713
  getBridgeKycLink
12695
12714
  } from "@funkit/api-base";
12696
- import {
12697
- FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO9,
12698
- hyperCoreChain
12699
- } from "@funkit/chains";
12700
12715
  import { FlagKey as FlagKey16 } from "@funkit/utils";
12701
12716
  import { useQuery as useQuery10, useQueryClient } from "@tanstack/react-query";
12702
12717
  import { useCallback as useCallback19 } from "react";
@@ -12868,16 +12883,6 @@ function useLoadKycLink(linkLoad) {
12868
12883
  const fixedLink = query.data ? `${query.data.replace("/verify", "/widget")}&iframe-origin=${iframeOrigin}` : void 0;
12869
12884
  return { ...query, data: fixedLink };
12870
12885
  }
12871
- var fallbackIfUnsupportedChain = (chainId) => {
12872
- if (chainId === hyperCoreChain.id.toString()) {
12873
- return "arbitrum";
12874
- }
12875
- const chainName = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO9[chainId]?.name.toLowerCase();
12876
- if (createBridgeBankAccountRequestChainNames.includes(chainName)) {
12877
- return chainName;
12878
- }
12879
- return "polygon";
12880
- };
12881
12886
  function useCreateVirtualBankAccount() {
12882
12887
  const { apiKey } = useFunkitConfig();
12883
12888
  const { checkoutItem } = useCheckoutContext();
@@ -12898,7 +12903,7 @@ function useCreateVirtualBankAccount() {
12898
12903
  }
12899
12904
  const resp = await createBridgeBankAccount({
12900
12905
  tokenName: "usdc",
12901
- chainName: fallbackIfUnsupportedChain(targetChainId),
12906
+ chainName: findBridgeSupportedChain(targetChainId),
12902
12907
  destinationAddress,
12903
12908
  subAccountId,
12904
12909
  sourceCurrency: "eur",
@@ -12936,7 +12941,7 @@ var useWalletLabel = () => {
12936
12941
  // src/modals/CheckoutModal/useWalletAssetHoldings.ts
12937
12942
  import {
12938
12943
  FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS as FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS3,
12939
- FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO10
12944
+ FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO9
12940
12945
  } from "@funkit/chains";
12941
12946
  import { useMemo as useMemo15 } from "react";
12942
12947
 
@@ -13075,14 +13080,14 @@ var processWalletAssets = (walletAssets, targetChain) => {
13075
13080
  if (!walletAssets) {
13076
13081
  return;
13077
13082
  }
13078
- const targetChainInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO10[targetChain];
13083
+ const targetChainInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO9[targetChain];
13079
13084
  const isCheckoutOnMainnet = targetChainInfo?.isMainnet;
13080
13085
  return Object.values(walletAssets).reduce(
13081
13086
  (result, asset) => {
13082
13087
  if (!asset.symbol || !asset.contractAddress) {
13083
13088
  return result;
13084
13089
  }
13085
- const assetChainInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO10[asset.chainId];
13090
+ const assetChainInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO9[asset.chainId];
13086
13091
  const isAssetOnMainnet = assetChainInfo?.isMainnet;
13087
13092
  if (isCheckoutOnMainnet && !isAssetOnMainnet) {
13088
13093
  return result;
@@ -13129,7 +13134,7 @@ function useWalletAssetHoldings(targetChain) {
13129
13134
 
13130
13135
  // src/config/getDefaultConfig.ts
13131
13136
  import {
13132
- FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO11,
13137
+ FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO10,
13133
13138
  FUNKIT_CONNECT_SUPPORTED_CHECKOUT_CHAINS_INFO_LIST
13134
13139
  } from "@funkit/chains";
13135
13140
  import { fallback } from "viem";
@@ -13826,7 +13831,7 @@ var createDefaultTransports = (chains) => {
13826
13831
  const transportsObject = {};
13827
13832
  for (const chain of chains) {
13828
13833
  const key = chain.id;
13829
- const fallbackRpcs = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO11[key]?.fallbackRpcUrls;
13834
+ const fallbackRpcs = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO10[key]?.fallbackRpcUrls;
13830
13835
  if (fallbackRpcs && fallbackRpcs.length > 0) {
13831
13836
  transportsObject[key] = fallback([
13832
13837
  http(),
@@ -16619,7 +16624,7 @@ import React107, { useState as useState31, useRef as useRef14, useEffect as useE
16619
16624
 
16620
16625
  // src/components/FunButton/FunRedirectButton.tsx
16621
16626
  import React105 from "react";
16622
- import { FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO12 } from "@funkit/chains";
16627
+ import { FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO11 } from "@funkit/chains";
16623
16628
 
16624
16629
  // src/components/Icons/RedirectIcon.tsx
16625
16630
  import React104 from "react";
@@ -16678,7 +16683,7 @@ var AddressRedirectButton = ({
16678
16683
  address,
16679
16684
  customRedirectUrl
16680
16685
  }) => {
16681
- const explorerInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO12[chainId]?.explorerInfo;
16686
+ const explorerInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO11[chainId]?.explorerInfo;
16682
16687
  return /* @__PURE__ */ React105.createElement(
16683
16688
  FunRedirectButton,
16684
16689
  {
@@ -16692,7 +16697,7 @@ var TransactionRedirectButton = ({
16692
16697
  txHash,
16693
16698
  customRedirectUrl
16694
16699
  }) => {
16695
- const explorerInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO12[chainId]?.explorerInfo;
16700
+ const explorerInfo = FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO11[chainId]?.explorerInfo;
16696
16701
  return /* @__PURE__ */ React105.createElement(
16697
16702
  FunRedirectButton,
16698
16703
  {
@@ -21904,7 +21909,7 @@ var useMeldQuotes = (sourceAmount, fiatCurrency) => {
21904
21909
 
21905
21910
  // src/modals/CheckoutModal/SourceChange/useUpdateSourceAssetForCard.ts
21906
21911
  import {
21907
- FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO13,
21912
+ FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO12,
21908
21913
  hyperEvmChain,
21909
21914
  katanaChain
21910
21915
  } from "@funkit/chains";
@@ -21930,7 +21935,7 @@ var pickSourceAssetForCard = async (checkoutItem, userIpInfo) => {
21930
21935
  const wethAddrOnTargetChain = (await getTokenAddressBySymbolAndChainId2("weth", moonpayChainId)).toLowerCase();
21931
21936
  const isTargetAssetEthOrWeth = [NATIVE_TOKEN, wethAddrOnTargetChain].includes(
21932
21937
  checkoutItem.initSettings.config.targetAsset
21933
- ) && FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO13[moonpayChainId]?.nativeCurrency.symbol === "ETH" /* ETH */;
21938
+ ) && FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO12[moonpayChainId]?.nativeCurrency.symbol === "ETH" /* ETH */;
21934
21939
  let sourceTokenAddress;
21935
21940
  let sourceTokenTicker;
21936
21941
  let sourceTokenChainId;
@@ -22700,7 +22705,7 @@ function InputAmount(props) {
22700
22705
  import React151, { useEffect as useEffect39 } from "react";
22701
22706
 
22702
22707
  // src/domains/wallet.ts
22703
- import { FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO14 } from "@funkit/chains";
22708
+ import { FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO13 } from "@funkit/chains";
22704
22709
  import { isNotNullish as isNotNullish6 } from "@funkit/utils";
22705
22710
  import { mainnet as mainnet9, polygon as polygon6 } from "viem/chains";
22706
22711
  var ASSETS_LOW_VALUE_THRESHOLD2 = 0.1;
@@ -27588,7 +27593,7 @@ var PaymentRouteSummary = ({
27588
27593
  isWithdrawal
27589
27594
  }
27590
27595
  );
27591
- const destinationComponent = customDestinationConfig && /* @__PURE__ */ React195.createElement(
27596
+ const destinationComponent = (!isSameDestination || customDestinationConfig) && /* @__PURE__ */ React195.createElement(
27592
27597
  PaymentDestination,
27593
27598
  {
27594
27599
  destinationConfig: customDestinationConfig,
@@ -27598,7 +27603,7 @@ var PaymentRouteSummary = ({
27598
27603
  }
27599
27604
  );
27600
27605
  const [firstComponent, secondComponent] = isWithdrawal ? [destinationComponent, sourceComponent] : [sourceComponent, destinationComponent];
27601
- return /* @__PURE__ */ React195.createElement(React195.Fragment, null, firstComponent, firstComponent && secondComponent && !isSameDestination && /* @__PURE__ */ React195.createElement(FunDivider, { marginTop: "12", marginBottom: "12" }), secondComponent);
27606
+ return /* @__PURE__ */ React195.createElement(React195.Fragment, null, firstComponent, firstComponent && secondComponent && /* @__PURE__ */ React195.createElement(FunDivider, { marginTop: "12", marginBottom: "12" }), secondComponent);
27602
27607
  };
27603
27608
  var PaymentRouteSummarySkeletonLoader = () => /* @__PURE__ */ React195.createElement(
27604
27609
  Box,
@@ -55,7 +55,6 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
55
55
  bypassInit: boolean;
56
56
  apiKey?: string;
57
57
  nonce?: bigint | undefined;
58
- logger?: import("@funkit/api-base").Logger | undefined;
59
58
  fee?: {
60
59
  token?: string;
61
60
  amount?: number;
@@ -63,6 +62,7 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
63
62
  recipient: Address;
64
63
  } | undefined;
65
64
  skipDBAction?: boolean | undefined;
65
+ logger?: import("@funkit/api-base").Logger | undefined;
66
66
  };
67
67
  export type TokenInfo = {
68
68
  symbol: string;
@@ -46,7 +46,7 @@ export declare const flagConfig: {
46
46
  readonly if_any: [{
47
47
  readonly key: "apiKey";
48
48
  readonly type: "isAnyOf";
49
- readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2"];
49
+ readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um"];
50
50
  }];
51
51
  readonly value: true;
52
52
  }];
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-UIASLGLV.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-A5N6B5UW.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  bifrostWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-5W7VDOCL.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-TDAVGY5F.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  bitgetWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-LNEC5RNX.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2STUC6QL.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  bybitWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-2GJQ4XZQ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-M3NZ6R2E.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  clvWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-KIDC67XJ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-OBOVHCEI.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  coin98Wallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-JCHN6A47.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-VR4TBQ6S.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  coreWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-CNPKISHN.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-7QONTUXT.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  foxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-VWCLFMWJ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-TCAGNB4B.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  frontierWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-CJGUM55H.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-FKJJQNKX.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  gateWallet
9
9
  };
@@ -1,153 +1,153 @@
1
1
  "use client";
2
2
  import {
3
- tokenaryWallet
4
- } from "./chunk-D6AOOO5F.js";
3
+ walletConnectWallet
4
+ } from "./chunk-NP5QGWNL.js";
5
5
  import {
6
- xdefiWallet
7
- } from "./chunk-BOU4WKRZ.js";
6
+ zealWallet
7
+ } from "./chunk-RNBEDQHF.js";
8
8
  import {
9
9
  zerionWallet
10
- } from "./chunk-Q3H3TRBS.js";
11
- import {
12
- subWallet
13
- } from "./chunk-ZSI5N4VV.js";
10
+ } from "./chunk-SULRQO27.js";
14
11
  import {
15
12
  tahoWallet
16
13
  } from "./chunk-ZZZRUXZE.js";
17
14
  import {
18
- trustWallet
19
- } from "./chunk-RKPCWHXL.js";
15
+ subWallet
16
+ } from "./chunk-JWFF4AAL.js";
20
17
  import {
21
18
  talismanWallet
22
19
  } from "./chunk-DRO6WYMM.js";
23
- import {
24
- uniswapWallet
25
- } from "./chunk-LH7BMNFZ.js";
26
20
  import {
27
21
  tokenPocketWallet
28
- } from "./chunk-J3LI3FYZ.js";
29
- import {
30
- walletConnectWallet
31
- } from "./chunk-NP5QGWNL.js";
22
+ } from "./chunk-2L43XSW3.js";
32
23
  import {
33
- zealWallet
34
- } from "./chunk-RNBEDQHF.js";
24
+ tokenaryWallet
25
+ } from "./chunk-D6AOOO5F.js";
35
26
  import {
36
- rabbyWallet
37
- } from "./chunk-BBOM42DL.js";
27
+ trustWallet
28
+ } from "./chunk-VYBAYMP3.js";
38
29
  import {
39
- rainbowWallet
40
- } from "./chunk-3CICVJUN.js";
30
+ uniswapWallet
31
+ } from "./chunk-LH7BMNFZ.js";
41
32
  import {
42
- roninWallet
43
- } from "./chunk-QLVVUKYB.js";
33
+ xdefiWallet
34
+ } from "./chunk-BOU4WKRZ.js";
44
35
  import {
45
36
  phantomWallet
46
37
  } from "./chunk-362NXNTM.js";
38
+ import {
39
+ rainbowWallet
40
+ } from "./chunk-2KUBG3S6.js";
47
41
  import {
48
42
  ramperWallet
49
43
  } from "./chunk-BYXPFMI7.js";
44
+ import {
45
+ rabbyWallet
46
+ } from "./chunk-BBOM42DL.js";
47
+ import {
48
+ roninWallet
49
+ } from "./chunk-NWIQNBJU.js";
50
50
  import {
51
51
  safeWallet
52
52
  } from "./chunk-BQQQL6UD.js";
53
- import {
54
- safepalWallet
55
- } from "./chunk-EC6CHBSZ.js";
56
53
  import {
57
54
  safeheronWallet
58
55
  } from "./chunk-RZIO5TFF.js";
59
56
  import {
60
- ledgerWallet
61
- } from "./chunk-BRBKM4PW.js";
57
+ safepalWallet
58
+ } from "./chunk-NT2HYJKW.js";
62
59
  import {
63
60
  metaMaskWallet
64
- } from "./chunk-UYGJO62F.js";
65
- import {
66
- okxWallet
67
- } from "./chunk-AFXHGWBH.js";
61
+ } from "./chunk-2HYNUNAS.js";
68
62
  import {
69
63
  mewWallet
70
64
  } from "./chunk-OL5ZO7E4.js";
65
+ import {
66
+ oktoWallet
67
+ } from "./chunk-ADIXAKUL.js";
68
+ import {
69
+ okxWallet
70
+ } from "./chunk-TDIEHTMB.js";
71
71
  import {
72
72
  oneInchWallet
73
73
  } from "./chunk-OESTDX6I.js";
74
+ import {
75
+ injectedWallet
76
+ } from "./chunk-XWUJE7MW.js";
74
77
  import {
75
78
  omniWallet
76
79
  } from "./chunk-7CUY5G6R.js";
77
- import {
78
- oktoWallet
79
- } from "./chunk-ADIXAKUL.js";
80
80
  import {
81
81
  oneKeyWallet
82
82
  } from "./chunk-SHBUZ7U7.js";
83
- import {
84
- foxWallet
85
- } from "./chunk-CNPKISHN.js";
86
83
  import {
87
84
  frameWallet
88
85
  } from "./chunk-IFON7E6U.js";
89
86
  import {
90
- gateWallet
91
- } from "./chunk-CJGUM55H.js";
87
+ desigWallet
88
+ } from "./chunk-OPAZMNA7.js";
92
89
  import {
93
90
  imTokenWallet
94
91
  } from "./chunk-COZ7MIQS.js";
92
+ import {
93
+ gateWallet
94
+ } from "./chunk-FKJJQNKX.js";
95
95
  import {
96
96
  frontierWallet
97
- } from "./chunk-VWCLFMWJ.js";
97
+ } from "./chunk-TCAGNB4B.js";
98
98
  import {
99
99
  kresusWallet
100
100
  } from "./chunk-MJXPRJZT.js";
101
101
  import {
102
- injectedWallet
103
- } from "./chunk-XWUJE7MW.js";
102
+ ledgerWallet
103
+ } from "./chunk-BRBKM4PW.js";
104
104
  import {
105
105
  bybitWallet
106
- } from "./chunk-LNEC5RNX.js";
107
- import {
108
- coinbaseWallet
109
- } from "./chunk-H4IRCEZN.js";
106
+ } from "./chunk-2STUC6QL.js";
110
107
  import {
111
108
  clvWallet
112
- } from "./chunk-2GJQ4XZQ.js";
109
+ } from "./chunk-M3NZ6R2E.js";
113
110
  import {
114
111
  coin98Wallet
115
- } from "./chunk-KIDC67XJ.js";
112
+ } from "./chunk-OBOVHCEI.js";
116
113
  import {
117
- dawnWallet
118
- } from "./chunk-HWPKCIBE.js";
114
+ coinbaseWallet
115
+ } from "./chunk-H4IRCEZN.js";
119
116
  import {
120
117
  coreWallet
121
- } from "./chunk-JCHN6A47.js";
118
+ } from "./chunk-VR4TBQ6S.js";
122
119
  import {
123
- desigWallet
124
- } from "./chunk-OPAZMNA7.js";
120
+ dawnWallet
121
+ } from "./chunk-HWPKCIBE.js";
125
122
  import {
126
123
  enkryptWallet
127
124
  } from "./chunk-OLOIXTYS.js";
125
+ import {
126
+ foxWallet
127
+ } from "./chunk-7QONTUXT.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
131
131
  import {
132
132
  bifrostWallet
133
- } from "./chunk-UIASLGLV.js";
134
- import {
135
- bitgetWallet
136
- } from "./chunk-5W7VDOCL.js";
133
+ } from "./chunk-A5N6B5UW.js";
137
134
  import {
138
135
  bitskiWallet
139
136
  } from "./chunk-HS3C7OQV.js";
137
+ import {
138
+ bitgetWallet
139
+ } from "./chunk-TDAVGY5F.js";
140
140
  import {
141
141
  bitverseWallet
142
142
  } from "./chunk-3HZRRP4Y.js";
143
- import {
144
- braveWallet
145
- } from "./chunk-BPZ2XJO2.js";
146
- import "./chunk-DNSG5Q7V.js";
147
143
  import {
148
144
  bloomWallet
149
145
  } from "./chunk-S27IADFU.js";
150
146
  import "./chunk-23WIEY36.js";
147
+ import {
148
+ braveWallet
149
+ } from "./chunk-BPZ2XJO2.js";
150
+ import "./chunk-DNSG5Q7V.js";
151
151
  export {
152
152
  argentWallet,
153
153
  bifrostWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-UYGJO62F.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2HYNUNAS.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  metaMaskWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-AFXHGWBH.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-TDIEHTMB.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  okxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-3CICVJUN.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2KUBG3S6.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  rainbowWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-QLVVUKYB.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-NWIQNBJU.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  roninWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-EC6CHBSZ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-NT2HYJKW.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  safepalWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-ZSI5N4VV.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-JWFF4AAL.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  subWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-J3LI3FYZ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2L43XSW3.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  tokenPocketWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-RKPCWHXL.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-VYBAYMP3.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  trustWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-Q3H3TRBS.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-SULRQO27.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  zerionWallet
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.14.9-next.0",
3
+ "version": "6.14.10",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -93,12 +93,12 @@
93
93
  "ua-parser-js": "^1.0.37",
94
94
  "use-debounce": "^10.0.5",
95
95
  "uuid": "^9.0.1",
96
- "@funkit/api-base": "1.12.8-next.0",
97
- "@funkit/chains": "0.4.1",
98
- "@funkit/fun-relay": "2.1.0",
99
- "@funkit/utils": "1.2.0-next.0",
100
- "@funkit/core": "2.3.53-next.0",
101
- "@funkit/wagmi-tools": "3.0.76-next.0"
96
+ "@funkit/api-base": "1.12.8",
97
+ "@funkit/chains": "0.4.2",
98
+ "@funkit/fun-relay": "2.1.1",
99
+ "@funkit/wagmi-tools": "3.0.76",
100
+ "@funkit/core": "2.3.53",
101
+ "@funkit/utils": "1.1.13"
102
102
  },
103
103
  "repository": {
104
104
  "type": "git",