@funkit/connect 6.3.0 → 6.4.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 +10 -0
- package/dist/index.js +4 -4
- 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 +57 -57
- 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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -10289,7 +10289,7 @@ function computeDigest(relayQuoteMetadata, uiCustomizations, totalPriceImpactPer
|
|
|
10289
10289
|
const isMainnet = details?.currencyIn?.currency?.chainId === mainnet5.id || details?.currencyOut?.currency?.chainId === mainnet5.id;
|
|
10290
10290
|
const percent = formatPercent(totalPriceImpactPercent);
|
|
10291
10291
|
return {
|
|
10292
|
-
isMainnet
|
|
10292
|
+
isMainnet,
|
|
10293
10293
|
value: isMainnet ? `${formatCurrencyAndStringify2(gasUsd)} \u2022 ${percent}` : percent
|
|
10294
10294
|
};
|
|
10295
10295
|
}
|
|
@@ -22623,12 +22623,12 @@ function PayPal() {
|
|
|
22623
22623
|
if (isMeldEnabled && isPaypalReady) {
|
|
22624
22624
|
openMeldPopup(() => mutateAsync(MeldServiceProvider2.PAYPAL));
|
|
22625
22625
|
} else {
|
|
22626
|
-
checkoutItem?.initSettings.
|
|
22626
|
+
checkoutItem?.initSettings.onPolymarketPayPalSwitch?.();
|
|
22627
22627
|
}
|
|
22628
22628
|
}, [
|
|
22629
22629
|
mutateAsync,
|
|
22630
22630
|
isMeldEnabled,
|
|
22631
|
-
checkoutItem?.initSettings.
|
|
22631
|
+
checkoutItem?.initSettings.onPolymarketPayPalSwitch
|
|
22632
22632
|
]);
|
|
22633
22633
|
if (!isPolymarketCustomer(apiKey)) {
|
|
22634
22634
|
return null;
|
|
@@ -31383,7 +31383,7 @@ function setFunkitConnectVersion({ version }) {
|
|
|
31383
31383
|
localStorage.setItem(storageKey5, version);
|
|
31384
31384
|
}
|
|
31385
31385
|
function getCurrentSdkVersion() {
|
|
31386
|
-
return "6.
|
|
31386
|
+
return "6.4.0";
|
|
31387
31387
|
}
|
|
31388
31388
|
function useFingerprint() {
|
|
31389
31389
|
const fingerprint = useCallback51(() => {
|
|
@@ -1,76 +1,70 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
xdefiWallet
|
|
4
|
-
} from "./chunk-BOU4WKRZ.js";
|
|
5
2
|
import {
|
|
6
3
|
zealWallet
|
|
7
4
|
} from "./chunk-RNBEDQHF.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
tahoWallet
|
|
13
|
-
} from "./chunk-ZZZRUXZE.js";
|
|
14
|
-
import {
|
|
15
|
-
subWallet
|
|
16
|
-
} from "./chunk-ZSI5N4VV.js";
|
|
7
|
+
} from "./chunk-SULRQO27.js";
|
|
17
8
|
import {
|
|
18
9
|
talismanWallet
|
|
19
10
|
} from "./chunk-DRO6WYMM.js";
|
|
11
|
+
import {
|
|
12
|
+
subWallet
|
|
13
|
+
} from "./chunk-JWFF4AAL.js";
|
|
20
14
|
import {
|
|
21
15
|
tokenPocketWallet
|
|
22
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2L43XSW3.js";
|
|
17
|
+
import {
|
|
18
|
+
trustWallet
|
|
19
|
+
} from "./chunk-VYBAYMP3.js";
|
|
23
20
|
import {
|
|
24
21
|
tokenaryWallet
|
|
25
22
|
} from "./chunk-D6AOOO5F.js";
|
|
26
23
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
walletConnectWallet
|
|
25
|
+
} from "./chunk-NP5QGWNL.js";
|
|
29
26
|
import {
|
|
30
27
|
uniswapWallet
|
|
31
28
|
} from "./chunk-LH7BMNFZ.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import {
|
|
36
|
-
phantomWallet
|
|
37
|
-
} from "./chunk-362NXNTM.js";
|
|
30
|
+
xdefiWallet
|
|
31
|
+
} from "./chunk-BOU4WKRZ.js";
|
|
38
32
|
import {
|
|
39
33
|
rabbyWallet
|
|
40
34
|
} from "./chunk-BBOM42DL.js";
|
|
41
35
|
import {
|
|
42
36
|
rainbowWallet
|
|
43
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-2KUBG3S6.js";
|
|
44
38
|
import {
|
|
45
39
|
ramperWallet
|
|
46
40
|
} from "./chunk-BYXPFMI7.js";
|
|
47
|
-
import {
|
|
48
|
-
roninWallet
|
|
49
|
-
} from "./chunk-QLVVUKYB.js";
|
|
50
41
|
import {
|
|
51
42
|
safeWallet
|
|
52
43
|
} from "./chunk-BQQQL6UD.js";
|
|
44
|
+
import {
|
|
45
|
+
roninWallet
|
|
46
|
+
} from "./chunk-NWIQNBJU.js";
|
|
53
47
|
import {
|
|
54
48
|
safeheronWallet
|
|
55
49
|
} from "./chunk-RZIO5TFF.js";
|
|
56
50
|
import {
|
|
57
51
|
safepalWallet
|
|
58
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-NT2HYJKW.js";
|
|
59
53
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
54
|
+
tahoWallet
|
|
55
|
+
} from "./chunk-ZZZRUXZE.js";
|
|
62
56
|
import {
|
|
63
57
|
ledgerWallet
|
|
64
58
|
} from "./chunk-BRBKM4PW.js";
|
|
65
59
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
60
|
+
metaMaskWallet
|
|
61
|
+
} from "./chunk-2HYNUNAS.js";
|
|
62
|
+
import {
|
|
63
|
+
okxWallet
|
|
64
|
+
} from "./chunk-TDIEHTMB.js";
|
|
68
65
|
import {
|
|
69
66
|
oktoWallet
|
|
70
67
|
} from "./chunk-ADIXAKUL.js";
|
|
71
|
-
import {
|
|
72
|
-
okxWallet
|
|
73
|
-
} from "./chunk-AFXHGWBH.js";
|
|
74
68
|
import {
|
|
75
69
|
omniWallet
|
|
76
70
|
} from "./chunk-7CUY5G6R.js";
|
|
@@ -81,73 +75,79 @@ import {
|
|
|
81
75
|
oneKeyWallet
|
|
82
76
|
} from "./chunk-SHBUZ7U7.js";
|
|
83
77
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
78
|
+
phantomWallet
|
|
79
|
+
} from "./chunk-362NXNTM.js";
|
|
86
80
|
import {
|
|
87
81
|
frameWallet
|
|
88
82
|
} from "./chunk-IFON7E6U.js";
|
|
83
|
+
import {
|
|
84
|
+
frontierWallet
|
|
85
|
+
} from "./chunk-TCAGNB4B.js";
|
|
86
|
+
import {
|
|
87
|
+
desigWallet
|
|
88
|
+
} from "./chunk-OPAZMNA7.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-FKJJQNKX.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-COZ7MIQS.js";
|
|
95
95
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
96
|
+
injectedWallet
|
|
97
|
+
} from "./chunk-XWUJE7MW.js";
|
|
98
98
|
import {
|
|
99
99
|
kresusWallet
|
|
100
100
|
} from "./chunk-MJXPRJZT.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import {
|
|
105
|
-
braveWallet
|
|
106
|
-
} from "./chunk-BPZ2XJO2.js";
|
|
102
|
+
mewWallet
|
|
103
|
+
} from "./chunk-OL5ZO7E4.js";
|
|
107
104
|
import {
|
|
108
105
|
clvWallet
|
|
109
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-M3NZ6R2E.js";
|
|
110
107
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
108
|
+
coinbaseWallet
|
|
109
|
+
} from "./chunk-H4IRCEZN.js";
|
|
113
110
|
import {
|
|
114
111
|
coreWallet
|
|
115
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-VR4TBQ6S.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
coin98Wallet
|
|
115
|
+
} from "./chunk-OBOVHCEI.js";
|
|
116
|
+
import {
|
|
117
|
+
argentWallet
|
|
118
|
+
} from "./chunk-WSQ2YJO2.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-HWPKCIBE.js";
|
|
122
|
-
import {
|
|
123
|
-
desigWallet
|
|
124
|
-
} from "./chunk-OPAZMNA7.js";
|
|
125
122
|
import {
|
|
126
123
|
enkryptWallet
|
|
127
124
|
} from "./chunk-OLOIXTYS.js";
|
|
128
125
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
126
|
+
foxWallet
|
|
127
|
+
} from "./chunk-7QONTUXT.js";
|
|
131
128
|
import {
|
|
132
129
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-A5N6B5UW.js";
|
|
131
|
+
import {
|
|
132
|
+
bitgetWallet
|
|
133
|
+
} from "./chunk-TDAVGY5F.js";
|
|
134
134
|
import {
|
|
135
135
|
bitskiWallet
|
|
136
136
|
} from "./chunk-HS3C7OQV.js";
|
|
137
|
-
import {
|
|
138
|
-
bitgetWallet
|
|
139
|
-
} from "./chunk-5W7VDOCL.js";
|
|
140
137
|
import {
|
|
141
138
|
bitverseWallet
|
|
142
139
|
} from "./chunk-3HZRRP4Y.js";
|
|
143
140
|
import {
|
|
144
141
|
bloomWallet
|
|
145
142
|
} from "./chunk-S27IADFU.js";
|
|
143
|
+
import {
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
146
146
|
import {
|
|
147
147
|
bybitWallet
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-DNSG5Q7V.js";
|
|
148
|
+
} from "./chunk-2STUC6QL.js";
|
|
150
149
|
import "./chunk-23WIEY36.js";
|
|
150
|
+
import "./chunk-DNSG5Q7V.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": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
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
|
"@vanilla-extract/css-utils": "^0.1.4",
|
|
60
60
|
"@vanilla-extract/private": "^1.0.7",
|
|
61
61
|
"@vanilla-extract/vite-plugin": "^5.0.3",
|
|
62
|
-
"@vitejs/plugin-react": "^
|
|
62
|
+
"@vitejs/plugin-react": "^5.0.2",
|
|
63
63
|
"autoprefixer": "^10.4.16",
|
|
64
64
|
"buffer": "^6.0.3",
|
|
65
65
|
"jsdom": "^26.1.0",
|
|
@@ -96,10 +96,10 @@
|
|
|
96
96
|
"uuid": "^9.0.1",
|
|
97
97
|
"@funkit/api-base": "1.9.16",
|
|
98
98
|
"@funkit/chains": "0.3.9",
|
|
99
|
-
"@funkit/fun-relay": "1.0.1",
|
|
100
|
-
"@funkit/utils": "1.1.8",
|
|
101
99
|
"@funkit/core": "2.3.41",
|
|
102
|
-
"@funkit/wagmi-tools": "3.0.63"
|
|
100
|
+
"@funkit/wagmi-tools": "3.0.63",
|
|
101
|
+
"@funkit/fun-relay": "1.0.1",
|
|
102
|
+
"@funkit/utils": "1.1.8"
|
|
103
103
|
},
|
|
104
104
|
"repository": {
|
|
105
105
|
"type": "git",
|