@funkit/connect 12.21.0 → 12.22.0
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 +68 -0
- package/dist/clients/{chunk-FIJU6HZM.js → chunk-5JVG4MS2.js} +1 -1
- package/dist/clients/{chunk-YSQX5Z3F.js → chunk-HGLDKRSQ.js} +40 -8
- package/dist/clients/{chunk-6XJV626L.js → chunk-R7I5OO6C.js} +1 -1
- package/dist/clients/{chunk-DAMICUCH.js → chunk-UBZOARBX.js} +2 -2
- package/dist/clients/{chunk-MTKOZB6U.js → chunk-Y2O77SJO.js} +1 -1
- package/dist/clients/fanatics.js +2 -2
- package/dist/clients/internal/nado/withdrawalCallback.js +3 -3
- package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
- package/dist/clients/internal/nado/withdrawalForm.js +3 -3
- package/dist/clients/internal/nado/withdrawalStatus.js +3 -3
- package/dist/clients/lighter.css +32 -11
- package/dist/clients/lighter.js +3 -3
- package/dist/clients/mallard.d.ts +34 -1
- package/dist/clients/mallard.js +147 -2
- package/dist/clients/nado.js +3 -3
- package/dist/components/CustomSlot/CustomSlot.d.ts +8 -0
- package/dist/components/CustomSlot/CustomSlotBoundary.d.ts +12 -0
- package/dist/components/DestinationSelector/DestinationAssetBalanceLabel.d.ts +6 -0
- package/dist/components/DestinationSelector/DestinationSelector.css.d.ts +3 -0
- package/dist/components/DestinationSelector/DestinationSelector.d.ts +17 -0
- package/dist/components/DestinationSelector/DestinationSelectorSkeleton.d.ts +2 -0
- package/dist/components/Dropdown/AccountSelectDropdown.d.ts +8 -1
- package/dist/components/Dropdown/BaseDropdown.d.ts +3 -1
- package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +2 -0
- package/dist/components/FunTransactionSummary/DestinationLineItems.d.ts +1 -1
- package/dist/domains/asset.d.ts +6 -0
- package/dist/domains/clientMetadata.d.ts +5 -6
- package/dist/domains/convert/balances.d.ts +4 -2
- package/dist/domains/destinationAccount.d.ts +14 -0
- package/dist/domains/destinationAssetBalance.d.ts +39 -0
- package/dist/domains/fees.d.ts +13 -0
- package/dist/domains/inputAmountComponentContext.d.ts +11 -0
- package/dist/hooks/useConvertBalances.d.ts +3 -1
- package/dist/hooks/useDestinationAccountSelector.d.ts +18 -0
- package/dist/hooks/useDestinationAssetBalances.d.ts +5 -0
- package/dist/hooks/useHighPriceImpactPercent.d.ts +11 -0
- package/dist/index.css +32 -11
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2996 -2298
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +2 -1
- package/dist/modals/CheckoutModal/SourceChange/FlatList.d.ts +2 -8
- package/dist/modals/CheckoutModal/SourceChange/SourceList.d.ts +1 -2
- package/dist/modals/CheckoutModal/SourceChange/useSourceChangeLayout.d.ts +5 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +52 -11
- package/dist/providers/FunkitConfigContext.d.ts +24 -1
- package/dist/shadow-css.js +1 -1
- package/dist/utils/checkout.d.ts +1 -0
- package/dist/utils/consts.d.ts +1 -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 +59 -59
- 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 +7 -7
- package/dist/domains/priceImpact.d.ts +0 -14
- package/dist/modals/CheckoutModal/SourceChange/PayPal.d.ts +0 -2
- package/dist/wallets/walletConnectors/{chunk-CU5J53XR.js → chunk-53MYTA42.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZSSSLFQF.js → chunk-65ULY6OC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XODA5ESL.js → chunk-A5POD5SV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RXRYHMRI.js → chunk-ANODOMIN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IWOMSW64.js → chunk-ASTCNVJC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-U52QO5HF.js → chunk-F45CUFRR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YRMBR6NA.js → chunk-FYPQ3HP4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBDNB5TQ.js → chunk-IWPW26AL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4FHNLTR3.js → chunk-JJBLW4IU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NXWG6FG2.js → chunk-KE4CWI3A.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBB2J3US.js → chunk-MWB6LFSG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-34B7OJNT.js → chunk-OVDCDVFX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SR5CZR3L.js → chunk-PPQ6L4K2.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IA5432IR.js → chunk-RJF2YEZ5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RFCZYLNR.js → chunk-RQYEGJKL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TRZDAXCQ.js → chunk-TIHTQ3OB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ALGPGI6V.js → chunk-TM7UBV3Q.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HOCKAU5H.js → chunk-USLZMUJ3.js} +3 -3
package/dist/utils/checkout.d.ts
CHANGED
package/dist/utils/consts.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ export { MAX_BTC_LIGHTNING_AMOUNT_USD } from '@funkit/connect-core';
|
|
|
2
2
|
export declare const MIN_CHECKOUT_AMOUNT_USD = 1;
|
|
3
3
|
export declare const LOW_BALANCE = "Low Balance";
|
|
4
4
|
export declare const CONTACT_US_LINK = "https://intercom.help/funxyz/en/articles/10732578-contact-us";
|
|
5
|
+
export declare const DEPOSIT_UNDER_REVIEW_HELP_LINK = "https://intercom.help/funxyz/en/articles/17748226-why-is-my-deposit-under-review";
|
|
5
6
|
export declare const DEFAULT_CHECKOUT_HISTORY_DETAIL_TITLE = "Your Purchase";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-TM7UBV3Q.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-USLZMUJ3.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bybitWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-IWPW26AL.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
bybitWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
coin98Wallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-RQYEGJKL.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
coin98Wallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-ASTCNVJC.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
uniswapWallet
|
|
4
|
+
} from "./chunk-UNDWHCDH.js";
|
|
5
5
|
import {
|
|
6
6
|
zealWallet
|
|
7
7
|
} from "./chunk-GLX5FULK.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OVDCDVFX.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
talismanWallet
|
|
16
|
-
} from "./chunk-IAYYWCVB.js";
|
|
13
|
+
} from "./chunk-A5POD5SV.js";
|
|
17
14
|
import {
|
|
18
15
|
tahoWallet
|
|
19
16
|
} from "./chunk-U74RFZOL.js";
|
|
17
|
+
import {
|
|
18
|
+
talismanWallet
|
|
19
|
+
} from "./chunk-IAYYWCVB.js";
|
|
20
20
|
import {
|
|
21
21
|
tokenPocketWallet
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KE4CWI3A.js";
|
|
23
23
|
import {
|
|
24
24
|
tokenaryWallet
|
|
25
25
|
} from "./chunk-TPM5PUJD.js";
|
|
26
26
|
import {
|
|
27
27
|
trustWallet
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
uniswapWallet
|
|
31
|
-
} from "./chunk-UNDWHCDH.js";
|
|
28
|
+
} from "./chunk-PPQ6L4K2.js";
|
|
32
29
|
import {
|
|
33
30
|
walletConnectWallet
|
|
34
31
|
} from "./chunk-DUX4XCDV.js";
|
|
35
32
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
33
|
+
xdefiWallet
|
|
34
|
+
} from "./chunk-HXX4PRE2.js";
|
|
38
35
|
import {
|
|
39
36
|
rabbyWallet
|
|
40
37
|
} from "./chunk-RQ2GXOJL.js";
|
|
38
|
+
import {
|
|
39
|
+
oneKeyWallet
|
|
40
|
+
} from "./chunk-KN32ITJ7.js";
|
|
41
41
|
import {
|
|
42
42
|
rainbowWallet
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-65ULY6OC.js";
|
|
44
44
|
import {
|
|
45
45
|
ramperWallet
|
|
46
46
|
} from "./chunk-GPXIBTWN.js";
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
safeWallet
|
|
52
|
-
} from "./chunk-IR3PJMVM.js";
|
|
49
|
+
} from "./chunk-RJF2YEZ5.js";
|
|
53
50
|
import {
|
|
54
51
|
safeheronWallet
|
|
55
52
|
} from "./chunk-UN3ONVNC.js";
|
|
53
|
+
import {
|
|
54
|
+
safeWallet
|
|
55
|
+
} from "./chunk-IR3PJMVM.js";
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MWB6LFSG.js";
|
|
59
59
|
import {
|
|
60
60
|
ledgerWallet
|
|
61
61
|
} from "./chunk-BL4OC2EJ.js";
|
|
62
|
-
import {
|
|
63
|
-
metaMaskWallet
|
|
64
|
-
} from "./chunk-RXRYHMRI.js";
|
|
65
62
|
import {
|
|
66
63
|
mewWallet
|
|
67
64
|
} from "./chunk-DSPQXAB2.js";
|
|
65
|
+
import {
|
|
66
|
+
metaMaskWallet
|
|
67
|
+
} from "./chunk-ANODOMIN.js";
|
|
68
68
|
import {
|
|
69
69
|
oktoWallet
|
|
70
70
|
} from "./chunk-V4M3SNPS.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-53MYTA42.js";
|
|
74
74
|
import {
|
|
75
75
|
omniWallet
|
|
76
76
|
} from "./chunk-2TAUCVX7.js";
|
|
@@ -78,79 +78,79 @@ import {
|
|
|
78
78
|
oneInchWallet
|
|
79
79
|
} from "./chunk-GFS2AVAH.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import {
|
|
84
|
-
foxWallet
|
|
85
|
-
} from "./chunk-U52QO5HF.js";
|
|
81
|
+
phantomWallet
|
|
82
|
+
} from "./chunk-Q27YVDDH.js";
|
|
86
83
|
import {
|
|
87
84
|
enkryptWallet
|
|
88
85
|
} from "./chunk-Z6LDN2AN.js";
|
|
89
86
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-F45CUFRR.js";
|
|
89
|
+
import {
|
|
90
|
+
gateWallet
|
|
91
|
+
} from "./chunk-FYPQ3HP4.js";
|
|
92
92
|
import {
|
|
93
93
|
frontierWallet
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-ASTCNVJC.js";
|
|
95
95
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
96
|
+
frameWallet
|
|
97
|
+
} from "./chunk-B572YIAQ.js";
|
|
98
98
|
import {
|
|
99
99
|
imTokenWallet
|
|
100
100
|
} from "./chunk-YY2JA23M.js";
|
|
101
|
-
import {
|
|
102
|
-
injectedWallet
|
|
103
|
-
} from "./chunk-M75V7OL3.js";
|
|
104
101
|
import {
|
|
105
102
|
kresusWallet
|
|
106
103
|
} from "./chunk-V77ATGZT.js";
|
|
107
104
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
injectedWallet
|
|
106
|
+
} from "./chunk-M75V7OL3.js";
|
|
107
|
+
import {
|
|
108
|
+
braveWallet
|
|
109
|
+
} from "./chunk-U2XXV45G.js";
|
|
110
110
|
import {
|
|
111
111
|
clvWallet
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-JJBLW4IU.js";
|
|
113
113
|
import {
|
|
114
114
|
coin98Wallet
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import {
|
|
117
|
-
coinbaseWallet
|
|
118
|
-
} from "./chunk-SM2A3OSG.js";
|
|
119
|
-
import {
|
|
120
|
-
coreWallet
|
|
121
|
-
} from "./chunk-TRZDAXCQ.js";
|
|
115
|
+
} from "./chunk-RQYEGJKL.js";
|
|
122
116
|
import {
|
|
123
117
|
customWallet
|
|
124
118
|
} from "./chunk-VKM5M5UK.js";
|
|
119
|
+
import {
|
|
120
|
+
coinbaseWallet
|
|
121
|
+
} from "./chunk-SM2A3OSG.js";
|
|
125
122
|
import {
|
|
126
123
|
dawnWallet
|
|
127
124
|
} from "./chunk-LV6YV3DE.js";
|
|
125
|
+
import {
|
|
126
|
+
coreWallet
|
|
127
|
+
} from "./chunk-TIHTQ3OB.js";
|
|
128
128
|
import {
|
|
129
129
|
desigWallet
|
|
130
130
|
} from "./chunk-DFHP75HV.js";
|
|
131
|
-
import {
|
|
132
|
-
argentWallet
|
|
133
|
-
} from "./chunk-XSDTNMQY.js";
|
|
134
|
-
import {
|
|
135
|
-
bifrostWallet
|
|
136
|
-
} from "./chunk-ALGPGI6V.js";
|
|
137
|
-
import {
|
|
138
|
-
bitgetWallet
|
|
139
|
-
} from "./chunk-HOCKAU5H.js";
|
|
140
131
|
import {
|
|
141
132
|
bitskiWallet
|
|
142
133
|
} from "./chunk-NPITCCJE.js";
|
|
134
|
+
import {
|
|
135
|
+
argentWallet
|
|
136
|
+
} from "./chunk-XSDTNMQY.js";
|
|
143
137
|
import {
|
|
144
138
|
bitverseWallet
|
|
145
139
|
} from "./chunk-5AEWIKRA.js";
|
|
146
140
|
import {
|
|
147
141
|
bloomWallet
|
|
148
142
|
} from "./chunk-PNHDOC77.js";
|
|
149
|
-
import "./chunk-AALSJCUR.js";
|
|
150
143
|
import {
|
|
151
|
-
|
|
152
|
-
} from "./chunk-
|
|
144
|
+
bitgetWallet
|
|
145
|
+
} from "./chunk-USLZMUJ3.js";
|
|
146
|
+
import {
|
|
147
|
+
bifrostWallet
|
|
148
|
+
} from "./chunk-TM7UBV3Q.js";
|
|
149
|
+
import {
|
|
150
|
+
bybitWallet
|
|
151
|
+
} from "./chunk-IWPW26AL.js";
|
|
153
152
|
import "./chunk-EYWGX5LT.js";
|
|
153
|
+
import "./chunk-AALSJCUR.js";
|
|
154
154
|
import "./chunk-B454LLKJ.js";
|
|
155
155
|
export {
|
|
156
156
|
argentWallet,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-ANODOMIN.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-65ULY6OC.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
roninWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-RJF2YEZ5.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
roninWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
safepalWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-MWB6LFSG.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
safepalWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-KE4CWI3A.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-PPQ6L4K2.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-AALSJCUR.js";
|
|
4
|
+
} from "../chunk-OVDCDVFX.js";
|
|
6
5
|
import "../chunk-EYWGX5LT.js";
|
|
6
|
+
import "../chunk-AALSJCUR.js";
|
|
7
7
|
import "../chunk-B454LLKJ.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.22.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -104,6 +104,11 @@
|
|
|
104
104
|
"@bluvo/react": "3.0.0-beta.1",
|
|
105
105
|
"@bluvo/sdk-ts": "3.0.0-beta.1",
|
|
106
106
|
"@datadog/browser-logs": "5.22.0",
|
|
107
|
+
"@funkit/api-base": "10.1.0",
|
|
108
|
+
"@funkit/chains": "2.6.1",
|
|
109
|
+
"@funkit/connect-core": "13.0.0",
|
|
110
|
+
"@funkit/fun-relay": "3.3.1",
|
|
111
|
+
"@funkit/utils": "5.1.1",
|
|
107
112
|
"@number-flow/react": "^0.5.5",
|
|
108
113
|
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
109
114
|
"@radix-ui/react-tooltip": "^1.2.0",
|
|
@@ -123,12 +128,7 @@
|
|
|
123
128
|
"react-virtuoso": "4.10.1",
|
|
124
129
|
"ua-parser-js": "^1.0.37",
|
|
125
130
|
"use-debounce": "^10.0.5",
|
|
126
|
-
"uuid": "^11.1.1"
|
|
127
|
-
"@funkit/api-base": "10.0.0",
|
|
128
|
-
"@funkit/chains": "2.6.1",
|
|
129
|
-
"@funkit/fun-relay": "3.3.1",
|
|
130
|
-
"@funkit/connect-core": "12.0.0",
|
|
131
|
-
"@funkit/utils": "5.1.1"
|
|
131
|
+
"uuid": "^11.1.1"
|
|
132
132
|
},
|
|
133
133
|
"repository": {
|
|
134
134
|
"type": "git",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FeeBreakdownV2 } from '@funkit/api-base';
|
|
2
|
-
/**
|
|
3
|
-
* The quote's expected loss in percent, when it exceeds `thresholdPercent`;
|
|
4
|
-
* otherwise undefined.
|
|
5
|
-
*
|
|
6
|
-
* - Sums the rows checkout shows, price impact (swap impact plus app fee) and
|
|
7
|
-
* max slippage, counting a missing field as 0 as they do. `totalImpact` also
|
|
8
|
-
* counts up to 1.25% that the backend moves into the displayed exchange
|
|
9
|
-
* rate, so it can read higher than the rows.
|
|
10
|
-
* - Network cost is its own row and stays out, so a small deposit isn't
|
|
11
|
-
* flagged for gas.
|
|
12
|
-
* - Rounds to the two decimals the warning shows, so it never reads "5.00%".
|
|
13
|
-
*/
|
|
14
|
-
export declare function getHighPriceImpactPercent(feeBreakdown: Partial<Pick<FeeBreakdownV2, 'swapImpact' | 'appFeePercent' | 'maxSlippage'>> | undefined, thresholdPercent: number): number | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.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-AALSJCUR.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-EYWGX5LT.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-AALSJCUR.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/clvWallet/clvWallet.ts
|
|
11
11
|
var clvWallet = ({
|