@funkit/connect 8.2.1-next.2 → 8.2.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/hooks/queries/useRecentCheckouts.d.ts +0 -5
  3. package/dist/index.js +25 -24
  4. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  5. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  6. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  7. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  9. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  12. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/index.js +41 -41
  14. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  17. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  23. package/package.json +4 -4
  24. package/dist/wallets/walletConnectors/{chunk-T5KHVUFR.js → chunk-3ZWIUCOI.js} +3 -3
  25. package/dist/wallets/walletConnectors/{chunk-77UTBHGP.js → chunk-4SC3PZVM.js} +3 -3
  26. package/dist/wallets/walletConnectors/{chunk-5EAOMOTO.js → chunk-5AV2NSL3.js} +3 -3
  27. package/dist/wallets/walletConnectors/{chunk-RA7MCWF4.js → chunk-5FWURLPF.js} +3 -3
  28. package/dist/wallets/walletConnectors/{chunk-R6Y36CMA.js → chunk-6677RKVT.js} +3 -3
  29. package/dist/wallets/walletConnectors/{chunk-MRRZOQGZ.js → chunk-75A4Q5E5.js} +3 -3
  30. package/dist/wallets/walletConnectors/{chunk-U5QP7MI5.js → chunk-ENLR4LXN.js} +3 -3
  31. package/dist/wallets/walletConnectors/{chunk-2E4PDCEJ.js → chunk-FT5BX7TL.js} +3 -3
  32. package/dist/wallets/walletConnectors/{chunk-JFHP4YJG.js → chunk-GEMN6DM5.js} +3 -3
  33. package/dist/wallets/walletConnectors/{chunk-CZYUE3AR.js → chunk-GXTI2PZD.js} +3 -3
  34. package/dist/wallets/walletConnectors/{chunk-47QF6EET.js → chunk-LGT6IAXI.js} +3 -3
  35. package/dist/wallets/walletConnectors/{chunk-W7Y6I22Y.js → chunk-N7475PGA.js} +3 -3
  36. package/dist/wallets/walletConnectors/{chunk-FA5DTT5R.js → chunk-O6YFVGVQ.js} +3 -3
  37. package/dist/wallets/walletConnectors/{chunk-UOTQQJJD.js → chunk-OCM5YHT5.js} +3 -3
  38. package/dist/wallets/walletConnectors/{chunk-HPHADOYD.js → chunk-PRGCIJ7Y.js} +3 -3
  39. package/dist/wallets/walletConnectors/{chunk-VYNVAGSV.js → chunk-RNIMZDHW.js} +3 -3
  40. package/dist/wallets/walletConnectors/{chunk-RLRQYUYC.js → chunk-TLOROKED.js} +3 -3
  41. package/dist/wallets/walletConnectors/{chunk-YLJDPTYF.js → chunk-WNQ3NPHX.js} +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 8.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 87c0f00: feat(connect): split decimal based on locale
