@funkit/connect 5.5.12 → 5.5.13-next.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 (47) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/components/AnimatedDollarValue/AnimatedDollarValue.d.ts +1 -0
  3. package/dist/components/Dialog/Dialog.d.ts +1 -1
  4. package/dist/components/Dialog/hooks.d.ts +7 -2
  5. package/dist/components/Dropdown/BaseDropdown.css.d.ts +1 -0
  6. package/dist/components/Dropdown/BaseDropdown.d.ts +7 -1
  7. package/dist/components/Dropdown/ChainDropdown.d.ts +5 -1
  8. package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +28 -0
  9. package/dist/components/Dropdown/TokenDropdown.d.ts +3 -1
  10. package/dist/components/FunButton/FunButton.d.ts +1 -1
  11. package/dist/components/FunInput/FunInput.d.ts +9 -4
  12. package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +4 -1
  13. package/dist/components/Icons/New/BlueCircularWalletIcon.d.ts +4 -0
  14. package/dist/components/NewTokenDepositAlert/NewTokenDepositAlert.d.ts +1 -1
  15. package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +1 -2
  16. package/dist/components/Withdraw/WithdrawContent.d.ts +19 -0
  17. package/dist/components/Withdraw/WithdrawSuccess.d.ts +13 -0
  18. package/dist/domains/quote.d.ts +6 -2
  19. package/dist/hooks/queries/useErc20Asset.d.ts +4 -0
  20. package/dist/hooks/queries/useWithdrawalQuote.d.ts +20 -0
  21. package/dist/hooks/queries/useWithdrawalRisk.d.ts +1 -0
  22. package/dist/hooks/useCheckoutDirectExecution.d.ts +2 -0
  23. package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +1 -0
  24. package/dist/hooks/useCheckoutTransferInit.d.ts +4 -2
  25. package/dist/hooks/useTokenChain.d.ts +20 -0
  26. package/dist/hooks/useTokenTransfer.d.ts +4 -1
  27. package/dist/hooks/useWithdrawal.d.ts +15 -0
  28. package/dist/index.css +175 -165
  29. package/dist/index.d.ts +2 -2
  30. package/dist/index.js +20193 -19132
  31. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +1 -0
  32. package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +1 -0
  33. package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +2 -1
  34. package/dist/modals/CheckoutModal/InputAmount/useAssetPrice.d.ts +16 -4
  35. package/dist/modals/CheckoutModal/LoadingAccount.d.ts +6 -2
  36. package/dist/modals/CheckoutModal/SelectAsset.d.ts +2 -1
  37. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +7 -2
  38. package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +2 -4
  39. package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +1 -0
  40. package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +13 -0
  41. package/dist/providers/FunkitCheckoutContext.d.ts +36 -2
  42. package/dist/providers/ModalContext.d.ts +6 -0
  43. package/dist/utils/directExecution.d.ts +2 -4
  44. package/dist/utils/flags/config.d.ts +8 -12
  45. package/dist/wallets/Wallet.d.ts +13 -0
  46. package/dist/wallets/walletConnectors/index.js +45 -45
  47. package/package.json +7 -7
@@ -24,5 +24,6 @@ interface UsePostCheckoutResult {
24
24
  postCheckoutError: PostCheckoutError | null;
25
25
  postCheckoutStepMessage: string | null;
26
26
  }
27
+ export declare function toPostCheckoutError(error: unknown): PostCheckoutError;
27
28
  export declare function usePostCheckout({ onSuccess, }: UsePostCheckoutOptions): UsePostCheckoutResult;
28
29
  export {};
@@ -7,6 +7,7 @@ export type InputAmountState = CheckoutModalCommonState & {
7
7
  fiatAmount?: number;
8
8
  fiatCurrency?: string;
9
9
  quote?: MeldQuote;
10
+ newUser?: boolean;
10
11
  };
