@funkit/connect 6.15.2 → 6.15.4

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 (67) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/__generated__/default_configs.d.ts +1 -1
  3. package/dist/components/CopyAddress/CopyInputDisplayedAddress.d.ts +4 -1
  4. package/dist/components/FunInput/FunInput.css.d.ts +4 -0
  5. package/dist/components/FunInput/FunInput.d.ts +2 -0
  6. package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +2 -2
  7. package/dist/components/TransactionStatus/TransactionStatus.d.ts +5 -3
  8. package/dist/consts/checkout.d.ts +3 -2
  9. package/dist/consts/quote.d.ts +47 -4
  10. package/dist/domains/asset.d.ts +3 -1
  11. package/dist/domains/bridge.d.ts +1 -2
  12. package/dist/hooks/useCheckoutDirectExecution.d.ts +1 -1
  13. package/dist/hooks/useCheckoutTimeEstimate.d.ts +7 -3
  14. package/dist/hooks/useFunkitTranslation.d.ts +21 -0
  15. package/dist/index.css +53 -13
  16. package/dist/index.d.ts +2 -0
  17. package/dist/index.js +6914 -2687
  18. package/dist/locales/i18n.d.ts +4 -0
  19. package/dist/locales/index.d.ts +2 -1
  20. package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +0 -1
  21. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +2 -1
  22. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +0 -1
  23. package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +5 -2
  24. package/dist/modals/CheckoutModal/MeldQuotes/useMeldQuotes.d.ts +1 -1
  25. package/dist/providers/FunkitI18nProvider.d.ts +12 -0
  26. package/dist/providers/FunkitProvider.d.ts +0 -1
  27. package/dist/utils/checkout.d.ts +2 -1
  28. package/dist/utils/flags/config.d.ts +2 -1
  29. package/dist/utils/timeFormat.d.ts +16 -0
  30. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  31. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  32. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  35. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  36. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  37. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  38. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  39. package/dist/wallets/walletConnectors/index.js +33 -33
  40. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  44. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  49. package/package.json +10 -7
  50. package/dist/wallets/walletConnectors/{chunk-UYGJO62F.js → chunk-2HYNUNAS.js} +3 -3
  51. package/dist/wallets/walletConnectors/{chunk-3CICVJUN.js → chunk-2KUBG3S6.js} +3 -3
  52. package/dist/wallets/walletConnectors/{chunk-J3LI3FYZ.js → chunk-2L43XSW3.js} +3 -3
  53. package/dist/wallets/walletConnectors/{chunk-LNEC5RNX.js → chunk-2STUC6QL.js} +3 -3
  54. package/dist/wallets/walletConnectors/{chunk-CNPKISHN.js → chunk-7QONTUXT.js} +3 -3
  55. package/dist/wallets/walletConnectors/{chunk-UIASLGLV.js → chunk-A5N6B5UW.js} +3 -3
  56. package/dist/wallets/walletConnectors/{chunk-CJGUM55H.js → chunk-FKJJQNKX.js} +3 -3
  57. package/dist/wallets/walletConnectors/{chunk-ZSI5N4VV.js → chunk-JWFF4AAL.js} +3 -3
  58. package/dist/wallets/walletConnectors/{chunk-2GJQ4XZQ.js → chunk-M3NZ6R2E.js} +3 -3
  59. package/dist/wallets/walletConnectors/{chunk-EC6CHBSZ.js → chunk-NT2HYJKW.js} +3 -3
  60. package/dist/wallets/walletConnectors/{chunk-QLVVUKYB.js → chunk-NWIQNBJU.js} +3 -3
  61. package/dist/wallets/walletConnectors/{chunk-KIDC67XJ.js → chunk-OBOVHCEI.js} +3 -3
  62. package/dist/wallets/walletConnectors/{chunk-Q3H3TRBS.js → chunk-SULRQO27.js} +3 -3
  63. package/dist/wallets/walletConnectors/{chunk-VWCLFMWJ.js → chunk-TCAGNB4B.js} +3 -3
  64. package/dist/wallets/walletConnectors/{chunk-5W7VDOCL.js → chunk-TDAVGY5F.js} +3 -3
  65. package/dist/wallets/walletConnectors/{chunk-AFXHGWBH.js → chunk-TDIEHTMB.js} +3 -3
  66. package/dist/wallets/walletConnectors/{chunk-JCHN6A47.js → chunk-VR4TBQ6S.js} +3 -3
  67. package/dist/wallets/walletConnectors/{chunk-RKPCWHXL.js → chunk-VYBAYMP3.js} +3 -3
