@funkit/connect 6.15.1 → 6.15.2
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 +20 -0
- package/dist/{chunk-3SMGLDNF.js → chunk-KG5Q63KL.js} +4 -0
- package/dist/{chunk-XH2UUILF.js → chunk-L3BEU75V.js} +4 -0
- package/dist/components/Box/Box.d.ts +7 -7
- package/dist/css/sprinkles.css.d.ts +15 -7
- package/dist/index.css +847 -763
- package/dist/index.js +231 -429
- package/dist/modals/CheckoutModal/ConfirmationStep/useAccountBalanceTransfer.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext/index.d.ts +1 -1
- package/dist/providers/FunkitThemeProvider.d.ts +12 -0
- package/dist/providers/GeneralWalletProvider.d.ts +3 -7
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/flags/config.d.ts +3 -3
- 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 +39 -39
- 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 +8 -8
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +0 -32
- 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
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Address } from 'viem';
|
|
2
|
-
export declare function useAccountBalancePostCheckout(setPostCheckoutStepMessage: (s: string) => void
|
|
2
|
+
export declare function useAccountBalancePostCheckout(setPostCheckoutStepMessage: (s: string) => void): (depositAddress: Address) => Promise<void>;
|
|
@@ -23,7 +23,7 @@ interface FunkitCheckoutContextInterface {
|
|
|
23
23
|
}): void;
|
|
24
24
|
updateSelectedPaymentMethodInfo(newPaymentMethodInfo: PaymentMethodInfo): void;
|
|
25
25
|
updateCustomRecipient: (recipient: Address) => void;
|
|
26
|
-
confirmCheckout(
|
|
26
|
+
confirmCheckout(quote: FunkitCheckoutQuoteResult, stepMessageSetter: (m: string) => void, withdrawalClient?: WithdrawalClient): Promise<Address>;
|
|
27
27
|
cancelCheckout(depositAddress: Address): Promise<boolean>;
|
|
28
28
|
/** @deprecated to be removed after quote migration is finished (historically named setCheckoutQuote) */
|
|
29
29
|
setCheckout: (checkout: FunkitActiveCheckoutItem) => void;
|
|
@@ -238,6 +238,10 @@ export declare const useActiveTheme: () => {
|
|
|
238
238
|
buttonFocusedShadowTertiary: string;
|
|
239
239
|
buttonHoverShadowTertiary: string;
|
|
240
240
|
buttonDisabledShadow: string;
|
|
241
|
+
buttonInnerShadow: string;
|
|
242
|
+
buttonFocusedInnerShadow: string;
|
|
243
|
+
buttonHoverInnerShadow: string;
|
|
244
|
+
buttonDisabledInnerShadow: string;
|
|
241
245
|
selectedDropdownItem: string;
|
|
242
246
|
};
|
|
243
247
|
spacing: {
|
|
@@ -472,6 +476,10 @@ export declare const useActiveTheme: () => {
|
|
|
472
476
|
buttonFocusedShadowTertiary: string;
|
|
473
477
|
buttonHoverShadowTertiary: string;
|
|
474
478
|
buttonDisabledShadow: string;
|
|
479
|
+
buttonInnerShadow: string;
|
|
480
|
+
buttonFocusedInnerShadow: string;
|
|
481
|
+
buttonHoverInnerShadow: string;
|
|
482
|
+
buttonDisabledInnerShadow: string;
|
|
475
483
|
selectedDropdownItem: string;
|
|
476
484
|
};
|
|
477
485
|
spacing: {
|
|
@@ -704,6 +712,10 @@ export declare const useActiveTheme: () => {
|
|
|
704
712
|
buttonFocusedShadowTertiary: string;
|
|
705
713
|
buttonHoverShadowTertiary: string;
|
|
706
714
|
buttonDisabledShadow: string;
|
|
715
|
+
buttonInnerShadow: string;
|
|
716
|
+
buttonFocusedInnerShadow: string;
|
|
717
|
+
buttonHoverInnerShadow: string;
|
|
718
|
+
buttonDisabledInnerShadow: string;
|
|
707
719
|
selectedDropdownItem: string;
|
|
708
720
|
};
|
|
709
721
|
spacing: {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { AssetBalanceInfo } from '@funkit/api-base';
|
|
2
|
-
import type { Auth, FunWallet } from '@funkit/core';
|
|
3
2
|
import React, { type ReactNode } from 'react';
|
|
4
3
|
import type { Address } from 'viem';
|
|
5
|
-
import { type
|
|
6
|
-
import type { SwitchChainVariables } from 'wagmi/query';
|
|
4
|
+
import { type UseDisconnectReturnType, type UseReconnectReturnType } from 'wagmi';
|
|
7
5
|
import { type FunkitUserInfo } from '../consts/funkit';
|
|
8
6
|
/** AssetBalanceInfo with known price and totalUsdValue */
|
|
9
7
|
export interface KnownAssetBalanceInfo extends AssetBalanceInfo {
|
|
@@ -20,8 +18,6 @@ export interface GeneralWalletContextProps {
|
|
|
20
18
|
isUserLoggedIn: boolean;
|
|
21
19
|
loginType: LoginType;
|
|
22
20
|
userInfo: FunkitUserInfo;
|
|
23
|
-
funWallet: FunWallet | null;
|
|
24
|
-
funWalletAuth: Auth | null;
|
|
25
21
|
handleLogout: () => void;
|
|
26
22
|
logoutSymbol: symbol | undefined;
|
|
27
23
|
}
|
|
@@ -104,7 +100,7 @@ export declare const useFunkitReconnect: () => UseReconnectReturnType;
|
|
|
104
100
|
export declare const useFunkitSwitchChains: ({ onSettled, }: {
|
|
105
101
|
onSettled?: () => void;
|
|
106
102
|
}) => {
|
|
107
|
-
switchChain: (
|
|
108
|
-
switchChainAsync: (
|
|
103
|
+
switchChain: import("wagmi/query").SwitchChainMutate<import("wagmi").Config, void>;
|
|
104
|
+
switchChainAsync: import("wagmi/query").SwitchChainMutateAsync<import("wagmi").Config, void>;
|
|
109
105
|
pendingChainId: number | null;
|
|
110
106
|
};
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -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", "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"];
|
|
53
53
|
}];
|
|
54
54
|
readonly value: true;
|
|
55
55
|
}];
|
|
@@ -215,13 +215,13 @@ export declare const flagConfig: {
|
|
|
215
215
|
readonly value: true;
|
|
216
216
|
}, Override<boolean>, {
|
|
217
217
|
readonly if_all: [{
|
|
218
|
-
readonly pct:
|
|
218
|
+
readonly pct: 30;
|
|
219
219
|
readonly type: "pctRollout";
|
|
220
220
|
readonly key: "userId";
|
|
221
221
|
}, {
|
|
222
222
|
readonly key: "apiKey";
|
|
223
223
|
readonly type: "isAnyOf";
|
|
224
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6"];
|
|
224
|
+
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um"];
|
|
225
225
|
}];
|
|
226
226
|
readonly if_any: [{
|
|
227
227
|
readonly pct: 2;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
xdefiWallet
|
|
4
|
-
} from "./chunk-BOU4WKRZ.js";
|
|
5
2
|
import {
|
|
6
3
|
zealWallet
|
|
7
4
|
} from "./chunk-RNBEDQHF.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q3H3TRBS.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
9
|
+
walletConnectWallet
|
|
10
|
+
} from "./chunk-NP5QGWNL.js";
|
|
14
11
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
subWallet
|
|
13
|
+
} from "./chunk-ZSI5N4VV.js";
|
|
17
14
|
import {
|
|
18
15
|
tahoWallet
|
|
19
16
|
} from "./chunk-ZZZRUXZE.js";
|
|
17
|
+
import {
|
|
18
|
+
talismanWallet
|
|
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";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
xdefiWallet
|
|
34
|
+
} from "./chunk-BOU4WKRZ.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-
|
|
43
|
+
} from "./chunk-3CICVJUN.js";
|
|
44
44
|
import {
|
|
45
45
|
ramperWallet
|
|
46
46
|
} from "./chunk-BYXPFMI7.js";
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QLVVUKYB.js";
|
|
50
50
|
import {
|
|
51
51
|
safeWallet
|
|
52
52
|
} from "./chunk-BQQQL6UD.js";
|
|
@@ -55,25 +55,25 @@ import {
|
|
|
55
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
62
|
import {
|
|
63
63
|
metaMaskWallet
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-UYGJO62F.js";
|
|
65
65
|
import {
|
|
66
66
|
mewWallet
|
|
67
67
|
} from "./chunk-OL5ZO7E4.js";
|
|
68
68
|
import {
|
|
69
69
|
oktoWallet
|
|
70
70
|
} from "./chunk-ADIXAKUL.js";
|
|
71
|
+
import {
|
|
72
|
+
okxWallet
|
|
73
|
+
} from "./chunk-AFXHGWBH.js";
|
|
71
74
|
import {
|
|
72
75
|
omniWallet
|
|
73
76
|
} from "./chunk-7CUY5G6R.js";
|
|
74
|
-
import {
|
|
75
|
-
okxWallet
|
|
76
|
-
} from "./chunk-TDIEHTMB.js";
|
|
77
77
|
import {
|
|
78
78
|
oneInchWallet
|
|
79
79
|
} from "./chunk-OESTDX6I.js";
|
|
@@ -82,40 +82,40 @@ import {
|
|
|
82
82
|
} from "./chunk-SHBUZ7U7.js";
|
|
83
83
|
import {
|
|
84
84
|
foxWallet
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-CNPKISHN.js";
|
|
86
|
+
import {
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-VWCLFMWJ.js";
|
|
86
89
|
import {
|
|
87
90
|
frameWallet
|
|
88
91
|
} from "./chunk-IFON7E6U.js";
|
|
89
|
-
import {
|
|
90
|
-
frontierWallet
|
|
91
|
-
} from "./chunk-TCAGNB4B.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";
|
|
98
|
-
import {
|
|
99
|
-
kresusWallet
|
|
100
|
-
} from "./chunk-MJXPRJZT.js";
|
|
101
98
|
import {
|
|
102
99
|
injectedWallet
|
|
103
100
|
} from "./chunk-XWUJE7MW.js";
|
|
101
|
+
import {
|
|
102
|
+
kresusWallet
|
|
103
|
+
} from "./chunk-MJXPRJZT.js";
|
|
104
104
|
import {
|
|
105
105
|
bybitWallet
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-LNEC5RNX.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-2GJQ4XZQ.js";
|
|
110
110
|
import {
|
|
111
111
|
coin98Wallet
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-KIDC67XJ.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-JCHN6A47.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-HWPKCIBE.js";
|
|
@@ -127,10 +127,13 @@ import {
|
|
|
127
127
|
} from "./chunk-OLOIXTYS.js";
|
|
128
128
|
import {
|
|
129
129
|
bifrostWallet
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-UIASLGLV.js";
|
|
131
|
+
import {
|
|
132
|
+
argentWallet
|
|
133
|
+
} from "./chunk-WSQ2YJO2.js";
|
|
131
134
|
import {
|
|
132
135
|
bitgetWallet
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-5W7VDOCL.js";
|
|
134
137
|
import {
|
|
135
138
|
bitskiWallet
|
|
136
139
|
} from "./chunk-HS3C7OQV.js";
|
|
@@ -138,16 +141,13 @@ import {
|
|
|
138
141
|
bitverseWallet
|
|
139
142
|
} from "./chunk-3HZRRP4Y.js";
|
|
140
143
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
146
|
+
import "./chunk-DNSG5Q7V.js";
|
|
143
147
|
import {
|
|
144
148
|
bloomWallet
|
|
145
149
|
} from "./chunk-S27IADFU.js";
|
|
146
150
|
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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "6.15.
|
|
3
|
+
"version": "6.15.2",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"vitest": "^3.0.9"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@bluvo/react": "2.1.
|
|
82
|
-
"@bluvo/sdk-ts": "2.1.
|
|
81
|
+
"@bluvo/react": "2.1.3",
|
|
82
|
+
"@bluvo/sdk-ts": "2.1.3",
|
|
83
83
|
"@datadog/browser-logs": "5.22.0",
|
|
84
84
|
"@number-flow/react": "^0.5.5",
|
|
85
85
|
"@privy-io/js-sdk-core": "^0.21.0",
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
"ua-parser-js": "^1.0.37",
|
|
99
99
|
"use-debounce": "^10.0.5",
|
|
100
100
|
"uuid": "^9.0.1",
|
|
101
|
-
"@funkit/api-base": "1.12.
|
|
102
|
-
"@funkit/chains": "0.4.
|
|
103
|
-
"@funkit/core": "2.3.
|
|
104
|
-
"@funkit/fun-relay": "2.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
105
|
"@funkit/utils": "1.1.17",
|
|
106
|
-
"@funkit/wagmi-tools": "3.0.
|
|
106
|
+
"@funkit/wagmi-tools": "3.0.84"
|
|
107
107
|
},
|
|
108
108
|
"repository": {
|
|
109
109
|
"type": "git",
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare function useCheckoutAccountBalanceTransfer(): {
|
|
2
|
-
generateCheckoutTransferOpItems: (toAddress: string, tokenAmount: number | string) => Promise<{
|
|
3
|
-
rFunWallet: import("@funkit/core").FunWallet;
|
|
4
|
-
rFunWalletAuth: import("@funkit/core").Auth;
|
|
5
|
-
transferOp: import("@funkit/core").Operation;
|
|
6
|
-
envConfig: {
|
|
7
|
-
chain: string;
|
|
8
|
-
gasSponsor: {
|
|
9
|
-
useCheckoutSponsor: boolean;
|
|
10
|
-
sponsorAddress: any;
|
|
11
|
-
token?: string;
|
|
12
|
-
usePermit?: boolean;
|
|
13
|
-
};
|
|
14
|
-
bypassInit: boolean;
|
|
15
|
-
apiKey?: string;
|
|
16
|
-
nonce?: bigint | undefined;
|
|
17
|
-
fee?: {
|
|
18
|
-
token?: string;
|
|
19
|
-
amount?: number;
|
|
20
|
-
gasPercent?: number;
|
|
21
|
-
recipient: import("viem").Address;
|
|
22
|
-
} | undefined;
|
|
23
|
-
skipDBAction?: boolean | undefined;
|
|
24
|
-
logger?: import("@funkit/api-base").Logger | undefined;
|
|
25
|
-
};
|
|
26
|
-
} | {
|
|
27
|
-
rFunWallet: null;
|
|
28
|
-
rFunWalletAuth: null;
|
|
29
|
-
transferOp: null;
|
|
30
|
-
envConfig: null;
|
|
31
|
-
}>;
|
|
32
|
-
};
|
|
@@ -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";
|