@funkit/connect 3.0.0-next.2 → 3.0.0-next.4
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 -0
- package/dist/{chunk-SCKVYTAC.js → chunk-76VEFMWE.js} +5 -2
- package/dist/{chunk-LKYHSF23.js → chunk-Z3QREJ3Q.js} +6 -3
- package/dist/components/AsyncImage/AsyncImage.d.ts +3 -2
- package/dist/components/Box/Box.d.ts +28 -24
- package/dist/components/Dialog/Dialog.css.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +3 -1
- package/dist/components/Dialog/DialogContent.css.d.ts +2 -0
- package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +10 -0
- package/dist/components/DydxSwitchModalTab/Icons.d.ts +3 -0
- package/dist/components/FunAsset/FunAssetItem.d.ts +1 -1
- package/dist/components/FunBadge/FunBadge.d.ts +2 -1
- package/dist/components/FunButton/FunButton.css.d.ts +3 -2
- package/dist/components/FunButton/FunIconButton.d.ts +24 -15
- package/dist/components/FunButton/FunRedirectButton.d.ts +8 -0
- package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +4 -2
- package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +1 -1
- package/dist/components/FunConnectOptions/FunSignInStep.d.ts +2 -0
- package/dist/components/FunContainer/FunContainer.d.ts +1 -3
- package/dist/components/FunInput/FunTwoFaInput.d.ts +5 -4
- package/dist/components/FunNoResults/FunNoResults.d.ts +2 -2
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +4 -18
- package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +1 -0
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +1 -3
- package/dist/components/FunPayments/FunPaymentSetup.d.ts +2 -3
- package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +9 -6
- package/dist/components/FunSkeletonLoader/FunSkeletonCircle.d.ts +14 -5
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +4 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +3 -43
- package/dist/components/FunkitProvider/FunkitMoonpayProvider.d.ts +4 -1
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +16 -4
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +7 -3
- package/dist/components/Icons/AcornsIcon.d.ts +3 -1
- package/dist/components/Icons/BitFlyerIcon.d.ts +3 -1
- package/dist/components/Icons/BitfinexIcon.d.ts +4 -0
- package/dist/components/Icons/BitstampIcon.d.ts +3 -1
- package/dist/components/Icons/BybitIcon.d.ts +3 -1
- package/dist/components/Icons/CoinlistIcon.d.ts +3 -1
- package/dist/components/Icons/CryptoComIcon.d.ts +3 -1
- package/dist/components/Icons/DeviceConfirmationIcon.d.ts +2 -0
- package/dist/components/Icons/EmailConfirmationIcon.d.ts +2 -0
- package/dist/components/Icons/EtradeIcon.d.ts +3 -1
- package/dist/components/Icons/EvmWallet.d.ts +2 -0
- package/dist/components/Icons/GateIo.d.ts +3 -1
- package/dist/components/Icons/HuobiIcon.d.ts +3 -1
- package/dist/components/Icons/KrakenIcon.d.ts +3 -1
- package/dist/components/Icons/KucoinIcon.d.ts +3 -1
- package/dist/components/Icons/MailIcon.d.ts +5 -1
- package/dist/components/Icons/OkxIcon.d.ts +3 -1
- package/dist/components/Icons/PaymentMethodIcons.d.ts +23 -0
- package/dist/components/Icons/Spinner.d.ts +1 -3
- package/dist/components/Icons/StashIcon.d.ts +3 -1
- package/dist/components/Icons/WalletIcon.d.ts +0 -2
- package/dist/components/Icons/WhitelistIcon.d.ts +2 -0
- package/dist/components/ProfileDetails/ActivityTraversalContext.d.ts +17 -26
- package/dist/components/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +2 -8
- package/dist/components/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +0 -7
- package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +1 -0
- package/dist/components/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +1 -0
- package/dist/components/ProfileDetails/FunProfileViews/Home/index.d.ts +4 -9
- package/dist/components/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +5 -0
- package/dist/components/ProfileDetails/ProfileDetails.d.ts +1 -1
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/consts/payment.d.ts +1 -8
- package/dist/css/sprinkles.css.d.ts +37 -27
- package/dist/hooks/useDynamicFont.d.ts +1 -0
- package/dist/hooks/useMesh.d.ts +3 -2
- package/dist/hooks/useScrollDivider.d.ts +4 -3
- package/dist/index.css +1987 -1267
- package/dist/index.js +11249 -10868
- package/dist/themes/darkTheme.d.ts +4 -1
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.d.ts +4 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/assets.d.ts +0 -4
- package/dist/utils/checkout.d.ts +1 -5
- package/dist/utils/combineChainSymbolOrAddress.d.ts +4 -0
- package/dist/utils/deposit.d.ts +2 -3
- package/dist/utils/flags/config.d.ts +7 -2
- package/dist/utils/flags/index.d.ts +2 -1
- package/dist/utils/isMainnetUsdt.d.ts +2 -0
- package/dist/utils/noop.d.ts +1 -0
- package/dist/wallets/walletConnectors/index.js +61 -61
- package/package.json +5 -5
- package/dist/components/FunPayments/FunPaymentOtcType.d.ts +0 -2
- package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +0 -1
- package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +0 -2
- package/dist/css/presets.d.ts +0 -2
- package/dist/utils/flatten.d.ts +0 -1
- package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
- package/dist/wallets/walletConnectors/{chunk-5K4DIMYR.js → chunk-4HKPVECK.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AXPQHNUI.js → chunk-4K3EKHXR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-B7FHT3CB.js → chunk-5MVCKMZT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-QP2BIVXD.js → chunk-5NZLWT3Y.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2EMZOYQI.js → chunk-B5D7DYVV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-L7QI6PBN.js → chunk-HLH777AC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-EFIENLEE.js → chunk-HMDUVRZP.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AUVBWDIK.js → chunk-KDGMYRMC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UZEMNN3Q.js → chunk-VU6B3HMD.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UWZQZY4S.js → chunk-YRK6XWL6.js} +4 -4
|
@@ -28,6 +28,7 @@ export declare const darkTheme: {
|
|
|
28
28
|
offBackground: string;
|
|
29
29
|
hoverState: string;
|
|
30
30
|
offBackgroundInverse: string;
|
|
31
|
+
dydxSwitchActiveBackground: string;
|
|
31
32
|
primaryText: string;
|
|
32
33
|
secondaryText: string;
|
|
33
34
|
tertiaryText: string;
|
|
@@ -59,6 +60,9 @@ export declare const darkTheme: {
|
|
|
59
60
|
buttonStroke: string;
|
|
60
61
|
buttonTextSecondaryDisabled: string;
|
|
61
62
|
buttonTextSecondary: string;
|
|
63
|
+
buttonIconBackgroundHover: string;
|
|
64
|
+
buttonIconBackgroundPressed: string;
|
|
65
|
+
buttonIconStroke: string;
|
|
62
66
|
};
|
|
63
67
|
shadows: {
|
|
64
68
|
connectButton: string;
|
|
@@ -66,7 +70,6 @@ export declare const darkTheme: {
|
|
|
66
70
|
selectedOption: string;
|
|
67
71
|
selectedWallet: string;
|
|
68
72
|
button: string;
|
|
69
|
-
callToAction: string;
|
|
70
73
|
};
|
|
71
74
|
moonpayTheme: string;
|
|
72
75
|
fontSize: {
|
package/dist/themes/darkTheme.js
CHANGED
|
@@ -28,6 +28,7 @@ export declare const lightTheme: {
|
|
|
28
28
|
offBackground: string;
|
|
29
29
|
hoverState: string;
|
|
30
30
|
offBackgroundInverse: string;
|
|
31
|
+
dydxSwitchActiveBackground: string;
|
|
31
32
|
primaryText: string;
|
|
32
33
|
secondaryText: string;
|
|
33
34
|
tertiaryText: string;
|
|
@@ -59,6 +60,9 @@ export declare const lightTheme: {
|
|
|
59
60
|
buttonStroke: string;
|
|
60
61
|
buttonTextSecondaryDisabled: string;
|
|
61
62
|
buttonTextSecondary: string;
|
|
63
|
+
buttonIconBackgroundHover: string;
|
|
64
|
+
buttonIconBackgroundPressed: string;
|
|
65
|
+
buttonIconStroke: string;
|
|
62
66
|
};
|
|
63
67
|
shadows: {
|
|
64
68
|
connectButton: string;
|
|
@@ -66,7 +70,6 @@ export declare const lightTheme: {
|
|
|
66
70
|
selectedOption: string;
|
|
67
71
|
selectedWallet: string;
|
|
68
72
|
button: string;
|
|
69
|
-
callToAction: string;
|
|
70
73
|
};
|
|
71
74
|
moonpayTheme: string;
|
|
72
75
|
fontSize: {
|
package/dist/utils/assets.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { FunkitActiveCheckoutItem } from '../components/FunkitProvider/FunkitCheckoutContext';
|
|
2
2
|
import { PaymentMethod } from '../consts/payment';
|
|
3
|
-
export declare function combineChainSymbolOrAddress({ chainId, symbolOrAddress, }: {
|
|
4
|
-
chainId: string;
|
|
5
|
-
symbolOrAddress: string;
|
|
6
|
-
}): string | null;
|
|
7
3
|
export declare const getNormalizedTokenBalance: (tokenBalance: number, decimals: number) => number;
|
|
8
4
|
export declare const isAssetUsableToPayForCheckout: (checkoutItem: FunkitActiveCheckoutItem, paymentMethod: PaymentMethod, assetChainId: string, assetTokenAddress: string, isWeb2Login: boolean, isWeb3Login: boolean) => {
|
|
9
5
|
isUsable: boolean;
|
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -109,12 +109,8 @@ export declare function categorizeCheckoutHistories(checkoutHistoryList: Checkou
|
|
|
109
109
|
depositAddrMap: CheckoutHistoryDepositAddrMap;
|
|
110
110
|
currentDepositAddrMap: CheckoutHistoryDepositAddrMap;
|
|
111
111
|
};
|
|
112
|
-
export declare function getCheckoutStateStepNumber(state: CheckoutState): 0 | 1 |
|
|
112
|
+
export declare function getCheckoutStateStepNumber(state: CheckoutState): 0 | 1 | 3 | 2;
|
|
113
113
|
export declare function formatTokenAmountForMoonpay(amount: number, mpCurrencyCode: string): string;
|
|
114
|
-
export declare function combineChainSymbolOrAddress({ chainId, symbolOrAddress, }: {
|
|
115
|
-
chainId: string;
|
|
116
|
-
symbolOrAddress: string;
|
|
117
|
-
}): string | null;
|
|
118
114
|
export declare function getEstimateEndTimeInfo(createdTimeMs: number, checkoutItem: FunkitActiveCheckoutItem): {
|
|
119
115
|
estimatedEndTimeMs: number;
|
|
120
116
|
estimatedEndTimeFromNowMs: number;
|
package/dist/utils/deposit.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { PaymentFlow } from '../consts/payment';
|
|
2
1
|
export declare const MINIMUM_MOONPAY_DEPOSIT_AMOUNT_USD = 35;
|
|
3
|
-
export declare function
|
|
2
|
+
export declare function isAmountInvalidForMoonpay({ amountUsd, }: {
|
|
4
3
|
amountUsd: string | undefined | null;
|
|
5
4
|
}): boolean;
|
|
6
|
-
export declare function generateInsufficientAmountForMoonpayError(
|
|
5
|
+
export declare function generateInsufficientAmountForMoonpayError(isShortened: boolean): string;
|
|
@@ -19,12 +19,17 @@ export declare enum FlagKey {
|
|
|
19
19
|
/** Whether zksync assets can be used as source asset for payment in a mantle checkout */
|
|
20
20
|
DisableZkSyncSourceAssetsForMantleCheckouts = "disable_zksync_source_assets_for_mantle_checkouts",
|
|
21
21
|
/** Whether zksync assets can be used as source asset for payment in a dydx checkout */
|
|
22
|
-
DisableZkSyncSourceAssetsForDydxCheckouts = "disable_zksync_source_assets_for_dydx_checkouts"
|
|
22
|
+
DisableZkSyncSourceAssetsForDydxCheckouts = "disable_zksync_source_assets_for_dydx_checkouts",
|
|
23
|
+
/** Which exchanges to show in the exchange selection screen */
|
|
24
|
+
SupportedExchanges = "supported_exchanges",
|
|
25
|
+
/** Which countries should be blocked for Funkit Checkout. Reference Alpha-2 Code format https://www.iban.com/country-codes. */
|
|
26
|
+
BlockedCountries = "blocked_countries"
|
|
23
27
|
}
|
|
24
28
|
export declare const flagConfig: {
|
|
25
|
-
[FlagKey.SelectPaymentMethodText]: StringFlagConfig;
|
|
26
29
|
[FlagKey.PaymentMethodCopyV1]: BooleanFlagConfig;
|
|
27
30
|
[FlagKey.DisableMantleSourceAssets]: BooleanFlagConfig;
|
|
28
31
|
[FlagKey.DisableZkSyncSourceAssetsForMantleCheckouts]: BooleanFlagConfig;
|
|
29
32
|
[FlagKey.DisableZkSyncSourceAssetsForDydxCheckouts]: BooleanFlagConfig;
|
|
33
|
+
[FlagKey.SupportedExchanges]: StringFlagConfig;
|
|
34
|
+
[FlagKey.BlockedCountries]: StringFlagConfig;
|
|
30
35
|
};
|
|
@@ -2,10 +2,11 @@ import { FlagKey } from './config';
|
|
|
2
2
|
import { FeatureFlag } from './impl';
|
|
3
3
|
export { FlagKey };
|
|
4
4
|
declare const singleton: FeatureFlag<{
|
|
5
|
-
select_payment_method_text: import("./types").StringFlagConfig;
|
|
6
5
|
payment_method_copy_v1: import("./types").BooleanFlagConfig;
|
|
7
6
|
disable_mantle_source_assets: import("./types").BooleanFlagConfig;
|
|
8
7
|
disable_zksync_source_assets_for_mantle_checkouts: import("./types").BooleanFlagConfig;
|
|
9
8
|
disable_zksync_source_assets_for_dydx_checkouts: import("./types").BooleanFlagConfig;
|
|
9
|
+
supported_exchanges: import("./types").StringFlagConfig;
|
|
10
|
+
blocked_countries: import("./types").StringFlagConfig;
|
|
10
11
|
}>;
|
|
11
12
|
export declare const flags: Pick<typeof singleton, "init" | "getBool" | "getNumber" | "getString">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const noop: () => undefined;
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
4
|
} from "./chunk-DBP432DI.js";
|
|
5
|
+
import {
|
|
6
|
+
phantomWallet
|
|
7
|
+
} from "./chunk-KEVUI6AA.js";
|
|
5
8
|
import {
|
|
6
9
|
xdefiWallet
|
|
7
10
|
} from "./chunk-RVIZMVFR.js";
|
|
8
|
-
import {
|
|
9
|
-
metaMaskWallet
|
|
10
|
-
} from "./chunk-ODRDT73B.js";
|
|
11
11
|
import {
|
|
12
12
|
tokenPocketWallet
|
|
13
13
|
} from "./chunk-ISJYPD3T.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
roninWallet
|
|
19
|
-
} from "./chunk-63YLN6R5.js";
|
|
15
|
+
tokenaryWallet
|
|
16
|
+
} from "./chunk-FAYEL4JP.js";
|
|
20
17
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
18
|
+
safeheronWallet
|
|
19
|
+
} from "./chunk-FCIRHRFH.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
talismanWallet
|
|
22
|
+
} from "./chunk-OTXHQMSG.js";
|
|
26
23
|
import {
|
|
27
24
|
uniswapWallet
|
|
28
25
|
} from "./chunk-QFRZGNNV.js";
|
|
26
|
+
import {
|
|
27
|
+
trustWallet
|
|
28
|
+
} from "./chunk-X45WXZDO.js";
|
|
29
29
|
import {
|
|
30
30
|
walletConnectWallet
|
|
31
31
|
} from "./chunk-OFU3PEVT.js";
|
|
@@ -33,89 +33,86 @@ import {
|
|
|
33
33
|
zealWallet
|
|
34
34
|
} from "./chunk-BUUV6BS4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
rainbowWallet
|
|
37
|
+
} from "./chunk-OHJBALD3.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
rabbyWallet
|
|
40
|
+
} from "./chunk-H5LLXNOI.js";
|
|
41
|
+
import {
|
|
42
|
+
roninWallet
|
|
43
|
+
} from "./chunk-63YLN6R5.js";
|
|
41
44
|
import {
|
|
42
45
|
safeWallet
|
|
43
46
|
} from "./chunk-Z2QCE6O6.js";
|
|
44
|
-
import {
|
|
45
|
-
subWallet
|
|
46
|
-
} from "./chunk-N3ELQYCY.js";
|
|
47
47
|
import {
|
|
48
48
|
safepalWallet
|
|
49
49
|
} from "./chunk-AKAT37SI.js";
|
|
50
|
+
import {
|
|
51
|
+
ramperWallet
|
|
52
|
+
} from "./chunk-TKXQYHWJ.js";
|
|
53
|
+
import {
|
|
54
|
+
subWallet
|
|
55
|
+
} from "./chunk-N3ELQYCY.js";
|
|
50
56
|
import {
|
|
51
57
|
tahoWallet
|
|
52
58
|
} from "./chunk-6AYBA6IH.js";
|
|
53
59
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
tokenaryWallet
|
|
58
|
-
} from "./chunk-FAYEL4JP.js";
|
|
60
|
+
mewWallet
|
|
61
|
+
} from "./chunk-CVYXTHZ6.js";
|
|
59
62
|
import {
|
|
60
63
|
oktoWallet
|
|
61
64
|
} from "./chunk-MBQTOALG.js";
|
|
62
65
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
foxWallet
|
|
67
|
-
} from "./chunk-WAOREEBE.js";
|
|
66
|
+
injectedWallet
|
|
67
|
+
} from "./chunk-E5NYR4SS.js";
|
|
68
68
|
import {
|
|
69
69
|
oneInchWallet
|
|
70
70
|
} from "./chunk-I7MKK24W.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
72
|
+
metaMaskWallet
|
|
73
|
+
} from "./chunk-ODRDT73B.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
75
|
+
okxWallet
|
|
76
|
+
} from "./chunk-5HXH52SO.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
78
|
+
oneKeyWallet
|
|
79
|
+
} from "./chunk-ZP2SV6KN.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
omniWallet
|
|
82
|
+
} from "./chunk-II6YBG2B.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
84
|
+
argentWallet
|
|
85
|
+
} from "./chunk-ZHFISYEQ.js";
|
|
86
86
|
import {
|
|
87
87
|
frontierWallet
|
|
88
88
|
} from "./chunk-LCOUKF2U.js";
|
|
89
89
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
90
|
+
foxWallet
|
|
91
|
+
} from "./chunk-WAOREEBE.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-BMJOLT2N.js";
|
|
95
|
-
import {
|
|
96
|
-
kresusWallet
|
|
97
|
-
} from "./chunk-QQJKQCII.js";
|
|
98
95
|
import {
|
|
99
96
|
ledgerWallet
|
|
100
97
|
} from "./chunk-ZMHCZCGS.js";
|
|
101
98
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import {
|
|
105
|
-
bybitWallet
|
|
106
|
-
} from "./chunk-3AZNOY75.js";
|
|
99
|
+
gateWallet
|
|
100
|
+
} from "./chunk-YIJ5ULO3.js";
|
|
107
101
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
102
|
+
kresusWallet
|
|
103
|
+
} from "./chunk-QQJKQCII.js";
|
|
110
104
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
105
|
+
coinbaseWallet
|
|
106
|
+
} from "./chunk-PNEDRY6O.js";
|
|
113
107
|
import {
|
|
114
108
|
coreWallet
|
|
115
109
|
} from "./chunk-MOOW2AOC.js";
|
|
116
110
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
111
|
+
bybitWallet
|
|
112
|
+
} from "./chunk-3AZNOY75.js";
|
|
113
|
+
import {
|
|
114
|
+
bitgetWallet
|
|
115
|
+
} from "./chunk-IEVZW3XR.js";
|
|
119
116
|
import {
|
|
120
117
|
dawnWallet
|
|
121
118
|
} from "./chunk-KCTWDMQP.js";
|
|
@@ -126,14 +123,11 @@ import {
|
|
|
126
123
|
enkryptWallet
|
|
127
124
|
} from "./chunk-JJ4DXD7R.js";
|
|
128
125
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-KPVNJO3R.js";
|
|
131
128
|
import {
|
|
132
129
|
bifrostWallet
|
|
133
130
|
} from "./chunk-KL5Z3XHJ.js";
|
|
134
|
-
import {
|
|
135
|
-
bitgetWallet
|
|
136
|
-
} from "./chunk-IEVZW3XR.js";
|
|
137
131
|
import {
|
|
138
132
|
bitskiWallet
|
|
139
133
|
} from "./chunk-OCCT5PIN.js";
|
|
@@ -144,10 +138,16 @@ import {
|
|
|
144
138
|
bloomWallet
|
|
145
139
|
} from "./chunk-J64P6XK3.js";
|
|
146
140
|
import "./chunk-RETKWSKD.js";
|
|
147
|
-
import "./chunk-23WIEY36.js";
|
|
148
141
|
import {
|
|
149
142
|
braveWallet
|
|
150
143
|
} from "./chunk-NUEOWEZS.js";
|
|
144
|
+
import {
|
|
145
|
+
clvWallet
|
|
146
|
+
} from "./chunk-UHHA5V52.js";
|
|
147
|
+
import {
|
|
148
|
+
coin98Wallet
|
|
149
|
+
} from "./chunk-ZXGMW3OS.js";
|
|
150
|
+
import "./chunk-23WIEY36.js";
|
|
151
151
|
import "./chunk-WRA2DVJ7.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.4",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"postcss": "^8.4.32",
|
|
60
60
|
"react": "^18.3.0",
|
|
61
61
|
"tsx": "^4.15.7",
|
|
62
|
-
"vitest": "^
|
|
62
|
+
"vitest": "^2.0.5"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@datadog/browser-logs": "^5.22.0",
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"react-remove-scroll": "2.5.7",
|
|
79
79
|
"ua-parser-js": "^1.0.37",
|
|
80
80
|
"uuid": "^9.0.1",
|
|
81
|
-
"@funkit/core": "2.1.2-next.
|
|
82
|
-
"@funkit/
|
|
83
|
-
"@funkit/
|
|
81
|
+
"@funkit/core": "2.1.2-next.2",
|
|
82
|
+
"@funkit/wagmi-tools": "3.0.4-next.2",
|
|
83
|
+
"@funkit/api-base": "1.0.2-next.1"
|
|
84
84
|
},
|
|
85
85
|
"repository": {
|
|
86
86
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const pulseAnimation: string;
|
package/dist/css/presets.d.ts
DELETED
package/dist/utils/flatten.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function flatten<Item>(array: Item[][]): Item[];
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/dawnWallet/dawnWallet.ts
|
|
11
|
-
var dawnWallet = () => ({
|
|
12
|
-
id: "dawn",
|
|
13
|
-
name: "Dawn",
|
|
14
|
-
iconUrl: async () => (await import("./dawnWallet-ONVAA3S4.js")).default,
|
|
15
|
-
iconBackground: "#000000",
|
|
16
|
-
installed: hasInjectedProvider({ flag: "isDawn" }),
|
|
17
|
-
hidden: () => !isIOS(),
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
ios: "https://apps.apple.com/us/app/dawn-ethereum-wallet/id1673143782",
|
|
20
|
-
mobile: "https://dawnwallet.xyz"
|
|
21
|
-
},
|
|
22
|
-
createConnector: getInjectedConnector({ flag: "isDawn" })
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
dawnWallet
|
|
27
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid,
|
|
8
4
|
isIOS
|
|
9
5
|
} from "./chunk-RETKWSKD.js";
|
|
6
|
+
import {
|
|
7
|
+
getInjectedConnector,
|
|
8
|
+
hasInjectedProvider
|
|
9
|
+
} from "./chunk-WRA2DVJ7.js";
|
|
10
10
|
import {
|
|
11
11
|
getWalletConnectConnector
|
|
12
12
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isMobile
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isMobile
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isIOS
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-RETKWSKD.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
isAndroid
|
|
8
|
-
} from "./chunk-RETKWSKD.js";
|
|
9
9
|
import {
|
|
10
10
|
getWalletConnectConnector
|
|
11
11
|
} from "./chunk-23WIEY36.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid,
|
|
8
4
|
isIOS
|
|
9
5
|
} from "./chunk-RETKWSKD.js";
|
|
6
|
+
import {
|
|
7
|
+
getInjectedConnector,
|
|
8
|
+
hasInjectedProvider
|
|
9
|
+
} from "./chunk-WRA2DVJ7.js";
|
|
10
10
|
import {
|
|
11
11
|
getWalletConnectConnector
|
|
12
12
|
} from "./chunk-23WIEY36.js";
|