@@ -0,0 +1,4 @@
1
+ import i18n from 'i18next';
2
+ import type { Locale } from './index';
3
+ export declare const localeMapping: Record<Locale, string>;
4
+ export default i18n;
@@ -1 +1,2 @@
1
- export type Locale = 'ar' | 'ar-AR' | 'en' | 'en-US' | 'es' | 'es-419' | 'fr' | 'fr-FR' | 'hi' | 'hi-IN' | 'id' | 'id-ID' | 'ja' | 'ja-JP' | 'ko' | 'ko-KR' | 'pt' | 'pt-BR' | 'ru' | 'ru-RU' | 'th' | 'th-TH' | 'tr' | 'tr-TR' | 'ua' | 'uk-UA' | 'zh' | 'zh-CN';
1
+ export type Locale = 'en' | 'zh' | 'ko' | 'ja' | 'tr' | 'es' | 'ru';
2
+ export { default as i18n, localeMapping } from './i18n';
@@ -17,6 +17,5 @@ export type ConfirmationStepNext = {
17
17
  redirectBackToSourceChange?: boolean;
18
18
  };
19
19
  export declare const ConfirmationStepInfo: ModalStepInfo<FunCheckoutStep.CONFIRMATION>;
20
- export declare const DEFAULT_CONTINUE_TEXT = "Confirm Order";
21
20
  export declare function ConfirmationStep({ modalState, onNext, setModalState, }: ModalStepComponentProps<FunCheckoutStep.CONFIRMATION>): React.JSX.Element;
22
21
  export {};
@@ -1,3 +1,4 @@
1
+ import type { TFunction } from 'i18next';
1
2
  import type { Address } from 'viem';
2
3
  import type { ErrorNotification } from '~/components/FunNotification/FunNotification';