8
+ - 761464a: feat(connect): fanatics checkout history
9
+ - fcf7c8b: refactor(connect): select asset screen - minor refactor and breaking up into smaller components
10
+ - 68d2aaf: feat(connect): add theme level variables to modal header icon buttons
11
+ - 074e0f5: fix(connect): custom payment method icon for connected wallet users
12
+ - 29ac86d: Add configurable props to custom source banner component
13
+ - d1a72f7: feat(connect): preload remote S3 url
14
+ - 203029c: feat(connect): add theme level control to set font size for you send you receive component
15
+ - b7886e5: feat(connect): migrate EnableFiatDeposit flag to statsig
16
+ - 4833bc1: Do not unnecessarily fetch Lighter accounts
17
+ - ad0a860: fix(connect): input screen decimal color check
18
+ - 9ffd984: feat(connect): ability to pass custom icons to payment method icons
19
+ - 6cea746: feat(connect): add instant time estimate label via config
20
+ - d9821eb: swapped based use cash tab UI implementation
21
+ - 2f4c5c2: feat(connect): add theme styling for cash crypto toggle
22
+ - 9f3ff5c: fix(connect): transparent caret color bug
23
+ - cade95a: geist mono font for amounts in fanatics theme
24
+ - 0b0e4e8: fanatics modal mobile view improvements
25
+ - 9f98ac4: feat(connect): add dynamic chain icon mask on FunAvatar component
26
+ - 49376c3: fix: getBalance computation no longer relies on deprecated field
27
+ - 7d6b623: new skeletons for fanatics
28
+ - 0d1a649: feat(connect): customizable payment method icons
29
+ - 38be23d: feat: new inputAmountFiatDecimalsColor theme variable
30
+ - 88aed38: fix(connect): select asset screen - padding issue for navigateOnAssetClick variant
31
+ - ce0e7ff: fix(connect): cdn url path
32
+ - ff96c90: feat(connect): hide destination field in payment summary for simplifiedUi config
33
+ - 14355da: feat(connect): ability to display step vs animated progress
34
+ - aabec47: feat(connect): ui customization to hide secondary token symbol on FunAssetItem
35
+ - 1f1c515: chore(connect): fanatics confirmation step
36
+ - cc8ed95: feat(connect): fanatics connect exchange screen
37
+ - a677e72: refactor(connect): break up TransactionStatus into separate files
38
+ - 52208da: fix(connect): fix stale value with flush sync
39
+ - 5aa2e13: feat(connect): migrate CheckoutNotificationsRefreshInterval flag to statsig
40
+ - 5bba47b: fix(connect): update default theme value horizontal padding on confirmation screen
41
+ - 0c04e6e: chore: deprecate unused hook useUsableWalletAssetsForCheckout
42
+ - 2f67612: fix font sizes for fanatics
43
+ - Updated dependencies [dee4a4b]
44
+ - Updated dependencies [4f6433f]
45
+ - Updated dependencies [b7886e5]
46
+ - Updated dependencies [c939c70]
47
+ - Updated dependencies [78f741f]
48
+ - Updated dependencies [5aa2e13]
49
+ - @funkit/fun-relay@2.3.0
50
+ - @funkit/api-base@2.1.2
51
+ - @funkit/utils@1.1.25
52
+
3
53
  ## 8.2.1-next.2
4
54
 
5
55
  ### Patch Changes
@@ -5,11 +5,6 @@ interface RecentCheckoutsQuery {
5
5
  isVisible: boolean;
6
6
  paymentMethod?: PaymentMethod;
7
7
  }
8
- interface RefreshIntervalConfig {
9
- listRefresh: number;
10
- itemRefresh: number;
11
- }
12
- export declare function useCheckoutRefreshInterval(): RefreshIntervalConfig;
13
8
  /**
14
9
  * @returns recent checkouts tied to a recipient address used in the token transfer flow
15
10
  */
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- darkTheme
4
- } from "./chunk-KKGSXLMH.js";
5
2
  import {
6
3
  lightTheme
7
4
  } from "./chunk-MYPFORR2.js";
5
+ import {
6
+ darkTheme
7
+ } from "./chunk-KKGSXLMH.js";
8
8
  import {
9
9
  systemFontStack
10
10
  } from "./chunk-BP7VOYBS.js";
@@ -2685,7 +2685,7 @@ function setFunkitConnectVersion({ version }) {
2685
2685
  localStorage.setItem(storageKey, version);
2686
2686
  }
2687
2687
  function getCurrentSdkVersion() {
2688
- return "8.2.1-next.2";
2688
+ return "8.2.1";
2689
2689
  }
