@funkit/connect 6.14.0 → 6.14.1
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 +6 -0
- package/dist/index.js +5 -5
- package/dist/wallets/walletConnectors/index.js +46 -46
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1659,7 +1659,7 @@ function GeneralWalletProvider({ children }) {
|
|
|
1659
1659
|
const { web2UserInfo, handleFunkitWeb2Logout } = useFunkitWeb2Login();
|
|
1660
1660
|
const { externalUserId, apiKey } = useFunkitConfig();
|
|
1661
1661
|
const loginType = !connector ? "guest" /* Guest */ : connector.id === FUNKIT_CONNECT_WALLET_ID ? "web2" /* Web2 */ : "web3" /* Web3 */;
|
|
1662
|
-
const isUserLoggedIn = loginType !== "guest" /* Guest
|
|
1662
|
+
const isUserLoggedIn = loginType !== "guest" /* Guest */ || !!externalUserId;
|
|
1663
1663
|
const userInfo = useMemo4(() => {
|
|
1664
1664
|
const id = externalUserId ? generateSyntheticUserId(apiKey, externalUserId) : address || "0x";
|
|
1665
1665
|
if (!address) {
|
|
@@ -26952,7 +26952,7 @@ var useRecentCheckouts = ({
|
|
|
26952
26952
|
).sort((a, b) => b.createdTimeMs - a.createdTimeMs);
|
|
26953
26953
|
},
|
|
26954
26954
|
refetchInterval: listRefresh,
|
|
26955
|
-
enabled:
|
|
26955
|
+
enabled: isUserLoggedIn && isVisible
|
|
26956
26956
|
});
|
|
26957
26957
|
return query;
|
|
26958
26958
|
};
|
|
@@ -26973,7 +26973,7 @@ var useRecentDirectExecutions = ({
|
|
|
26973
26973
|
isVisible,
|
|
26974
26974
|
filterFunc = () => true
|
|
26975
26975
|
}) => {
|
|
26976
|
-
const {
|
|
26976
|
+
const { userInfo, isUserLoggedIn } = useGeneralWallet();
|
|
26977
26977
|
const { apiKey } = useFunkitConfig();
|
|
26978
26978
|
const { listRefresh } = useCheckoutRefreshInterval();
|
|
26979
26979
|
const query = useQuery19({
|
|
@@ -26988,7 +26988,7 @@ var useRecentDirectExecutions = ({
|
|
|
26988
26988
|
return directExecutions.filter((de) => isRecent2(de, defaultTimestampCutoff) && filterFunc(de)).sort((a, b) => b.createdTimeMs - a.createdTimeMs);
|
|
26989
26989
|
},
|
|
26990
26990
|
refetchInterval: listRefresh,
|
|
26991
|
-
enabled:
|
|
26991
|
+
enabled: isUserLoggedIn && isVisible
|
|
26992
26992
|
});
|
|
26993
26993
|
return query;
|
|
26994
26994
|
};
|
|
@@ -31630,7 +31630,7 @@ function setFunkitConnectVersion({ version }) {
|
|
|
31630
31630
|
localStorage.setItem(storageKey5, version);
|
|
31631
31631
|
}
|
|
31632
31632
|
function getCurrentSdkVersion() {
|
|
31633
|
-
return "6.14.
|
|
31633
|
+
return "6.14.1";
|
|
31634
31634
|
}
|
|
31635
31635
|
function useFingerprint() {
|
|
31636
31636
|
const fingerprint = useCallback50(() => {
|
|
@@ -1,85 +1,85 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
zealWallet
|
|
7
|
-
} from "./chunk-RNBEDQHF.js";
|
|
3
|
+
walletConnectWallet
|
|
4
|
+
} from "./chunk-NP5QGWNL.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
7
|
} from "./chunk-SULRQO27.js";
|
|
8
|
+
import {
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-RNBEDQHF.js";
|
|
11
11
|
import {
|
|
12
12
|
subWallet
|
|
13
13
|
} from "./chunk-JWFF4AAL.js";
|
|
14
14
|
import {
|
|
15
15
|
tahoWallet
|
|
16
16
|
} from "./chunk-ZZZRUXZE.js";
|
|
17
|
-
import {
|
|
18
|
-
talismanWallet
|
|
19
|
-
} from "./chunk-DRO6WYMM.js";
|
|
20
17
|
import {
|
|
21
18
|
tokenPocketWallet
|
|
22
19
|
} from "./chunk-2L43XSW3.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
uniswapWallet
|
|
22
|
+
} from "./chunk-LH7BMNFZ.js";
|
|
26
23
|
import {
|
|
27
24
|
tokenaryWallet
|
|
28
25
|
} from "./chunk-D6AOOO5F.js";
|
|
29
26
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
27
|
+
talismanWallet
|
|
28
|
+
} from "./chunk-DRO6WYMM.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
30
|
+
trustWallet
|
|
31
|
+
} from "./chunk-VYBAYMP3.js";
|
|
32
|
+
import {
|
|
33
|
+
xdefiWallet
|
|
34
|
+
} from "./chunk-BOU4WKRZ.js";
|
|
35
35
|
import {
|
|
36
36
|
phantomWallet
|
|
37
37
|
} from "./chunk-362NXNTM.js";
|
|
38
|
-
import {
|
|
39
|
-
rabbyWallet
|
|
40
|
-
} from "./chunk-BBOM42DL.js";
|
|
41
38
|
import {
|
|
42
39
|
rainbowWallet
|
|
43
40
|
} from "./chunk-2KUBG3S6.js";
|
|
41
|
+
import {
|
|
42
|
+
roninWallet
|
|
43
|
+
} from "./chunk-NWIQNBJU.js";
|
|
44
|
+
import {
|
|
45
|
+
rabbyWallet
|
|
46
|
+
} from "./chunk-BBOM42DL.js";
|
|
44
47
|
import {
|
|
45
48
|
ramperWallet
|
|
46
49
|
} from "./chunk-BYXPFMI7.js";
|
|
47
|
-
import {
|
|
48
|
-
safeWallet
|
|
49
|
-
} from "./chunk-BQQQL6UD.js";
|
|
50
50
|
import {
|
|
51
51
|
safeheronWallet
|
|
52
52
|
} from "./chunk-RZIO5TFF.js";
|
|
53
|
-
import {
|
|
54
|
-
roninWallet
|
|
55
|
-
} from "./chunk-NWIQNBJU.js";
|
|
56
53
|
import {
|
|
57
54
|
safepalWallet
|
|
58
55
|
} from "./chunk-NT2HYJKW.js";
|
|
59
56
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
57
|
+
safeWallet
|
|
58
|
+
} from "./chunk-BQQQL6UD.js";
|
|
62
59
|
import {
|
|
63
60
|
ledgerWallet
|
|
64
61
|
} from "./chunk-BRBKM4PW.js";
|
|
65
|
-
import {
|
|
66
|
-
mewWallet
|
|
67
|
-
} from "./chunk-OL5ZO7E4.js";
|
|
68
62
|
import {
|
|
69
63
|
oktoWallet
|
|
70
64
|
} from "./chunk-ADIXAKUL.js";
|
|
71
65
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import {
|
|
75
|
-
oneInchWallet
|
|
76
|
-
} from "./chunk-OESTDX6I.js";
|
|
66
|
+
metaMaskWallet
|
|
67
|
+
} from "./chunk-2HYNUNAS.js";
|
|
77
68
|
import {
|
|
78
69
|
okxWallet
|
|
79
70
|
} from "./chunk-TDIEHTMB.js";
|
|
71
|
+
import {
|
|
72
|
+
mewWallet
|
|
73
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
80
74
|
import {
|
|
81
75
|
oneKeyWallet
|
|
82
76
|
} from "./chunk-SHBUZ7U7.js";
|
|
77
|
+
import {
|
|
78
|
+
omniWallet
|
|
79
|
+
} from "./chunk-7CUY5G6R.js";
|
|
80
|
+
import {
|
|
81
|
+
oneInchWallet
|
|
82
|
+
} from "./chunk-OESTDX6I.js";
|
|
83
83
|
import {
|
|
84
84
|
foxWallet
|
|
85
85
|
} from "./chunk-7QONTUXT.js";
|
|
@@ -101,12 +101,12 @@ import {
|
|
|
101
101
|
import {
|
|
102
102
|
kresusWallet
|
|
103
103
|
} from "./chunk-MJXPRJZT.js";
|
|
104
|
+
import {
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-2STUC6QL.js";
|
|
104
107
|
import {
|
|
105
108
|
clvWallet
|
|
106
109
|
} from "./chunk-M3NZ6R2E.js";
|
|
107
|
-
import {
|
|
108
|
-
bloomWallet
|
|
109
|
-
} from "./chunk-S27IADFU.js";
|
|
110
110
|
import {
|
|
111
111
|
coin98Wallet
|
|
112
112
|
} from "./chunk-OBOVHCEI.js";
|
|
@@ -116,37 +116,37 @@ import {
|
|
|
116
116
|
import {
|
|
117
117
|
coreWallet
|
|
118
118
|
} from "./chunk-VR4TBQ6S.js";
|
|
119
|
-
import {
|
|
120
|
-
desigWallet
|
|
121
|
-
} from "./chunk-OPAZMNA7.js";
|
|
122
119
|
import {
|
|
123
120
|
dawnWallet
|
|
124
121
|
} from "./chunk-HWPKCIBE.js";
|
|
122
|
+
import {
|
|
123
|
+
desigWallet
|
|
124
|
+
} from "./chunk-OPAZMNA7.js";
|
|
125
125
|
import {
|
|
126
126
|
enkryptWallet
|
|
127
127
|
} from "./chunk-OLOIXTYS.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
131
|
-
import {
|
|
132
|
-
bitskiWallet
|
|
133
|
-
} from "./chunk-HS3C7OQV.js";
|
|
134
131
|
import {
|
|
135
132
|
bifrostWallet
|
|
136
133
|
} from "./chunk-A5N6B5UW.js";
|
|
134
|
+
import {
|
|
135
|
+
bitskiWallet
|
|
136
|
+
} from "./chunk-HS3C7OQV.js";
|
|
137
137
|
import {
|
|
138
138
|
bitverseWallet
|
|
139
139
|
} from "./chunk-3HZRRP4Y.js";
|
|
140
140
|
import {
|
|
141
141
|
bitgetWallet
|
|
142
142
|
} from "./chunk-TDAVGY5F.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.14.
|
|
3
|
+
"version": "6.14.1",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
"uuid": "^9.0.1",
|
|
95
95
|
"@funkit/api-base": "1.12.3",
|
|
96
96
|
"@funkit/core": "2.3.48",
|
|
97
|
-
"@funkit/utils": "1.1.11",
|
|
98
|
-
"@funkit/chains": "0.4.0",
|
|
99
97
|
"@funkit/wagmi-tools": "3.0.71",
|
|
100
|
-
"@funkit/
|
|
98
|
+
"@funkit/chains": "0.4.0",
|
|
99
|
+
"@funkit/fun-relay": "2.0.3",
|
|
100
|
+
"@funkit/utils": "1.1.11"
|
|
101
101
|
},
|
|
102
102
|
"repository": {
|
|
103
103
|
"type": "git",
|