3
4
  export interface CheckoutConfirmationError extends ErrorNotification {
@@ -22,6 +23,6 @@ interface UseCheckoutConfirmationResult {
22
23
  handleCheckoutConfirmation(): Promise<void>;
23
24
  isConfirming: boolean;
24
25
  }
25
- export declare function toCheckoutConfirmationError(error: unknown): CheckoutConfirmationError;
26
+ export declare function toCheckoutConfirmationError(t: TFunction, error: unknown): CheckoutConfirmationError;
26
27
  export declare function useCheckoutConfirmation({ onError, onSuccess, }: UseCheckoutConfirmationOptions): UseCheckoutConfirmationResult;
27
28
  export {};
@@ -24,6 +24,5 @@ interface UsePostCheckoutResult {
24
24
  postCheckoutError: PostCheckoutError | null;
25
25
  postCheckoutStepMessage: string | null;
26
26
  }
27
- export declare function toPostCheckoutError(error: unknown): PostCheckoutError;
28
27
  export declare function usePostCheckout({ onSuccess, }: UsePostCheckoutOptions): UsePostCheckoutResult;
29
28
  export {};
@@ -1,5 +1,7 @@
1
1
  import type { ErrorNotification } from '~/components/FunNotification/FunNotification';
2
+ import type { useFunkitTranslation } from '~/hooks/useFunkitTranslation';
2
3
  import type { AmountInputError } from './state';
4
+ type TFunction = ReturnType<typeof useFunkitTranslation>['t'];
3
5
  export declare const ASSET_DECIMALS = 5;
4
6
  export declare const USD_DECIMALS = 2;
5
7
  export declare const USD_INITIAL_AMOUNT = 100;
@@ -15,8 +17,8 @@ export interface InputAmountSuggestion {
15
17
  * Get suggested amount from error
16
18
  * Allow recovery actions to user in the CTA Continue button
17
19
  */
18
- export declare const getInputAmountSuggestion: (error: AmountInputError | null) => InputAmountSuggestion | undefined;
19
- export declare const getInputErrorNotification: (error: AmountInputError | null) => ErrorNotification | undefined;
20
+ export declare const getInputAmountSuggestion: (error: AmountInputError | null, t: TFunction) => InputAmountSuggestion | undefined;
21
+ export declare const getInputErrorNotification: (error: AmountInputError | null, t: TFunction) => ErrorNotification | undefined;
20
22
  export type NumberSeparators = {
21
23
  decimalSeparator: string;
22
24
  groupSeparator: RegExp;
@@ -44,3 +46,4 @@ export declare function formatCurrencyAmountWithLocale(value: number, options: {
44
46
  export declare function replaceStringRange(original: string, replacement: string, start: number, end: number): string;
45
47
  export declare function reformatDecimalPart(decimalPart: string, decimals: number): string;
46
48
  export declare function reformatIntegerPart(integerPart: string, locale: Intl.LocalesArgument, preserveLeadingZeroes: boolean): string;
49
+ export {};
@@ -8,7 +8,7 @@ import type { ReactNode } from 'react';
8
8
  * - Query errors are discarded while the input amount is not equal to its debounced value.
9
9
  * - In that case, `isOutdated` is also set to `true`.
10
10
  */
11
- export declare const useMeldQuotes: (sourceAmount: number | undefined, fiatCurrency: string | undefined) => {
11
+ export declare const useMeldQuotes: (sourceAmount: number | undefined, fiatCurrency: string | undefined, meldEnabled?: boolean) => {
12
12
  countdown: ReactNode;
13
13
  query: UseQueryResult<MeldQuote[]> & {
14
14
  isOutdated: boolean;
@@ -0,0 +1,12 @@
1
+ import React, { type ReactNode } from 'react';
2
+ import { type Locale } from '~/locales';
3
+ interface FunkitI18nProviderProps {
4
+ children: ReactNode;
5
+ locale?: Locale;
6
+ }
7
+ /**
8
+ * Provider for internationalization using react-i18next
9
+ * Wraps the application with I18nextProvider and manages locale changes
10
+ */
11
+ export declare function FunkitI18nProvider({ children, locale, }: FunkitI18nProviderProps): React.JSX.Element;
12
+ export {};
@@ -16,7 +16,6 @@ interface FunkitProviderInnerProps {
16
16
  children: ReactNode;
17
17
  theme?: Theme;
18
18
  avatar?: AvatarComponent;
19
- /** @deprecated This currently has no effect, localization is not yet supported */
20
19
  locale?: Locale;
21
20
  funkitConfig: FunkitConfig;
22
21
  debug?: boolean | undefined;
@@ -5,7 +5,7 @@ import { type Address, type Hex } from 'viem';
5
5
  import type { UseConfigReturnType } from 'wagmi';
6
6
  import type { ServerCheckoutConfig } from '~/domains/clientMetadata';
7
7
  import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
8
- import { type FunkitCheckoutActionParams, type FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
8
+ import { type FunkitActiveCheckoutItem, type FunkitCheckoutActionParams, type FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
9
9
  export declare const MOONPAY_TIME_ESTIMATE_MS = 120000;
10
10
  export declare const BROKERAGE_TIME_ESTIMATE_MS = 0;
11
11
  export declare const BANK_TIME_ESTIMATE_MS = 0;
@@ -162,4 +162,5 @@ export declare function computeDisplayDestinationToken(checkoutConfig: FunkitChe
162
162
  stakingTokenSymbol: string;
163
163
  stakingTokenIcon: string;
164
164
  };
165
+ export declare function isLayerZeroOftCheckout(apiKey: string, checkoutItem: FunkitActiveCheckoutItem | null): boolean;
165
166
  export {};
@@ -49,7 +49,7 @@ export declare const flagConfig: {
49
49
  readonly if_any: [{
50
50
  readonly key: "apiKey";
51
51
  readonly type: "isAnyOf";
52
- readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG", "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2", "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu", "53OWivH0fK2VIAuMZTycr52EnSEnPWj97Jy3Dpiz"];
52
+ readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG", "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2", "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu", "53OWivH0fK2VIAuMZTycr52EnSEnPWj97Jy3Dpiz", "cGlmpTmNh657m8TiV5RFdwna6FG5pxM6ajiNHvw3"];
53
53
  }];
54
54
  readonly value: true;
55
55
  }];
@@ -308,6 +308,7 @@ export declare const flagConfig: {
308
308
  readonly type: "string";
309
309
  readonly default_value: string;
310
310
  };
311
+ /** @deprecated Use frog quoteConfig */
311
312
  readonly permit2_tokens: {
312
313
  readonly type: "string";
313
314
  readonly default_value: string;
@@ -0,0 +1,16 @@
1
+ import type { TFunction } from 'i18next';
2
+ /**
3
+ * Formats seconds to mins and seconds string with i18n support
4
+ * This is a translatable wrapper around the formatSecondsToReadableForm function
5
+ *
6
+ * @param seconds - Number of seconds to format
7
+ * @param t - Translation function from i18next
8
+ * @param specifyUnderMinute - If true, shows "< 1 min" for values under 60 seconds
9
+ * @param omitSeconds - If true, rounds up to nearest minute
10
+ * @returns Formatted and translated time string
11
+ *
12
+ * @example
13
+ * formatSecondsTranslated(20, t, true) // "< 1分钟" in Chinese or "< 1 min" in English
14
+ * formatSecondsTranslated(90, t) // "1分钟30秒" in Chinese or "1 min 30 s" in English
15
+ */
16
+ export declare function formatSecondsTranslated(seconds: number, t: TFunction, specifyUnderMinute?: boolean, omitSeconds?: boolean): string;
@@ -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,16 +1,16 @@
1
1
  "use client";
2
+ import {
3
+ xdefiWallet
4
+ } from "./chunk-BOU4WKRZ.js";
2
5
  import {
3
6
  zealWallet
4
7
  } from "./chunk-RNBEDQHF.js";
5
8
  import {
6
9
  zerionWallet
7
- } from "./chunk-Q3H3TRBS.js";
8
- import {
9
- walletConnectWallet
10
- } from "./chunk-NP5QGWNL.js";
10
+ } from "./chunk-SULRQO27.js";
11
11
  import {
12
12
  subWallet
13
- } from "./chunk-ZSI5N4VV.js";
13
+ } from "./chunk-JWFF4AAL.js";
14
14
  import {
15
15
  tahoWallet
16
16
  } from "./chunk-ZZZRUXZE.js";
@@ -19,19 +19,19 @@ import {
19
19
  } from "./chunk-DRO6WYMM.js";
20
20
  import {
21
21
  tokenPocketWallet
22
- } from "./chunk-J3LI3FYZ.js";
22
+ } from "./chunk-2L43XSW3.js";
23
23
  import {
24
24
  tokenaryWallet
25
25
  } from "./chunk-D6AOOO5F.js";
26
26
  import {
27
27
  trustWallet
28
- } from "./chunk-RKPCWHXL.js";
28
+ } from "./chunk-VYBAYMP3.js";
29
29
  import {
30
30
  uniswapWallet
31
31
  } from "./chunk-LH7BMNFZ.js";
32
32
  import {
33
- xdefiWallet
34
- } from "./chunk-BOU4WKRZ.js";
33
+ walletConnectWallet
34
+ } from "./chunk-NP5QGWNL.js";
35
35
  import {
36
36
  phantomWallet
37
37
  } from "./chunk-362NXNTM.js";
@@ -40,13 +40,13 @@ import {
40
40
  } from "./chunk-BBOM42DL.js";
41
41
  import {
42
42
  rainbowWallet
43
- } from "./chunk-3CICVJUN.js";
43
+ } from "./chunk-2KUBG3S6.js";
44
44
  import {
45
45
  ramperWallet
46
46
  } from "./chunk-BYXPFMI7.js";
47
47
  import {
48
48
  roninWallet
49
- } from "./chunk-QLVVUKYB.js";
49
+ } from "./chunk-NWIQNBJU.js";
50
50
  import {
51
51
  safeWallet
52
52
  } from "./chunk-BQQQL6UD.js";
@@ -55,13 +55,13 @@ import {
55
55
  } from "./chunk-RZIO5TFF.js";
56
56
  import {
57
57
  safepalWallet
58
- } from "./chunk-EC6CHBSZ.js";
58
+ } from "./chunk-NT2HYJKW.js";
59
+ import {
60
+ metaMaskWallet
61
+ } from "./chunk-2HYNUNAS.js";
59
62
  import {
60
63
  ledgerWallet
61
64
  } from "./chunk-BRBKM4PW.js";
62
- import {
63
- metaMaskWallet
64
- } from "./chunk-UYGJO62F.js";
65
65
  import {
66
66
  mewWallet
67
67
  } from "./chunk-OL5ZO7E4.js";
@@ -70,7 +70,7 @@ import {
70
70
  } from "./chunk-ADIXAKUL.js";
71
71
  import {
72
72
  okxWallet
73
- } from "./chunk-AFXHGWBH.js";
73
+ } from "./chunk-TDIEHTMB.js";
74
74
  import {
75
75
  omniWallet
76
76
  } from "./chunk-7CUY5G6R.js";
@@ -82,16 +82,16 @@ import {
82
82
  } from "./chunk-SHBUZ7U7.js";
83
83
  import {
84
84
  foxWallet
85
- } from "./chunk-CNPKISHN.js";
86
- import {
87
- frontierWallet
88
- } from "./chunk-VWCLFMWJ.js";
85
+ } from "./chunk-7QONTUXT.js";
89
86
  import {
90
87
  frameWallet
91
88
  } from "./chunk-IFON7E6U.js";
89
+ import {
90
+ frontierWallet
91
+ } from "./chunk-TCAGNB4B.js";
92
92
  import {
93
93
  gateWallet
94
- } from "./chunk-CJGUM55H.js";
94
+ } from "./chunk-FKJJQNKX.js";
95
95
  import {
96
96
  imTokenWallet
97
97
  } from "./chunk-COZ7MIQS.js";
