@funkit/connect 6.15.9 → 6.15.12
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 +19 -0
- package/dist/hooks/useCheckoutTransferInit.d.ts +1 -1
- package/dist/index.js +105 -57
- package/dist/utils/directExecution.d.ts +7 -0
- package/dist/utils/flags/config.d.ts +7 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- 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 +46 -46
- 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 +2 -2
- package/dist/wallets/walletConnectors/{chunk-M3NZ6R2E.js → chunk-2GJQ4XZQ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2KUBG3S6.js → chunk-3CICVJUN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TDAVGY5F.js → chunk-5W7VDOCL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TDIEHTMB.js → chunk-AFXHGWBH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-FKJJQNKX.js → chunk-CJGUM55H.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-7QONTUXT.js → chunk-CNPKISHN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NT2HYJKW.js → chunk-EC6CHBSZ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2L43XSW3.js → chunk-J3LI3FYZ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VR4TBQ6S.js → chunk-JCHN6A47.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OBOVHCEI.js → chunk-KIDC67XJ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2STUC6QL.js → chunk-LNEC5RNX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SULRQO27.js → chunk-Q3H3TRBS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NWIQNBJU.js → chunk-QLVVUKYB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VYBAYMP3.js → chunk-RKPCWHXL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-A5N6B5UW.js → chunk-UIASLGLV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2HYNUNAS.js → chunk-UYGJO62F.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TCAGNB4B.js → chunk-VWCLFMWJ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-JWFF4AAL.js → chunk-ZSI5N4VV.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 6.15.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 799e0a9: fix bottom bar spacing
|
|
8
|
+
|
|
9
|
+
## 6.15.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2ab1e61: chore(connect): add WMON and AUSD symbols
|
|
14
|
+
|
|
15
|
+
## 6.15.10
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 0d40882: fix calling eoa endpoint during withdrawal
|
|
20
|
+
- 135c6eb: fix(connect): fix bug with smart wallets causing trimmed txHashes and broken UI
|
|
21
|
+
|
|
3
22
|
## 6.15.9
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -22,5 +22,5 @@ export declare function getCheckoutTokenTransferParams({ checkoutConfig, userId,
|
|
|
22
22
|
/**
|
|
23
23
|
* creates QR code transfer EOA
|
|
24
24
|
*/
|
|
25
|
-
export declare const useCheckoutTransferInit: () => UseCheckoutTransferInitResponse;
|
|
25
|
+
export declare const useCheckoutTransferInit: (enabled?: boolean) => UseCheckoutTransferInitResponse;
|
|
26
26
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1514,7 +1514,7 @@ function setFunkitConnectVersion({ version }) {
|
|
|
1514
1514
|
localStorage.setItem(storageKey, version);
|
|
1515
1515
|
}
|
|
1516
1516
|
function getCurrentSdkVersion() {
|
|
1517
|
-
return "6.15.
|
|
1517
|
+
return "6.15.12";
|
|
1518
1518
|
}
|
|
1519
1519
|
function useFingerprint() {
|
|
1520
1520
|
const fingerprint = useCallback2(() => {
|
|
@@ -2409,6 +2409,63 @@ var getWeb3AccountBalanceMessage = (t) => ({
|
|
|
2409
2409
|
[2 /* APPROVE_TRANSFER */]: (tokenSymbol) => t("checkoutConfirmation.confirmTokenTransfer", { tokenSymbol })
|
|
2410
2410
|
});
|
|
2411
2411
|
|
|
2412
|
+
// src/utils/directExecution.ts
|
|
2413
|
+
function getDirectExecutionCreatedTimeMs(directExecution) {
|
|
2414
|
+
const createdAt = directExecution?.listenerInfo?.relayExecutionRequestDetails?.createdAt || directExecution?.createdTimeMs || // Fallback to 0 if updatedAt is not defined. Not ideal but should really not happen unless its a really old test direct execution record
|
|
2415
|
+
0;
|
|
2416
|
+
return new Date(createdAt).getTime();
|
|
2417
|
+
}
|
|
2418
|
+
function getDirectExecutionUpdatedTimeMs(directExecution) {
|
|
2419
|
+
const updatedAt = directExecution?.listenerInfo?.relayExecutionRequestDetails?.updatedAt || directExecution?.listenerInfo?.time || directExecution?.updatedTimeMs || // Fallback to 0 if updatedAt is not defined. Not ideal but should really not happen unless its a really old test direct execution record
|
|
2420
|
+
0;
|
|
2421
|
+
return new Date(updatedAt).getTime();
|
|
2422
|
+
}
|
|
2423
|
+
function getDirectExecutionRunTimeSeconds(directExecution) {
|
|
2424
|
+
const beginTime = new Date(
|
|
2425
|
+
directExecution?.listenerInfo?.relayExecutionRequestDetails?.createdAt || directExecution.createdTimeMs
|
|
2426
|
+
).getTime();
|
|
2427
|
+
const endTime = getDirectExecutionUpdatedTimeMs(directExecution);
|
|
2428
|
+
if (!beginTime || !endTime) {
|
|
2429
|
+
return 0;
|
|
2430
|
+
}
|
|
2431
|
+
return (endTime - beginTime) / 1e3;
|
|
2432
|
+
}
|
|
2433
|
+
async function supportsAtomicBatch(wallet, chainId) {
|
|
2434
|
+
if (!wallet.account) {
|
|
2435
|
+
return false;
|
|
2436
|
+
}
|
|
2437
|
+
try {
|
|
2438
|
+
const capabilities = await wallet.getCapabilities({
|
|
2439
|
+
account: wallet.account,
|
|
2440
|
+
chainId
|
|
2441
|
+
});
|
|
2442
|
+
return capabilities?.atomicBatch?.supported ?? (capabilities.atomic?.status && capabilities.atomic.status === "supported");
|
|
2443
|
+
} catch {
|
|
2444
|
+
return false;
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
async function disableAtomicBatchIfSupported(wallet, chainId) {
|
|
2448
|
+
const hasAtomicBatch = await supportsAtomicBatch(wallet, chainId);
|
|
2449
|
+
if (!hasAtomicBatch) {
|
|
2450
|
+
return wallet;
|
|
2451
|
+
}
|
|
2452
|
+
return new Proxy(wallet, {
|
|
2453
|
+
get(target, prop, receiver) {
|
|
2454
|
+
if (prop === "getCapabilities") {
|
|
2455
|
+
return async (params) => {
|
|
2456
|
+
const capabilities = await target.getCapabilities(params);
|
|
2457
|
+
return {
|
|
2458
|
+
...capabilities,
|
|
2459
|
+
atomicBatch: { supported: false },
|
|
2460
|
+
atomic: void 0
|
|
2461
|
+
};
|
|
2462
|
+
};
|
|
2463
|
+
}
|
|
2464
|
+
return Reflect.get(target, prop, receiver);
|
|
2465
|
+
}
|
|
2466
|
+
});
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2412
2469
|
// src/hooks/useRelayBypass.ts
|
|
2413
2470
|
import { FlagKey as FlagKey3, isTokenAddressEquivalent as isTokenAddressEquivalent2 } from "@funkit/utils";
|
|
2414
2471
|
import { useCallback as useCallback5, useMemo as useMemo9 } from "react";
|
|
@@ -2593,7 +2650,7 @@ var QR_CODE_WITH_BITCOIN = {
|
|
|
2593
2650
|
};
|
|
2594
2651
|
var QR_CODE_WITH_MONAD = {
|
|
2595
2652
|
...QR_CODE_WITH_BITCOIN,
|
|
2596
|
-
[MONAD_CHAIN_ID2]: ["MON"
|
|
2653
|
+
[MONAD_CHAIN_ID2]: ["MON"]
|
|
2597
2654
|
};
|
|
2598
2655
|
var WITHDRAWAL_CHAINS_AND_ASSETS = {
|
|
2599
2656
|
...COMMON_SUPPORT_CHAINS_AND_ASSETS,
|
|
@@ -2797,10 +2854,7 @@ var flagConfig = {
|
|
|
2797
2854
|
values: [POLYMARKET_API_KEY2]
|
|
2798
2855
|
}
|
|
2799
2856
|
],
|
|
2800
|
-
value: JSON.stringify(
|
|
2801
|
-
// TODO: uncomment when Polymarket will bump their package version
|
|
2802
|
-
// Otherwise it will break their modal!!
|
|
2803
|
-
// value: JSON.stringify(QR_CODE_WITH_MONAD),
|
|
2857
|
+
value: JSON.stringify(QR_CODE_WITH_MONAD)
|
|
2804
2858
|
}
|
|
2805
2859
|
]
|
|
2806
2860
|
},
|
|
@@ -2928,21 +2982,19 @@ var flagConfig = {
|
|
|
2928
2982
|
}
|
|
2929
2983
|
],
|
|
2930
2984
|
value: ""
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
if_any: [
|
|
2988
|
+
{
|
|
2989
|
+
key: "apiKey",
|
|
2990
|
+
type: "isAnyOf",
|
|
2991
|
+
values: [POLYMARKET_API_KEY2]
|
|
2992
|
+
}
|
|
2993
|
+
],
|
|
2994
|
+
value: JSON.stringify({
|
|
2995
|
+
[MONAD_CHAIN_ID2]: ["MON"]
|
|
2996
|
+
})
|
|
2931
2997
|
}
|
|
2932
|
-
// TODO: uncomment when Polymarket will bump their package version
|
|
2933
|
-
// otherwise it will break their modal!!
|
|
2934
|
-
// {
|
|
2935
|
-
// if_any: [
|
|
2936
|
-
// {
|
|
2937
|
-
// key: 'apiKey',
|
|
2938
|
-
// type: 'isAnyOf',
|
|
2939
|
-
// values: [POLYMARKET_API_KEY],
|
|
2940
|
-
// },
|
|
2941
|
-
// ],
|
|
2942
|
-
// value: JSON.stringify({
|
|
2943
|
-
// [MONAD_CHAIN_ID]: ['MON'],
|
|
2944
|
-
// }),
|
|
2945
|
-
// },
|
|
2946
2998
|
]
|
|
2947
2999
|
},
|
|
2948
3000
|
[FlagKey.NewTokenAssetSelectionBanner]: {
|
|
@@ -3731,7 +3783,7 @@ function useCheckoutDirectExecution() {
|
|
|
3731
3783
|
const { address } = useFunkitUserInfo();
|
|
3732
3784
|
const { switchChainAsync } = useFunkitSwitchChains({});
|
|
3733
3785
|
const { connector } = useFunkitAccount();
|
|
3734
|
-
const { data:
|
|
3786
|
+
const { data: _walletClient } = useWalletClient();
|
|
3735
3787
|
const { getIsRelayEnabled } = useRelayBypass();
|
|
3736
3788
|
const { apiKey } = useFunkitConfig();
|
|
3737
3789
|
const getRelayDirectExecutionBaseQuote = useCallback6(
|
|
@@ -3811,13 +3863,14 @@ function useCheckoutDirectExecution() {
|
|
|
3811
3863
|
if (!relayQuote) {
|
|
3812
3864
|
throw new Error("Relay quote is not found in latestQuote");
|
|
3813
3865
|
}
|
|
3814
|
-
if (!walletClient && !withdrawalClient) {
|
|
3815
|
-
throw new Error("Viem wallet client is not defined");
|
|
3816
|
-
}
|
|
3817
3866
|
const executionChainId = Number.parseInt(
|
|
3818
3867
|
checkoutItem.selectedSourceAssetInfo.chainId
|
|
3819
3868
|
);
|
|
3820
3869
|
logger.log(`${logPrefix3}:executionChainId`, { executionChainId });
|
|
3870
|
+
const walletClient = _walletClient ? await disableAtomicBatchIfSupported(_walletClient, executionChainId) : void 0;
|
|
3871
|
+
if (!walletClient && !withdrawalClient) {
|
|
3872
|
+
throw new Error("Viem wallet client is not defined");
|
|
3873
|
+
}
|
|
3821
3874
|
await checkAndSwitchChains({ executionChainId, stepMessageSetter });
|
|
3822
3875
|
const translateRelayMessage = (message) => {
|
|
3823
3876
|
const messageMap2 = {
|
|
@@ -3886,7 +3939,7 @@ function useCheckoutDirectExecution() {
|
|
|
3886
3939
|
};
|
|
3887
3940
|
return await waitForConfirmation();
|
|
3888
3941
|
},
|
|
3889
|
-
[
|
|
3942
|
+
[_walletClient, checkAndSwitchChains, t]
|
|
3890
3943
|
);
|
|
3891
3944
|
const getDirectExecutionInfo = useCallback6(
|
|
3892
3945
|
(checkoutItem) => {
|
|
@@ -3998,7 +4051,7 @@ function getCheckoutTokenTransferParams({
|
|
|
3998
4051
|
toTokenAddress: checkoutConfig.targetAsset
|
|
3999
4052
|
};
|
|
4000
4053
|
}
|
|
4001
|
-
var useCheckoutTransferInit = () => {
|
|
4054
|
+
var useCheckoutTransferInit = (enabled = true) => {
|
|
4002
4055
|
const { checkoutItem } = useCheckoutContext();
|
|
4003
4056
|
const checkoutConfig = checkoutItem?.initSettings.config;
|
|
4004
4057
|
const { walletAddress, userInfo } = useGeneralWallet();
|
|
@@ -4021,7 +4074,7 @@ var useCheckoutTransferInit = () => {
|
|
|
4021
4074
|
queryFn: ({ queryKey: [_, queryKey2] }) => queryKey2 ? checkoutTransferFetch(queryKey2) : void 0,
|
|
4022
4075
|
refetchOnWindowFocus: false,
|
|
4023
4076
|
refetchOnMount: false,
|
|
4024
|
-
enabled: !!queryKey && // Is flag enabled
|
|
4077
|
+
enabled: enabled && !!queryKey && // Is flag enabled
|
|
4025
4078
|
isQrCodeEnabled && // QR Code is only supported for post action checkouts with action type
|
|
4026
4079
|
isQRCodeEnabledWithPostAction
|
|
4027
4080
|
});
|
|
@@ -4207,6 +4260,7 @@ function FunkitCheckoutProvider({ children }) {
|
|
|
4207
4260
|
symbol: null,
|
|
4208
4261
|
iconSrc: null
|
|
4209
4262
|
},
|
|
4263
|
+
isWithdrawal: true,
|
|
4210
4264
|
initSettings: {
|
|
4211
4265
|
config: {
|
|
4212
4266
|
...checkoutConfig.config,
|
|
@@ -5269,28 +5323,6 @@ function useMultiStepDirectExecutionStatus(multiStepDirectExecution, disabled =
|
|
|
5269
5323
|
};
|
|
5270
5324
|
}
|
|
5271
5325
|
|
|
5272
|
-
// src/utils/directExecution.ts
|
|
5273
|
-
function getDirectExecutionCreatedTimeMs(directExecution) {
|
|
5274
|
-
const createdAt = directExecution?.listenerInfo?.relayExecutionRequestDetails?.createdAt || directExecution?.createdTimeMs || // Fallback to 0 if updatedAt is not defined. Not ideal but should really not happen unless its a really old test direct execution record
|
|
5275
|
-
0;
|
|
5276
|
-
return new Date(createdAt).getTime();
|
|
5277
|
-
}
|
|
5278
|
-
function getDirectExecutionUpdatedTimeMs(directExecution) {
|
|
5279
|
-
const updatedAt = directExecution?.listenerInfo?.relayExecutionRequestDetails?.updatedAt || directExecution?.listenerInfo?.time || directExecution?.updatedTimeMs || // Fallback to 0 if updatedAt is not defined. Not ideal but should really not happen unless its a really old test direct execution record
|
|
5280
|
-
0;
|
|
5281
|
-
return new Date(updatedAt).getTime();
|
|
5282
|
-
}
|
|
5283
|
-
function getDirectExecutionRunTimeSeconds(directExecution) {
|
|
5284
|
-
const beginTime = new Date(
|
|
5285
|
-
directExecution?.listenerInfo?.relayExecutionRequestDetails?.createdAt || directExecution.createdTimeMs
|
|
5286
|
-
).getTime();
|
|
5287
|
-
const endTime = getDirectExecutionUpdatedTimeMs(directExecution);
|
|
5288
|
-
if (!beginTime || !endTime) {
|
|
5289
|
-
return 0;
|
|
5290
|
-
}
|
|
5291
|
-
return (endTime - beginTime) / 1e3;
|
|
5292
|
-
}
|
|
5293
|
-
|
|
5294
5326
|
// src/utils/purifyCheckoutHistoryItem.ts
|
|
5295
5327
|
var purifyCheckoutHistoryItem = (item) => {
|
|
5296
5328
|
if ("depositAddr" in item) {
|
|
@@ -7116,7 +7148,9 @@ var ASSET_LOGO_SRCS = {
|
|
|
7116
7148
|
LIQUIDHYPE: "https://sdk-cdn.fun.xyz/images/liquidhype.svg",
|
|
7117
7149
|
VHYPE: "https://sdk-cdn.fun.xyz/images/vhype.png",
|
|
7118
7150
|
HBHYPE: "https://sdk-cdn.fun.xyz/images/hbhype.svg",
|
|
7119
|
-
MON: "https://sdk-cdn.fun.xyz/images/monad.svg"
|
|
7151
|
+
MON: "https://sdk-cdn.fun.xyz/images/monad.svg",
|
|
7152
|
+
WMON: "https://sdk-cdn.fun.xyz/images/wmon.svg",
|
|
7153
|
+
AUSD: "https://sdk-cdn.fun.xyz/images/ausd.svg"
|
|
7120
7154
|
};
|
|
7121
7155
|
var FALLBACK_ASSET = "https://sdk-cdn.fun.xyz/images/dollar_circle.png";
|
|
7122
7156
|
function getAssetLogoSrc(symbol) {
|
|
@@ -7790,10 +7824,7 @@ var FunBottomBar = ({
|
|
|
7790
7824
|
const powerTagline = showTagline ? /* @__PURE__ */ React39.createElement(FunPoweredTagline, null) : void 0;
|
|
7791
7825
|
const hasMultipleButtons = !!onClose;
|
|
7792
7826
|
const customButtonRadius = showTagline || hasMultipleButtons ? void 0 : isMobile2() ? "modalActionButtonMobile" : "modalActionButton";
|
|
7793
|
-
|
|
7794
|
-
return null;
|
|
7795
|
-
}
|
|
7796
|
-
return /* @__PURE__ */ React39.createElement(Box, null, (topSection || !powerTagline) && /* @__PURE__ */ React39.createElement(Box, { className: topSectionDynamicPadding }, topSection), /* @__PURE__ */ React39.createElement(Box, { display: "flex", gap: "8" }, onClose && /* @__PURE__ */ React39.createElement(
|
|
7827
|
+
const onCloseButton = onClose && /* @__PURE__ */ React39.createElement(
|
|
7797
7828
|
FunButton,
|
|
7798
7829
|
{
|
|
7799
7830
|
onClick: onClose,
|
|
@@ -7806,7 +7837,8 @@ var FunBottomBar = ({
|
|
|
7806
7837
|
uppercase: uiCustomizations?.callToActionsUppercase,
|
|
7807
7838
|
testId: "bottom-bar-close-button"
|
|
7808
7839
|
}
|
|
7809
|
-
)
|
|
7840
|
+
);
|
|
7841
|
+
const actionButton = actionButtonProps && /* @__PURE__ */ React39.createElement(
|
|
7810
7842
|
FunButton,
|
|
7811
7843
|
{
|
|
7812
7844
|
...actionButtonProps,
|
|
@@ -7817,7 +7849,22 @@ var FunBottomBar = ({
|
|
|
7817
7849
|
uppercase: uiCustomizations?.callToActionsUppercase,
|
|
7818
7850
|
testId: "bottom-bar-action-button"
|
|
7819
7851
|
}
|
|
7820
|
-
)
|
|
7852
|
+
);
|
|
7853
|
+
if (!topSection && !actionButton && !onCloseButton && !powerTagline) {
|
|
7854
|
+
return null;
|
|
7855
|
+
}
|
|
7856
|
+
return /* @__PURE__ */ React39.createElement(
|
|
7857
|
+
Box,
|
|
7858
|
+
{
|
|
7859
|
+
className: topSectionDynamicPadding,
|
|
7860
|
+
display: "flex",
|
|
7861
|
+
flexDirection: "column",
|
|
7862
|
+
gap: "10"
|
|
7863
|
+
},
|
|
7864
|
+
topSection && /* @__PURE__ */ React39.createElement(Box, null, topSection),
|
|
7865
|
+
(onCloseButton || actionButton) && /* @__PURE__ */ React39.createElement(Box, { display: "flex", gap: "8" }, onCloseButton, actionButton),
|
|
7866
|
+
powerTagline
|
|
7867
|
+
);
|
|
7821
7868
|
};
|
|
7822
7869
|
|
|
7823
7870
|
// src/components/FunButton/FunBackButton.tsx
|
|
@@ -12594,7 +12641,8 @@ var useBluvoExchangeBalance = ({
|
|
|
12594
12641
|
};
|
|
12595
12642
|
var useBluvoCheckoutQuote = () => {
|
|
12596
12643
|
const { bluvoClient } = useFunkitBrokerageContext();
|
|
12597
|
-
const {
|
|
12644
|
+
const { checkoutItem } = useCheckoutContext();
|
|
12645
|
+
const { transferInit } = useCheckoutTransferInit(!checkoutItem?.isWithdrawal);
|
|
12598
12646
|
const { selectedBrokerageAsset } = useFunkitBrokerageContext();
|
|
12599
12647
|
async function getBluvoCheckoutQuote({
|
|
12600
12648
|
amount,
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { DirectExecution } from '@funkit/api-base';
|
|
2
|
+
import type { WalletClient } from 'viem';
|
|
2
3
|
export declare function getDirectExecutionCreatedTimeMs(directExecution: DirectExecution): number;
|
|
3
4
|
export declare function getDirectExecutionUpdatedTimeMs(directExecution: DirectExecution): number;
|
|
4
5
|
export declare function getDirectExecutionRunTimeSeconds(directExecution: DirectExecution): number;
|
|
6
|
+
export declare function supportsAtomicBatch(wallet: WalletClient, chainId: number): Promise<boolean>;
|
|
7
|
+
/**
|
|
8
|
+
* Returns a proxied wallet with getCapabilities patched to disable atomic batch support.
|
|
9
|
+
* This forces Relay to use sequential transactions instead of batched ones.
|
|
10
|
+
*/
|
|
11
|
+
export declare function disableAtomicBatchIfSupported(wallet: WalletClient, chainId: number): Promise<WalletClient>;
|
|
@@ -179,6 +179,13 @@ export declare const flagConfig: {
|
|
|
179
179
|
readonly values: ["2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc"];
|
|
180
180
|
}];
|
|
181
181
|
readonly value: "";
|
|
182
|
+
}, {
|
|
183
|
+
readonly if_any: [{
|
|
184
|
+
readonly key: "apiKey";
|
|
185
|
+
readonly type: "isAnyOf";
|
|
186
|
+
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6"];
|
|
187
|
+
}];
|
|
188
|
+
readonly value: string;
|
|
182
189
|
}];
|
|
183
190
|
};
|
|
184
191
|
readonly new_token_asset_selection_banner: {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-RNBEDQHF.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q3H3TRBS.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZSI5N4VV.js";
|
|
14
14
|
import {
|
|
15
15
|
tahoWallet
|
|
16
16
|
} from "./chunk-ZZZRUXZE.js";
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
} from "./chunk-DRO6WYMM.js";
|
|
20
20
|
import {
|
|
21
21
|
tokenPocketWallet
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J3LI3FYZ.js";
|
|
23
23
|
import {
|
|
24
24
|
tokenaryWallet
|
|
25
25
|
} from "./chunk-D6AOOO5F.js";
|
|
26
26
|
import {
|
|
27
27
|
trustWallet
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RKPCWHXL.js";
|
|
29
29
|
import {
|
|
30
30
|
uniswapWallet
|
|
31
31
|
} from "./chunk-LH7BMNFZ.js";
|
|
@@ -33,65 +33,65 @@ import {
|
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-NP5QGWNL.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
oneInchWallet
|
|
37
|
+
} from "./chunk-OESTDX6I.js";
|
|
38
|
+
import {
|
|
39
|
+
rainbowWallet
|
|
40
|
+
} from "./chunk-3CICVJUN.js";
|
|
38
41
|
import {
|
|
39
42
|
rabbyWallet
|
|
40
43
|
} from "./chunk-BBOM42DL.js";
|
|
41
|
-
import {
|
|
42
|
-
rainbowWallet
|
|
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-
|
|
50
|
-
import {
|
|
51
|
-
safeheronWallet
|
|
52
|
-
} from "./chunk-RZIO5TFF.js";
|
|
49
|
+
} from "./chunk-QLVVUKYB.js";
|
|
53
50
|
import {
|
|
54
51
|
safeWallet
|
|
55
52
|
} from "./chunk-BQQQL6UD.js";
|
|
53
|
+
import {
|
|
54
|
+
safeheronWallet
|
|
55
|
+
} from "./chunk-RZIO5TFF.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-EC6CHBSZ.js";
|
|
59
59
|
import {
|
|
60
60
|
ledgerWallet
|
|
61
61
|
} from "./chunk-BRBKM4PW.js";
|
|
62
|
+
import {
|
|
63
|
+
metaMaskWallet
|
|
64
|
+
} from "./chunk-UYGJO62F.js";
|
|
62
65
|
import {
|
|
63
66
|
mewWallet
|
|
64
67
|
} from "./chunk-OL5ZO7E4.js";
|
|
65
|
-
import {
|
|
66
|
-
metaMaskWallet
|
|
67
|
-
} from "./chunk-2HYNUNAS.js";
|
|
68
68
|
import {
|
|
69
69
|
oktoWallet
|
|
70
70
|
} from "./chunk-ADIXAKUL.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-AFXHGWBH.js";
|
|
74
74
|
import {
|
|
75
75
|
omniWallet
|
|
76
76
|
} from "./chunk-7CUY5G6R.js";
|
|
77
|
-
import {
|
|
78
|
-
oneInchWallet
|
|
79
|
-
} from "./chunk-OESTDX6I.js";
|
|
80
77
|
import {
|
|
81
78
|
oneKeyWallet
|
|
82
79
|
} from "./chunk-SHBUZ7U7.js";
|
|
83
80
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
phantomWallet
|
|
82
|
+
} from "./chunk-362NXNTM.js";
|
|
83
|
+
import {
|
|
84
|
+
foxWallet
|
|
85
|
+
} from "./chunk-CNPKISHN.js";
|
|
86
86
|
import {
|
|
87
87
|
frameWallet
|
|
88
88
|
} from "./chunk-IFON7E6U.js";
|
|
89
89
|
import {
|
|
90
90
|
frontierWallet
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-VWCLFMWJ.js";
|
|
92
92
|
import {
|
|
93
93
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-CJGUM55H.js";
|
|
95
95
|
import {
|
|
96
96
|
imTokenWallet
|
|
97
97
|
} from "./chunk-COZ7MIQS.js";
|
|
@@ -101,53 +101,53 @@ import {
|
|
|
101
101
|
import {
|
|
102
102
|
kresusWallet
|
|
103
103
|
} from "./chunk-MJXPRJZT.js";
|
|
104
|
-
import {
|
|
105
|
-
bybitWallet
|
|
106
|
-
} from "./chunk-2STUC6QL.js";
|
|
107
104
|
import {
|
|
108
105
|
clvWallet
|
|
109
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-2GJQ4XZQ.js";
|
|
110
107
|
import {
|
|
111
108
|
coin98Wallet
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import {
|
|
114
|
-
coreWallet
|
|
115
|
-
} from "./chunk-VR4TBQ6S.js";
|
|
109
|
+
} from "./chunk-KIDC67XJ.js";
|
|
116
110
|
import {
|
|
117
111
|
coinbaseWallet
|
|
118
112
|
} from "./chunk-H4IRCEZN.js";
|
|
119
113
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
114
|
+
braveWallet
|
|
115
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
116
|
+
import {
|
|
117
|
+
coreWallet
|
|
118
|
+
} from "./chunk-JCHN6A47.js";
|
|
122
119
|
import {
|
|
123
120
|
desigWallet
|
|
124
121
|
} from "./chunk-OPAZMNA7.js";
|
|
125
122
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import {
|
|
129
|
-
bifrostWallet
|
|
130
|
-
} from "./chunk-A5N6B5UW.js";
|
|
123
|
+
dawnWallet
|
|
124
|
+
} from "./chunk-HWPKCIBE.js";
|
|
131
125
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
126
|
+
enkryptWallet
|
|
127
|
+
} from "./chunk-OLOIXTYS.js";
|
|
134
128
|
import {
|
|
135
129
|
bitgetWallet
|
|
136
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-5W7VDOCL.js";
|
|
131
|
+
import {
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-UIASLGLV.js";
|
|
137
134
|
import {
|
|
138
135
|
bitskiWallet
|
|
139
136
|
} from "./chunk-HS3C7OQV.js";
|
|
140
137
|
import {
|
|
141
138
|
bitverseWallet
|
|
142
139
|
} from "./chunk-3HZRRP4Y.js";
|
|
140
|
+
import {
|
|
141
|
+
argentWallet
|
|
142
|
+
} from "./chunk-WSQ2YJO2.js";
|
|
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-LNEC5RNX.js";
|
|
150
149
|
import "./chunk-DNSG5Q7V.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": "6.15.
|
|
3
|
+
"version": "6.15.12",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"ua-parser-js": "^1.0.37",
|
|
102
102
|
"use-debounce": "^10.0.5",
|
|
103
103
|
"uuid": "^9.0.1",
|
|
104
|
-
"@funkit/chains": "0.4.8",
|
|
105
104
|
"@funkit/api-base": "1.12.18",
|
|
105
|
+
"@funkit/chains": "0.4.8",
|
|
106
106
|
"@funkit/core": "2.3.65",
|
|
107
107
|
"@funkit/fun-relay": "2.1.13",
|
|
108
108
|
"@funkit/utils": "1.1.19",
|
|
@@ -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-DNSG5Q7V.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-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";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-DNSG5Q7V.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-DNSG5Q7V.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-DNSG5Q7V.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-DNSG5Q7V.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-23WIEY36.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/foxWallet/foxWallet.ts
|
|
11
11
|
var foxWallet = ({
|
|
@@ -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-DNSG5Q7V.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-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";
|
|
@@ -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-DNSG5Q7V.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-DNSG5Q7V.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-DNSG5Q7V.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-DNSG5Q7V.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-DNSG5Q7V.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-DNSG5Q7V.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-DNSG5Q7V.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-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";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-DNSG5Q7V.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-DNSG5Q7V.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-23WIEY36.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/subWallet/subWallet.ts
|
|
11
11
|
var subWallet = ({
|