@funkit/connect 10.1.0-next.0 → 10.1.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.
- package/CHANGELOG.md +21 -1
- package/dist/clients/{chunk-ETB2YYFT.js → chunk-2NBYHUIW.js} +1 -1
- package/dist/clients/{chunk-JNZY3GAA.js → chunk-E3USJY7A.js} +1 -1
- package/dist/clients/{chunk-HD4Y4NKC.js → chunk-QR64CUND.js} +6 -6
- package/dist/clients/fanatics.css +1 -1
- package/dist/clients/fanatics.js +2 -2
- package/dist/clients/lighter.css +29 -11
- package/dist/clients/lighter.js +3 -3
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +29 -11
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +4 -4
- package/dist/clients/polymarket/index.css +29 -11
- package/dist/clients/polymarket/index.js +5 -5
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +11 -1
- package/dist/index.css +29 -11
- package/dist/index.js +225 -189
- package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +3 -3
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframe.css.d.ts +1 -0
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +49 -49
- package/package.json +2 -2
- package/dist/clients/chunk-42XZD2Y3.js +0 -1112
- package/dist/clients/chunk-5UIZBNLC.js +0 -1175
- package/dist/clients/chunk-BO7AZVPG.js +0 -1112
- package/dist/clients/chunk-BUCJRBW7.js +0 -1472
- package/dist/clients/chunk-ME4OAQIY.js +0 -696
- package/dist/clients/chunk-PEVDOGEA.js +0 -109
- package/dist/clients/chunk-QIWGVVAW.js +0 -1113
- package/dist/clients/chunk-VJZW3MA3.js +0 -94
- package/dist/clients/chunk-WEETVC7U.js +0 -1113
- package/dist/clients/chunk-Y2KXVS36.js +0 -230
- package/dist/clients/polymarket/usePolymarketAccountBalances.d.ts +0 -66
- package/dist/hooks/useIsTokenWhitelisted.d.ts +0 -30
- package/dist/modals/CheckoutModal/buildRelayChains.d.ts +0 -12
- package/dist/providers/FunkitFlagsProvider.d.ts +0 -26
- package/dist/utils/flags/config.d.ts +0 -333
- package/dist/utils/flags/endpoint.d.ts +0 -22
- package/dist/utils/flags/hash.d.ts +0 -13
- package/dist/utils/flags/impl.d.ts +0 -10
- package/dist/utils/flags/types.d.ts +0 -49
- package/dist/wallets/walletConnectors/chunk-2VP2F6EK.js +0 -70
- package/dist/wallets/walletConnectors/chunk-4T6ZSRJF.js +0 -69
- package/dist/wallets/walletConnectors/chunk-6BW3HLBG.js +0 -96
- package/dist/wallets/walletConnectors/chunk-CCQV2ZET.js +0 -218
- package/dist/wallets/walletConnectors/chunk-CPI4TD43.js +0 -99
- package/dist/wallets/walletConnectors/chunk-F5XEEVG6.js +0 -98
- package/dist/wallets/walletConnectors/chunk-HNRB7KJU.js +0 -92
- package/dist/wallets/walletConnectors/chunk-HTHAK6XB.js +0 -93
- package/dist/wallets/walletConnectors/chunk-MIQTHJ6X.js +0 -66
- package/dist/wallets/walletConnectors/chunk-RB3HR4R2.js +0 -95
- package/dist/wallets/walletConnectors/chunk-RVOY537T.js +0 -100
- package/dist/wallets/walletConnectors/chunk-STVVP43G.js +0 -94
- package/dist/wallets/walletConnectors/chunk-UK7C2JXW.js +0 -87
- package/dist/wallets/walletConnectors/chunk-VAPGUPHO.js +0 -92
- package/dist/wallets/walletConnectors/chunk-VTM6EECM.js +0 -110
- package/dist/wallets/walletConnectors/chunk-X6CGV36L.js +0 -103
- package/dist/wallets/walletConnectors/chunk-YEZM4CK4.js +0 -96
- package/dist/wallets/walletConnectors/chunk-ZNX4EMPB.js +0 -106
- /package/dist/clients/{chunk-HMP3LHMW.js → chunk-LUHEVXPD.js} +0 -0
|
@@ -21,10 +21,10 @@ interface FormOfPaymentsListProps {
|
|
|
21
21
|
isDisabled?: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* Maps a FOP to its disclaimer-limit string. Defaults to the rounded deposit
|
|
24
|
-
* limit (getFopsLimit)
|
|
25
|
-
*
|
|
24
|
+
* limit (getFopsLimit). Return undefined to omit the limit and show only the
|
|
25
|
+
* processing time (the withdrawal off-ramp hides limits).
|
|
26
26
|
*/
|
|
27
|
-
getDisclaimerLimit?: (fop: SwappedFormOfPayment, exchangeRates: ExchangeRates | undefined) => string;
|
|
27
|
+
getDisclaimerLimit?: (fop: SwappedFormOfPayment, exchangeRates: ExchangeRates | undefined) => string | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* Withdrawal off-ramp only: balance is below the cash sell minimum, so every
|
|
30
30
|
* cash method is disabled with a "Low Balance" badge. A single flag is enough
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const scrollableIframeWrapper: string;
|
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ type ValidateCheckoutConfigReturn = Promise<{
|
|
|
27
27
|
* @param config - The checkout configuration to validate.
|
|
28
28
|
* @returns An object indicating whether the configuration is valid and a message if it is not.
|
|
29
29
|
*/
|
|
30
|
-
export declare function validateCheckoutConfig(config: Partial<FunkitCheckoutConfig
|
|
30
|
+
export declare function validateCheckoutConfig(config: Partial<FunkitCheckoutConfig>): ValidateCheckoutConfigReturn;
|
|
31
31
|
export declare const hasSufficientBalance: (wagmiConfig: UseConfigReturnType, walletAddress: string, tokenAddress: string, tokenChainId: string, requiredAssetAmount: number) => Promise<{
|
|
32
32
|
balance: number;
|
|
33
33
|
result: boolean;
|
|
@@ -6,68 +6,68 @@ import {
|
|
|
6
6
|
zerionWallet
|
|
7
7
|
} from "./chunk-SWFF3TWJ.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
tahoWallet
|
|
10
|
+
} from "./chunk-7ZYCBDQ4.js";
|
|
11
11
|
import {
|
|
12
12
|
talismanWallet
|
|
13
13
|
} from "./chunk-4DCO3TGL.js";
|
|
14
|
-
import {
|
|
15
|
-
tokenaryWallet
|
|
16
|
-
} from "./chunk-VH3THHJY.js";
|
|
17
14
|
import {
|
|
18
15
|
tokenPocketWallet
|
|
19
16
|
} from "./chunk-WKNQMP4A.js";
|
|
20
17
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
18
|
+
tokenaryWallet
|
|
19
|
+
} from "./chunk-VH3THHJY.js";
|
|
23
20
|
import {
|
|
24
21
|
trustWallet
|
|
25
22
|
} from "./chunk-KCRO2AGO.js";
|
|
26
23
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
uniswapWallet
|
|
25
|
+
} from "./chunk-Z3PPW6NC.js";
|
|
29
26
|
import {
|
|
30
27
|
walletConnectWallet
|
|
31
28
|
} from "./chunk-3FCWJRI4.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
30
|
+
xdefiWallet
|
|
31
|
+
} from "./chunk-JN5I3DNC.js";
|
|
35
32
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
33
|
+
rainbowWallet
|
|
34
|
+
} from "./chunk-W2LCLDPX.js";
|
|
38
35
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
36
|
+
kresusWallet
|
|
37
|
+
} from "./chunk-RICTB3FA.js";
|
|
38
|
+
import {
|
|
39
|
+
ramperWallet
|
|
40
|
+
} from "./chunk-OQB55QXP.js";
|
|
41
41
|
import {
|
|
42
42
|
roninWallet
|
|
43
43
|
} from "./chunk-YQFGVZGR.js";
|
|
44
|
+
import {
|
|
45
|
+
safeWallet
|
|
46
|
+
} from "./chunk-RCY66YHF.js";
|
|
44
47
|
import {
|
|
45
48
|
safeheronWallet
|
|
46
49
|
} from "./chunk-76S7R2ND.js";
|
|
47
50
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
ramperWallet
|
|
52
|
-
} from "./chunk-OQB55QXP.js";
|
|
51
|
+
safepalWallet
|
|
52
|
+
} from "./chunk-XCNHV3HS.js";
|
|
53
53
|
import {
|
|
54
54
|
subWallet
|
|
55
55
|
} from "./chunk-NR2OGDHQ.js";
|
|
56
|
-
import {
|
|
57
|
-
ledgerWallet
|
|
58
|
-
} from "./chunk-RPV27V2Y.js";
|
|
59
56
|
import {
|
|
60
57
|
metaMaskWallet
|
|
61
58
|
} from "./chunk-YO2K4MBH.js";
|
|
62
|
-
import {
|
|
63
|
-
okxWallet
|
|
64
|
-
} from "./chunk-KI5Y2BBF.js";
|
|
65
59
|
import {
|
|
66
60
|
oktoWallet
|
|
67
61
|
} from "./chunk-YWOVAU6O.js";
|
|
62
|
+
import {
|
|
63
|
+
okxWallet
|
|
64
|
+
} from "./chunk-KI5Y2BBF.js";
|
|
68
65
|
import {
|
|
69
66
|
omniWallet
|
|
70
67
|
} from "./chunk-2CX7LX4J.js";
|
|
68
|
+
import {
|
|
69
|
+
oneInchWallet
|
|
70
|
+
} from "./chunk-QG6ZHI7B.js";
|
|
71
71
|
import {
|
|
72
72
|
oneKeyWallet
|
|
73
73
|
} from "./chunk-WVT6BBJH.js";
|
|
@@ -75,8 +75,8 @@ import {
|
|
|
75
75
|
phantomWallet
|
|
76
76
|
} from "./chunk-QY53O7WG.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
78
|
+
rabbyWallet
|
|
79
|
+
} from "./chunk-RB66PKPA.js";
|
|
80
80
|
import {
|
|
81
81
|
foxWallet
|
|
82
82
|
} from "./chunk-GUQM4QSL.js";
|
|
@@ -84,38 +84,41 @@ import {
|
|
|
84
84
|
frameWallet
|
|
85
85
|
} from "./chunk-BU3ZAT5X.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-AVDUNQUW.js";
|
|
89
89
|
import {
|
|
90
90
|
imTokenWallet
|
|
91
91
|
} from "./chunk-WNAGGFMG.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
93
|
+
gateWallet
|
|
94
|
+
} from "./chunk-JPN6TWIT.js";
|
|
95
|
+
import {
|
|
96
|
+
ledgerWallet
|
|
97
|
+
} from "./chunk-RPV27V2Y.js";
|
|
95
98
|
import {
|
|
96
99
|
injectedWallet
|
|
97
100
|
} from "./chunk-T6LGKC3F.js";
|
|
98
|
-
import {
|
|
99
|
-
kresusWallet
|
|
100
|
-
} from "./chunk-RICTB3FA.js";
|
|
101
101
|
import {
|
|
102
102
|
mewWallet
|
|
103
103
|
} from "./chunk-MQM45ADF.js";
|
|
104
|
+
import {
|
|
105
|
+
clvWallet
|
|
106
|
+
} from "./chunk-OEEGYENV.js";
|
|
104
107
|
import {
|
|
105
108
|
bybitWallet
|
|
106
109
|
} from "./chunk-OX37G4YT.js";
|
|
110
|
+
import {
|
|
111
|
+
coin98Wallet
|
|
112
|
+
} from "./chunk-WAHGI5L7.js";
|
|
113
|
+
import {
|
|
114
|
+
coreWallet
|
|
115
|
+
} from "./chunk-4NV5BYRP.js";
|
|
107
116
|
import {
|
|
108
117
|
coinbaseWallet
|
|
109
118
|
} from "./chunk-2DLDAZRH.js";
|
|
110
|
-
import {
|
|
111
|
-
clvWallet
|
|
112
|
-
} from "./chunk-OEEGYENV.js";
|
|
113
119
|
import {
|
|
114
120
|
dawnWallet
|
|
115
121
|
} from "./chunk-G2PHTVL6.js";
|
|
116
|
-
import {
|
|
117
|
-
coreWallet
|
|
118
|
-
} from "./chunk-4NV5BYRP.js";
|
|
119
122
|
import {
|
|
120
123
|
desigWallet
|
|
121
124
|
} from "./chunk-FW3WZETT.js";
|
|
@@ -123,20 +126,17 @@ import {
|
|
|
123
126
|
enkryptWallet
|
|
124
127
|
} from "./chunk-HBQK5RD5.js";
|
|
125
128
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
129
|
+
bitgetWallet
|
|
130
|
+
} from "./chunk-TKB2OY6G.js";
|
|
128
131
|
import {
|
|
129
132
|
argentWallet
|
|
130
133
|
} from "./chunk-NTMBEOR2.js";
|
|
131
|
-
import {
|
|
132
|
-
bifrostWallet
|
|
133
|
-
} from "./chunk-IULPZP2Q.js";
|
|
134
|
-
import {
|
|
135
|
-
bitgetWallet
|
|
136
|
-
} from "./chunk-TKB2OY6G.js";
|
|
137
134
|
import {
|
|
138
135
|
bitskiWallet
|
|
139
136
|
} from "./chunk-7HRFUZFX.js";
|
|
137
|
+
import {
|
|
138
|
+
bifrostWallet
|
|
139
|
+
} from "./chunk-IULPZP2Q.js";
|
|
140
140
|
import {
|
|
141
141
|
bitverseWallet
|
|
142
142
|
} from "./chunk-NSK6A7TI.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.1",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"uuid": "^11.1.1",
|
|
112
112
|
"@funkit/api-base": "6.0.0",
|
|
113
113
|
"@funkit/chains": "2.1.3",
|
|
114
|
-
"@funkit/connect-core": "1.
|
|
114
|
+
"@funkit/connect-core": "1.7.0",
|
|
115
115
|
"@funkit/fun-relay": "2.9.0",
|
|
116
116
|
"@funkit/utils": "4.0.0"
|
|
117
117
|
},
|