@@ -103,19 +103,19 @@ import {
103
103
  } from "./chunk-MJXPRJZT.js";
104
104
  import {
105
105
  bybitWallet
106
- } from "./chunk-LNEC5RNX.js";
106
+ } from "./chunk-2STUC6QL.js";
107
107
  import {
108
108
  clvWallet
109
- } from "./chunk-2GJQ4XZQ.js";
109
+ } from "./chunk-M3NZ6R2E.js";
110
110
  import {
111
111
  coin98Wallet
112
- } from "./chunk-KIDC67XJ.js";
112
+ } from "./chunk-OBOVHCEI.js";
113
113
  import {
114
114
  coinbaseWallet
115
115
  } from "./chunk-H4IRCEZN.js";
116
116
  import {
117
117
  coreWallet
118
- } from "./chunk-JCHN6A47.js";
118
+ } from "./chunk-VR4TBQ6S.js";
119
119
  import {
120
120
  dawnWallet
121
121
  } from "./chunk-HWPKCIBE.js";
@@ -125,29 +125,29 @@ import {
125
125
  import {
126
126
  enkryptWallet
127
127
  } from "./chunk-OLOIXTYS.js";
128
- import {
129
- bifrostWallet
130
- } from "./chunk-UIASLGLV.js";
131
128
  import {
132
129
  argentWallet
133
130
  } from "./chunk-WSQ2YJO2.js";
131
+ import {
132
+ bifrostWallet
133
+ } from "./chunk-A5N6B5UW.js";
134
134
  import {
135
135
  bitgetWallet
136
- } from "./chunk-5W7VDOCL.js";
136
+ } from "./chunk-TDAVGY5F.js";
137
137
  import {
138
138
  bitskiWallet
139
139
  } from "./chunk-HS3C7OQV.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.15.2",
