@funkit/connect 5.0.2 → 5.0.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 +41 -0
- package/dist/{chunk-LEZIQHUN.js → chunk-DRTHDG4D.js} +4 -1
- package/dist/{chunk-3OKZVQR2.js → chunk-ZHSAPALJ.js} +4 -1
- package/dist/components/Box/Box.d.ts +28 -28
- package/dist/components/Dialog/DialogContent.css.d.ts +2 -0
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +1 -1
- package/dist/components/FunButton/FunButton.css.d.ts +0 -2
- package/dist/components/FunButton/FunButton.d.ts +2 -1
- package/dist/{modals/FunCheckoutHistoryModal → components/FunCheckoutHistory}/FunCheckoutHistoryContent.d.ts +4 -2
- package/dist/{modals/FunCheckoutHistoryModal → components/FunCheckoutHistory}/FunCheckoutHistoryDetail.d.ts +4 -1
- package/dist/{modals/FunCheckoutHistoryModal → components/FunCheckoutHistory}/FunCheckoutHistoryHelp.d.ts +6 -2
- package/dist/components/FunCheckoutHistory/FunCheckoutHistoryTransaction.css.d.ts +1 -0
- package/dist/{modals/FunCheckoutHistoryModal → components/FunCheckoutHistory}/FunCheckoutHistoryTransaction.d.ts +4 -0
- package/dist/components/FunNotificationBanner/FunNotificationBanner.css.d.ts +0 -1
- package/dist/components/FunNotificationBanner/FunNotificationBanner.d.ts +3 -4
- package/dist/components/FunNotificationBanner/FunNotificationBannerIcon.css.d.ts +4 -0
- package/dist/components/FunNotificationBanner/FunNotificationBannerIcon.d.ts +3 -2
- package/dist/components/FunNotificationBanner/FunNotificationBannerSummary.d.ts +3 -7
- package/dist/components/FunNotificationBanner/FunNotificationShowMoreButton.d.ts +8 -0
- package/dist/components/FunTooltip/FunTooltip.css.d.ts +0 -1
- package/dist/components/FunTooltip/FunTooltip.d.ts +1 -2
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +1 -5
- package/dist/components/Icons/Icons.css.d.ts +2 -0
- package/dist/components/Icons/SpinnerIconWithBackground.d.ts +6 -0
- package/dist/consts/layout.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +36 -30
- package/dist/domains/checkoutState.d.ts +1 -0
- package/dist/hooks/queries/useCheckout.d.ts +3 -0
- package/dist/hooks/queries/useRecentCheckouts.d.ts +17 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/hooks/useUpdateActiveFunkitCheckout.d.ts +8 -0
- package/dist/index.css +1253 -1078
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3172 -2152
- package/dist/modals/CheckoutModal/CheckoutComplete/CheckoutComplete.d.ts +8 -3
- package/dist/modals/CheckoutModal/CheckoutComplete/useLogCheckoutCompletion.d.ts +3 -0
- package/dist/modals/CheckoutModal/CheckoutHelp/CheckoutHelp.d.ts +9 -0
- package/dist/modals/CheckoutModal/CheckoutNotification.d.ts +12 -0
- package/dist/modals/CheckoutModal/CheckoutNotifications.d.ts +9 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +10 -2
- package/dist/providers/FunkitCheckoutContext.d.ts +1 -0
- package/dist/providers/FunkitProvider.d.ts +0 -6
- package/dist/providers/FunkitThemeProvider.d.ts +12 -3
- package/dist/providers/GeneralWalletProvider.d.ts +8 -8
- package/dist/providers/ModalContext.d.ts +0 -4
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/checkout.d.ts +5 -1
- package/dist/utils/checkoutHistory.d.ts +0 -8
- package/dist/utils/flags/config.d.ts +4 -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 +75 -75
- 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 +5 -5
- package/dist/components/FunConnectOptions/ConnectDetails.d.ts +0 -8
- package/dist/modals/CheckoutModal/CheckoutComplete/useRedirectToCheckoutHistory.d.ts +0 -3
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +0 -10
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +0 -3
- package/dist/providers/AppContext.d.ts +0 -20
- /package/dist/{modals/FunCheckoutHistoryModal → components/FunCheckoutHistory}/FunCheckoutStatus.css.d.ts +0 -0
- /package/dist/{modals/FunCheckoutHistoryModal → components/FunCheckoutHistory}/FunCheckoutStatus.d.ts +0 -0
- /package/dist/{modals/FunCheckoutHistoryModal → components/FunCheckoutHistory}/useCustomStatusAnimationAboveTopbar.d.ts +0 -0
|
@@ -1,153 +1,153 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
walletConnectWallet
|
|
4
|
+
} from "./chunk-NP5QGWNL.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
xdefiWallet
|
|
7
|
+
} from "./chunk-NO7XMBB5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
zerionWallet
|
|
10
|
+
} from "./chunk-ETTNDQQG.js";
|
|
11
11
|
import {
|
|
12
12
|
tahoWallet
|
|
13
13
|
} from "./chunk-6P2EMPZI.js";
|
|
14
14
|
import {
|
|
15
15
|
safepalWallet
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6LPM6LUQ.js";
|
|
17
|
+
import {
|
|
18
|
+
tokenaryWallet
|
|
19
|
+
} from "./chunk-SLOIIJGP.js";
|
|
17
20
|
import {
|
|
18
21
|
trustWallet
|
|
19
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IPOC2VJX.js";
|
|
20
23
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
uniswapWallet
|
|
25
|
+
} from "./chunk-LH7BMNFZ.js";
|
|
23
26
|
import {
|
|
24
27
|
tokenPocketWallet
|
|
25
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FRGSRLTS.js";
|
|
26
29
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
xdefiWallet
|
|
31
|
-
} from "./chunk-NO7XMBB5.js";
|
|
30
|
+
zealWallet
|
|
31
|
+
} from "./chunk-JROWU5BP.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
foxWallet
|
|
34
|
+
} from "./chunk-XYBEMO3C.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
roninWallet
|
|
37
|
+
} from "./chunk-25VW5TZP.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
ramperWallet
|
|
40
|
+
} from "./chunk-PIUNLQJG.js";
|
|
41
41
|
import {
|
|
42
42
|
rainbowWallet
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MOOBCMMB.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
45
|
+
oneKeyWallet
|
|
46
|
+
} from "./chunk-4AD7VI2P.js";
|
|
47
47
|
import {
|
|
48
48
|
safeheronWallet
|
|
49
49
|
} from "./chunk-R6RWZRFF.js";
|
|
50
|
-
import {
|
|
51
|
-
ramperWallet
|
|
52
|
-
} from "./chunk-PIUNLQJG.js";
|
|
53
50
|
import {
|
|
54
51
|
subWallet
|
|
55
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4UM4GTKZ.js";
|
|
56
53
|
import {
|
|
57
54
|
safeWallet
|
|
58
55
|
} from "./chunk-BQQQL6UD.js";
|
|
59
56
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import {
|
|
63
|
-
mewWallet
|
|
64
|
-
} from "./chunk-V57WLZEE.js";
|
|
65
|
-
import {
|
|
66
|
-
metaMaskWallet
|
|
67
|
-
} from "./chunk-G73C6P5P.js";
|
|
57
|
+
talismanWallet
|
|
58
|
+
} from "./chunk-ABFSXBE6.js";
|
|
68
59
|
import {
|
|
69
60
|
oktoWallet
|
|
70
61
|
} from "./chunk-ADIXAKUL.js";
|
|
71
62
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
63
|
+
oneInchWallet
|
|
64
|
+
} from "./chunk-OESTDX6I.js";
|
|
74
65
|
import {
|
|
75
66
|
okxWallet
|
|
76
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-3U3BMEH5.js";
|
|
77
68
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
69
|
+
metaMaskWallet
|
|
70
|
+
} from "./chunk-N2NIIUW6.js";
|
|
71
|
+
import {
|
|
72
|
+
kresusWallet
|
|
73
|
+
} from "./chunk-MJXPRJZT.js";
|
|
80
74
|
import {
|
|
81
75
|
phantomWallet
|
|
82
76
|
} from "./chunk-ZSVTX6EK.js";
|
|
83
77
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
78
|
+
rabbyWallet
|
|
79
|
+
} from "./chunk-BVX4XGNP.js";
|
|
86
80
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
81
|
+
omniWallet
|
|
82
|
+
} from "./chunk-7CUY5G6R.js";
|
|
89
83
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
84
|
+
gateWallet
|
|
85
|
+
} from "./chunk-3NC26XLM.js";
|
|
92
86
|
import {
|
|
93
87
|
imTokenWallet
|
|
94
88
|
} from "./chunk-COZ7MIQS.js";
|
|
95
89
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
90
|
+
frontierWallet
|
|
91
|
+
} from "./chunk-HKV7EMYZ.js";
|
|
92
|
+
import {
|
|
93
|
+
frameWallet
|
|
94
|
+
} from "./chunk-ZMYVTWDF.js";
|
|
95
|
+
import {
|
|
96
|
+
ledgerWallet
|
|
97
|
+
} from "./chunk-BRBKM4PW.js";
|
|
98
|
+
import {
|
|
99
|
+
mewWallet
|
|
100
|
+
} from "./chunk-V57WLZEE.js";
|
|
98
101
|
import {
|
|
99
102
|
injectedWallet
|
|
100
103
|
} from "./chunk-VCVVV2K7.js";
|
|
101
104
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import {
|
|
105
|
-
bybitWallet
|
|
106
|
-
} from "./chunk-6ONTSPEY.js";
|
|
105
|
+
braveWallet
|
|
106
|
+
} from "./chunk-PB254NQ4.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
108
|
+
coinbaseWallet
|
|
109
|
+
} from "./chunk-H4IRCEZN.js";
|
|
110
110
|
import {
|
|
111
111
|
coreWallet
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-JXP2QPW7.js";
|
|
113
113
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
114
|
+
clvWallet
|
|
115
|
+
} from "./chunk-LEXSM5KI.js";
|
|
116
116
|
import {
|
|
117
117
|
dawnWallet
|
|
118
118
|
} from "./chunk-LN7OD5EC.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
120
|
+
coin98Wallet
|
|
121
|
+
} from "./chunk-KFFJPS5R.js";
|
|
122
|
+
import {
|
|
123
|
+
desigWallet
|
|
124
|
+
} from "./chunk-CTU6JCOK.js";
|
|
122
125
|
import {
|
|
123
126
|
enkryptWallet
|
|
124
127
|
} from "./chunk-SJTXS4ZW.js";
|
|
125
128
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
129
|
+
bifrostWallet
|
|
130
|
+
} from "./chunk-545L7Y4M.js";
|
|
128
131
|
import {
|
|
129
132
|
argentWallet
|
|
130
133
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
134
|
import {
|
|
132
|
-
|
|
133
|
-
} from "./chunk-
|
|
135
|
+
bitverseWallet
|
|
136
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
134
137
|
import {
|
|
135
138
|
bitskiWallet
|
|
136
139
|
} from "./chunk-P74YPRF6.js";
|
|
140
|
+
import {
|
|
141
|
+
bybitWallet
|
|
142
|
+
} from "./chunk-W5O4YSZN.js";
|
|
137
143
|
import {
|
|
138
144
|
bloomWallet
|
|
139
145
|
} from "./chunk-S27IADFU.js";
|
|
140
146
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import {
|
|
144
|
-
braveWallet
|
|
145
|
-
} from "./chunk-PB254NQ4.js";
|
|
146
|
-
import {
|
|
147
|
-
coin98Wallet
|
|
148
|
-
} from "./chunk-DTRYS3MO.js";
|
|
149
|
-
import "./chunk-23WIEY36.js";
|
|
147
|
+
bitgetWallet
|
|
148
|
+
} from "./chunk-7GSNBOD3.js";
|
|
150
149
|
import "./chunk-WRA2DVJ7.js";
|
|
150
|
+
import "./chunk-23WIEY36.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
|
153
153
|
bifrostWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
"react-virtuoso": "4.10.1",
|
|
91
91
|
"ua-parser-js": "^1.0.37",
|
|
92
92
|
"uuid": "^9.0.1",
|
|
93
|
-
"@funkit/api-base": "1.5.
|
|
94
|
-
"@funkit/core": "2.3.7",
|
|
93
|
+
"@funkit/api-base": "1.5.8",
|
|
95
94
|
"@funkit/chains": "0.1.2",
|
|
96
|
-
"@funkit/
|
|
97
|
-
"@funkit/
|
|
95
|
+
"@funkit/utils": "1.0.8",
|
|
96
|
+
"@funkit/core": "2.3.9",
|
|
97
|
+
"@funkit/wagmi-tools": "3.0.31"
|
|
98
98
|
},
|
|
99
99
|
"repository": {
|
|
100
100
|
"type": "git",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WalletConnector } from '../../wallets/useWalletConnectors';
|
|
3
|
-
interface Props {
|
|
4
|
-
qrCodeUri?: string;
|
|
5
|
-
wallet: WalletConnector;
|
|
6
|
-
}
|
|
7
|
-
export declare const ConnectDetail: ({ qrCodeUri, wallet }: Props) => React.JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { Address } from 'viem';
|
|
2
|
-
import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
|
|
3
|
-
export declare function useRedirectToCheckoutHistory(checkoutItem: FunkitActiveCheckoutItem | null, onClose: () => void): (depositAddress: Address) => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { HistoryContentPages } from '../../utils/checkoutHistory';
|
|
3
|
-
interface FunCheckoutHistoryModalProps {
|
|
4
|
-
open: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
depositAddress: `0x${string}`;
|
|
7
|
-
initialPage: HistoryContentPages;
|
|
8
|
-
}
|
|
9
|
-
export declare function FunCheckoutHistoryModal({ onClose, open, depositAddress, initialPage, }: FunCheckoutHistoryModalProps): React.JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from 'react';
|
|
2
|
-
export type DisclaimerComponent = React.FunctionComponent<{
|
|
3
|
-
Text: React.FunctionComponent<{
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}>;
|
|
6
|
-
Link: React.FunctionComponent<{
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
href: string;
|
|
9
|
-
}>;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const defaultAppInfo: {
|
|
12
|
-
appName: undefined;
|
|
13
|
-
disclaimer: undefined;
|
|
14
|
-
learnMoreUrl: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const AppContext: React.Context<{
|
|
17
|
-
appName?: string;
|
|
18
|
-
learnMoreUrl?: string;
|
|
19
|
-
disclaimer?: DisclaimerComponent;
|
|
20
|
-
}>;
|
|
File without changes
|
|
File without changes
|