@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.
Files changed (26) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
  3. package/dist/index.css +4 -4
  4. package/dist/index.js +175 -116
  5. package/dist/providers/FunkitConfigContext.d.ts +5 -0
  6. package/dist/utils/checkout.d.ts +1 -1
  7. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  9. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  12. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/index.js +72 -72
  17. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  26. 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 */
@@ -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,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-UIASLGLV.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-A5N6B5UW.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  bifrostWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-5W7VDOCL.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-TDAVGY5F.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  bitgetWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-LNEC5RNX.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2STUC6QL.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  bybitWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-2GJQ4XZQ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-M3NZ6R2E.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  clvWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-KIDC67XJ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-OBOVHCEI.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  coin98Wallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-JCHN6A47.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-VR4TBQ6S.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  coreWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-CNPKISHN.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-7QONTUXT.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  foxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-VWCLFMWJ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-TCAGNB4B.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  frontierWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-CJGUM55H.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-FKJJQNKX.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  gateWallet
9
9
  };
@@ -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
- tokenPocketWallet
13
- } from "./chunk-J3LI3FYZ.js";
6
+ zerionWallet
7
+ } from "./chunk-SULRQO27.js";
14
8
  import {
15
- tokenaryWallet
16
- } from "./chunk-D6AOOO5F.js";
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-RKPCWHXL.js";
16
+ } from "./chunk-VYBAYMP3.js";
20
17
  import {
21
- subWallet
22
- } from "./chunk-ZSI5N4VV.js";
18
+ talismanWallet
19
+ } from "./chunk-DRO6WYMM.js";
23
20
  import {
24
- zealWallet
25
- } from "./chunk-RNBEDQHF.js";
21
+ tokenPocketWallet
22
+ } from "./chunk-2L43XSW3.js";
26
23
  import {
27
- uniswapWallet
28
- } from "./chunk-LH7BMNFZ.js";
24
+ tokenaryWallet
25
+ } from "./chunk-D6AOOO5F.js";
29
26
  import {
30
- zerionWallet
31
- } from "./chunk-Q3H3TRBS.js";
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-3CICVJUN.js";
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-EC6CHBSZ.js";
55
+ } from "./chunk-NT2HYJKW.js";
53
56
  import {
54
- safeheronWallet
55
- } from "./chunk-RZIO5TFF.js";
57
+ subWallet
58
+ } from "./chunk-JWFF4AAL.js";
56
59
  import {
57
- talismanWallet
58
- } from "./chunk-DRO6WYMM.js";
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-AFXHGWBH.js";
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
- oneKeyWallet
73
- } from "./chunk-SHBUZ7U7.js";
75
+ oneInchWallet
76
+ } from "./chunk-OESTDX6I.js";
74
77
  import {
75
78
  phantomWallet
76
79
  } from "./chunk-362NXNTM.js";
77
80
  import {
78
- oneInchWallet
79
- } from "./chunk-OESTDX6I.js";
81
+ omniWallet
82
+ } from "./chunk-7CUY5G6R.js";
80
83
  import {
81
- roninWallet
82
- } from "./chunk-QLVVUKYB.js";
84
+ frameWallet
85
+ } from "./chunk-IFON7E6U.js";
83
86
  import {
84
- gateWallet
85
- } from "./chunk-CJGUM55H.js";
87
+ foxWallet
88
+ } from "./chunk-7QONTUXT.js";
86
89
  import {
87
90
  imTokenWallet
88
91
  } from "./chunk-COZ7MIQS.js";
89
92
  import {
90
- injectedWallet
91
- } from "./chunk-XWUJE7MW.js";
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
- ledgerWallet
97
- } from "./chunk-BRBKM4PW.js";
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-LNEC5RNX.js";
106
+ } from "./chunk-2STUC6QL.js";
104
107
  import {
105
108
  coinbaseWallet
106
109
  } from "./chunk-H4IRCEZN.js";
107
110
  import {
108
- dawnWallet
109
- } from "./chunk-HWPKCIBE.js";
111
+ bitskiWallet
112
+ } from "./chunk-HS3C7OQV.js";
110
113
  import {
111
- coreWallet
112
- } from "./chunk-JCHN6A47.js";
114
+ coin98Wallet
115
+ } from "./chunk-OBOVHCEI.js";
113
116
  import {
114
117
  desigWallet
115
118
  } from "./chunk-OPAZMNA7.js";
116
119
  import {
117
- foxWallet
118
- } from "./chunk-CNPKISHN.js";
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
- bitskiWallet
136
- } from "./chunk-HS3C7OQV.js";
132
+ bifrostWallet
133
+ } from "./chunk-A5N6B5UW.js";
137
134
  import {
138
- braveWallet
139
- } from "./chunk-BPZ2XJO2.js";
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
- bitgetWallet
145
- } from "./chunk-5W7VDOCL.js";
144
+ braveWallet
145
+ } from "./chunk-BPZ2XJO2.js";
146
146
  import {
147
- coin98Wallet
148
- } from "./chunk-KIDC67XJ.js";
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,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-UYGJO62F.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2HYNUNAS.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  metaMaskWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-AFXHGWBH.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-TDIEHTMB.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  okxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-3CICVJUN.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2KUBG3S6.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  rainbowWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-QLVVUKYB.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-NWIQNBJU.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  roninWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-EC6CHBSZ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-NT2HYJKW.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  safepalWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-ZSI5N4VV.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-JWFF4AAL.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  subWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-J3LI3FYZ.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-2L43XSW3.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  tokenPocketWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-RKPCWHXL.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-VYBAYMP3.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  trustWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-Q3H3TRBS.js";
5
- import "../chunk-DNSG5Q7V.js";
4
+ } from "../chunk-SULRQO27.js";
6
5
  import "../chunk-23WIEY36.js";
6
+ import "../chunk-DNSG5Q7V.js";
7
7
  export {
8
8
  zerionWallet
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.0.6",
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/chains": "0.3.8",
92
+ "@funkit/api-base": "1.9.15",
93
93
  "@funkit/utils": "1.1.8",
94
- "@funkit/wagmi-tools": "3.0.60",
95
- "@funkit/api-base": "1.9.14",
94
+ "@funkit/chains": "0.3.8",
95
+ "@funkit/core": "2.3.39",
96
96
  "@funkit/fun-relay": "1.0.1",
97
- "@funkit/core": "2.3.38"
97
+ "@funkit/wagmi-tools": "3.0.61"
98
98
  },
99
99
  "repository": {
100
100
  "type": "git",