3
+ "version": "6.15.4",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -44,6 +44,7 @@
44
44
  "wagmi": "2.x"
45
45
  },
46
46
  "devDependencies": {
47
+ "i18next-cli": "1.24.14",
47
48
  "@aws-sdk/client-cloudfront": "3.858.0",
48
49
  "@aws-sdk/client-s3": "3.840.0",
49
50
  "@chromatic-com/storybook": "^4.1.1",
@@ -91,19 +92,21 @@
91
92
  "@vanilla-extract/sprinkles": "1.6.1",
92
93
  "@wagmi/core": "2.21.1",
93
94
  "clsx": "2.1.1",
95
+ "i18next": "25.6.2",
94
96
  "motion": "^12.0.11",
95
97
  "qrcode": "1.5.3",
98
+ "react-i18next": "16.3.3",
96
99
  "react-remove-scroll": "2.5.7",
97
100
  "react-virtuoso": "4.10.1",
98
101
  "ua-parser-js": "^1.0.37",
99
102
  "use-debounce": "^10.0.5",
100
103
  "uuid": "^9.0.1",
101
- "@funkit/api-base": "1.12.16",
102
- "@funkit/chains": "0.4.5",
103
- "@funkit/core": "2.3.61",
104
- "@funkit/fun-relay": "2.1.11",
105
- "@funkit/utils": "1.1.17",
106
- "@funkit/wagmi-tools": "3.0.84"
104
+ "@funkit/api-base": "1.12.17",
105
+ "@funkit/chains": "0.4.6",
106
+ "@funkit/core": "2.3.62",
107
+ "@funkit/fun-relay": "2.1.13",
108
+ "@funkit/utils": "1.1.18",
109
+ "@funkit/wagmi-tools": "3.0.85"
107
110
  },
108
111
  "repository": {
109
112
  "type": "git",
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-23WIEY36.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-DNSG5Q7V.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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-DNSG5Q7V.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";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-DNSG5Q7V.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";