@funkit/connect 9.3.0 → 9.3.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 +25 -0
- package/dist/{chunk-FHIMKOGH.js → chunk-AGBRSMZ7.js} +5 -3
- package/dist/{chunk-TWG76V3I.js → chunk-MXNOQTKX.js} +11 -3
- package/dist/{chunk-NKJYA7IM.js → chunk-RHUOOPDI.js} +5 -3
- package/dist/clients/fanatics.css +4527 -4327
- package/dist/clients/fanatics.d.ts +5 -0
- package/dist/clients/fanatics.js +14 -3
- package/dist/components/Box/Box.d.ts +38 -38
- package/dist/components/Dropdown/BaseDropdown.css.d.ts +2 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +10 -0
- package/dist/css/sprinkles.css.d.ts +84 -52
- package/dist/domains/asset.d.ts +8 -3
- package/dist/hooks/track/CheckoutModalEvent.d.ts +3 -1
- package/dist/index.css +4565 -4339
- package/dist/index.js +1966 -1753
- package/dist/modals/CheckoutModal/SelectAsset/SelectAssetList.d.ts +1 -1
- package/dist/providers/FunkitConfigContext.d.ts +7 -0
- package/dist/providers/FunkitThemeProvider.d.ts +69 -21
- package/dist/providers/SwappedProvider.d.ts +3 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/swapped.d.ts +5 -2
- package/dist/wallets/walletConnectors/index.js +35 -35
- package/package.json +5 -4
|
@@ -87,6 +87,8 @@ export interface FunkitUiCustomizationsConfig {
|
|
|
87
87
|
alignTitle?: 'left' | 'center';
|
|
88
88
|
/** Always shows checkout modal top divider even if content cannot scroll - defaults to `false` */
|
|
89
89
|
alwaysShowTopDivider?: boolean;
|
|
90
|
+
/** Whether to show modal title in topbars - defaults to true */
|
|
91
|
+
showModalTitle?: boolean;
|
|
90
92
|
/** Whether to show CTA in uppercase - defaults to false */
|
|
91
93
|
callToActionsUppercase?: boolean;
|
|
92
94
|
/** Whether to enable compact list style for option boxes - defaults to false */
|
|
@@ -152,6 +154,10 @@ export interface FunkitUiCustomizationsConfig {
|
|
|
152
154
|
/** Function that returns a custom React component to render before other UIs in the transfer crypto screen */
|
|
153
155
|
customTopComponent?: () => ReactNode;
|
|
154
156
|
};
|
|
157
|
+
withdrawalScreen?: {
|
|
158
|
+
/** Function that returns a custom React component to render before other UIs in the withdrawal amount screen */
|
|
159
|
+
customTopComponent?: () => ReactNode;
|
|
160
|
+
};
|
|
155
161
|
selectBrokerageScreen?: {
|
|
156
162
|
/** Function that returns a custom React component to render before other UIs in the select brokerage screen */
|
|
157
163
|
customTopComponent?: () => ReactNode;
|
|
@@ -217,6 +223,7 @@ export type FunkitUiCustomizationsConfigInternal = Required<FunkitUiCustomizatio
|
|
|
217
223
|
inputAmountScreen: Required<FunkitUiCustomizationsConfig['inputAmountScreen'] & {}>;
|
|
218
224
|
selectAssetScreen: RequiredExceptCustomComponents<FunkitUiCustomizationsConfig['selectAssetScreen']>;
|
|
219
225
|
transferCryptoScreen: RequiredExceptCustomComponents<FunkitUiCustomizationsConfig['transferCryptoScreen']>;
|
|
226
|
+
withdrawalScreen: RequiredExceptCustomComponents<FunkitUiCustomizationsConfig['withdrawalScreen']>;
|
|
220
227
|
selectBrokerageScreen: RequiredExceptCustomComponents<FunkitUiCustomizationsConfig['selectBrokerageScreen']>;
|
|
221
228
|
connectExchangeScreen: RequiredExceptCustomComponents<FunkitUiCustomizationsConfig['connectExchangeScreen']>;
|
|
222
229
|
sourceChangeScreen: RequiredExceptCustomComponents<FunkitUiCustomizationsConfig['sourceChangeScreen']> & {
|
|
@@ -145,7 +145,6 @@ export declare const useActiveTheme: () => {
|
|
|
145
145
|
selectedDropdownItemBackground: string;
|
|
146
146
|
alwaysVisibleLabelBackgroundHover: string;
|
|
147
147
|
selectedDropdownItemText: string;
|
|
148
|
-
dropdownLabelColor: string;
|
|
149
148
|
copyButtonBackgroundBase: string;
|
|
150
149
|
copyButtonBackgroundHover: string;
|
|
151
150
|
copyButtonBackgroundActive: string;
|
|
@@ -164,6 +163,9 @@ export declare const useActiveTheme: () => {
|
|
|
164
163
|
counterRingColor: string;
|
|
165
164
|
cryptoCashToggleContainerBorderColor: string;
|
|
166
165
|
cryptoCashToggleBackground: string;
|
|
166
|
+
withdrawalYouWillReceiveLabel: string;
|
|
167
|
+
withdrawalYouWillReceiveValueCrypto: string;
|
|
168
|
+
withdrawalYouWillReceiveValueUsd: string;
|
|
167
169
|
};
|
|
168
170
|
dimensions: {
|
|
169
171
|
connectExchangeIconSize: string;
|
|
@@ -206,20 +208,24 @@ export declare const useActiveTheme: () => {
|
|
|
206
208
|
heavy: string;
|
|
207
209
|
cryptoCashToggle: string;
|
|
208
210
|
inputAmount: string;
|
|
211
|
+
inputLabel: string;
|
|
212
|
+
inputValue: string;
|
|
209
213
|
modalTopbarTitle: string;
|
|
210
214
|
modalBottomBarButtonText: string;
|
|
211
215
|
paymentMethodItemSubtitle: string;
|
|
212
216
|
paymentMethodItemTitle: string;
|
|
213
217
|
selectAssetItemSubtitle: string;
|
|
214
218
|
selectAssetItemTitle: string;
|
|
215
|
-
|
|
219
|
+
sourceListSectionLabelFontWeight: string;
|
|
216
220
|
txBreakdown: string;
|
|
217
221
|
txStatusDescription: string;
|
|
218
222
|
txStatusTitle: string;
|
|
219
223
|
txSummaryLabel: string;
|
|
220
224
|
txSummaryValue: string;
|
|
221
|
-
sourceListSectionLabelFontWeight: string;
|
|
222
225
|
formOfPaymentsListSectionLabelFontWeight: string;
|
|
226
|
+
withdrawalYouWillReceiveLabel: string;
|
|
227
|
+
withdrawalYouWillReceiveValueCrypto: string;
|
|
228
|
+
withdrawalYouWillReceiveValueUsd: string;
|
|
223
229
|
};
|
|
224
230
|
fontSize: {
|
|
225
231
|
'10': {
|
|
@@ -298,6 +304,14 @@ export declare const useActiveTheme: () => {
|
|
|
298
304
|
fontSize: string;
|
|
299
305
|
lineHeight: string;
|
|
300
306
|
};
|
|
307
|
+
inputLabel: {
|
|
308
|
+
fontSize: string;
|
|
309
|
+
lineHeight: string;
|
|
310
|
+
};
|
|
311
|
+
inputValue: {
|
|
312
|
+
fontSize: string;
|
|
313
|
+
lineHeight: string;
|
|
314
|
+
};
|
|
301
315
|
modalTopbarSubtitle: {
|
|
302
316
|
fontSize: string;
|
|
303
317
|
lineHeight: string;
|
|
@@ -346,15 +360,15 @@ export declare const useActiveTheme: () => {
|
|
|
346
360
|
fontSize: string;
|
|
347
361
|
lineHeight: string;
|
|
348
362
|
};
|
|
349
|
-
|
|
363
|
+
withdrawalYouWillReceive: {
|
|
350
364
|
fontSize: string;
|
|
351
365
|
lineHeight: string;
|
|
352
366
|
};
|
|
353
|
-
|
|
367
|
+
youPayYouReceivePrimaryFontSize: {
|
|
354
368
|
fontSize: string;
|
|
355
369
|
lineHeight: string;
|
|
356
370
|
};
|
|
357
|
-
|
|
371
|
+
youPayYouReceiveSecondaryFontSize: {
|
|
358
372
|
fontSize: string;
|
|
359
373
|
lineHeight: string;
|
|
360
374
|
};
|
|
@@ -449,16 +463,17 @@ export declare const useActiveTheme: () => {
|
|
|
449
463
|
cryptoCashToggleMarginTop: string;
|
|
450
464
|
cryptoCashToggleTabPaddingY: string;
|
|
451
465
|
modalBaseHorizontalPadding: string;
|
|
466
|
+
modalBottomBarButtonPaddingY: string;
|
|
452
467
|
modalBottomHorizontalPadding: string;
|
|
453
468
|
modalPaddingBottomUpper: string;
|
|
454
469
|
modalPaddingBottomLower: string;
|
|
455
470
|
modalTopBarVerticalTextSpacing: string;
|
|
456
|
-
modalBottomBarButtonPaddingY: string;
|
|
457
471
|
selectAssetItemPaddingX: string;
|
|
458
472
|
selectAssetItemPaddingY: string;
|
|
459
473
|
selectAssetItemTextGap: string;
|
|
460
474
|
selectBrokerageItemPaddingX: string;
|
|
461
475
|
selectBrokerageItemPaddingY: string;
|
|
476
|
+
selectBrokerageListGap: string;
|
|
462
477
|
txBreakdownMarginY: string;
|
|
463
478
|
txBreakdownPaddingX: string;
|
|
464
479
|
txSummaryBoxPaddingX: string;
|
|
@@ -467,6 +482,7 @@ export declare const useActiveTheme: () => {
|
|
|
467
482
|
txSummaryDividerMarginX: string;
|
|
468
483
|
txSummaryDividerMarginY: string;
|
|
469
484
|
verticalSectionGap: string;
|
|
485
|
+
withdrawalModalPaddingTop: string;
|
|
470
486
|
youPayYouReceivePaddingLeft: string;
|
|
471
487
|
youPayYouReceivePaddingRight: string;
|
|
472
488
|
youPayYouReceivePaddingY: string;
|
|
@@ -619,7 +635,6 @@ export declare const useActiveTheme: () => {
|
|
|
619
635
|
selectedDropdownItemBackground: string;
|
|
620
636
|
alwaysVisibleLabelBackgroundHover: string;
|
|
621
637
|
selectedDropdownItemText: string;
|
|
622
|
-
dropdownLabelColor: string;
|
|
623
638
|
copyButtonBackgroundBase: string;
|
|
624
639
|
copyButtonBackgroundHover: string;
|
|
625
640
|
copyButtonBackgroundActive: string;
|
|
@@ -638,6 +653,9 @@ export declare const useActiveTheme: () => {
|
|
|
638
653
|
counterRingColor: string;
|
|
639
654
|
cryptoCashToggleContainerBorderColor: string;
|
|
640
655
|
cryptoCashToggleBackground: string;
|
|
656
|
+
withdrawalYouWillReceiveLabel: string;
|
|
657
|
+
withdrawalYouWillReceiveValueCrypto: string;
|
|
658
|
+
withdrawalYouWillReceiveValueUsd: string;
|
|
641
659
|
};
|
|
642
660
|
dimensions: {
|
|
643
661
|
connectExchangeIconSize: string;
|
|
@@ -680,20 +698,24 @@ export declare const useActiveTheme: () => {
|
|
|
680
698
|
heavy: string;
|
|
681
699
|
cryptoCashToggle: string;
|
|
682
700
|
inputAmount: string;
|
|
701
|
+
inputLabel: string;
|
|
702
|
+
inputValue: string;
|
|
683
703
|
modalTopbarTitle: string;
|
|
684
704
|
modalBottomBarButtonText: string;
|
|
685
705
|
paymentMethodItemSubtitle: string;
|
|
686
706
|
paymentMethodItemTitle: string;
|
|
687
707
|
selectAssetItemSubtitle: string;
|
|
688
708
|
selectAssetItemTitle: string;
|
|
689
|
-
|
|
709
|
+
sourceListSectionLabelFontWeight: string;
|
|
690
710
|
txBreakdown: string;
|
|
691
711
|
txStatusDescription: string;
|
|
692
712
|
txStatusTitle: string;
|
|
693
713
|
txSummaryLabel: string;
|
|
694
714
|
txSummaryValue: string;
|
|
695
|
-
sourceListSectionLabelFontWeight: string;
|
|
696
715
|
formOfPaymentsListSectionLabelFontWeight: string;
|
|
716
|
+
withdrawalYouWillReceiveLabel: string;
|
|
717
|
+
withdrawalYouWillReceiveValueCrypto: string;
|
|
718
|
+
withdrawalYouWillReceiveValueUsd: string;
|
|
697
719
|
};
|
|
698
720
|
fontSize: {
|
|
699
721
|
'10': {
|
|
@@ -772,6 +794,14 @@ export declare const useActiveTheme: () => {
|
|
|
772
794
|
fontSize: string;
|
|
773
795
|
lineHeight: string;
|
|
774
796
|
};
|
|
797
|
+
inputLabel: {
|
|
798
|
+
fontSize: string;
|
|
799
|
+
lineHeight: string;
|
|
800
|
+
};
|
|
801
|
+
inputValue: {
|
|
802
|
+
fontSize: string;
|
|
803
|
+
lineHeight: string;
|
|
804
|
+
};
|
|
775
805
|
modalTopbarSubtitle: {
|
|
776
806
|
fontSize: string;
|
|
777
807
|
lineHeight: string;
|
|
@@ -820,15 +850,15 @@ export declare const useActiveTheme: () => {
|
|
|
820
850
|
fontSize: string;
|
|
821
851
|
lineHeight: string;
|
|
822
852
|
};
|
|
823
|
-
|
|
853
|
+
withdrawalYouWillReceive: {
|
|
824
854
|
fontSize: string;
|
|
825
855
|
lineHeight: string;
|
|
826
856
|
};
|
|
827
|
-
|
|
857
|
+
youPayYouReceivePrimaryFontSize: {
|
|
828
858
|
fontSize: string;
|
|
829
859
|
lineHeight: string;
|
|
830
860
|
};
|
|
831
|
-
|
|
861
|
+
youPayYouReceiveSecondaryFontSize: {
|
|
832
862
|
fontSize: string;
|
|
833
863
|
lineHeight: string;
|
|
834
864
|
};
|
|
@@ -923,16 +953,17 @@ export declare const useActiveTheme: () => {
|
|
|
923
953
|
cryptoCashToggleMarginTop: string;
|
|
924
954
|
cryptoCashToggleTabPaddingY: string;
|
|
925
955
|
modalBaseHorizontalPadding: string;
|
|
956
|
+
modalBottomBarButtonPaddingY: string;
|
|
926
957
|
modalBottomHorizontalPadding: string;
|
|
927
958
|
modalPaddingBottomUpper: string;
|
|
928
959
|
modalPaddingBottomLower: string;
|
|
929
960
|
modalTopBarVerticalTextSpacing: string;
|
|
930
|
-
modalBottomBarButtonPaddingY: string;
|
|
931
961
|
selectAssetItemPaddingX: string;
|
|
932
962
|
selectAssetItemPaddingY: string;
|
|
933
963
|
selectAssetItemTextGap: string;
|
|
934
964
|
selectBrokerageItemPaddingX: string;
|
|
935
965
|
selectBrokerageItemPaddingY: string;
|
|
966
|
+
selectBrokerageListGap: string;
|
|
936
967
|
txBreakdownMarginY: string;
|
|
937
968
|
txBreakdownPaddingX: string;
|
|
938
969
|
txSummaryBoxPaddingX: string;
|
|
@@ -941,6 +972,7 @@ export declare const useActiveTheme: () => {
|
|
|
941
972
|
txSummaryDividerMarginX: string;
|
|
942
973
|
txSummaryDividerMarginY: string;
|
|
943
974
|
verticalSectionGap: string;
|
|
975
|
+
withdrawalModalPaddingTop: string;
|
|
944
976
|
youPayYouReceivePaddingLeft: string;
|
|
945
977
|
youPayYouReceivePaddingRight: string;
|
|
946
978
|
youPayYouReceivePaddingY: string;
|
|
@@ -1091,7 +1123,6 @@ export declare const useActiveTheme: () => {
|
|
|
1091
1123
|
selectedDropdownItemBackground: string;
|
|
1092
1124
|
alwaysVisibleLabelBackgroundHover: string;
|
|
1093
1125
|
selectedDropdownItemText: string;
|
|
1094
|
-
dropdownLabelColor: string;
|
|
1095
1126
|
copyButtonBackgroundBase: string;
|
|
1096
1127
|
copyButtonBackgroundHover: string;
|
|
1097
1128
|
copyButtonBackgroundActive: string;
|
|
@@ -1110,6 +1141,9 @@ export declare const useActiveTheme: () => {
|
|
|
1110
1141
|
counterRingColor: string;
|
|
1111
1142
|
cryptoCashToggleContainerBorderColor: string;
|
|
1112
1143
|
cryptoCashToggleBackground: string;
|
|
1144
|
+
withdrawalYouWillReceiveLabel: string;
|
|
1145
|
+
withdrawalYouWillReceiveValueCrypto: string;
|
|
1146
|
+
withdrawalYouWillReceiveValueUsd: string;
|
|
1113
1147
|
};
|
|
1114
1148
|
dimensions: {
|
|
1115
1149
|
connectExchangeIconSize: string;
|
|
@@ -1152,20 +1186,24 @@ export declare const useActiveTheme: () => {
|
|
|
1152
1186
|
heavy: string;
|
|
1153
1187
|
cryptoCashToggle: string;
|
|
1154
1188
|
inputAmount: string;
|
|
1189
|
+
inputLabel: string;
|
|
1190
|
+
inputValue: string;
|
|
1155
1191
|
modalTopbarTitle: string;
|
|
1156
1192
|
modalBottomBarButtonText: string;
|
|
1157
1193
|
paymentMethodItemSubtitle: string;
|
|
1158
1194
|
paymentMethodItemTitle: string;
|
|
1159
1195
|
selectAssetItemSubtitle: string;
|
|
1160
1196
|
selectAssetItemTitle: string;
|
|
1161
|
-
|
|
1197
|
+
sourceListSectionLabelFontWeight: string;
|
|
1162
1198
|
txBreakdown: string;
|
|
1163
1199
|
txStatusDescription: string;
|
|
1164
1200
|
txStatusTitle: string;
|
|
1165
1201
|
txSummaryLabel: string;
|
|
1166
1202
|
txSummaryValue: string;
|
|
1167
|
-
sourceListSectionLabelFontWeight: string;
|
|
1168
1203
|
formOfPaymentsListSectionLabelFontWeight: string;
|
|
1204
|
+
withdrawalYouWillReceiveLabel: string;
|
|
1205
|
+
withdrawalYouWillReceiveValueCrypto: string;
|
|
1206
|
+
withdrawalYouWillReceiveValueUsd: string;
|
|
1169
1207
|
};
|
|
1170
1208
|
fontSize: {
|
|
1171
1209
|
'10': {
|
|
@@ -1244,6 +1282,14 @@ export declare const useActiveTheme: () => {
|
|
|
1244
1282
|
fontSize: string;
|
|
1245
1283
|
lineHeight: string;
|
|
1246
1284
|
};
|
|
1285
|
+
inputLabel: {
|
|
1286
|
+
fontSize: string;
|
|
1287
|
+
lineHeight: string;
|
|
1288
|
+
};
|
|
1289
|
+
inputValue: {
|
|
1290
|
+
fontSize: string;
|
|
1291
|
+
lineHeight: string;
|
|
1292
|
+
};
|
|
1247
1293
|
modalTopbarSubtitle: {
|
|
1248
1294
|
fontSize: string;
|
|
1249
1295
|
lineHeight: string;
|
|
@@ -1292,15 +1338,15 @@ export declare const useActiveTheme: () => {
|
|
|
1292
1338
|
fontSize: string;
|
|
1293
1339
|
lineHeight: string;
|
|
1294
1340
|
};
|
|
1295
|
-
|
|
1341
|
+
withdrawalYouWillReceive: {
|
|
1296
1342
|
fontSize: string;
|
|
1297
1343
|
lineHeight: string;
|
|
1298
1344
|
};
|
|
1299
|
-
|
|
1345
|
+
youPayYouReceivePrimaryFontSize: {
|
|
1300
1346
|
fontSize: string;
|
|
1301
1347
|
lineHeight: string;
|
|
1302
1348
|
};
|
|
1303
|
-
|
|
1349
|
+
youPayYouReceiveSecondaryFontSize: {
|
|
1304
1350
|
fontSize: string;
|
|
1305
1351
|
lineHeight: string;
|
|
1306
1352
|
};
|
|
@@ -1395,16 +1441,17 @@ export declare const useActiveTheme: () => {
|
|
|
1395
1441
|
cryptoCashToggleMarginTop: string;
|
|
1396
1442
|
cryptoCashToggleTabPaddingY: string;
|
|
1397
1443
|
modalBaseHorizontalPadding: string;
|
|
1444
|
+
modalBottomBarButtonPaddingY: string;
|
|
1398
1445
|
modalBottomHorizontalPadding: string;
|
|
1399
1446
|
modalPaddingBottomUpper: string;
|
|
1400
1447
|
modalPaddingBottomLower: string;
|
|
1401
1448
|
modalTopBarVerticalTextSpacing: string;
|
|
1402
|
-
modalBottomBarButtonPaddingY: string;
|
|
1403
1449
|
selectAssetItemPaddingX: string;
|
|
1404
1450
|
selectAssetItemPaddingY: string;
|
|
1405
1451
|
selectAssetItemTextGap: string;
|
|
1406
1452
|
selectBrokerageItemPaddingX: string;
|
|
1407
1453
|
selectBrokerageItemPaddingY: string;
|
|
1454
|
+
selectBrokerageListGap: string;
|
|
1408
1455
|
txBreakdownMarginY: string;
|
|
1409
1456
|
txBreakdownPaddingX: string;
|
|
1410
1457
|
txSummaryBoxPaddingX: string;
|
|
@@ -1413,6 +1460,7 @@ export declare const useActiveTheme: () => {
|
|
|
1413
1460
|
txSummaryDividerMarginX: string;
|
|
1414
1461
|
txSummaryDividerMarginY: string;
|
|
1415
1462
|
verticalSectionGap: string;
|
|
1463
|
+
withdrawalModalPaddingTop: string;
|
|
1416
1464
|
youPayYouReceivePaddingLeft: string;
|
|
1417
1465
|
youPayYouReceivePaddingRight: string;
|
|
1418
1466
|
youPayYouReceivePaddingY: string;
|
|
@@ -6,8 +6,10 @@ export interface SwappedIframeCallbacks {
|
|
|
6
6
|
onBack: () => void;
|
|
7
7
|
onExit: () => void;
|
|
8
8
|
onNewDeposit: () => void;
|
|
9
|
-
onError: (
|
|
9
|
+
onError: (data: Record<string, unknown>) => void;
|
|
10
10
|
onNavigation: (step: string) => void;
|
|
11
|
+
onOrderData: (data: Record<string, unknown>) => void;
|
|
12
|
+
onLogout: () => void;
|
|
11
13
|
}
|
|
12
14
|
interface SwappedContextValue {
|
|
13
15
|
iframeUrl: string | null;
|
package/dist/themes/baseTheme.js
CHANGED
package/dist/themes/darkTheme.js
CHANGED
package/dist/utils/swapped.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type SavedFormOfPayment, type SwappedFormOfPayment } from '@funkit/api-base';
|
|
2
2
|
import type { ThemeVars } from '../css/sprinkles.css';
|
|
3
|
-
import type { ThemeColorScheme } from '../providers/FunkitThemeProvider';
|
|
4
3
|
/**
|
|
5
4
|
* Ref: https://www.notion.so/Fun-Parameter-Styling-Guide-312966ea6e398011bbc6c14e976e281d#63dcdd77ea2d488084a980cda4c63d08
|
|
6
5
|
*/
|
|
@@ -28,6 +27,10 @@ export interface SwappedTheme {
|
|
|
28
27
|
boxPaddingX?: string;
|
|
29
28
|
paymentMethodLightLogos?: boolean;
|
|
30
29
|
}
|
|
30
|
+
export declare const SWAPPED_CARD_BRANDS: Record<string, {
|
|
31
|
+
displayName: string;
|
|
32
|
+
iconImageUrl: string;
|
|
33
|
+
}>;
|
|
31
34
|
export declare const isSavedFormOfPaymentType: (fop: SwappedFormOfPayment) => fop is SavedFormOfPayment;
|
|
32
35
|
export declare const getSavedFormOfPaymentDisplayName: (fop: SavedFormOfPayment) => string;
|
|
33
36
|
export declare const getSavedFormOfPaymentIcon: (fop: SavedFormOfPayment) => string | undefined;
|
|
@@ -41,5 +44,5 @@ export declare function buildSwappedTheme(theme: ThemeVars & {
|
|
|
41
44
|
primary?: string;
|
|
42
45
|
secondary?: string;
|
|
43
46
|
};
|
|
44
|
-
},
|
|
47
|
+
}, isDarkMode: boolean): SwappedTheme;
|
|
45
48
|
export declare function buildSwappedThemeQueryParams(activeTheme: ThemeVars): Record<string, string>;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
zealWallet
|
|
4
|
-
} from "./chunk-HE2LMIPD.js";
|
|
5
2
|
import {
|
|
6
3
|
zerionWallet
|
|
7
4
|
} from "./chunk-TTHM3WUR.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
6
|
+
mewWallet
|
|
7
|
+
} from "./chunk-HKVDCVCG.js";
|
|
11
8
|
import {
|
|
12
9
|
talismanWallet
|
|
13
10
|
} from "./chunk-6MFOL6EB.js";
|
|
14
|
-
import {
|
|
15
|
-
tokenPocketWallet
|
|
16
|
-
} from "./chunk-4C7ER452.js";
|
|
17
11
|
import {
|
|
18
12
|
tokenaryWallet
|
|
19
13
|
} from "./chunk-34LO6Q7A.js";
|
|
@@ -30,8 +24,11 @@ import {
|
|
|
30
24
|
xdefiWallet
|
|
31
25
|
} from "./chunk-O7RSASRH.js";
|
|
32
26
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
27
|
+
zealWallet
|
|
28
|
+
} from "./chunk-HE2LMIPD.js";
|
|
29
|
+
import {
|
|
30
|
+
tokenPocketWallet
|
|
31
|
+
} from "./chunk-4C7ER452.js";
|
|
35
32
|
import {
|
|
36
33
|
rainbowWallet
|
|
37
34
|
} from "./chunk-GSHSWVEG.js";
|
|
@@ -53,39 +50,42 @@ import {
|
|
|
53
50
|
import {
|
|
54
51
|
subWallet
|
|
55
52
|
} from "./chunk-XBLHZICW.js";
|
|
53
|
+
import {
|
|
54
|
+
tahoWallet
|
|
55
|
+
} from "./chunk-4BMUFNMT.js";
|
|
56
56
|
import {
|
|
57
57
|
metaMaskWallet
|
|
58
58
|
} from "./chunk-HETS3KKI.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
60
|
+
okxWallet
|
|
61
|
+
} from "./chunk-LI6QY2B5.js";
|
|
62
62
|
import {
|
|
63
63
|
oktoWallet
|
|
64
64
|
} from "./chunk-BVX22N7L.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
66
|
+
oneInchWallet
|
|
67
|
+
} from "./chunk-RVWLP4IM.js";
|
|
68
68
|
import {
|
|
69
69
|
omniWallet
|
|
70
70
|
} from "./chunk-INNF7G5X.js";
|
|
71
|
-
import {
|
|
72
|
-
oneInchWallet
|
|
73
|
-
} from "./chunk-RVWLP4IM.js";
|
|
74
71
|
import {
|
|
75
72
|
oneKeyWallet
|
|
76
73
|
} from "./chunk-HE5J5T7X.js";
|
|
74
|
+
import {
|
|
75
|
+
rabbyWallet
|
|
76
|
+
} from "./chunk-WFNPWKU3.js";
|
|
77
77
|
import {
|
|
78
78
|
phantomWallet
|
|
79
79
|
} from "./chunk-XMNVOYSJ.js";
|
|
80
80
|
import {
|
|
81
81
|
foxWallet
|
|
82
82
|
} from "./chunk-53VYSPXK.js";
|
|
83
|
-
import {
|
|
84
|
-
frameWallet
|
|
85
|
-
} from "./chunk-WDTNOIMF.js";
|
|
86
83
|
import {
|
|
87
84
|
frontierWallet
|
|
88
85
|
} from "./chunk-CJJT7LMT.js";
|
|
86
|
+
import {
|
|
87
|
+
frameWallet
|
|
88
|
+
} from "./chunk-WDTNOIMF.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
91
|
} from "./chunk-7OARWILZ.js";
|
|
@@ -95,51 +95,51 @@ import {
|
|
|
95
95
|
import {
|
|
96
96
|
kresusWallet
|
|
97
97
|
} from "./chunk-G4V5B6YC.js";
|
|
98
|
-
import {
|
|
99
|
-
injectedWallet
|
|
100
|
-
} from "./chunk-W6MXINYY.js";
|
|
101
98
|
import {
|
|
102
99
|
ledgerWallet
|
|
103
100
|
} from "./chunk-WKCCLGHJ.js";
|
|
101
|
+
import {
|
|
102
|
+
injectedWallet
|
|
103
|
+
} from "./chunk-W6MXINYY.js";
|
|
104
104
|
import {
|
|
105
105
|
clvWallet
|
|
106
106
|
} from "./chunk-GVOQTORD.js";
|
|
107
|
-
import {
|
|
108
|
-
argentWallet
|
|
109
|
-
} from "./chunk-VUOAIUZE.js";
|
|
110
107
|
import {
|
|
111
108
|
coin98Wallet
|
|
112
109
|
} from "./chunk-6YO27XOM.js";
|
|
110
|
+
import {
|
|
111
|
+
bitverseWallet
|
|
112
|
+
} from "./chunk-GROWFRGP.js";
|
|
113
113
|
import {
|
|
114
114
|
coinbaseWallet
|
|
115
115
|
} from "./chunk-RZXMOPIV.js";
|
|
116
116
|
import {
|
|
117
117
|
coreWallet
|
|
118
118
|
} from "./chunk-GH4M6FTK.js";
|
|
119
|
-
import {
|
|
120
|
-
dawnWallet
|
|
121
|
-
} from "./chunk-TFVCCI2D.js";
|
|
122
119
|
import {
|
|
123
120
|
desigWallet
|
|
124
121
|
} from "./chunk-JYVLYSH3.js";
|
|
122
|
+
import {
|
|
123
|
+
dawnWallet
|
|
124
|
+
} from "./chunk-TFVCCI2D.js";
|
|
125
125
|
import {
|
|
126
126
|
enkryptWallet
|
|
127
127
|
} from "./chunk-W6TXXLCO.js";
|
|
128
|
+
import {
|
|
129
|
+
argentWallet
|
|
130
|
+
} from "./chunk-VUOAIUZE.js";
|
|
131
|
+
import {
|
|
132
|
+
bitgetWallet
|
|
133
|
+
} from "./chunk-HOPH3TQ3.js";
|
|
128
134
|
import {
|
|
129
135
|
bifrostWallet
|
|
130
136
|
} from "./chunk-EKJHJFRN.js";
|
|
131
137
|
import {
|
|
132
138
|
bitskiWallet
|
|
133
139
|
} from "./chunk-A7FNGC4A.js";
|
|
134
|
-
import {
|
|
135
|
-
bitverseWallet
|
|
136
|
-
} from "./chunk-GROWFRGP.js";
|
|
137
140
|
import {
|
|
138
141
|
bloomWallet
|
|
139
142
|
} from "./chunk-UB2SSFH7.js";
|
|
140
|
-
import {
|
|
141
|
-
bitgetWallet
|
|
142
|
-
} from "./chunk-HOPH3TQ3.js";
|
|
143
143
|
import {
|
|
144
144
|
braveWallet
|
|
145
145
|
} from "./chunk-ZRNBHLUU.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.2",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
"@bluvo/sdk-ts": "2.1.3",
|
|
86
86
|
"@datadog/browser-logs": "5.22.0",
|
|
87
87
|
"@number-flow/react": "^0.5.5",
|
|
88
|
+
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
88
89
|
"@radix-ui/react-tooltip": "^1.2.0",
|
|
89
90
|
"@solana/addresses": "^2.1.0",
|
|
90
91
|
"@statsig/react-bindings": "^3.25.4",
|
|
@@ -102,10 +103,10 @@
|
|
|
102
103
|
"ua-parser-js": "^1.0.37",
|
|
103
104
|
"use-debounce": "^10.0.5",
|
|
104
105
|
"uuid": "^9.0.1",
|
|
105
|
-
"@funkit/api-base": "3.0.
|
|
106
|
-
"@funkit/chains": "1.1.0",
|
|
106
|
+
"@funkit/api-base": "3.0.2",
|
|
107
107
|
"@funkit/fun-relay": "2.6.3",
|
|
108
|
-
"@funkit/utils": "1.2.4"
|
|
108
|
+
"@funkit/utils": "1.2.4",
|
|
109
|
+
"@funkit/chains": "1.1.0"
|
|
109
110
|
},
|
|
110
111
|
"repository": {
|
|
111
112
|
"type": "git",
|