@funkit/connect 6.15.11 → 6.15.13
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 +37 -0
- package/dist/{chunk-L3BEU75V.js → chunk-DN7UTQK5.js} +10 -2
- package/dist/{chunk-KG5Q63KL.js → chunk-OVMNR35O.js} +11 -3
- package/dist/{chunk-WCUXJAGT.js → chunk-RJAD5CZH.js} +14 -2
- package/dist/components/Box/Box.d.ts +30 -30
- package/dist/components/Icons/StatusIcons.css.d.ts +1 -1
- package/dist/consts/customers.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +76 -32
- package/dist/domains/asset.d.ts +1 -3
- package/dist/hooks/useCheckoutDirectExecutionHistory.d.ts +2 -1
- package/dist/hooks/useCheckoutTimeEstimate.d.ts +2 -2
- package/dist/hooks/usePaymentMethodIcon.d.ts +0 -1
- package/dist/index.css +3291 -3081
- package/dist/index.js +16514 -16784
- package/dist/modals/CheckoutModal/ConfirmationStep/CheckoutPrimaryInfo.d.ts +1 -1
- package/dist/providers/FunkitConfigContext.d.ts +28 -17
- package/dist/providers/FunkitThemeProvider.d.ts +69 -3
- package/dist/providers/GeneralWalletProvider.d.ts +0 -1
- package/dist/providers/provideFunkitConnectChains.d.ts +2 -7
- package/dist/themes/baseTheme.d.ts +1 -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/checkout.d.ts +1 -2
- package/dist/utils/flags/config.d.ts +11 -13
- package/dist/wallets/walletConnectors/index.js +17 -17
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
|
|
3
3
|
interface CheckoutPrimaryInfoProps {
|
|
4
|
-
showTokenAmount
|
|
4
|
+
showTokenAmount: boolean;
|
|
5
5
|
config: FunkitCheckoutConfig;
|
|
6
6
|
usdAmount?: number;
|
|
7
7
|
isLoading?: boolean;
|
|
@@ -26,39 +26,49 @@ export interface FunkitUiDestinationConfig {
|
|
|
26
26
|
url?: string;
|
|
27
27
|
}
|
|
28
28
|
export interface FunkitUiCustomizationsConfig {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
/** Title alignment - defaults to "center" */
|
|
30
|
+
alignTitle?: 'left' | 'center';
|
|
31
|
+
/** Whetehr to show CTA in uppercase - defaults to false */
|
|
32
|
+
callToActionsUppercase?: boolean;
|
|
33
33
|
confirmationScreen?: {
|
|
34
|
-
/** Whether to show the amount of tokens below the USD equivalent - defaults to true */
|
|
35
|
-
showTokenAmount?: boolean;
|
|
36
|
-
/** Whether to show the total payment amount in USD below the token amount equivalent. Defaults to false */
|
|
37
|
-
showPaymentAmountUsd?: boolean;
|
|
38
|
-
/** Whether to show the total receive amount in USD below the token amount equivalent. Defaults to false */
|
|
39
|
-
showReceiveAmountUsd?: boolean;
|
|
40
34
|
/** Custom destination icon and text used in checkout summary */
|
|
41
35
|
destinationConfig?: FunkitUiDestinationConfig;
|
|
42
|
-
/** when source and destination are the same address, show destination as payment method instead of source */
|
|
36
|
+
/** when source and destination are the same address, show destination as payment method instead of source - defaults to false */
|
|
43
37
|
preferDestinationWhenSame?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
/** Whether to show the total payment amount in USD below the token amount equivalent - defaults to false */
|
|
39
|
+
showPaymentAmountUsd?: boolean;
|
|
40
|
+
/** Whether to show the total receive amount in USD below the token amount equivalent - defaults to false */
|
|
41
|
+
showReceiveAmountUsd?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether and how to show transaction fee's digest.
|
|
44
|
+
* - "none": show nothing (default)
|
|
45
|
+
* - "chainDependent": show price impact and additionally show gas as well for eth-mainnet
|
|
46
|
+
*/
|
|
48
47
|
showTransactionDigest?: 'none' | 'chainDependent';
|
|
48
|
+
/** Whether to show the amount of tokens below the USD equivalent - defaults to true */
|
|
49
|
+
showTokenAmount?: boolean;
|
|
49
50
|
};
|
|
50
51
|
inputAmountScreen?: {
|
|
51
52
|
/** Whether to allow entering an amount of tokens, rather than only USD - defaults to true */
|
|
52
53
|
allowTokenAmountInput?: boolean;
|
|
53
54
|
};
|
|
55
|
+
selectAssetScreen?: {
|
|
56
|
+
/** Whether to show target asset selection menu if dynamicTargetAssetCandidates exist - defaults to false */
|
|
57
|
+
showTargetAssetSelection?: boolean;
|
|
58
|
+
};
|
|
54
59
|
transferCryptoScreen?: {
|
|
55
60
|
/** Whether to show the "You Send -> You Receive" block in the transfer crypto screen - defaults to false */
|
|
56
61
|
showYouSendYouReceive?: boolean;
|
|
57
62
|
};
|
|
58
|
-
callToActionsUppercase?: boolean;
|
|
59
|
-
alignTitle?: 'left' | 'center';
|
|
60
63
|
}
|
|
64
|
+
export type FunkitUiCustomizationsConfigInternal = Required<FunkitUiCustomizationsConfig> & {
|
|
65
|
+
confirmationScreen: FunkitUiCustomizationsConfig['confirmationScreen'] & Required<Omit<FunkitUiCustomizationsConfig['confirmationScreen'] & {}, 'destinationConfig'>>;
|
|
66
|
+
inputAmountScreen: Required<FunkitUiCustomizationsConfig['inputAmountScreen'] & {}>;
|
|
67
|
+
selectAssetScreen: Required<FunkitUiCustomizationsConfig['selectAssetScreen'] & {}>;
|
|
68
|
+
transferCryptoScreen: Required<FunkitUiCustomizationsConfig['transferCryptoScreen'] & {}>;
|
|
69
|
+
};
|
|
61
70
|
export declare const DEFAULT_TEXT_CUSTOMIZATIONS: FunkitTextCustomizationsConfig;
|
|
71
|
+
export declare const DEFAULT_UI_CUSTOMIZATIONS: FunkitUiCustomizationsConfigInternal;
|
|
62
72
|
interface FunkitLoginOptionsConfig {
|
|
63
73
|
web2: boolean;
|
|
64
74
|
web3: boolean;
|
|
@@ -87,6 +97,7 @@ export type FunkitConfig = {
|
|
|
87
97
|
};
|
|
88
98
|
interface FinalFunkitConfigInternal extends FunkitConfig {
|
|
89
99
|
textCustomizations: FunkitTextCustomizationsConfig;
|
|
100
|
+
uiCustomizations: FunkitUiCustomizationsConfigInternal;
|
|
90
101
|
loginConfig: FunkitLoginOptionsConfig;
|
|
91
102
|
}
|
|
92
103
|
export declare const FunkitConfigContext: import("react").Context<FunkitConfig>;
|
|
@@ -41,6 +41,7 @@ export declare const useActiveTheme: () => {
|
|
|
41
41
|
focusedOptionBorder: string;
|
|
42
42
|
standby: string;
|
|
43
43
|
success: string;
|
|
44
|
+
delayedStatusIcon: string;
|
|
44
45
|
chainIconBorder: string;
|
|
45
46
|
modalBackdrop: string;
|
|
46
47
|
modalBackground: string;
|
|
@@ -137,6 +138,9 @@ export declare const useActiveTheme: () => {
|
|
|
137
138
|
modalTopBarHeight: string;
|
|
138
139
|
};
|
|
139
140
|
fonts: {
|
|
141
|
+
buttonTextPrimary: string;
|
|
142
|
+
buttonTextSecondary: string;
|
|
143
|
+
buttonTextTertiary: string;
|
|
140
144
|
body: string;
|
|
141
145
|
};
|
|
142
146
|
fontWeight: {
|
|
@@ -189,6 +193,18 @@ export declare const useActiveTheme: () => {
|
|
|
189
193
|
fontSize: string;
|
|
190
194
|
lineHeight: string;
|
|
191
195
|
};
|
|
196
|
+
buttonTextPrimary: {
|
|
197
|
+
fontSize: string;
|
|
198
|
+
lineHeight: string;
|
|
199
|
+
};
|
|
200
|
+
buttonTextSecondary: {
|
|
201
|
+
fontSize: string;
|
|
202
|
+
lineHeight: string;
|
|
203
|
+
};
|
|
204
|
+
buttonTextTertiary: {
|
|
205
|
+
fontSize: string;
|
|
206
|
+
lineHeight: string;
|
|
207
|
+
};
|
|
192
208
|
modalTopbarSubtitle: {
|
|
193
209
|
fontSize: string;
|
|
194
210
|
lineHeight: string;
|
|
@@ -233,15 +249,21 @@ export declare const useActiveTheme: () => {
|
|
|
233
249
|
notification: string;
|
|
234
250
|
qrCode: string;
|
|
235
251
|
buttonShadow: string;
|
|
252
|
+
buttonShadowTertiary: string;
|
|
236
253
|
buttonFocusedShadow: string;
|
|
237
|
-
buttonHoverShadow: string;
|
|
238
254
|
buttonFocusedShadowTertiary: string;
|
|
255
|
+
buttonHoverShadow: string;
|
|
239
256
|
buttonHoverShadowTertiary: string;
|
|
240
257
|
buttonDisabledShadow: string;
|
|
258
|
+
buttonDisabledShadowTertiary: string;
|
|
241
259
|
buttonInnerShadow: string;
|
|
260
|
+
buttonInnerShadowTertiary: string;
|
|
242
261
|
buttonFocusedInnerShadow: string;
|
|
262
|
+
buttonFocusedInnerShadowTertiary: string;
|
|
243
263
|
buttonHoverInnerShadow: string;
|
|
264
|
+
buttonHoverInnerShadowTertiary: string;
|
|
244
265
|
buttonDisabledInnerShadow: string;
|
|
266
|
+
buttonDisabledInnerShadowTertiary: string;
|
|
245
267
|
selectedDropdownItem: string;
|
|
246
268
|
};
|
|
247
269
|
spacing: {
|
|
@@ -279,6 +301,7 @@ export declare const useActiveTheme: () => {
|
|
|
279
301
|
focusedOptionBorder: string;
|
|
280
302
|
standby: string;
|
|
281
303
|
success: string;
|
|
304
|
+
delayedStatusIcon: string;
|
|
282
305
|
chainIconBorder: string;
|
|
283
306
|
modalBackdrop: string;
|
|
284
307
|
modalBackground: string;
|
|
@@ -375,6 +398,9 @@ export declare const useActiveTheme: () => {
|
|
|
375
398
|
modalTopBarHeight: string;
|
|
376
399
|
};
|
|
377
400
|
fonts: {
|
|
401
|
+
buttonTextPrimary: string;
|
|
402
|
+
buttonTextSecondary: string;
|
|
403
|
+
buttonTextTertiary: string;
|
|
378
404
|
body: string;
|
|
379
405
|
};
|
|
380
406
|
fontWeight: {
|
|
@@ -427,6 +453,18 @@ export declare const useActiveTheme: () => {
|
|
|
427
453
|
fontSize: string;
|
|
428
454
|
lineHeight: string;
|
|
429
455
|
};
|
|
456
|
+
buttonTextPrimary: {
|
|
457
|
+
fontSize: string;
|
|
458
|
+
lineHeight: string;
|
|
459
|
+
};
|
|
460
|
+
buttonTextSecondary: {
|
|
461
|
+
fontSize: string;
|
|
462
|
+
lineHeight: string;
|
|
463
|
+
};
|
|
464
|
+
buttonTextTertiary: {
|
|
465
|
+
fontSize: string;
|
|
466
|
+
lineHeight: string;
|
|
467
|
+
};
|
|
430
468
|
modalTopbarSubtitle: {
|
|
431
469
|
fontSize: string;
|
|
432
470
|
lineHeight: string;
|
|
@@ -471,15 +509,21 @@ export declare const useActiveTheme: () => {
|
|
|
471
509
|
notification: string;
|
|
472
510
|
qrCode: string;
|
|
473
511
|
buttonShadow: string;
|
|
512
|
+
buttonShadowTertiary: string;
|
|
474
513
|
buttonFocusedShadow: string;
|
|
475
|
-
buttonHoverShadow: string;
|
|
476
514
|
buttonFocusedShadowTertiary: string;
|
|
515
|
+
buttonHoverShadow: string;
|
|
477
516
|
buttonHoverShadowTertiary: string;
|
|
478
517
|
buttonDisabledShadow: string;
|
|
518
|
+
buttonDisabledShadowTertiary: string;
|
|
479
519
|
buttonInnerShadow: string;
|
|
520
|
+
buttonInnerShadowTertiary: string;
|
|
480
521
|
buttonFocusedInnerShadow: string;
|
|
522
|
+
buttonFocusedInnerShadowTertiary: string;
|
|
481
523
|
buttonHoverInnerShadow: string;
|
|
524
|
+
buttonHoverInnerShadowTertiary: string;
|
|
482
525
|
buttonDisabledInnerShadow: string;
|
|
526
|
+
buttonDisabledInnerShadowTertiary: string;
|
|
483
527
|
selectedDropdownItem: string;
|
|
484
528
|
};
|
|
485
529
|
spacing: {
|
|
@@ -515,6 +559,7 @@ export declare const useActiveTheme: () => {
|
|
|
515
559
|
focusedOptionBorder: string;
|
|
516
560
|
standby: string;
|
|
517
561
|
success: string;
|
|
562
|
+
delayedStatusIcon: string;
|
|
518
563
|
chainIconBorder: string;
|
|
519
564
|
modalBackdrop: string;
|
|
520
565
|
modalBackground: string;
|
|
@@ -611,6 +656,9 @@ export declare const useActiveTheme: () => {
|
|
|
611
656
|
modalTopBarHeight: string;
|
|
612
657
|
};
|
|
613
658
|
fonts: {
|
|
659
|
+
buttonTextPrimary: string;
|
|
660
|
+
buttonTextSecondary: string;
|
|
661
|
+
buttonTextTertiary: string;
|
|
614
662
|
body: string;
|
|
615
663
|
};
|
|
616
664
|
fontWeight: {
|
|
@@ -663,6 +711,18 @@ export declare const useActiveTheme: () => {
|
|
|
663
711
|
fontSize: string;
|
|
664
712
|
lineHeight: string;
|
|
665
713
|
};
|
|
714
|
+
buttonTextPrimary: {
|
|
715
|
+
fontSize: string;
|
|
716
|
+
lineHeight: string;
|
|
717
|
+
};
|
|
718
|
+
buttonTextSecondary: {
|
|
719
|
+
fontSize: string;
|
|
720
|
+
lineHeight: string;
|
|
721
|
+
};
|
|
722
|
+
buttonTextTertiary: {
|
|
723
|
+
fontSize: string;
|
|
724
|
+
lineHeight: string;
|
|
725
|
+
};
|
|
666
726
|
modalTopbarSubtitle: {
|
|
667
727
|
fontSize: string;
|
|
668
728
|
lineHeight: string;
|
|
@@ -707,15 +767,21 @@ export declare const useActiveTheme: () => {
|
|
|
707
767
|
notification: string;
|
|
708
768
|
qrCode: string;
|
|
709
769
|
buttonShadow: string;
|
|
770
|
+
buttonShadowTertiary: string;
|
|
710
771
|
buttonFocusedShadow: string;
|
|
711
|
-
buttonHoverShadow: string;
|
|
712
772
|
buttonFocusedShadowTertiary: string;
|
|
773
|
+
buttonHoverShadow: string;
|
|
713
774
|
buttonHoverShadowTertiary: string;
|
|
714
775
|
buttonDisabledShadow: string;
|
|
776
|
+
buttonDisabledShadowTertiary: string;
|
|
715
777
|
buttonInnerShadow: string;
|
|
778
|
+
buttonInnerShadowTertiary: string;
|
|
716
779
|
buttonFocusedInnerShadow: string;
|
|
780
|
+
buttonFocusedInnerShadowTertiary: string;
|
|
717
781
|
buttonHoverInnerShadow: string;
|
|
782
|
+
buttonHoverInnerShadowTertiary: string;
|
|
718
783
|
buttonDisabledInnerShadow: string;
|
|
784
|
+
buttonDisabledInnerShadowTertiary: string;
|
|
719
785
|
selectedDropdownItem: string;
|
|
720
786
|
};
|
|
721
787
|
spacing: {
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
+
import { chainMetadataById } from '@funkit/chains';
|
|
1
2
|
import type { FunkitConnectChain } from './FunkitConnectChainContext';
|
|
2
|
-
export
|
|
3
|
-
[k: string]: {
|
|
4
|
-
name?: string;
|
|
5
|
-
iconUrl: string;
|
|
6
|
-
iconBackground: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
3
|
+
export { chainMetadataById };
|
|
9
4
|
/** @description Decorates an array of wagmi `Chain` objects with FunkitConnectChain property overrides */
|
|
10
5
|
export declare const provideFunkitConnectChains: <Chain extends FunkitConnectChain>(chains: readonly [Chain, ...Chain[]] | Chain[]) => Chain[];
|
|
11
6
|
export declare const groupChainsById: (chains: FunkitConnectChain[]) => Record<number, FunkitConnectChain>;
|
|
@@ -12,7 +12,7 @@ type Blurs = 'tiny' | 'small' | 'large' | 'none';
|
|
|
12
12
|
type FontSizeType = 'regular' | 'small';
|
|
13
13
|
interface BaseThemeOptions {
|
|
14
14
|
customFontWeights?: Partial<ThemeVars['fontWeight']>;
|
|
15
|
-
customFontFamily?: string
|
|
15
|
+
customFontFamily?: string | Partial<ThemeVars['fonts']>;
|
|
16
16
|
customFontSizings?: Partial<ThemeVars['fontSize']>;
|
|
17
17
|
customBorderRadiuses?: Partial<ThemeVars['radii']>;
|
|
18
18
|
customBorderWidths?: Partial<ThemeVars['borderWidths']>;
|
package/dist/themes/baseTheme.js
CHANGED
package/dist/themes/darkTheme.js
CHANGED
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { type Address, type Hex } from 'viem';
|
|
|
5
5
|
import type { UseConfigReturnType } from 'wagmi';
|
|
6
6
|
import type { ServerCheckoutConfig } from '~/domains/clientMetadata';
|
|
7
7
|
import type { FunkitCheckoutQuoteResult } from '~/domains/quote';
|
|
8
|
-
import { type
|
|
8
|
+
import { type FunkitCheckoutActionParams, type FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
9
9
|
export declare const MOONPAY_TIME_ESTIMATE_MS = 120000;
|
|
10
10
|
export declare const BROKERAGE_TIME_ESTIMATE_MS = 0;
|
|
11
11
|
export declare const BANK_TIME_ESTIMATE_MS = 0;
|
|
@@ -162,5 +162,4 @@ export declare function computeDisplayDestinationToken(checkoutConfig: FunkitChe
|
|
|
162
162
|
stakingTokenSymbol: string;
|
|
163
163
|
stakingTokenIcon: string;
|
|
164
164
|
};
|
|
165
|
-
export declare function isLayerZeroOftCheckout(apiKey: string, checkoutItem: FunkitActiveCheckoutItem | null): boolean;
|
|
166
165
|
export {};
|
|
@@ -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", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG", "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2", "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu", "53OWivH0fK2VIAuMZTycr52EnSEnPWj97Jy3Dpiz", "cGlmpTmNh657m8TiV5RFdwna6FG5pxM6ajiNHvw3", "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2"];
|
|
52
|
+
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "vWe20Dfyui2ouvfOhtSTY3Czeo8lFdbo5xXQBALZ", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "OXLUmejkh9PlNDS4gSvi9gcEWacOpTz2KUVepVf4", "BPVeP8zThG467vVIYzuiu5aVWAkS9KiR6tT1TdTP", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "2SrxurU07T2XPDxCAItjj4yYEMXlwV8K2kJB78AX", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG", "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2", "wQDLu86Qab61vbtru7thf8Yj0xaeqVUH4ohoXESu", "53OWivH0fK2VIAuMZTycr52EnSEnPWj97Jy3Dpiz", "cGlmpTmNh657m8TiV5RFdwna6FG5pxM6ajiNHvw3", "i6e1I8cfX625TTwRJlD2DshKyAoaUtO8aeoaR4i2", "1QxzeJ4XKT78ba86whLct6sc7dW60Dl461UVWFdw", "iMTsSsgDdI2FC0FjeEejS9LMxuJgDhFO3OHlwVjT"];
|
|
53
53
|
}];
|
|
54
54
|
readonly value: true;
|
|
55
55
|
}];
|
|
@@ -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: {
|
|
@@ -236,19 +243,10 @@ export declare const flagConfig: {
|
|
|
236
243
|
}];
|
|
237
244
|
readonly value: true;
|
|
238
245
|
}, Override<boolean>, {
|
|
239
|
-
readonly
|
|
240
|
-
readonly pct: 50;
|
|
241
|
-
readonly type: "pctRollout";
|
|
242
|
-
readonly key: "userId";
|
|
243
|
-
}, {
|
|
246
|
+
readonly if_any: [{
|
|
244
247
|
readonly key: "apiKey";
|
|
245
248
|
readonly type: "isAnyOf";
|
|
246
|
-
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc"];
|
|
247
|
-
}];
|
|
248
|
-
readonly if_any: [{
|
|
249
|
-
readonly pct: 2;
|
|
250
|
-
readonly type: "pctRollout";
|
|
251
|
-
readonly key: "userId";
|
|
249
|
+
readonly values: ["Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "iMTsSsgDdI2FC0FjeEejS9LMxuJgDhFO3OHlwVjT"];
|
|
252
250
|
}];
|
|
253
251
|
readonly value: true;
|
|
254
252
|
}];
|
|
@@ -274,7 +272,7 @@ export declare const flagConfig: {
|
|
|
274
272
|
readonly if_any: [{
|
|
275
273
|
readonly key: "apiKey";
|
|
276
274
|
readonly type: "isAnyOf";
|
|
277
|
-
readonly values: ["HKHvPSPDezaxsTohFgDuG4WpKW6hB4SFYyztm9vc", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc"];
|
|
275
|
+
readonly values: ["HKHvPSPDezaxsTohFgDuG4WpKW6hB4SFYyztm9vc", "AH7lRIhbsL167nptv6eub9xDJXVHnYUm2vL7FLjK", "lUzTaIRxs95iin3pCAafB1ChA5akBiuQ1tjhXnau", "clDebbfo9edXq1GydZ0CahSAfSimPj616lFa9p8e", "SMbBD7DS9b3EPcyBVg4a8az1rRWR9xB068chHoUN", "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6", "5UzOrcAE2F3rcuMX2EeIlaYv5VUcDe6Lyh0PeZX2", "6TUi99Tq3O9MWj1IFX8Pv6spmPXzcvhy9NvBoeW2", "pLQBJsA6zS9tg990rbdBD6UdABkWRv5O60vlrVcW", "M3uox3cw0u8YCPV9cIREA6AugUMvPFTk6qOpm4um", "2hicPxo2vy2NMHcg2cEU9crOeKtDpc14NEfMCthc", "cGlmpTmNh657m8TiV5RFdwna6FG5pxM6ajiNHvw3", "iMTsSsgDdI2FC0FjeEejS9LMxuJgDhFO3OHlwVjT"];
|
|
278
276
|
}];
|
|
279
277
|
readonly value: true;
|
|
280
278
|
}, {
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
13
|
} from "./chunk-JWFF4AAL.js";
|
|
14
|
-
import {
|
|
15
|
-
tahoWallet
|
|
16
|
-
} from "./chunk-ZZZRUXZE.js";
|
|
17
14
|
import {
|
|
18
15
|
talismanWallet
|
|
19
16
|
} from "./chunk-DRO6WYMM.js";
|
|
20
17
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
18
|
+
tahoWallet
|
|
19
|
+
} from "./chunk-ZZZRUXZE.js";
|
|
23
20
|
import {
|
|
24
21
|
tokenaryWallet
|
|
25
22
|
} from "./chunk-D6AOOO5F.js";
|
|
23
|
+
import {
|
|
24
|
+
tokenPocketWallet
|
|
25
|
+
} from "./chunk-2L43XSW3.js";
|
|
26
26
|
import {
|
|
27
27
|
trustWallet
|
|
28
28
|
} from "./chunk-VYBAYMP3.js";
|
|
@@ -38,12 +38,12 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
rabbyWallet
|
|
40
40
|
} from "./chunk-BBOM42DL.js";
|
|
41
|
-
import {
|
|
42
|
-
ramperWallet
|
|
43
|
-
} from "./chunk-BYXPFMI7.js";
|
|
44
41
|
import {
|
|
45
42
|
rainbowWallet
|
|
46
43
|
} from "./chunk-2KUBG3S6.js";
|
|
44
|
+
import {
|
|
45
|
+
ramperWallet
|
|
46
|
+
} from "./chunk-BYXPFMI7.js";
|
|
47
47
|
import {
|
|
48
48
|
roninWallet
|
|
49
49
|
} from "./chunk-NWIQNBJU.js";
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
import {
|
|
69
69
|
oktoWallet
|
|
70
70
|
} from "./chunk-ADIXAKUL.js";
|
|
71
|
-
import {
|
|
72
|
-
omniWallet
|
|
73
|
-
} from "./chunk-7CUY5G6R.js";
|
|
74
71
|
import {
|
|
75
72
|
okxWallet
|
|
76
73
|
} from "./chunk-TDIEHTMB.js";
|
|
74
|
+
import {
|
|
75
|
+
omniWallet
|
|
76
|
+
} from "./chunk-7CUY5G6R.js";
|
|
77
77
|
import {
|
|
78
78
|
oneInchWallet
|
|
79
79
|
} from "./chunk-OESTDX6I.js";
|
|
@@ -102,8 +102,8 @@ import {
|
|
|
102
102
|
kresusWallet
|
|
103
103
|
} from "./chunk-MJXPRJZT.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-2STUC6QL.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
109
|
} from "./chunk-M3NZ6R2E.js";
|
|
@@ -140,13 +140,13 @@ import {
|
|
|
140
140
|
import {
|
|
141
141
|
bitverseWallet
|
|
142
142
|
} from "./chunk-3HZRRP4Y.js";
|
|
143
|
+
import {
|
|
144
|
+
bloomWallet
|
|
145
|
+
} from "./chunk-S27IADFU.js";
|
|
146
|
+
import "./chunk-23WIEY36.js";
|
|
143
147
|
import {
|
|
144
148
|
braveWallet
|
|
145
149
|
} from "./chunk-BPZ2XJO2.js";
|
|
146
|
-
import {
|
|
147
|
-
bybitWallet
|
|
148
|
-
} from "./chunk-2STUC6QL.js";
|
|
149
|
-
import "./chunk-23WIEY36.js";
|
|
150
150
|
import "./chunk-DNSG5Q7V.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "6.15.
|
|
3
|
+
"version": "6.15.13",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"ua-parser-js": "^1.0.37",
|
|
102
102
|
"use-debounce": "^10.0.5",
|
|
103
103
|
"uuid": "^9.0.1",
|
|
104
|
-
"@funkit/api-base": "1.12.
|
|
105
|
-
"@funkit/chains": "0.
|
|
106
|
-
"@funkit/core": "2.3.
|
|
107
|
-
"@funkit/
|
|
108
|
-
"@funkit/
|
|
109
|
-
"@funkit/wagmi-tools": "3.0.
|
|
104
|
+
"@funkit/api-base": "1.12.19",
|
|
105
|
+
"@funkit/chains": "0.5.0",
|
|
106
|
+
"@funkit/core": "2.3.66",
|
|
107
|
+
"@funkit/fun-relay": "2.1.14",
|
|
108
|
+
"@funkit/utils": "1.1.20",
|
|
109
|
+
"@funkit/wagmi-tools": "3.0.89"
|
|
110
110
|
},
|
|
111
111
|
"repository": {
|
|
112
112
|
"type": "git",
|