11
12
  export type InputAmountNext = Record<string, never> | {
12
13
  fiatAmount: number | undefined;
@@ -1,7 +1,8 @@
1
+ import type { FunInputChangeEvent } from '~/components/FunInput/FunInput';
1
2
  import { type AmountInputDerivedState, type AmountInputInitOptions } from './state';
2
3
  import { type InputAmountSuggestion } from './utils';
3
4
  interface UseAmountInputResult extends AmountInputDerivedState {
4
- onChange(event: React.ChangeEvent<HTMLInputElement>): void;
5
+ onChange(event: FunInputChangeEvent): void;
5
6
  placeholder: string;
6
7
  setFiatAmount(usdAmount: number): AmountInputDerivedState;
7
8
  /** Possible user action to recover from the current error */
@@ -1,9 +1,21 @@
1
+ import { type Erc20AssetInfo } from '@funkit/api-base';
1
2
  import type { Address } from 'viem';
2
- export declare function useAssetPrice({ chainId, assetTokenAddress, }: {
3
- chainId: string | undefined;
4
- assetTokenAddress: Address | undefined;
5
- }): {
3
+ type AssetPriceResult = {
6
4
  error: Error | null;
7
5
  isLoading: boolean;
8
6
  unitPrice: number | undefined;
9
7
  };
8
+ export declare function useAssetAddressPrice({ chainId, assetTokenAddress, refetchInterval, }: {
9
+ chainId: string | undefined;
10
+ assetTokenAddress: Address | undefined;
11
+ refetchInterval?: number;
12
+ }): AssetPriceResult;
13
+ type AssetSymbolPriceParams = {
14
+ chainId: string | undefined;
15
+ symbol: string | undefined;
16
+ refetchInterval?: number;
17
+ };
18
+ export declare const useAssetSymbolPrice: ({ chainId, symbol, refetchInterval, }: AssetSymbolPriceParams) => AssetPriceResult & {
19
+ asset?: Erc20AssetInfo | null;
20
+ };
21
+ export {};
@@ -2,7 +2,10 @@ import React from 'react';
2
2
  import { type ConnectablePaymentMethodInfo, PaymentMethod, type PaymentMethodAccountInfo, type PaymentMethodBrokerageInfo, type PaymentMethodVirtualBankInfo } from '../../domains/paymentMethods';
3
3
  import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from './stepTransition';
4
4
  export type LoadingAccountState = CheckoutModalCommonState;
5
- export type LoadingAccountNext = {
5
+ type WithNewUser<T> = T & {
6
+ newUser?: boolean;
7
+ };
8
+ export type LoadingAccountNext = WithNewUser<{
6
9
  usablePaymentMethod: PaymentMethod.ACCOUNT_BALANCE;
7
10
  paymentMethodInfo: PaymentMethodAccountInfo;
8
11
  } | {
@@ -15,7 +18,8 @@ export type LoadingAccountNext = {
15
18
  /** Can be set to null to skip auto payment method selection */
16
19
  usablePaymentMethod: null | PaymentMethod.TOKEN_TRANSFER;
17
20
  paymentMethodInfo?: ConnectablePaymentMethodInfo;
18
- };
21
+ }>;
19
22
  export declare const LoadingAccountInfo: ModalStepInfo<FunCheckoutStep.LOADING_ACCOUNT>;
20
23
  /** A placeholder component to handle redirecting to the checkout history page */
21
24
  export declare function LoadingAccount({ modalState, onNext, }: ModalStepComponentProps<FunCheckoutStep.LOADING_ACCOUNT>): React.JSX.Element;
25
+ export {};
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
+ import type { TransferTokenDefault } from '~/hooks/useTokenChain';
2
3
  import { type PaymentMethodAccountInfo, type PaymentMethodBrokerageInfo } from '../../domains/paymentMethods';
3
- import type { TransferTokenDefault } from './TransferToken/TransferToken';
4
4
  import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from './stepTransition';
5
5
  export type SelectAssetState = CheckoutModalCommonState & {
6
6
  paymentMethodInfo: PaymentMethodBrokerageInfo | PaymentMethodAccountInfo;
7
+ newUser?: boolean;
7
8
  };
8
9
  export type SelectAssetNext = {
9
10
  paymentMethodInfo?: PaymentMethodBrokerageInfo | PaymentMethodAccountInfo;
@@ -3,8 +3,12 @@ import { type ConnectablePaymentMethodInfo, PaymentMethod, type PaymentMethodCar
3
3
  import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
4
4
  export type SourceChangeState = CheckoutModalCommonState & {
5
5
  paymentMethodInfo: ConnectablePaymentMethodInfo | null;
6
+ newUser?: boolean;
6
7
  };
7
- export type SourceChangeNext = {
8
+ type WithNewUser<T> = T & {
9
+ newUser?: boolean;
10
+ };
11
+ export type SourceChangeNext = WithNewUser<{
8
12
  connectNew: false;
9
13
  paymentMethodInfo: ConnectablePaymentMethodInfo;
10
14
  brokerageFailed: false;
@@ -25,6 +29,7 @@ export type SourceChangeNext = {
25
29
  } | {
26
30
  brokerageFailed: true;
27
31
  paymentMethodInfo: ConnectablePaymentMethodInfo;
28
- };
32
+ }>;
29
33
  export declare const SourceChangeInfo: ModalStepInfo<FunCheckoutStep.SOURCE_CHANGE>;
30
34
  export declare function SourceChange({ modalState, onNext, onClose, setModalState, }: ModalStepComponentProps<FunCheckoutStep.SOURCE_CHANGE>): React.JSX.Element;
35
+ export {};
@@ -1,11 +1,9 @@
1
1
  import React from 'react';
2
+ import { type TransferTokenDefault } from '~/hooks/useTokenChain';
2
3
  import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
3
- export type TransferTokenDefault = {
4
- token: string;
5
- chainId: number;
6
- };
7
4
  export type TransferTokenState = CheckoutModalCommonState & {
8
5
  transferToken?: TransferTokenDefault;
6
+ newUser?: boolean;
9
7
  };
10
8
  export type TransferTokenNext = Record<string, never>;
11
9
  export interface TokenTransferSourceChainsAndAssets {
@@ -3,6 +3,7 @@ import { type PaymentMethodVirtualBankInfo } from '~/domains/paymentMethods';
3
3
  import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
4
4
  export type FiatAccountDetailState = CheckoutModalCommonState & {
5
5
  paymentMethodInfo: PaymentMethodVirtualBankInfo;
6
+ newUser?: boolean;
6
7
  };
7
8
  export type FiatAccountDetailNext = Record<string, never>;
8
9
  export declare const AccountDetailsScreen: ({ modalState, onNext, }: ModalStepComponentProps<FunCheckoutStep.FIAT_ACCOUNT_DETAIL>) => React.JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { FunkitWithdrawalConfig } from '~/providers/FunkitCheckoutContext';
3
+ export declare const WITHDRAWAL_MODAL_CONTENT_ID = "withdrawal-modal-content";
4
+ export interface WithdrawalModalProps {
5
+ open: boolean;
6
+ onClose: () => void;
7
+ config: FunkitWithdrawalConfig;
8
+ }
9
+ export declare enum WithdrawalModalStep {
10
+ ENTER_AMOUNT = "ENTER_AMOUNT",
11
+ SUCCESS = "SUCCESS"
12
+ }
13
+ export declare function WithdrawalModal({ onClose, open, config, }: WithdrawalModalProps): React.JSX.Element;
@@ -3,6 +3,7 @@ import type { ApiCheckoutClientMetadata, ApiFunkitCheckoutActionParams, ApiFunki
3
3
  import React, { type ReactNode } from 'react';
4
4
  import type { Address } from 'viem';
5
5
  import type { AssetHoldingsItem } from '~/utils/assets';
6
+ import type { WithdrawalClient } from '~/wallets/Wallet';
6
7
  import { type PaymentMethodInfo } from '../domains/paymentMethods';
7
8
  import { type FunkitCheckoutQuoteResult } from './FunkitHistoryContext';
8
9
  export type FunkitCheckoutActionParams = ApiFunkitCheckoutActionParams;
@@ -46,6 +47,25 @@ export interface FunkitCheckoutConfig extends Omit<ApiFunkitCheckoutConfig, 'gen
46
47
  /** minimal toAmount needed to proceed checkout. Checked after quote */
47
48
  targetAssetMinAmount?: number;
48
49
  }
50
+ export interface FunkitWithdrawalConfig {
51
+ /** Title to show in the checkout modal. Defaults to "Checkout" **/
52
+ modalTitle?: string;
53
+ /** Additional information to show in the title of the checkout modal. Blank by default **/
54
+ modalTitleMeta?: string;
55
+ /** Icon to show in the checkout modal (50px x 50px). If not specified, no icon will be shown. **/
56
+ iconSrc?: null | string;
57
+ sourceTokenSymbol: string;
58
+ /** source chain id to withdraw **/
59
+ sourceChainId: string;
60
+ /** source token id to withdraw **/
61
+ sourceTokenAddress: Address;
62
+ /** amount of source token. it is not baseUnit **/
63
+ sourceTokenBalance: number;
64
+ /** whether to show connected as preferred withdrawal destination*/
65
+ showConnectedWalletAsPreferredRecipient?: boolean;
66
+ /** Wallet instance used to execute the quote */
67
+ wallet: WithdrawalClient;
68
+ }
49
69
  export interface FunkitCheckoutValidationResult {
50
70
  isValid: boolean;
51
71
  message: string;
@@ -69,11 +89,11 @@ export interface UseFunkitCheckoutProps {
69
89
  onValidation?: (result: FunkitCheckoutValidationResult) => void;
70
90
  /** @optional fires when a checkout quote is received **/
71
91
  onEstimation?: (result: FunkitCheckoutQuoteResult) => void;
72
- /** @optional fires when a checkout if confirmed with the funkit server. Returns the newly created checkoutId. **/
92
+ /** @optional fires when a checkout is confirmed with the funkit server. Returns the newly created checkoutId. **/
73
93
  onConfirmation?: (checkoutId: string) => void;
74
94
  /** @optional fires if the checkout fails at any point **/
75
95
  onError?: (result: FunkitCheckoutResult) => void;
76
- /** @optional fires if the checkout fails at any point **/
96
+ /** @optional fires after the checkout steps are completed **/
77
97
  onSuccess?: (result: FunkitCheckoutResult) => void;
78
98
  /**
79
99
  * @optional
@@ -84,6 +104,10 @@ export interface UseFunkitCheckoutProps {
84
104
  onLoginRequired?: ({ onLoginFinished, }: {
85
105
  onLoginFinished?: () => void;
86
106
  }) => void;
107
+ /** @optional fires when a withdrawal is confirmed with the funkit server. Returns the newly created withdrawalId. **/
108
+ onWithdrawalConfirmation?: (withdrawalId: string) => void;
109
+ /** @optional fires if the withdrawal fails at any point **/
110
+ onWithdrawalError?: (result: FunkitCheckoutResult) => void;
87
111
  }
88
112
  /** Ensures that config is defined */
89
113
  export interface UseFunkitCheckoutPropsWithFullConfig extends UseFunkitCheckoutProps {
@@ -109,6 +133,12 @@ export interface FunkitActiveCheckoutItem extends Omit<ApiCheckoutClientMetadata
109
133
  /** Time of completion of the active checkout item. For frontend use only. **/
110
134
  completedTimestampMs: number | null;
111
135
  }
136
+ export interface FunkitActiveWithdrawalItem {
137
+ /** Unique identifier for frontend use only. */
138
+ id: string;
139
+ /** Final settings the withdrawal was init-ed with **/
140
+ initSettings: Partial<UseFunkitCheckoutPropsWithFullConfig>;
141
+ }
112
142
  interface FunkitCheckoutContextInterface {
113
143
  checkoutItem: FunkitActiveCheckoutItem | null;
114
144
  initNewCheckout(initSettings: UseFunkitCheckoutPropsWithFullConfig): string;
@@ -128,6 +158,8 @@ interface FunkitCheckoutContextInterface {
128
158
  /** @deprecated to be removed after quote migration is finished (historically named setCheckoutQuote) */
129
159
  setCheckout: (checkout: FunkitActiveCheckoutItem) => void;
130
160
  setCompletedTimestamp(timestampMs: number): void;
161
+ withdrawalItem: FunkitActiveWithdrawalItem | null;
162
+ initNewWithdrawal(initSettings: Partial<UseFunkitCheckoutPropsWithFullConfig>): string;
131
163
  }
132
164
  export declare function FunkitCheckoutProvider({ children }: {
133
165
  children: ReactNode;
@@ -140,10 +172,12 @@ export declare function useFunkitCheckout(props: UseFunkitCheckoutPropsWithFullC
140
172
  beginCheckout: (config?: Partial<FunkitCheckoutConfig>) => Promise<{
141
173
  isActivated: boolean;
142
174
  }>;
175
+ beginWithdrawal: (config: FunkitWithdrawalConfig) => void;
143
176
  };
144
177
  export declare function useFunkitCheckout(props: UseFunkitCheckoutProps): {
145
178
  beginCheckout: (config: FunkitCheckoutConfig) => Promise<{
146
179
  isActivated: boolean;
147
180
  }>;
181
+ beginWithdrawal: (config: FunkitWithdrawalConfig) => void;
148
182
  };
149
183
  export {};
@@ -1,5 +1,6 @@
1
1
  import React, { type ReactNode } from 'react';
2
2
  import type { SelectedHomeTab } from '../modals/ProfileDetails/FunProfileViews/Home';
3
+ import type { FunkitWithdrawalConfig } from './FunkitCheckoutContext';
3
4
  interface ModalProviderProps {
4
5
  children: ReactNode;
5
6
  }
@@ -29,4 +30,9 @@ export declare function useFunCheckoutModal(): {
29
30
  funCheckoutModalOpen: boolean;
30
31
  openFunCheckoutModal: ((checkoutId: string) => void) | undefined;
31
32
  };
33
+ export declare function useWithdrawalModal(): {
34
+ openWithdrawalModal: ((config: FunkitWithdrawalConfig & {
35
+ withdrawalId: string;
36
+ }) => void) | undefined;
37
+ };
32
38
  export {};
@@ -1,5 +1,3 @@
1
1
  import type { DirectExecution } from '@funkit/api-base';
2
- export declare function getDirectExecutionUpdatedTimeMs({ directExecution, }: {
3
- directExecution: DirectExecution;
4
- }): number;
5
- export declare function getDirectExecutionRunTimeMs(directExecution: DirectExecution): number;
2
+ export declare function getDirectExecutionUpdatedTimeMs(directExecution: DirectExecution): number;
3
+ export declare function getDirectExecutionRunTimeSeconds(directExecution: DirectExecution): number;
@@ -53,24 +53,12 @@ export declare const flagConfig: {
53
53
  values: string[];
54
54
  }[];
55
55
  value: true;
56
- if_all?: undefined;
57
56
  } | {
58
57
  if_any: {
59
58
  key: "apiKey";
60
59
  type: "isAnyOf";
61
60
  values: string[];
62
61
  }[];
63
- if_all: ({
64
- key: "userId";
65
- type: "pctRollout";
66
- pct: number;
67
- values?: undefined;
68
- } | {
69
- key: "apiKey";
70
- type: "isAnyOf";
71
- values: string[];
72
- pct?: undefined;
73
- })[];
74
62
  value: true;
75
63
  })[];
76
64
  };
@@ -281,6 +269,14 @@ export declare const flagConfig: {
281
269
  pct: number;
282
270
  }[];
283
271
  value: true;
272
+ } | {
273
+ if_any: {
274
+ key: "apiKey";
275
+ type: "isAnyOf";
276
+ values: string[];
277
+ }[];
278
+ value: true;
279
+ if_all?: undefined;
284
280
  } | {
285
281
  if_any: {
286
282
  key: "userId";
@@ -1,5 +1,6 @@
1
1
  import type { Connector, CreateConnectorFn } from 'wagmi';
2
2
  import type { WalletConnectParameters } from 'wagmi/connectors';
3
+ import type { TransactionReceipt } from 'viem';
3
4
  import type { CoinbaseWalletOptions } from './walletConnectors/coinbaseWallet/coinbaseWallet';
4
5
  import type { WalletConnectWalletOptions } from './walletConnectors/walletConnectWallet/walletConnectWallet';
5
6
  export type InstructionStepName = 'install' | 'create' | 'scan' | 'connect' | 'refresh';
@@ -97,4 +98,16 @@ export type WagmiConnectorInstance = Connector & {
97
98
  fkcDetails?: FunkitConnectDetails;
98
99
  };
99
100
  export type WalletInstance = Connector & FunkitConnectDetails;
101
+ export type WithdrawalTransaction = {
102
+ to: string;
103
+ data: string;
104
+ value: string;
105
+ };
106
+ export interface WithdrawalClient {
107
+ getChainId: () => Promise<number>;
108
+ switchChain: (chainId: number) => Promise<void>;
109
+ sendTransaction: (chainId: number, transaction: WithdrawalTransaction) => Promise<string>;
110
+ confirmTransaction: (txHash: string, chainId: number) => Promise<TransactionReceipt>;
111
+ address: () => string;
112
+ }
100
113
  export {};
@@ -1,46 +1,46 @@
1
1
  "use client";
2
2
  import {
3
- walletConnectWallet
4
- } from "./chunk-NP5QGWNL.js";
3
+ xdefiWallet
4
+ } from "./chunk-NO7XMBB5.js";
5
+ import {
6
+ zealWallet
7
+ } from "./chunk-JROWU5BP.js";
5
8
  import {
6
9
  zerionWallet
7
10
  } from "./chunk-ETTNDQQG.js";
8
- import {
9
- xdefiWallet
10
- } from "./chunk-NO7XMBB5.js";
11
11
  import {
12
12
  tahoWallet
13
13
  } from "./chunk-6P2EMPZI.js";
14
- import {
15
- talismanWallet
16
- } from "./chunk-ABFSXBE6.js";
17
14
  import {
18
15
  subWallet
19
16
  } from "./chunk-4UM4GTKZ.js";
20
- import {
21
- tokenPocketWallet
22
- } from "./chunk-FRGSRLTS.js";
23
17
  import {
24
18
  tokenaryWallet
25
19
  } from "./chunk-SLOIIJGP.js";
20
+ import {
21
+ talismanWallet
22
+ } from "./chunk-ABFSXBE6.js";
26
23
  import {
27
24
  trustWallet
28
25
  } from "./chunk-IPOC2VJX.js";
29
- import {
30
- zealWallet
31
- } from "./chunk-JROWU5BP.js";
32
26
  import {
33
27
  uniswapWallet
34
28
  } from "./chunk-LH7BMNFZ.js";
29
+ import {
30
+ tokenPocketWallet
31
+ } from "./chunk-FRGSRLTS.js";
32
+ import {
33
+ walletConnectWallet
34
+ } from "./chunk-NP5QGWNL.js";
35
35
  import {
36
36
  phantomWallet
37
37
  } from "./chunk-ZSVTX6EK.js";
38
- import {
39
- rainbowWallet
40
- } from "./chunk-MOOBCMMB.js";
41
38
  import {
42
39
  rabbyWallet
43
40
  } from "./chunk-BVX4XGNP.js";
41
+ import {
42
+ rainbowWallet
43
+ } from "./chunk-MOOBCMMB.js";
44
44
  import {
45
45
  ramperWallet
46
46
  } from "./chunk-PIUNLQJG.js";
@@ -50,63 +50,66 @@ import {
50
50
  import {
51
51
  safeWallet
52
52
  } from "./chunk-BQQQL6UD.js";
53
- import {
54
- safepalWallet
55
- } from "./chunk-6LPM6LUQ.js";
56
53
  import {
57
54
  safeheronWallet
58
55
  } from "./chunk-R6RWZRFF.js";
59
56
  import {
60
- ledgerWallet
61
- } from "./chunk-BRBKM4PW.js";
57
+ safepalWallet
58
+ } from "./chunk-6LPM6LUQ.js";
62
59
  import {
63
60
  metaMaskWallet
64
61
  } from "./chunk-N2NIIUW6.js";
65
62
  import {
66
63
  mewWallet
67
64
  } from "./chunk-V57WLZEE.js";
65
+ import {
66
+ ledgerWallet
67
+ } from "./chunk-BRBKM4PW.js";
68
68
  import {
69
69
  oktoWallet
70
70
  } from "./chunk-ADIXAKUL.js";
71
71
  import {
72
72
  okxWallet
73
73
  } from "./chunk-3U3BMEH5.js";
74
+ import {
75
+ omniWallet
76
+ } from "./chunk-7CUY5G6R.js";
74
77
  import {
75
78
  oneInchWallet
76
79
  } from "./chunk-OESTDX6I.js";
77
80
  import {
78
81
  oneKeyWallet
79
82
  } from "./chunk-4AD7VI2P.js";
80
- import {
81
- omniWallet
82
- } from "./chunk-7CUY5G6R.js";
83
83
  import {
84
84
  foxWallet
85
85
  } from "./chunk-XYBEMO3C.js";
86
+ import {
87
+ frameWallet
88
+ } from "./chunk-ZMYVTWDF.js";
86
89
  import {
87
90
  frontierWallet
88
91
  } from "./chunk-HKV7EMYZ.js";
92
+ import {
93
+ gateWallet
94
+ } from "./chunk-3NC26XLM.js";
89
95
  import {
90
96
  imTokenWallet
91
97
  } from "./chunk-COZ7MIQS.js";
92
98
  import {
93
99
  kresusWallet
94
100
  } from "./chunk-MJXPRJZT.js";
95
- import {
96
- gateWallet
97
- } from "./chunk-3NC26XLM.js";
98
- import {
99
- enkryptWallet
100
- } from "./chunk-SJTXS4ZW.js";
101
101
  import {
102
102
  injectedWallet
103
103
  } from "./chunk-VCVVV2K7.js";
104
+ import {
105
+ bybitWallet
106
+ } from "./chunk-W5O4YSZN.js";
104
107
  import {
105
108
  clvWallet
106
109
  } from "./chunk-LEXSM5KI.js";
107
110
  import {
108
- bybitWallet
109
- } from "./chunk-W5O4YSZN.js";
111
+ coinbaseWallet
112
+ } from "./chunk-H4IRCEZN.js";
110
113
  import {
111
114
  coin98Wallet
112
115
  } from "./chunk-KFFJPS5R.js";
@@ -114,17 +117,17 @@ import {
114
117
  coreWallet
115
118
  } from "./chunk-JXP2QPW7.js";
116
119
  import {
117
- coinbaseWallet
118
- } from "./chunk-H4IRCEZN.js";
120
+ dawnWallet
121
+ } from "./chunk-LN7OD5EC.js";
119
122
  import {
120
123
  desigWallet
121
124
  } from "./chunk-CTU6JCOK.js";
122
125
  import {
123
- dawnWallet
124
- } from "./chunk-LN7OD5EC.js";
126
+ enkryptWallet
127
+ } from "./chunk-SJTXS4ZW.js";
125
128
  import {
126
- frameWallet
127
- } from "./chunk-ZMYVTWDF.js";
129
+ argentWallet
130
+ } from "./chunk-WSQ2YJO2.js";
128
131
  import {
129
132
  bifrostWallet
130
133
  } from "./chunk-545L7Y4M.js";
@@ -134,6 +137,9 @@ import {
134
137
  import {
135
138
  bitgetWallet
136
139
  } from "./chunk-7GSNBOD3.js";
140
+ import {
141
+ bitverseWallet
142
+ } from "./chunk-3HZRRP4Y.js";
137
143
  import {
138
144
  braveWallet
139
145
  } from "./chunk-PB254NQ4.js";
@@ -141,12 +147,6 @@ import "./chunk-WRA2DVJ7.js";
141
147
  import {
142
148
  bloomWallet
143
149
  } from "./chunk-S27IADFU.js";
144
- import {
145
- argentWallet
146
- } from "./chunk-WSQ2YJO2.js";
147
- import {
148
- bitverseWallet
149
- } from "./chunk-3HZRRP4Y.js";
150
150
  import "./chunk-23WIEY36.js";
151
151
  export {
152
152
  argentWallet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "5.5.12",
3
+ "version": "5.5.13-next.1",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -88,12 +88,12 @@
88
88
  "ua-parser-js": "^1.0.37",
89
89
  "use-debounce": "^10.0.5",
90
90
  "uuid": "^9.0.1",
91
- "@funkit/api-base": "1.9.4",
92
- "@funkit/utils": "1.1.3",
93
- "@funkit/chains": "0.3.1",
94
- "@funkit/core": "2.3.26",
95
- "@funkit/wagmi-tools": "3.0.48",
96
- "@funkit/fun-relay": "0.1.8"
91
+ "@funkit/api-base": "1.9.5-next.1",
92
+ "@funkit/chains": "0.3.2-next.0",
93
+ "@funkit/core": "2.3.27-next.1",
94
+ "@funkit/utils": "1.1.4-next.0",
95
+ "@funkit/fun-relay": "0.1.9-next.1",
96
+ "@funkit/wagmi-tools": "3.0.49-next.1"
97
97
  },
98
98
  "repository": {
99
99
  "type": "git",