2690
2690
  function useFingerprint() {
2691
2691
  const fingerprint = useCallback3(() => {
@@ -21561,22 +21561,19 @@ var selectWrapperStyle = "_163ehmk1";
21561
21561
  import {
21562
21562
  getCheckoutsByUserId as getCheckoutsByUserId2
21563
21563
  } from "@funkit/api-base";
21564
- import { FlagKey as FlagKey13 } from "@funkit/utils";
21565
21564
  import { useQuery as useQuery13 } from "@tanstack/react-query";
21566
21565
  var hasCorrectPaymentMethod = (checkout, paymentMethod) => !paymentMethod || checkout.clientMetadata.selectedPaymentMethodInfo?.paymentMethod === paymentMethod;
21567
21566
  var isRecent = (checkout, timestampCutoff) => checkout.createdTimeMs > timestampCutoff;
21568
21567
  var DEFAULT_NOTIF_CUTOFF = 7 * 24 * 60 * 60 * 1e3;
21569
- function useCheckoutRefreshInterval() {
21570
- const str = useFlag(FlagKey13.CheckoutNotificationsRefreshInterval);
21571
- return safeJSONParse(str) || { listRefresh: 50 * 1e3, itemRefresh: 5 * 1e3 };
21572
- }
21573
21568
  var useRecentCheckouts = ({
21574
21569
  paymentMethod = "token_transfer" /* TOKEN_TRANSFER */,
21575
21570
  isVisible
21576
21571
  }) => {
21577
21572
  const { isUserLoggedIn, userInfo } = useGeneralWallet();
21578
21573
  const { apiKey } = useFunkitConfig();
21579
- const { listRefresh } = useCheckoutRefreshInterval();
21574
+ const { listRefresh } = useDynamicConfig(
21575
+ "checkoutnotificationsrefreshinterval"
21576
+ );
21580
21577
  const query = useQuery13({
21581
21578
  queryKey: ["checkouts", userInfo.id],
21582
21579
  queryFn: async () => {
@@ -21679,7 +21676,9 @@ function useRecentDepositsImpl({
21679
21676
  function useDefaultParams() {
21680
21677
  const { userInfo, isUserLoggedIn } = useGeneralWallet();
21681
21678
  const { apiKey } = useFunkitConfig();
21682
- const { listRefresh } = useCheckoutRefreshInterval();
21679
+ const { listRefresh } = useDynamicConfig(
21680
+ "checkoutnotificationsrefreshinterval"
21681
+ );
21683
21682
  return {
21684
21683
  apiKey,
21685
21684
  userId: isUserLoggedIn ? userInfo.id : "",
@@ -22778,7 +22777,9 @@ import {
22778
22777
  import { useQuery as useQuery15 } from "@tanstack/react-query";
22779
22778
  var useCheckout = (depositAddress, initial) => {
22780
22779
  const { apiKey } = useFunkitConfig();
22781
- const { itemRefresh } = useCheckoutRefreshInterval();
22780
+ const { itemRefresh } = useDynamicConfig(
22781
+ "checkoutnotificationsrefreshinterval"
22782
+ );
22782
22783
  const query = useQuery15({
22783
22784
  queryKey: ["checkouts", "checkout", depositAddress],
22784
22785
  queryFn: () => (
@@ -27398,12 +27399,12 @@ import { createPortal as createPortal14 } from "react-dom";
27398
27399
  import { DirectExecutionType as DirectExecutionType3 } from "@funkit/api-base";
27399
27400
 
27400
27401
  // src/components/FunInfoBanner/ChainInfoBanners.tsx
27401
- import { FlagKey as FlagKey14 } from "@funkit/utils";
27402
+ import { FlagKey as FlagKey13 } from "@funkit/utils";
27402
27403
  import React164 from "react";
27403
27404
  var ChainInfoBanners = ({
27404
27405
  chainId
27405
27406
  }) => {
27406
- const chainInfoBanners = useFlag(FlagKey14.ChainInfoBanners);
27407
+ const chainInfoBanners = useFlag(FlagKey13.ChainInfoBanners);
27407
27408
  const chainInfoBannersData = useSafeJSONParse(chainInfoBanners) ?? {};
27408
27409
  try {
27409
27410
  const chainBanners = chainInfoBannersData[chainId] ?? [];
@@ -29392,7 +29393,7 @@ var useMeldLimitError = (amount, fiatCurrency) => {
29392
29393
 
29393
29394
  // src/modals/CheckoutModal/InputAmount/InputAmountLoaded.tsx
29394
29395
  import {
29395
- FlagKey as FlagKey16,
29396
+ FlagKey as FlagKey15,
29396
29397
  formatCryptoAndStringify as formatCryptoAndStringify5,
29397
29398
  formatCurrencyAndStringify as formatCurrencyAndStringify9,
29398
29399
  isTokenEquivalent as isTokenEquivalent5,
@@ -29484,7 +29485,7 @@ var CurrencySelector = ({
29484
29485
  };
29485
29486
 
29486
29487
  // src/components/SourcePaymentMethodItem/SourcePaymentMethodItem.tsx
29487
- import { FlagKey as FlagKey15 } from "@funkit/utils";
29488
+ import { FlagKey as FlagKey14 } from "@funkit/utils";
29488
29489
  import clsx20 from "clsx";
29489
29490
  import { useAnimate as useAnimate3 } from "motion/react";
29490
29491
  import React180 from "react";
@@ -30091,7 +30092,7 @@ var SourcePaymentMethodItem = ({
30091
30092
  }
30092
30093
  ];
30093
30094
  const isMeldEnabled = useIsMeldEnabled();
30094
- const isBrokerageEnabled = useFlag(FlagKey15.EnableBluvoBrokerage);
30095
+ const isBrokerageEnabled = useFlag(FlagKey14.EnableBluvoBrokerage);
30095
30096
  const usableAlternativeIcons = icons.filter(({ paymentMethod }) => {
30096
30097
  if (paymentMethod === type || paymentMethod === "card" /* CARD */ && !isMeldEnabled || paymentMethod === "brokerage" /* BROKERAGE */ && !isBrokerageEnabled) {
30097
30098
  return false;
@@ -31832,7 +31833,7 @@ function InputAmountLoaded({
31832
31833
  }) {
31833
31834
  const { t } = useFunkitTranslation();
31834
31835
  const { apiKey } = useFunkitConfig();
31835
- const maxCheckoutUsdString = useFlag(FlagKey16.MaxCheckoutUsd);
31836
+ const maxCheckoutUsdString = useFlag(FlagKey15.MaxCheckoutUsd);
31836
31837
  const isSourceNavWidgetEnabled = modalState.startingStep === "select_asset" /* SELECT_ASSET */;
31837
31838
  const paymentMethodInfo = modalState.paymentMethodInfo;
31838
31839
  const { quote: manuallySelectedQuote } = modalState;
@@ -32565,7 +32566,7 @@ function InputAmount(props) {
32565
32566
  import React194, { useEffect as useEffect50 } from "react";
32566
32567
 
32567
32568
  // src/hooks/usePaymentSources.ts
32568
- import { FlagKey as FlagKey17, isNotNullish as isNotNullish6 } from "@funkit/utils";
32569
+ import { FlagKey as FlagKey16, isNotNullish as isNotNullish6 } from "@funkit/utils";
32569
32570
  function getMoreSources(isFanatics, isTokenInNewSources, isBankInNewSources, isWalletInNewSources, isMeldEnabled, isBrokerageEnabled, fallback2, type) {
32570
32571
  if (isFanatics) {
32571
32572
  return [
@@ -32594,7 +32595,7 @@ function usePaymentMethodEnablement() {
32594
32595
  const isTokenTransferFlagEnabled = useIsQRCodeTransferEnabled();
32595
32596
  const isFiatFlagEnabled = useFiatEnabled();
32596
32597
  const isMeldFlagEnabled = useIsMeldEnabled();
32597
- const isBrokerageFlagEnabled = useFlag(FlagKey17.EnableBluvoBrokerage);
32598
+ const isBrokerageFlagEnabled = useFlag(FlagKey16.EnableBluvoBrokerage);
32598
32599
  const isFiatEnabled = isFiatFlagEnabled;
32599
32600
  const isTokenTransferEnabled = isTokenTransferFlagEnabled;
32600
32601
  const isMeldEnabled = isMeldFlagEnabled && isTokenTransferEnabled;
@@ -33546,7 +33547,7 @@ import React200 from "react";
33546
33547
  // src/components/NewTokenDepositAlert/NewTokenDepositAlert.tsx
33547
33548
  import React199 from "react";
33548
33549
  import { Trans as Trans10 } from "react-i18next";
33549
- import { FlagKey as FlagKey18 } from "@funkit/utils";
33550
+ import { FlagKey as FlagKey17 } from "@funkit/utils";
33550
33551
  var FunLinkButtonComponent2 = ({
33551
33552
  children,
33552
33553
  onClick,
@@ -33566,7 +33567,7 @@ var NewTokenDepositAlert = ({
33566
33567
  onClick
33567
33568
  }) => {
33568
33569
  const { t } = useFunkitTranslation();
33569
- const alertJson = useFlag(FlagKey18.NewTokenAssetSelectionBanner);
33570
+ const alertJson = useFlag(FlagKey17.NewTokenAssetSelectionBanner);
33570
33571
  const alertData = useSafeJSONParse(alertJson);
33571
33572
  const isTokenTransferEnabled = useIsQRCodeTransferEnabled();
33572
33573
  if (!alertData || !isTokenTransferEnabled) {
@@ -41292,9 +41293,9 @@ function FunkitPaymentsIconLine({
41292
41293
  }
41293
41294
 
41294
41295
  // src/hooks/useFunkitMaxCheckoutUsdInfo.ts
41295
- import { FlagKey as FlagKey19, formatCurrencyAndStringify as formatCurrencyAndStringify17 } from "@funkit/utils";
41296
+ import { FlagKey as FlagKey18, formatCurrencyAndStringify as formatCurrencyAndStringify17 } from "@funkit/utils";
41296
41297
  var useFunkitMaxCheckoutUsdInfo = () => {
41297
- const maxCheckoutUsd = Number(useFlag(FlagKey19.MaxCheckoutUsd));
41298
+ const maxCheckoutUsd = Number(useFlag(FlagKey18.MaxCheckoutUsd));
41298
41299
  const limitText = maxCheckoutUsd === Number.MAX_VALUE ? "no" : formatCurrencyAndStringify17(maxCheckoutUsd, {
41299
41300
  decimalPrecisionForSuffix: 0,
41300
41301
  minimumSignificantDigits: 0,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-R6Y36CMA.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-6677RKVT.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-FA5DTT5R.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-O6YFVGVQ.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-5EAOMOTO.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-5AV2NSL3.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-HPHADOYD.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-PRGCIJ7Y.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-RLRQYUYC.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-TLOROKED.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-VYNVAGSV.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-RNIMZDHW.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-YLJDPTYF.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-WNQ3NPHX.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-T5KHVUFR.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-3ZWIUCOI.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-MRRZOQGZ.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-75A4Q5E5.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  gateWallet
9
9
  };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-VU2RNIQG.js";
5
5
  import {
6
6
  zerionWallet
7
- } from "./chunk-CZYUE3AR.js";
7
+ } from "./chunk-GXTI2PZD.js";
8
8
  import {
9
9
  tahoWallet
10
10
  } from "./chunk-TNZJRXUQ.js";
@@ -13,58 +13,58 @@ import {
13
13
  } from "./chunk-JTLLKY2O.js";
14
14
  import {
15
15
  tokenPocketWallet
16
- } from "./chunk-47QF6EET.js";
16
+ } from "./chunk-LGT6IAXI.js";
17
17
  import {
18
18
  tokenaryWallet
19
19
  } from "./chunk-M2HGGTFE.js";
20
20
  import {
21
21
  trustWallet
22
- } from "./chunk-JFHP4YJG.js";
22
+ } from "./chunk-GEMN6DM5.js";
23
23
  import {
24
24
  uniswapWallet
25
25
  } from "./chunk-LH7BMNFZ.js";
26
- import {
27
- walletConnectWallet
28
- } from "./chunk-NP5QGWNL.js";
29
26
  import {
30
27
  xdefiWallet
31
28
  } from "./chunk-TMFH6GXS.js";
32
29
  import {
33
- phantomWallet
34
- } from "./chunk-3IYE623P.js";
30
+ walletConnectWallet
31
+ } from "./chunk-NP5QGWNL.js";
32
+ import {
33
+ rabbyWallet
34
+ } from "./chunk-LW6S43RE.js";
35
35
  import {
36
36
  rainbowWallet
37
- } from "./chunk-77UTBHGP.js";
37
+ } from "./chunk-4SC3PZVM.js";
38
+ import {
39
+ roninWallet
40
+ } from "./chunk-OCM5YHT5.js";
38
41
  import {
39
42
  ramperWallet
40
43
  } from "./chunk-FCG5Q6JX.js";
41
44
  import {
42
45
  safeWallet
43
46
  } from "./chunk-BQQQL6UD.js";
44
- import {
45
- roninWallet
46
- } from "./chunk-UOTQQJJD.js";
47
47
  import {
48
48
  safeheronWallet
49
49
  } from "./chunk-QS2XIZEH.js";
50
50
  import {
51
51
  safepalWallet
52
- } from "./chunk-W7Y6I22Y.js";
52
+ } from "./chunk-N7475PGA.js";
53
53
  import {
54
54
  subWallet
55
- } from "./chunk-2E4PDCEJ.js";
55
+ } from "./chunk-FT5BX7TL.js";
56
56
  import {
57
57
  metaMaskWallet
58
- } from "./chunk-RA7MCWF4.js";
59
- import {
60
- mewWallet
61
- } from "./chunk-CF5HOLH2.js";
58
+ } from "./chunk-5FWURLPF.js";
62
59
  import {
63
60
  oktoWallet
64
61
  } from "./chunk-ADIXAKUL.js";
62
+ import {
63
+ mewWallet
64
+ } from "./chunk-CF5HOLH2.js";
65
65
  import {
66
66
  okxWallet
67
- } from "./chunk-U5QP7MI5.js";
67
+ } from "./chunk-ENLR4LXN.js";
68
68
  import {
69
69
  omniWallet
70
70
  } from "./chunk-7CUY5G6R.js";
@@ -75,20 +75,20 @@ import {
75
75
  oneKeyWallet
76
76
  } from "./chunk-35Q4HKAM.js";
77
77
  import {
78
- rabbyWallet
79
- } from "./chunk-LW6S43RE.js";
78
+ phantomWallet
79
+ } from "./chunk-3IYE623P.js";
80
80
  import {
81
81
  foxWallet
82
- } from "./chunk-YLJDPTYF.js";
82
+ } from "./chunk-WNQ3NPHX.js";
83
83
  import {
84
84
  frameWallet
85
85
  } from "./chunk-AI55G5DD.js";
86
86
  import {
87
87
  frontierWallet
88
- } from "./chunk-T5KHVUFR.js";
88
+ } from "./chunk-3ZWIUCOI.js";
89
89
  import {
90
90
  gateWallet
91
- } from "./chunk-MRRZOQGZ.js";
91
+ } from "./chunk-75A4Q5E5.js";
92
92
  import {
93
93
  imTokenWallet
94
94
  } from "./chunk-COZ7MIQS.js";
@@ -101,21 +101,21 @@ import {
101
101
  import {
102
102
  ledgerWallet
103
103
  } from "./chunk-BRBKM4PW.js";
104
- import {
105
- bybitWallet
106
- } from "./chunk-5EAOMOTO.js";
107
104
  import {
108
105
  clvWallet
109
- } from "./chunk-HPHADOYD.js";
106
+ } from "./chunk-PRGCIJ7Y.js";
107
+ import {
108
+ bitskiWallet
109
+ } from "./chunk-YMUSFW44.js";
110
110
  import {
111
111
  coin98Wallet
112
- } from "./chunk-RLRQYUYC.js";
112
+ } from "./chunk-TLOROKED.js";
113
113
  import {
114
114
  coinbaseWallet
115
115
  } from "./chunk-H4IRCEZN.js";
116
116
  import {
117
117
  coreWallet
118
- } from "./chunk-VYNVAGSV.js";
118
+ } from "./chunk-RNIMZDHW.js";
119
119
  import {
120
120
  dawnWallet
121
121
  } from "./chunk-EMBU4RXK.js";
@@ -130,24 +130,24 @@ import {
130
130
  } from "./chunk-WSQ2YJO2.js";
131
131
  import {
132
132
  bifrostWallet
133
- } from "./chunk-R6Y36CMA.js";
134
- import {
135
- bitgetWallet
136
- } from "./chunk-FA5DTT5R.js";
137
- import {
138
- bitskiWallet
139
- } from "./chunk-YMUSFW44.js";
140
- import {
141
- bitverseWallet
142
- } from "./chunk-3HZRRP4Y.js";
133
+ } from "./chunk-6677RKVT.js";
143
134
  import {
144
135
  bloomWallet
145
136
  } from "./chunk-S27IADFU.js";
146
- import "./chunk-23WIEY36.js";
147
137
  import {
148
138
  braveWallet
149
139
  } from "./chunk-4ZXII3UA.js";
140
+ import {
141
+ bitgetWallet
142
+ } from "./chunk-O6YFVGVQ.js";
143
+ import {
144
+ bybitWallet
145
+ } from "./chunk-5AV2NSL3.js";
150
146
  import "./chunk-ARYAYQ7Z.js";
147
+ import {
148
+ bitverseWallet
149
+ } from "./chunk-3HZRRP4Y.js";
150
+ import "./chunk-23WIEY36.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-RA7MCWF4.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-5FWURLPF.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-U5QP7MI5.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-ENLR4LXN.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-77UTBHGP.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-4SC3PZVM.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-UOTQQJJD.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-OCM5YHT5.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-W7Y6I22Y.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-N7475PGA.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-2E4PDCEJ.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-FT5BX7TL.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-47QF6EET.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-LGT6IAXI.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-JFHP4YJG.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-GEMN6DM5.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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-CZYUE3AR.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-GXTI2PZD.js";
6
5
  import "../chunk-ARYAYQ7Z.js";
6
+ import "../chunk-23WIEY36.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": "8.2.1-next.2",
3
+ "version": "8.2.1",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -103,10 +103,10 @@
103
103
  "ua-parser-js": "^1.0.37",
104
104
  "use-debounce": "^10.0.5",
105
105
  "uuid": "^9.0.1",
106
- "@funkit/api-base": "2.1.2-next.2",
106
+ "@funkit/api-base": "2.1.2",
107
107
  "@funkit/chains": "1.1.0",
108
- "@funkit/fun-relay": "2.2.3-next.0",
109
- "@funkit/utils": "1.1.25-next.0"
108
+ "@funkit/fun-relay": "2.3.0",
109
+ "@funkit/utils": "1.1.25"
110
110
  },
111
111
  "repository": {
112
112
  "type": "git",
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
11
11
  import { isAndroid, isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bybitWallet/bybitWallet.ts
11
11
  var bybitWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
11
11
  import { isAndroid, isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/gateWallet/gateWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/okxWallet/okxWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/subWallet/subWallet.ts
11
11
  var subWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/trustWallet/trustWallet.ts
11
11
  import { isMobile } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
11
11
  import { isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
11
11
  import { isMobile } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
11
11
  var safepalWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/roninWallet/roninWallet.ts
11
11
  var roninWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/clvWallet/clvWallet.ts
11
11
  var clvWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/coreWallet/coreWallet.ts
11
11
  var coreWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
11
11
  var coin98Wallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-ARYAYQ7Z.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-23WIEY36.js";
9
9
 
10
10
  // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
11
  var foxWallet = ({