@funkit/connect 7.1.0-next.13 → 7.1.0-next.16
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.
- package/CHANGELOG.md +18 -0
- package/dist/components/Dropdown/ChainDropdown.d.ts +1 -1
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +1 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +1 -1
- package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
- package/dist/components/FunCheckoutHistory/FunDirectExecutionHistoryDetail.d.ts +1 -1
- package/dist/components/FunCheckoutModalHeightAnimationWrapper/FunCheckoutModalHeightAnimationWrapper.d.ts +1 -1
- package/dist/components/FunNotificationBanner/FunNotificationBannerIcon.d.ts +1 -1
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +1 -1
- package/dist/components/FunTransactionSummary/PaymentAmountSummary.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.track.d.ts +2 -2
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +1 -1
- package/dist/components/FunTransactionSummary/PaymentRouteSummary.d.ts +1 -1
- package/dist/components/NewTokenDepositAlert/NewTokenDepositAlert.d.ts +1 -1
- package/dist/components/ReceiveAmount/ReceiveAmount.d.ts +2 -2
- package/dist/components/SourcePaymentMethodItem/SourcePaymentMethodItem.d.ts +1 -1
- package/dist/components/TransactionStatus/TransactionStatus.d.ts +1 -1
- package/dist/components/TransferTokenDetails/TransferTokenDetails.d.ts +1 -1
- package/dist/consts/customers.d.ts +1 -1
- package/dist/domains/asset.d.ts +2 -2
- package/dist/domains/checkout.d.ts +1 -1
- package/dist/domains/checkoutRecipient.d.ts +1 -1
- package/dist/domains/clientMetadata.d.ts +1 -1
- package/dist/domains/fees.d.ts +2 -2
- package/dist/domains/paymentMethods.d.ts +1 -1
- package/dist/domains/quote.d.ts +4 -4
- package/dist/domains/wallet.d.ts +1 -1
- package/dist/hooks/queries/useMeldDefaultCurrency.d.ts +1 -1
- package/dist/hooks/queries/useRecentCheckouts.d.ts +1 -1
- package/dist/hooks/queries/useRecentDeposits.d.ts +3 -2
- package/dist/hooks/queries/useWithdrawalQuote.d.ts +31 -31
- package/dist/hooks/track/useTrack.d.ts +1 -1
- package/dist/hooks/useBluvo.d.ts +3 -3
- package/dist/hooks/useCheckoutDirectExecution.d.ts +3 -3
- package/dist/hooks/useCheckoutItemDisplay.d.ts +2 -2
- package/dist/hooks/useCheckoutTimeEstimate.d.ts +2 -2
- package/dist/hooks/useCheckoutTransferInit.d.ts +1 -1
- package/dist/hooks/useCountdown.d.ts +1 -1
- package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +1 -1
- package/dist/hooks/useFrogAccount.d.ts +1 -1
- package/dist/hooks/useIsBlacklisted.d.ts +1 -1
- package/dist/hooks/useIsDynamicRoutingEnabled.d.ts +1 -1
- package/dist/hooks/useMinDeposit.d.ts +1 -1
- package/dist/hooks/useOnNewNotification.d.ts +1 -1
- package/dist/hooks/usePaymentSources.d.ts +3 -3
- package/dist/hooks/useRelayBypass.d.ts +1 -1
- package/dist/hooks/useTokenChain.d.ts +1 -1
- package/dist/hooks/useTokenTransfer.d.ts +1 -1
- package/dist/index.js +7 -4
- package/dist/modals/CheckoutModal/Brokerage/BrokerageSuccessModal.d.ts +1 -1
- package/dist/modals/CheckoutModal/Brokerage/BrokerageTwoFA.d.ts +2 -2
- package/dist/modals/CheckoutModal/Brokerage/ConnectExchange.d.ts +2 -2
- package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +2 -2
- package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/DisclaimerText.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutQuote.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +2 -2
- package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useSourceAssetConfirm.d.ts +2 -2
- package/dist/modals/CheckoutModal/DirectExecutionNotifCenter/DirectExecutionNotifCenter.d.ts +1 -1
- package/dist/modals/CheckoutModal/DirectExecutionNotifCenter/DirectExecutionNotifCenterContent.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +2 -2
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +2 -2
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/useAvailableBalanceForCheckout.d.ts +3 -3
- package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +1 -1
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +2 -2
- package/dist/modals/CheckoutModal/MeldCurrencySelect/MeldCurrencySelect.d.ts +1 -1
- package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +1 -1
- package/dist/modals/CheckoutModal/MeldRedirect/MeldRedirect.d.ts +1 -1
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/DefiPurchaseSection.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/CheckoutNotification.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/CheckoutNotifications.track.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/DirectExecutionNotification.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken/types.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeCustomer.d.ts +2 -2
- package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeKyc.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/ErrorScreen.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +1 -1
- package/dist/modals/CheckoutModal/VirtualFiatAccount/KycIframe.d.ts +2 -2
- package/dist/modals/CheckoutModal/VirtualFiatAccount/VirtualFiatAccount.d.ts +2 -2
- package/dist/modals/CheckoutModal/stepTransition.d.ts +5 -5
- package/dist/modals/CheckoutModal/stepTransition.track.d.ts +2 -2
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +2 -2
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/ProfileTitleSection.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/index.d.ts +1 -1
- package/dist/modals/WithdrwalModal/WithdrawalContent.d.ts +1 -1
- package/dist/modals/WithdrwalModal/WithdrawalModal.d.ts +1 -1
- package/dist/modals/WithdrwalModal/WithdrawalNotification.d.ts +2 -2
- package/dist/modals/WithdrwalModal/useWithdrawal.d.ts +2 -2
- package/dist/providers/FunkitBrokerageProvider.d.ts +2 -2
- package/dist/providers/FunkitCheckoutContext/track.d.ts +4 -4
- package/dist/providers/FunkitHistoryContext.d.ts +2 -2
- package/dist/providers/FunkitI18nProvider.d.ts +1 -1
- package/dist/providers/FunkitProvider.d.ts +1 -1
- package/dist/providers/FunkitQuoteContext.track.d.ts +3 -3
- package/dist/themes/darkTheme.d.ts +1 -1
- package/dist/themes/lightTheme.d.ts +1 -1
- package/dist/utils/assets.d.ts +1 -1
- package/dist/utils/bluvo.d.ts +2 -2
- package/dist/utils/checkout.d.ts +2 -2
- package/dist/utils/customer.d.ts +2 -2
- package/dist/utils/flags/patches/enable-bitcoin-patch.d.ts +1 -1
- package/dist/utils/funkitProvider.d.ts +1 -1
- package/dist/utils/payment.d.ts +1 -1
- package/dist/utils/purifyCheckoutHistoryItem.d.ts +1 -1
- package/dist/utils/withdrawal.d.ts +1 -1
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +1 -1
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +28 -28
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +3 -2
- package/dist/wallets/walletConnectors/{chunk-T5KHVUFR.js → chunk-3ZWIUCOI.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-77UTBHGP.js → chunk-4SC3PZVM.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-5EAOMOTO.js → chunk-5AV2NSL3.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RA7MCWF4.js → chunk-5FWURLPF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-R6Y36CMA.js → chunk-6677RKVT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-MRRZOQGZ.js → chunk-75A4Q5E5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-U5QP7MI5.js → chunk-ENLR4LXN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2E4PDCEJ.js → chunk-FT5BX7TL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-JFHP4YJG.js → chunk-GEMN6DM5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CZYUE3AR.js → chunk-GXTI2PZD.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-47QF6EET.js → chunk-LGT6IAXI.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-W7Y6I22Y.js → chunk-N7475PGA.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-FA5DTT5R.js → chunk-O6YFVGVQ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UOTQQJJD.js → chunk-OCM5YHT5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HPHADOYD.js → chunk-PRGCIJ7Y.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VYNVAGSV.js → chunk-RNIMZDHW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RLRQYUYC.js → chunk-TLOROKED.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YLJDPTYF.js → chunk-WNQ3NPHX.js} +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ThemeVars } from '
|
|
1
|
+
import type { ThemeVars } from '../css/sprinkles.css';
|
|
2
2
|
import { type AccentColor, type AccentColorPreset, type ThemeOptions } from './baseTheme';
|
|
3
3
|
export declare const lightTheme: {
|
|
4
4
|
({ accentColor, accentColorForeground, customColors, customShadows, ...baseThemeOptions }?: ThemeOptions): ThemeVars;
|
package/dist/utils/assets.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DynamicTargetAssetCandidate, FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
2
|
-
export type { AssetHoldingsItem, AssetHoldingsMap, KnownAssetHoldingsItem, } from '
|
|
2
|
+
export type { AssetHoldingsItem, AssetHoldingsMap, KnownAssetHoldingsItem, } from '../domains/wallet';
|
|
3
3
|
export declare const getNormalizedTokenBalance: (tokenBalance: bigint | number | string, decimals: number) => number;
|
|
4
4
|
/**
|
|
5
5
|
*
|
package/dist/utils/bluvo.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { WalletwithdrawbalancebalanceResponse } from '@bluvo/sdk-ts';
|
|
2
2
|
type WithdrawableBalance = WalletwithdrawbalancebalanceResponse['balances'][number];
|
|
3
3
|
import { type BluvoExecuteWithdrawalResponse, BluvoWithdrawalError } from '@funkit/api-base';
|
|
4
|
-
import type { BluvoExchangeType } from '
|
|
5
|
-
import type { AssetHoldingsItem, AssetHoldingsMap, BrokerageAssetHoldingsItem } from '
|
|
4
|
+
import type { BluvoExchangeType } from '../consts/bluvo';
|
|
5
|
+
import type { AssetHoldingsItem, AssetHoldingsMap, BrokerageAssetHoldingsItem } from '../domains/wallet';
|
|
6
6
|
export declare const isBrokerageAsset: (asset: AssetHoldingsItem) => asset is BrokerageAssetHoldingsItem & {
|
|
7
7
|
usdAmount: number;
|
|
8
8
|
};
|
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { type ApiFunkitCheckoutQuoteResult, type CheckoutQuoteResponse } from '@
|
|
|
3
3
|
import { type Config } from '@wagmi/core';
|
|
4
4
|
import { type Address, type Hex } from 'viem';
|
|
5
5
|
import type { UseConfigReturnType } from 'wagmi';
|
|
6
|
-
import type { ServerCheckoutConfig } from '
|
|
7
|
-
import type { FunkitCheckoutQuoteResult } from '
|
|
6
|
+
import type { ServerCheckoutConfig } from '../domains/clientMetadata';
|
|
7
|
+
import type { FunkitCheckoutQuoteResult } from '../domains/quote';
|
|
8
8
|
import { 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;
|
package/dist/utils/customer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address } from 'viem';
|
|
2
|
-
import type { ServerCheckoutConfig } from '
|
|
3
|
-
import type { FunkitCheckoutConfig } from '
|
|
2
|
+
import type { ServerCheckoutConfig } from '../domains/clientMetadata';
|
|
3
|
+
import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
4
4
|
export declare function isKatanaEarnFlow({ apiKey, checkoutConfig, }: {
|
|
5
5
|
apiKey: string;
|
|
6
6
|
checkoutConfig: FunkitCheckoutConfig | ServerCheckoutConfig | undefined;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* TODO: Delete once all customers are using @funkit/connect supporting bitcoin
|
|
3
3
|
*/
|
|
4
4
|
import { type FlagKey } from '@funkit/utils';
|
|
5
|
-
import type { FlagMiddleware } from '
|
|
5
|
+
import type { FlagMiddleware } from '../../../providers/FunkitFlagsProvider';
|
|
6
6
|
/**
|
|
7
7
|
* Adds {8253038: ["BTC"]} to the newTokens if not already present
|
|
8
8
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FunkitCheckoutConfig } from '
|
|
1
|
+
import type { FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
2
2
|
import type { FunkitProviderProps } from '../providers/FunkitProvider';
|
|
3
3
|
export declare function getInitialChainIdFromFunkitProviderProps(props: FunkitProviderProps): number | undefined;
|
|
4
4
|
export declare function generateSyntheticUserId(apiKey: string, externalUserId: string): string;
|
package/dist/utils/payment.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LoginType } from '
|
|
1
|
+
import { LoginType } from '../providers/GeneralWalletProvider';
|
|
2
2
|
import { type PaymentMethodInfo } from '../domains/paymentMethods';
|
|
3
3
|
/**
|
|
4
4
|
* Generate a string for backend to indicate the source of a checkout funds
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type CheckoutHistoryItem, type CheckoutState } from '@funkit/api-base';
|
|
2
2
|
import type { ApiFunkitCheckoutActionParams } from '@funkit/utils';
|
|
3
3
|
import type { Address, Hex } from 'viem';
|
|
4
|
-
import type { MergedMultiStepDirectExecution } from '
|
|
4
|
+
import type { MergedMultiStepDirectExecution } from '../hooks/queries/useRecentDeposits';
|
|
5
5
|
export type PurifiedCheckoutHistoryItem = {
|
|
6
6
|
depositAddr?: Address;
|
|
7
7
|
directExecution: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CustomWithdrawalConfig, FunkitWithdrawalConfig, WalletWithdrawalConfig } from '
|
|
1
|
+
import type { CustomWithdrawalConfig, FunkitWithdrawalConfig, WalletWithdrawalConfig } from '../providers/FunkitCheckoutContext';
|
|
2
2
|
/**
|
|
3
3
|
* Type guard to check if withdrawal config uses wallet-based flow
|
|
4
4
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { DefaultWalletOptions, Wallet } from '
|
|
1
|
+
import type { DefaultWalletOptions, Wallet } from '../../../wallets/Wallet';
|
|
2
2
|
export type BitgetWalletOptions = DefaultWalletOptions;
|
|
3
3
|
export declare const bitgetWallet: ({ projectId, walletConnectParameters, }: BitgetWalletOptions) => Wallet;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-VU2RNIQG.js";
|
|
5
5
|
import {
|
|
6
6
|
zerionWallet
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GXTI2PZD.js";
|
|
8
8
|
import {
|
|
9
9
|
tahoWallet
|
|
10
10
|
} from "./chunk-TNZJRXUQ.js";
|
|
@@ -13,34 +13,34 @@ import {
|
|
|
13
13
|
} from "./chunk-JTLLKY2O.js";
|
|
14
14
|
import {
|
|
15
15
|
tokenPocketWallet
|
|
16
|
-
} from "./chunk-
|
|
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-
|
|
22
|
+
} from "./chunk-GEMN6DM5.js";
|
|
23
23
|
import {
|
|
24
24
|
uniswapWallet
|
|
25
25
|
} from "./chunk-LH7BMNFZ.js";
|
|
26
|
-
import {
|
|
27
|
-
xdefiWallet
|
|
28
|
-
} from "./chunk-TMFH6GXS.js";
|
|
29
26
|
import {
|
|
30
27
|
walletConnectWallet
|
|
31
28
|
} from "./chunk-NP5QGWNL.js";
|
|
29
|
+
import {
|
|
30
|
+
xdefiWallet
|
|
31
|
+
} from "./chunk-TMFH6GXS.js";
|
|
32
32
|
import {
|
|
33
33
|
rabbyWallet
|
|
34
34
|
} from "./chunk-LW6S43RE.js";
|
|
35
35
|
import {
|
|
36
36
|
rainbowWallet
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4SC3PZVM.js";
|
|
38
38
|
import {
|
|
39
39
|
ramperWallet
|
|
40
40
|
} from "./chunk-FCG5Q6JX.js";
|
|
41
41
|
import {
|
|
42
42
|
roninWallet
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OCM5YHT5.js";
|
|
44
44
|
import {
|
|
45
45
|
safeWallet
|
|
46
46
|
} from "./chunk-BQQQL6UD.js";
|
|
@@ -49,13 +49,13 @@ import {
|
|
|
49
49
|
} from "./chunk-QS2XIZEH.js";
|
|
50
50
|
import {
|
|
51
51
|
safepalWallet
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-N7475PGA.js";
|
|
53
53
|
import {
|
|
54
54
|
subWallet
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-FT5BX7TL.js";
|
|
56
56
|
import {
|
|
57
57
|
metaMaskWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-5FWURLPF.js";
|
|
59
59
|
import {
|
|
60
60
|
mewWallet
|
|
61
61
|
} from "./chunk-CF5HOLH2.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-ADIXAKUL.js";
|
|
65
65
|
import {
|
|
66
66
|
okxWallet
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ENLR4LXN.js";
|
|
68
68
|
import {
|
|
69
69
|
omniWallet
|
|
70
70
|
} from "./chunk-7CUY5G6R.js";
|
|
@@ -77,18 +77,18 @@ import {
|
|
|
77
77
|
import {
|
|
78
78
|
phantomWallet
|
|
79
79
|
} from "./chunk-3IYE623P.js";
|
|
80
|
+
import {
|
|
81
|
+
frameWallet
|
|
82
|
+
} from "./chunk-AI55G5DD.js";
|
|
80
83
|
import {
|
|
81
84
|
foxWallet
|
|
82
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-WNQ3NPHX.js";
|
|
83
86
|
import {
|
|
84
87
|
frontierWallet
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import {
|
|
87
|
-
frameWallet
|
|
88
|
-
} from "./chunk-AI55G5DD.js";
|
|
88
|
+
} from "./chunk-3ZWIUCOI.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-75A4Q5E5.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-COZ7MIQS.js";
|
|
@@ -102,20 +102,20 @@ import {
|
|
|
102
102
|
ledgerWallet
|
|
103
103
|
} from "./chunk-BRBKM4PW.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
braveWallet
|
|
106
|
+
} from "./chunk-4ZXII3UA.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-PRGCIJ7Y.js";
|
|
110
110
|
import {
|
|
111
111
|
coin98Wallet
|
|
112
|
-
} from "./chunk-
|
|
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-
|
|
118
|
+
} from "./chunk-RNIMZDHW.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-EMBU4RXK.js";
|
|
@@ -130,10 +130,10 @@ import {
|
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-6677RKVT.js";
|
|
134
134
|
import {
|
|
135
135
|
bitgetWallet
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-O6YFVGVQ.js";
|
|
137
137
|
import {
|
|
138
138
|
bitskiWallet
|
|
139
139
|
} from "./chunk-YMUSFW44.js";
|
|
@@ -143,11 +143,11 @@ import {
|
|
|
143
143
|
import {
|
|
144
144
|
bloomWallet
|
|
145
145
|
} from "./chunk-S27IADFU.js";
|
|
146
|
-
import "./chunk-23WIEY36.js";
|
|
147
146
|
import {
|
|
148
|
-
|
|
149
|
-
} from "./chunk-
|
|
147
|
+
bybitWallet
|
|
148
|
+
} from "./chunk-5AV2NSL3.js";
|
|
150
149
|
import "./chunk-ARYAYQ7Z.js";
|
|
150
|
+
import "./chunk-23WIEY36.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
|
153
153
|
bifrostWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "7.1.0-next.
|
|
3
|
+
"version": "7.1.0-next.16",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"storybook": "^9.1.3",
|
|
75
75
|
"stream-browserify": "^3.0.0",
|
|
76
76
|
"tsx": "^4.19.2",
|
|
77
|
+
"tsc-alias": "1.8.16",
|
|
77
78
|
"util": "^0.12.5",
|
|
78
79
|
"vite-plugin-node-polyfills": "^0.24.0",
|
|
79
80
|
"vitest": "^3.0.9"
|
|
@@ -120,7 +121,7 @@
|
|
|
120
121
|
"dev": "pnpm build:watch & pnpm typegen:watch",
|
|
121
122
|
"prebuild": "pnpm statsig:generate && pnpm typegen",
|
|
122
123
|
"typecheck": "pnpm tsc --project tsconfig.test.json --noEmit",
|
|
123
|
-
"typegen": "tsc --emitDeclarationOnly || true",
|
|
124
|
+
"typegen": "tsc --emitDeclarationOnly && tsc-alias || true",
|
|
124
125
|
"typegen:watch": "tsc --emitDeclarationOnly --watch",
|
|
125
126
|
"lint": "biome check",
|
|
126
127
|
"lint:fix": "biome check --fix",
|
|
@@ -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";
|