@funkit/connect 4.0.3 → 4.1.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 +26 -0
- package/dist/{chunk-3F3EYDDR.js → chunk-5BMBHTAR.js} +2 -9
- package/dist/{chunk-OMAXDH7G.js → chunk-REN4AGZZ.js} +0 -2
- package/dist/{chunk-LTOE4GIY.js → chunk-TO3BYKDH.js} +2 -9
- package/dist/components/Box/Box.d.ts +51 -51
- package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
- package/dist/components/HelpAlert/HelpAlert.d.ts +6 -0
- package/dist/config/getDefaultConfig.d.ts +34 -34
- package/dist/consts/customers.d.ts +1 -0
- package/dist/consts/funkit.d.ts +0 -1
- package/dist/css/sprinkles.css.d.ts +53 -83
- package/dist/domains/checkoutFees.d.ts +1 -1
- package/dist/domains/quote.d.ts +2 -6
- package/dist/hooks/useMountEffect.d.ts +8 -0
- package/dist/index.css +1849 -2397
- package/dist/index.js +1967 -1722
- package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +1 -0
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +6 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +1 -0
- package/dist/providers/FunkitCheckoutContext.d.ts +2 -3
- package/dist/providers/FunkitConfigContext.d.ts +0 -7
- package/dist/providers/FunkitHistoryContext.d.ts +1 -1
- package/dist/providers/FunkitMeshProvider.d.ts +2 -0
- package/dist/providers/FunkitThemeProvider.d.ts +3 -48
- package/dist/providers/GeneralWalletProvider.d.ts +8 -8
- package/dist/providers/ModalContext.d.ts +0 -4
- package/dist/{scroll-G557LOXM.js → scroll-G3S4ZVYZ.js} +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/types/utils.d.ts +0 -6
- package/dist/utils/checkout.d.ts +8 -39
- package/dist/utils/checkoutHistory.d.ts +7 -0
- package/dist/utils/flags/config.d.ts +15 -1
- package/dist/utils/mesh.d.ts +3 -2
- package/dist/wallets/groupedWallets.d.ts +0 -1
- package/dist/wallets/latestWalletId.d.ts +0 -2
- 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 +63 -63
- 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/FunButton/FunViewTxButton.d.ts +0 -5
- package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +0 -7
- package/dist/hooks/useChainId.d.ts +0 -1
- package/dist/hooks/useCheckoutChains.d.ts +0 -1
- package/dist/hooks/useCheckoutType.d.ts +0 -5
- package/dist/hooks/useWindowSize.d.ts +0 -4
- package/dist/modals/DevTest/FunDevTestModal.d.ts +0 -6
|
@@ -7,61 +7,55 @@ import {
|
|
|
7
7
|
} from "./chunk-JROWU5BP.js";
|
|
8
8
|
import {
|
|
9
9
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AXWP3GD4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
kresusWallet
|
|
13
|
+
} from "./chunk-MJXPRJZT.js";
|
|
14
14
|
import {
|
|
15
15
|
talismanWallet
|
|
16
16
|
} from "./chunk-ABFSXBE6.js";
|
|
17
|
-
import {
|
|
18
|
-
tokenPocketWallet
|
|
19
|
-
} from "./chunk-FRGSRLTS.js";
|
|
20
17
|
import {
|
|
21
18
|
tokenaryWallet
|
|
22
19
|
} from "./chunk-SLOIIJGP.js";
|
|
23
|
-
import {
|
|
24
|
-
trustWallet
|
|
25
|
-
} from "./chunk-IPOC2VJX.js";
|
|
26
20
|
import {
|
|
27
21
|
uniswapWallet
|
|
28
22
|
} from "./chunk-LH7BMNFZ.js";
|
|
29
23
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
24
|
+
tokenPocketWallet
|
|
25
|
+
} from "./chunk-IDKVN5CF.js";
|
|
32
26
|
import {
|
|
33
27
|
walletConnectWallet
|
|
34
28
|
} from "./chunk-NP5QGWNL.js";
|
|
35
29
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
rabbyWallet
|
|
40
|
-
} from "./chunk-BVX4XGNP.js";
|
|
30
|
+
trustWallet
|
|
31
|
+
} from "./chunk-ISIBREBO.js";
|
|
41
32
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
33
|
+
tahoWallet
|
|
34
|
+
} from "./chunk-6P2EMPZI.js";
|
|
44
35
|
import {
|
|
45
36
|
ramperWallet
|
|
46
37
|
} from "./chunk-PIUNLQJG.js";
|
|
38
|
+
import {
|
|
39
|
+
oneKeyWallet
|
|
40
|
+
} from "./chunk-4AD7VI2P.js";
|
|
41
|
+
import {
|
|
42
|
+
rainbowWallet
|
|
43
|
+
} from "./chunk-2UCNRD7H.js";
|
|
47
44
|
import {
|
|
48
45
|
roninWallet
|
|
49
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-63YLN6R5.js";
|
|
50
47
|
import {
|
|
51
48
|
safeWallet
|
|
52
49
|
} from "./chunk-BQQQL6UD.js";
|
|
53
|
-
import {
|
|
54
|
-
safeheronWallet
|
|
55
|
-
} from "./chunk-R6RWZRFF.js";
|
|
56
50
|
import {
|
|
57
51
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-MSFKSQBY.js";
|
|
59
53
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
54
|
+
safeheronWallet
|
|
55
|
+
} from "./chunk-R6RWZRFF.js";
|
|
62
56
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-AD2KIJB6.js";
|
|
65
59
|
import {
|
|
66
60
|
mewWallet
|
|
67
61
|
} from "./chunk-V57WLZEE.js";
|
|
@@ -69,53 +63,59 @@ import {
|
|
|
69
63
|
oktoWallet
|
|
70
64
|
} from "./chunk-ADIXAKUL.js";
|
|
71
65
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import {
|
|
75
|
-
omniWallet
|
|
76
|
-
} from "./chunk-7CUY5G6R.js";
|
|
66
|
+
imTokenWallet
|
|
67
|
+
} from "./chunk-COZ7MIQS.js";
|
|
77
68
|
import {
|
|
78
69
|
oneInchWallet
|
|
79
70
|
} from "./chunk-OESTDX6I.js";
|
|
80
71
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
72
|
+
omniWallet
|
|
73
|
+
} from "./chunk-7CUY5G6R.js";
|
|
83
74
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
75
|
+
phantomWallet
|
|
76
|
+
} from "./chunk-ZSVTX6EK.js";
|
|
86
77
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
78
|
+
rabbyWallet
|
|
79
|
+
} from "./chunk-BVX4XGNP.js";
|
|
80
|
+
import {
|
|
81
|
+
okxWallet
|
|
82
|
+
} from "./chunk-4WEHDI4Y.js";
|
|
89
83
|
import {
|
|
90
84
|
frontierWallet
|
|
91
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-3S2U24BJ.js";
|
|
92
86
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-LMZMXEXL.js";
|
|
95
89
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
90
|
+
enkryptWallet
|
|
91
|
+
} from "./chunk-SJTXS4ZW.js";
|
|
92
|
+
import {
|
|
93
|
+
gateWallet
|
|
94
|
+
} from "./chunk-GSOYKKIS.js";
|
|
98
95
|
import {
|
|
99
96
|
injectedWallet
|
|
100
97
|
} from "./chunk-VCVVV2K7.js";
|
|
101
98
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
99
|
+
ledgerWallet
|
|
100
|
+
} from "./chunk-BRBKM4PW.js";
|
|
104
101
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
102
|
+
metaMaskWallet
|
|
103
|
+
} from "./chunk-G73C6P5P.js";
|
|
107
104
|
import {
|
|
108
105
|
coin98Wallet
|
|
109
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-DTRYS3MO.js";
|
|
107
|
+
import {
|
|
108
|
+
bitgetWallet
|
|
109
|
+
} from "./chunk-A5APNTGL.js";
|
|
110
|
+
import {
|
|
111
|
+
bitskiWallet
|
|
112
|
+
} from "./chunk-P74YPRF6.js";
|
|
110
113
|
import {
|
|
111
114
|
coinbaseWallet
|
|
112
115
|
} from "./chunk-H4IRCEZN.js";
|
|
113
|
-
import {
|
|
114
|
-
clvWallet
|
|
115
|
-
} from "./chunk-LEXSM5KI.js";
|
|
116
116
|
import {
|
|
117
117
|
coreWallet
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-HBA36GW3.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-LN7OD5EC.js";
|
|
@@ -123,20 +123,14 @@ import {
|
|
|
123
123
|
desigWallet
|
|
124
124
|
} from "./chunk-CTU6JCOK.js";
|
|
125
125
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-ZMYVTWDF.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
|
-
import {
|
|
132
|
-
bitskiWallet
|
|
133
|
-
} from "./chunk-P74YPRF6.js";
|
|
134
|
-
import {
|
|
135
|
-
bitgetWallet
|
|
136
|
-
} from "./chunk-7GSNBOD3.js";
|
|
137
131
|
import {
|
|
138
132
|
bifrostWallet
|
|
139
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-W6N74MS3.js";
|
|
140
134
|
import {
|
|
141
135
|
bitverseWallet
|
|
142
136
|
} from "./chunk-3HZRRP4Y.js";
|
|
@@ -145,9 +139,15 @@ import {
|
|
|
145
139
|
} from "./chunk-S27IADFU.js";
|
|
146
140
|
import {
|
|
147
141
|
bybitWallet
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import
|
|
142
|
+
} from "./chunk-6ONTSPEY.js";
|
|
143
|
+
import {
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-PB254NQ4.js";
|
|
146
|
+
import {
|
|
147
|
+
clvWallet
|
|
148
|
+
} from "./chunk-KR6JBW5E.js";
|
|
150
149
|
import "./chunk-23WIEY36.js";
|
|
150
|
+
import "./chunk-WRA2DVJ7.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": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@aws-sdk/client-s3": "^3.600.0",
|
|
48
48
|
"@chromatic-com/storybook": "^3.2.2",
|
|
49
|
-
"@meshconnect/node-api": "2.0.
|
|
49
|
+
"@meshconnect/node-api": "2.0.14",
|
|
50
50
|
"@storybook/addon-essentials": "^8.4.4",
|
|
51
51
|
"@storybook/addon-interactions": "^8.4.4",
|
|
52
52
|
"@storybook/addon-links": "^8.4.4",
|
|
@@ -90,10 +90,10 @@
|
|
|
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.
|
|
93
|
+
"@funkit/api-base": "1.5.0",
|
|
94
94
|
"@funkit/utils": "1.0.3",
|
|
95
|
-
"@funkit/
|
|
96
|
-
"@funkit/
|
|
95
|
+
"@funkit/wagmi-tools": "3.0.21",
|
|
96
|
+
"@funkit/core": "2.3.0"
|
|
97
97
|
},
|
|
98
98
|
"repository": {
|
|
99
99
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useChainId(): number | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useFunkitCheckoutChainsById: () => Record<number, import("..").Chain>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig, ServerCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
2
|
-
export declare function evaluateCheckoutGenerateActionsParams(config: FunkitCheckoutConfig | ServerCheckoutConfig): FunkitCheckoutActionParams[];
|
|
3
|
-
export declare function isCheckoutCrFlow(checkoutItem: FunkitActiveCheckoutItem): boolean;
|
|
4
|
-
export declare function isCheckoutDirectCrFlow(checkoutItem: FunkitActiveCheckoutItem): boolean;
|
|
5
|
-
export declare function isCheckoutPostActionRequired(config: FunkitCheckoutConfig | ServerCheckoutConfig): boolean;
|