@funkit/connect 6.0.6 → 6.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 +22 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/index.css +4 -4
- package/dist/index.js +175 -116
- package/dist/providers/FunkitConfigContext.d.ts +5 -0
- package/dist/utils/checkout.d.ts +1 -1
- 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 +72 -72
- 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
|
@@ -37,6 +37,11 @@ export interface FunkitUiCustomizationsConfig {
|
|
|
37
37
|
destinationConfig?: FunkitUiDestinationConfig;
|
|
38
38
|
/** when source and destination are the same address, show destination as payment method instead of source */
|
|
39
39
|
preferDestinationWhenSame?: boolean;
|
|
40
|
+
/** whether and how to show transaction fee's digest.
|
|
41
|
+
* 'none': show nothing
|
|
42
|
+
* 'chainDependent': show price impact and additionally show gas as well for eth-mainnet
|
|
43
|
+
* */
|
|
44
|
+
showTransactionDigest?: 'none' | 'chainDependent';
|
|
40
45
|
};
|
|
41
46
|
inputAmountScreen?: {
|
|
42
47
|
/** Whether to allow entering an amount of tokens, rather than only USD - defaults to true */
|
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
|
|
|
54
54
|
bypassInit: boolean;
|
|
55
55
|
apiKey?: string;
|
|
56
56
|
nonce?: bigint | undefined;
|
|
57
|
-
logger?: import("@funkit/api-base").Logger | undefined;
|
|
58
57
|
fee?: {
|
|
59
58
|
token?: string;
|
|
60
59
|
amount?: number;
|
|
@@ -62,6 +61,7 @@ export declare function getFunkitEnvForCheckoutEstimation({ chainId, bypassWalle
|
|
|
62
61
|
recipient: Address;
|
|
63
62
|
} | undefined;
|
|
64
63
|
skipDBAction?: boolean | undefined;
|
|
64
|
+
logger?: import("@funkit/api-base").Logger | undefined;
|
|
65
65
|
};
|
|
66
66
|
export type TokenInfo = {
|
|
67
67
|
symbol: string;
|
|
@@ -1,153 +1,153 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
clvWallet
|
|
4
|
-
} from "./chunk-2GJQ4XZQ.js";
|
|
5
|
-
import {
|
|
6
|
-
bifrostWallet
|
|
7
|
-
} from "./chunk-UIASLGLV.js";
|
|
8
2
|
import {
|
|
9
3
|
xdefiWallet
|
|
10
4
|
} from "./chunk-BOU4WKRZ.js";
|
|
11
5
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
6
|
+
zerionWallet
|
|
7
|
+
} from "./chunk-SULRQO27.js";
|
|
14
8
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-RNBEDQHF.js";
|
|
11
|
+
import {
|
|
12
|
+
tahoWallet
|
|
13
|
+
} from "./chunk-ZZZRUXZE.js";
|
|
17
14
|
import {
|
|
18
15
|
trustWallet
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VYBAYMP3.js";
|
|
20
17
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
18
|
+
talismanWallet
|
|
19
|
+
} from "./chunk-DRO6WYMM.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
tokenPocketWallet
|
|
22
|
+
} from "./chunk-2L43XSW3.js";
|
|
26
23
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
24
|
+
tokenaryWallet
|
|
25
|
+
} from "./chunk-D6AOOO5F.js";
|
|
29
26
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
27
|
+
safeheronWallet
|
|
28
|
+
} from "./chunk-RZIO5TFF.js";
|
|
32
29
|
import {
|
|
33
30
|
walletConnectWallet
|
|
34
31
|
} from "./chunk-NP5QGWNL.js";
|
|
32
|
+
import {
|
|
33
|
+
uniswapWallet
|
|
34
|
+
} from "./chunk-LH7BMNFZ.js";
|
|
35
35
|
import {
|
|
36
36
|
rabbyWallet
|
|
37
37
|
} from "./chunk-BBOM42DL.js";
|
|
38
|
+
import {
|
|
39
|
+
oneKeyWallet
|
|
40
|
+
} from "./chunk-SHBUZ7U7.js";
|
|
38
41
|
import {
|
|
39
42
|
ramperWallet
|
|
40
43
|
} from "./chunk-BYXPFMI7.js";
|
|
41
44
|
import {
|
|
42
45
|
rainbowWallet
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-2KUBG3S6.js";
|
|
47
|
+
import {
|
|
48
|
+
roninWallet
|
|
49
|
+
} from "./chunk-NWIQNBJU.js";
|
|
44
50
|
import {
|
|
45
51
|
safeWallet
|
|
46
52
|
} from "./chunk-BQQQL6UD.js";
|
|
47
|
-
import {
|
|
48
|
-
tahoWallet
|
|
49
|
-
} from "./chunk-ZZZRUXZE.js";
|
|
50
53
|
import {
|
|
51
54
|
safepalWallet
|
|
52
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NT2HYJKW.js";
|
|
53
56
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-JWFF4AAL.js";
|
|
56
59
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
ledgerWallet
|
|
61
|
+
} from "./chunk-BRBKM4PW.js";
|
|
62
|
+
import {
|
|
63
|
+
metaMaskWallet
|
|
64
|
+
} from "./chunk-2HYNUNAS.js";
|
|
59
65
|
import {
|
|
60
66
|
okxWallet
|
|
61
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-TDIEHTMB.js";
|
|
62
68
|
import {
|
|
63
69
|
oktoWallet
|
|
64
70
|
} from "./chunk-ADIXAKUL.js";
|
|
65
|
-
import {
|
|
66
|
-
omniWallet
|
|
67
|
-
} from "./chunk-7CUY5G6R.js";
|
|
68
71
|
import {
|
|
69
72
|
mewWallet
|
|
70
73
|
} from "./chunk-OL5ZO7E4.js";
|
|
71
74
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
oneInchWallet
|
|
76
|
+
} from "./chunk-OESTDX6I.js";
|
|
74
77
|
import {
|
|
75
78
|
phantomWallet
|
|
76
79
|
} from "./chunk-362NXNTM.js";
|
|
77
80
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
81
|
+
omniWallet
|
|
82
|
+
} from "./chunk-7CUY5G6R.js";
|
|
80
83
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
84
|
+
frameWallet
|
|
85
|
+
} from "./chunk-IFON7E6U.js";
|
|
83
86
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-7QONTUXT.js";
|
|
86
89
|
import {
|
|
87
90
|
imTokenWallet
|
|
88
91
|
} from "./chunk-COZ7MIQS.js";
|
|
89
92
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
93
|
+
frontierWallet
|
|
94
|
+
} from "./chunk-TCAGNB4B.js";
|
|
95
|
+
import {
|
|
96
|
+
gateWallet
|
|
97
|
+
} from "./chunk-FKJJQNKX.js";
|
|
92
98
|
import {
|
|
93
99
|
kresusWallet
|
|
94
100
|
} from "./chunk-MJXPRJZT.js";
|
|
95
101
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
98
|
-
import {
|
|
99
|
-
metaMaskWallet
|
|
100
|
-
} from "./chunk-UYGJO62F.js";
|
|
102
|
+
injectedWallet
|
|
103
|
+
} from "./chunk-XWUJE7MW.js";
|
|
101
104
|
import {
|
|
102
105
|
bybitWallet
|
|
103
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-2STUC6QL.js";
|
|
104
107
|
import {
|
|
105
108
|
coinbaseWallet
|
|
106
109
|
} from "./chunk-H4IRCEZN.js";
|
|
107
110
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
111
|
+
bitskiWallet
|
|
112
|
+
} from "./chunk-HS3C7OQV.js";
|
|
110
113
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
114
|
+
coin98Wallet
|
|
115
|
+
} from "./chunk-OBOVHCEI.js";
|
|
113
116
|
import {
|
|
114
117
|
desigWallet
|
|
115
118
|
} from "./chunk-OPAZMNA7.js";
|
|
116
119
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
120
|
+
dawnWallet
|
|
121
|
+
} from "./chunk-HWPKCIBE.js";
|
|
122
|
+
import {
|
|
123
|
+
coreWallet
|
|
124
|
+
} from "./chunk-VR4TBQ6S.js";
|
|
119
125
|
import {
|
|
120
126
|
enkryptWallet
|
|
121
127
|
} from "./chunk-OLOIXTYS.js";
|
|
122
|
-
import {
|
|
123
|
-
frameWallet
|
|
124
|
-
} from "./chunk-IFON7E6U.js";
|
|
125
|
-
import {
|
|
126
|
-
frontierWallet
|
|
127
|
-
} from "./chunk-VWCLFMWJ.js";
|
|
128
|
-
import {
|
|
129
|
-
bitverseWallet
|
|
130
|
-
} from "./chunk-3HZRRP4Y.js";
|
|
131
128
|
import {
|
|
132
129
|
argentWallet
|
|
133
130
|
} from "./chunk-WSQ2YJO2.js";
|
|
134
131
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-A5N6B5UW.js";
|
|
137
134
|
import {
|
|
138
|
-
|
|
139
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-TDAVGY5F.js";
|
|
137
|
+
import {
|
|
138
|
+
bitverseWallet
|
|
139
|
+
} from "./chunk-3HZRRP4Y.js";
|
|
140
140
|
import {
|
|
141
141
|
bloomWallet
|
|
142
142
|
} from "./chunk-S27IADFU.js";
|
|
143
143
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-BPZ2XJO2.js";
|
|
146
146
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-DNSG5Q7V.js";
|
|
147
|
+
clvWallet
|
|
148
|
+
} from "./chunk-M3NZ6R2E.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.0
|
|
3
|
+
"version": "6.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",
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
"ua-parser-js": "^1.0.37",
|
|
90
90
|
"use-debounce": "^10.0.5",
|
|
91
91
|
"uuid": "^9.0.1",
|
|
92
|
-
"@funkit/
|
|
92
|
+
"@funkit/api-base": "1.9.15",
|
|
93
93
|
"@funkit/utils": "1.1.8",
|
|
94
|
-
"@funkit/
|
|
95
|
-
"@funkit/
|
|
94
|
+
"@funkit/chains": "0.3.8",
|
|
95
|
+
"@funkit/core": "2.3.39",
|
|
96
96
|
"@funkit/fun-relay": "1.0.1",
|
|
97
|
-
"@funkit/
|
|
97
|
+
"@funkit/wagmi-tools": "3.0.61"
|
|
98
98
|
},
|
|
99
99
|
"repository": {
|
|
100
100
|
"type": "git",
|