@funkit/connect 1.1.5 → 1.2.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 (136) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/components/CloseButton/CloseButton.d.ts +1 -1
  3. package/dist/components/ConnectButton/ConnectButton.d.ts +3 -1
  4. package/dist/components/FunButton/FunIconButton.d.ts +3 -3
  5. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +1 -1
  6. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +1 -1
  7. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +1 -1
  8. package/dist/components/Icons/ClockIcon.d.ts +1 -1
  9. package/dist/components/Icons/CoinIcon.d.ts +1 -1
  10. package/dist/components/Icons/Coinbase.d.ts +3 -1
  11. package/dist/components/Icons/Copied.d.ts +1 -1
  12. package/dist/components/Icons/EditIcon.d.ts +1 -1
  13. package/dist/components/Icons/EthereumIcon.d.ts +1 -1
  14. package/dist/components/Icons/FunkitPaymentsIconLine.d.ts +6 -0
  15. package/dist/components/Icons/LightningIcon.d.ts +1 -1
  16. package/dist/components/Icons/NoAssetsFoundIcon.d.ts +1 -1
  17. package/dist/components/Icons/PaymentMethodIcons.d.ts +1 -1
  18. package/dist/components/Icons/SearchIcon.d.ts +1 -1
  19. package/dist/components/Icons/Spinner.d.ts +2 -2
  20. package/dist/components/InfoButton/InfoButton.d.ts +1 -1
  21. package/dist/components/WalletButton/WalletButton.d.ts +1 -1
  22. package/dist/config/getDefaultConfig.d.ts +204 -60
  23. package/dist/hooks/useMesh.d.ts +6 -3
  24. package/dist/index.css +1 -1
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +455 -164
  27. package/dist/types/utils.d.ts +37 -0
  28. package/dist/utils/mesh.d.ts +4 -27
  29. package/dist/wallets/getInjectedConnector.d.ts +3 -2
  30. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  31. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  32. package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/braveWallet/braveWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/{chunk-MIWCKFYE.js → chunk-2DWBVWFI.js} +4 -4
  36. package/dist/wallets/walletConnectors/{chunk-3WZRNEZH.js → chunk-32KBKKGT.js} +9 -5
  37. package/dist/wallets/walletConnectors/{chunk-JLQ5HJYV.js → chunk-32O7HVBJ.js} +1 -1
  38. package/dist/wallets/walletConnectors/{chunk-O5NKWWEG.js → chunk-3CLNL7LR.js} +4 -4
  39. package/dist/wallets/walletConnectors/chunk-3F5GNHAG.js +182 -0
  40. package/dist/wallets/walletConnectors/{chunk-4FQLUQNA.js → chunk-3QXMJHL4.js} +1 -1
  41. package/dist/wallets/walletConnectors/{chunk-ZNXQ4V6G.js → chunk-3R3RNCGE.js} +4 -4
  42. package/dist/wallets/walletConnectors/{chunk-KGBLSE7L.js → chunk-4PTY6XNU.js} +1 -1
  43. package/dist/wallets/walletConnectors/{chunk-ZBAQFL6G.js → chunk-5L2OLU3J.js} +4 -4
  44. package/dist/wallets/walletConnectors/{chunk-XPEBP6XV.js → chunk-5SIHQ5GA.js} +1 -1
  45. package/dist/wallets/walletConnectors/{chunk-NGXIHASN.js → chunk-5ZGE5SN5.js} +1 -1
  46. package/dist/wallets/walletConnectors/chunk-7GGRZNT3.js +96 -0
  47. package/dist/wallets/walletConnectors/chunk-7YDZTPO4.js +100 -0
  48. package/dist/wallets/walletConnectors/{chunk-6LTLPR2Q.js → chunk-AFONKDII.js} +1 -1
  49. package/dist/wallets/walletConnectors/{chunk-ZUAHWUEL.js → chunk-BCXBFAL4.js} +4 -4
  50. package/dist/wallets/walletConnectors/{chunk-Z2DGDHHZ.js → chunk-BMHNXJZK.js} +1 -1
  51. package/dist/wallets/walletConnectors/{chunk-V45EXW7A.js → chunk-CMXZK5RR.js} +4 -4
  52. package/dist/wallets/walletConnectors/{chunk-LVRXH33E.js → chunk-CNTLU4ZV.js} +1 -1
  53. package/dist/wallets/walletConnectors/chunk-EXN2ODSI.js +73 -0
  54. package/dist/wallets/walletConnectors/{chunk-QII6PY2D.js → chunk-F3VCNZXS.js} +8 -6
  55. package/dist/wallets/walletConnectors/chunk-F4EJ42XO.js +105 -0
  56. package/dist/wallets/walletConnectors/chunk-FL2VIO76.js +71 -0
  57. package/dist/wallets/walletConnectors/{chunk-63NPZXAL.js → chunk-FQDX6QIP.js} +1 -1
  58. package/dist/wallets/walletConnectors/{chunk-7CQPABJG.js → chunk-G4DNQN67.js} +1 -1
  59. package/dist/wallets/walletConnectors/{chunk-KIHCNUU3.js → chunk-GUJHPWTU.js} +1 -1
  60. package/dist/wallets/walletConnectors/{chunk-XXFJVY73.js → chunk-HXGBE5AH.js} +1 -1
  61. package/dist/wallets/walletConnectors/chunk-IIJOJ6AD.js +102 -0
  62. package/dist/wallets/walletConnectors/{chunk-C67TQJ6W.js → chunk-IMZRCMZR.js} +1 -1
  63. package/dist/wallets/walletConnectors/{chunk-L734HTUS.js → chunk-JNZ3EYC7.js} +1 -1
  64. package/dist/wallets/walletConnectors/{chunk-ENZLEAG2.js → chunk-JRABHUUZ.js} +1 -1
  65. package/dist/wallets/walletConnectors/{chunk-ABYQAXUX.js → chunk-KJWMF6GZ.js} +1 -1
  66. package/dist/wallets/walletConnectors/{chunk-4XQDKOGF.js → chunk-KZFAL4RZ.js} +4 -4
  67. package/dist/wallets/walletConnectors/{chunk-2UXZAUWT.js → chunk-LJRV5JY7.js} +4 -4
  68. package/dist/wallets/walletConnectors/{chunk-AM4SSLAP.js → chunk-LOEDYNWO.js} +1 -1
  69. package/dist/wallets/walletConnectors/{chunk-Q4RLUJJD.js → chunk-M4SPCKW4.js} +4 -4
  70. package/dist/wallets/walletConnectors/chunk-MFS6NY6T.js +105 -0
  71. package/dist/wallets/walletConnectors/chunk-MOAWRDEM.js +95 -0
  72. package/dist/wallets/walletConnectors/chunk-MSRKKVDE.js +98 -0
  73. package/dist/wallets/walletConnectors/chunk-ND5YG63V.js +87 -0
  74. package/dist/wallets/walletConnectors/chunk-NK3DYIAB.js +92 -0
  75. package/dist/wallets/walletConnectors/{chunk-XBUTWYE4.js → chunk-O77H3VWW.js} +14 -18
  76. package/dist/wallets/walletConnectors/chunk-OMKARG6Y.js +94 -0
  77. package/dist/wallets/walletConnectors/chunk-OPO2D6GL.js +102 -0
  78. package/dist/wallets/walletConnectors/chunk-OUQ3ZF2W.js +100 -0
  79. package/dist/wallets/walletConnectors/chunk-OXWTS7HX.js +98 -0
  80. package/dist/wallets/walletConnectors/{chunk-P4JLZ42R.js → chunk-P4C7ZHIS.js} +1 -1
  81. package/dist/wallets/walletConnectors/{chunk-H76YCX2M.js → chunk-PILSRRPJ.js} +1 -1
  82. package/dist/wallets/walletConnectors/chunk-PJRUHFBT.js +71 -0
  83. package/dist/wallets/walletConnectors/{chunk-SYELB4QO.js → chunk-PQSJXOGA.js} +1 -1
  84. package/dist/wallets/walletConnectors/chunk-QGQISKXF.js +94 -0
  85. package/dist/wallets/walletConnectors/{chunk-4WOV4ITL.js → chunk-QS2J6MWB.js} +1 -1
  86. package/dist/wallets/walletConnectors/chunk-QUFNIKMV.js +27 -0
  87. package/dist/wallets/walletConnectors/{chunk-H273OTQA.js → chunk-R2GYJ376.js} +1 -1
  88. package/dist/wallets/walletConnectors/chunk-R5GNFRXW.js +96 -0
  89. package/dist/wallets/walletConnectors/chunk-S2IWMXKX.js +94 -0
  90. package/dist/wallets/walletConnectors/{chunk-FLY7F4XA.js → chunk-SJWHYD45.js} +1 -1
  91. package/dist/wallets/walletConnectors/chunk-TKXMLZXG.js +66 -0
  92. package/dist/wallets/walletConnectors/chunk-TUK3HNKY.js +182 -0
  93. package/dist/wallets/walletConnectors/chunk-UWU574XS.js +95 -0
  94. package/dist/wallets/walletConnectors/chunk-WH7S23VZ.js +73 -0
  95. package/dist/wallets/walletConnectors/chunk-WS4EM7AZ.js +102 -0
  96. package/dist/wallets/walletConnectors/chunk-XB2GFXBL.js +107 -0
  97. package/dist/wallets/walletConnectors/{chunk-ZOL6ZMTJ.js → chunk-XEZPRJPV.js} +1 -1
  98. package/dist/wallets/walletConnectors/chunk-XUXFYTCV.js +96 -0
  99. package/dist/wallets/walletConnectors/{chunk-DPXMP5KS.js → chunk-Z5QFIFDP.js} +1 -1
  100. package/dist/wallets/walletConnectors/chunk-ZBQT5PV6.js +98 -0
  101. package/dist/wallets/walletConnectors/{chunk-PWYTDYBE.js → chunk-ZCSUP7CX.js} +1 -1
  102. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  103. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  104. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +7 -1
  105. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +1 -2
  106. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  107. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
  108. package/dist/wallets/walletConnectors/desigWallet/desigWallet.js +2 -2
  109. package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.js +2 -2
  110. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  111. package/dist/wallets/walletConnectors/frameWallet/frameWallet.js +2 -2
  112. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  113. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  114. package/dist/wallets/walletConnectors/index.js +80 -80
  115. package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.js +2 -2
  116. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  117. package/dist/wallets/walletConnectors/mewWallet/mewWallet.js +2 -2
  118. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  119. package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.js +2 -2
  120. package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.js +2 -2
  121. package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.js +2 -2
  122. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  123. package/dist/wallets/walletConnectors/ramperWallet/ramperWallet.js +2 -2
  124. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  125. package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.js +2 -2
  126. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  127. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  128. package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.js +2 -2
  129. package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.js +2 -2
  130. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  131. package/dist/wallets/walletConnectors/tokenaryWallet/tokenaryWallet.js +2 -2
  132. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  133. package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.js +2 -2
  134. package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +2 -2
  135. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  136. package/package.json +5 -4
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  getInjectedConnector,
10
10
  hasInjectedProvider
11
- } from "./chunk-QII6PY2D.js";
11
+ } from "./chunk-F3VCNZXS.js";
12
12
 
13
13
  // src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
14
14
  var frontierWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
- } from "./chunk-QII6PY2D.js";
5
+ } from "./chunk-F3VCNZXS.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-ZDU3JFGR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
11
  var foxWallet = ({
@@ -0,0 +1,105 @@
1
+ "use client";
2
+ import {
3
+ isMobile
4
+ } from "./chunk-ZOLACFTK.js";
5
+ import {
6
+ getInjectedConnector,
7
+ hasInjectedProvider
8
+ } from "./chunk-F3VCNZXS.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-ZDU3JFGR.js";
12
+
13
+ // src/wallets/walletConnectors/trustWallet/trustWallet.ts
14
+ var trustWallet = ({
15
+ projectId,
16
+ walletConnectParameters
17
+ }) => {
18
+ const isTrustWalletInjected = isMobile() ? hasInjectedProvider({ flag: "isTrust" }) : hasInjectedProvider({ flag: "isTrustWallet" });
19
+ const shouldUseWalletConnect = !isTrustWalletInjected;
20
+ const getUriMobile = (uri) => {
21
+ return `trust://wc?uri=${encodeURIComponent(uri)}`;
22
+ };
23
+ const getUriQR = (uri) => {
24
+ return uri;
25
+ };
26
+ const mobileConnector = {
27
+ getUri: shouldUseWalletConnect ? getUriMobile : void 0
28
+ };
29
+ let qrConnector = void 0;
30
+ if (shouldUseWalletConnect) {
31
+ qrConnector = {
32
+ getUri: getUriQR,
33
+ instructions: {
34
+ learnMoreUrl: "https://trustwallet.com/",
35
+ steps: [
36
+ {
37
+ description: "wallet_connectors.trust.qr_code.step1.description",
38
+ step: "install",
39
+ title: "wallet_connectors.trust.qr_code.step1.title"
40
+ },
41
+ {
42
+ description: "wallet_connectors.trust.qr_code.step2.description",
43
+ step: "create",
44
+ title: "wallet_connectors.trust.qr_code.step2.title"
45
+ },
46
+ {
47
+ description: "wallet_connectors.trust.qr_code.step3.description",
48
+ step: "scan",
49
+ title: "wallet_connectors.trust.qr_code.step3.title"
50
+ }
51
+ ]
52
+ }
53
+ };
54
+ }
55
+ const extensionConnector = {
56
+ instructions: {
57
+ learnMoreUrl: "https://trustwallet.com/browser-extension",
58
+ steps: [
59
+ {
60
+ description: "wallet_connectors.trust.extension.step1.description",
61
+ step: "install",
62
+ title: "wallet_connectors.trust.extension.step1.title"
63
+ },
64
+ {
65
+ description: "wallet_connectors.trust.extension.step2.description",
66
+ step: "create",
67
+ title: "wallet_connectors.trust.extension.step2.title"
68
+ },
69
+ {
70
+ description: "wallet_connectors.trust.extension.step3.description",
71
+ step: "refresh",
72
+ title: "wallet_connectors.trust.extension.step3.title"
73
+ }
74
+ ]
75
+ }
76
+ };
77
+ return {
78
+ id: "trust",
79
+ name: "Trust Wallet",
80
+ rdns: "com.trustwallet.app",
81
+ iconUrl: async () => (await import("./trustWallet-FST5ID2K.js")).default,
82
+ installed: isTrustWalletInjected || void 0,
83
+ iconAccent: "#3375BB",
84
+ iconBackground: "#fff",
85
+ downloadUrls: {
86
+ android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
87
+ ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
88
+ mobile: "https://trustwallet.com/download",
89
+ qrCode: "https://trustwallet.com/download",
90
+ chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
91
+ browserExtension: "https://trustwallet.com/browser-extension"
92
+ },
93
+ mobile: mobileConnector,
94
+ qrCode: qrConnector,
95
+ extension: extensionConnector,
96
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
97
+ projectId,
98
+ walletConnectParameters
99
+ }) : isMobile() ? getInjectedConnector({ flag: "isTrust" }) : getInjectedConnector({ flag: "isTrustWallet" })
100
+ };
101
+ };
102
+
103
+ export {
104
+ trustWallet
105
+ };
@@ -0,0 +1,95 @@
1
+ "use client";
2
+ import {
3
+ isMobile
4
+ } from "./chunk-ZOLACFTK.js";
5
+ import {
6
+ getInjectedConnector,
7
+ hasInjectedProvider
8
+ } from "./chunk-F3VCNZXS.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-ZDU3JFGR.js";
12
+
13
+ // src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
14
+ var tokenPocketWallet = ({
15
+ projectId,
16
+ walletConnectParameters
17
+ }) => {
18
+ const isTokenPocketInjected = hasInjectedProvider({ flag: "isTokenPocket" });
19
+ const shouldUseWalletConnect = !isTokenPocketInjected;
20
+ const getUri = (uri) => {
21
+ return isMobile() ? `tpoutside://wc?uri=${encodeURIComponent(uri)}` : uri;
22
+ };
23
+ return {
24
+ id: "tokenPocket",
25
+ name: "TokenPocket",
26
+ rdns: "pro.tokenpocket",
27
+ iconUrl: async () => (await import("./tokenPocketWallet-UYD66DEM.js")).default,
28
+ iconBackground: "#2980FE",
29
+ installed: !shouldUseWalletConnect ? isTokenPocketInjected : void 0,
30
+ downloadUrls: {
31
+ chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
32
+ browserExtension: "https://extension.tokenpocket.pro/",
33
+ android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
34
+ ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
35
+ qrCode: "https://tokenpocket.pro/en/download/app",
36
+ mobile: "https://tokenpocket.pro/en/download/app"
37
+ },
38
+ mobile: {
39
+ getUri: shouldUseWalletConnect ? getUri : void 0
40
+ },
41
+ qrCode: shouldUseWalletConnect ? {
42
+ getUri,
43
+ instructions: {
44
+ learnMoreUrl: "https://help.tokenpocket.pro/en/",
45
+ steps: [
46
+ {
47
+ description: "wallet_connectors.token_pocket.qr_code.step1.description",
48
+ step: "install",
49
+ title: "wallet_connectors.token_pocket.qr_code.step1.title"
50
+ },
51
+ {
52
+ description: "wallet_connectors.token_pocket.qr_code.step2.description",
53
+ step: "create",
54
+ title: "wallet_connectors.token_pocket.qr_code.step2.title"
55
+ },
56
+ {
57
+ description: "wallet_connectors.token_pocket.qr_code.step3.description",
58
+ step: "scan",
59
+ title: "wallet_connectors.token_pocket.qr_code.step3.title"
60
+ }
61
+ ]
62
+ }
63
+ } : void 0,
64
+ extension: {
65
+ instructions: {
66
+ learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
67
+ steps: [
68
+ {
69
+ description: "wallet_connectors.token_pocket.extension.step1.description",
70
+ step: "install",
71
+ title: "wallet_connectors.token_pocket.extension.step1.title"
72
+ },
73
+ {
74
+ description: "wallet_connectors.token_pocket.extension.step2.description",
75
+ step: "create",
76
+ title: "wallet_connectors.token_pocket.extension.step2.title"
77
+ },
78
+ {
79
+ description: "wallet_connectors.token_pocket.extension.step3.description",
80
+ step: "refresh",
81
+ title: "wallet_connectors.token_pocket.extension.step3.title"
82
+ }
83
+ ]
84
+ }
85
+ },
86
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
87
+ projectId,
88
+ walletConnectParameters
89
+ }) : getInjectedConnector({ flag: "isTokenPocket" })
90
+ };
91
+ };
92
+
93
+ export {
94
+ tokenPocketWallet
95
+ };
@@ -0,0 +1,98 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-F3VCNZXS.js";
6
+ import {
7
+ isAndroid
8
+ } from "./chunk-ZOLACFTK.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-ZDU3JFGR.js";
12
+
13
+ // src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
14
+ var frontierWallet = ({
15
+ projectId,
16
+ walletConnectParameters
17
+ }) => {
18
+ const isFrontierInjected = hasInjectedProvider({
19
+ namespace: "frontier.ethereum",
20
+ flag: "isFrontier"
21
+ });
22
+ const shouldUseWalletConnect = !isFrontierInjected;
23
+ return {
24
+ id: "frontier",
25
+ name: "Frontier Wallet",
26
+ rdns: "xyz.frontier.wallet",
27
+ installed: isFrontierInjected,
28
+ iconUrl: async () => (await import("./frontierWallet-3CNZ2ST5.js")).default,
29
+ iconBackground: "#CC703C",
30
+ downloadUrls: {
31
+ android: "https://play.google.com/store/apps/details?id=com.frontierwallet",
32
+ ios: "https://apps.apple.com/us/app/frontier-crypto-defi-wallet/id1482380988",
33
+ qrCode: "https://www.frontier.xyz/download",
34
+ chrome: "https://chrome.google.com/webstore/detail/frontier-wallet/kppfdiipphfccemcignhifpjkapfbihd",
35
+ browserExtension: "https://www.frontier.xyz/download"
36
+ },
37
+ mobile: {
38
+ getUri: shouldUseWalletConnect ? (uri) => {
39
+ return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
40
+ } : void 0
41
+ },
42
+ qrCode: shouldUseWalletConnect ? {
43
+ getUri: (uri) => {
44
+ return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
45
+ },
46
+ instructions: {
47
+ learnMoreUrl: "https://help.frontier.xyz/en/",
48
+ steps: [
49
+ {
50
+ description: "wallet_connectors.im_token.qr_code.step1.description",
51
+ step: "install",
52
+ title: "wallet_connectors.im_token.qr_code.step1.title"
53
+ },
54
+ {
55
+ description: "wallet_connectors.im_token.qr_code.step2.description",
56
+ step: "create",
57
+ title: "wallet_connectors.im_token.qr_code.step2.title"
58
+ },
59
+ {
60
+ description: "wallet_connectors.im_token.qr_code.step3.description",
61
+ step: "scan",
62
+ title: "wallet_connectors.im_token.qr_code.step3.title"
63
+ }
64
+ ]
65
+ }
66
+ } : void 0,
67
+ extension: {
68
+ instructions: {
69
+ learnMoreUrl: "https://help.frontier.xyz/en/articles/6967236-setting-up-frontier-on-your-device",
70
+ steps: [
71
+ {
72
+ description: "wallet_connectors.frontier.extension.step1.description",
73
+ step: "install",
74
+ title: "wallet_connectors.frontier.extension.step1.title"
75
+ },
76
+ {
77
+ description: "wallet_connectors.frontier.extension.step2.description",
78
+ step: "create",
79
+ title: "wallet_connectors.frontier.extension.step2.title"
80
+ },
81
+ {
82
+ description: "wallet_connectors.frontier.extension.step3.description",
83
+ step: "refresh",
84
+ title: "wallet_connectors.frontier.extension.step3.title"
85
+ }
86
+ ]
87
+ }
88
+ },
89
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({ projectId, walletConnectParameters }) : getInjectedConnector({
90
+ namespace: "frontier.ethereum",
91
+ flag: "isFrontier"
92
+ })
93
+ };
94
+ };
95
+
96
+ export {
97
+ frontierWallet
98
+ };
@@ -0,0 +1,87 @@
1
+ "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-ZDU3JFGR.js";
5
+ import {
6
+ getInjectedConnector,
7
+ hasInjectedProvider
8
+ } from "./chunk-F3VCNZXS.js";
9
+
10
+ // src/wallets/walletConnectors/clvWallet/clvWallet.ts
11
+ var clvWallet = ({
12
+ projectId,
13
+ walletConnectParameters
14
+ }) => {
15
+ const isCLVInjected = hasInjectedProvider({ namespace: "clover" });
16
+ const shouldUseWalletConnect = !isCLVInjected;
17
+ return {
18
+ id: "clv",
19
+ name: "CLV",
20
+ iconUrl: async () => (await import("./clvWallet-RM4V57ZB.js")).default,
21
+ iconBackground: "#fff",
22
+ iconAccent: "#BDFDE2",
23
+ installed: isCLVInjected,
24
+ downloadUrls: {
25
+ chrome: "https://chrome.google.com/webstore/detail/clv-wallet/nhnkbkgjikgcigadomkphalanndcapjk",
26
+ ios: "https://apps.apple.com/app/clover-wallet/id1570072858",
27
+ mobile: "https://apps.apple.com/app/clover-wallet/id1570072858",
28
+ qrCode: "https://clv.org/"
29
+ },
30
+ extension: {
31
+ instructions: {
32
+ learnMoreUrl: "https://clv.org/",
33
+ steps: [
34
+ {
35
+ description: "wallet_connectors.clv.extension.step1.description",
36
+ step: "install",
37
+ title: "wallet_connectors.clv.extension.step1.title"
38
+ },
39
+ {
40
+ description: "wallet_connectors.clv.extension.step2.description",
41
+ step: "create",
42
+ title: "wallet_connectors.clv.extension.step2.title"
43
+ },
44
+ {
45
+ description: "wallet_connectors.clv.extension.step3.description",
46
+ step: "refresh",
47
+ title: "wallet_connectors.clv.extension.step3.title"
48
+ }
49
+ ]
50
+ }
51
+ },
52
+ mobile: {
53
+ getUri: shouldUseWalletConnect ? (uri) => uri : void 0
54
+ },
55
+ qrCode: shouldUseWalletConnect ? {
56
+ getUri: (uri) => uri,
57
+ instructions: {
58
+ learnMoreUrl: "https://clv.org/",
59
+ steps: [
60
+ {
61
+ description: "wallet_connectors.clv.qr_code.step1.description",
62
+ step: "install",
63
+ title: "wallet_connectors.clv.qr_code.step1.title"
64
+ },
65
+ {
66
+ description: "wallet_connectors.clv.qr_code.step2.description",
67
+ step: "create",
68
+ title: "wallet_connectors.clv.qr_code.step2.title"
69
+ },
70
+ {
71
+ description: "wallet_connectors.clv.qr_code.step3.description",
72
+ step: "scan",
73
+ title: "wallet_connectors.clv.qr_code.step3.title"
74
+ }
75
+ ]
76
+ }
77
+ } : void 0,
78
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
79
+ projectId,
80
+ walletConnectParameters
81
+ }) : getInjectedConnector({ namespace: "clover" })
82
+ };
83
+ };
84
+
85
+ export {
86
+ clvWallet
87
+ };
@@ -0,0 +1,92 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-F3VCNZXS.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-ZDU3JFGR.js";
9
+
10
+ // src/wallets/walletConnectors/roninWallet/roninWallet.ts
11
+ var roninWallet = ({
12
+ projectId,
13
+ walletConnectParameters
14
+ }) => {
15
+ const isRoninInjected = hasInjectedProvider({
16
+ namespace: "ronin.provider"
17
+ });
18
+ return {
19
+ id: "ronin",
20
+ name: "Ronin Wallet",
21
+ iconUrl: async () => (await import("./roninWallet-RYQGWG3X.js")).default,
22
+ iconBackground: "#ffffff",
23
+ rdns: "com.roninchain.wallet",
24
+ installed: isRoninInjected || void 0,
25
+ downloadUrls: {
26
+ android: "https://play.google.com/store/apps/details?id=com.skymavis.genesis",
27
+ ios: "https://apps.apple.com/us/app/ronin-wallet/id1592675001",
28
+ mobile: "https://wallet.roninchain.com",
29
+ chrome: "https://chrome.google.com/webstore/detail/ronin-wallet/fnjhmkhhmkbjkkabndcnnogagogbneec",
30
+ edge: "https://microsoftedge.microsoft.com/addons/detail/ronin-wallet/kjmoohlgokccodicjjfebfomlbljgfhk",
31
+ firefox: "https://addons.mozilla.org/firefox/addon/ronin-wallet",
32
+ browserExtension: "https://wallet.roninchain.com/",
33
+ qrCode: "https://wallet.roninchain.com/"
34
+ },
35
+ mobile: {
36
+ getUri: (uri) => `roninwallet://wc?uri=${encodeURIComponent(uri)}`
37
+ },
38
+ qrCode: {
39
+ getUri: (uri) => uri,
40
+ instructions: {
41
+ learnMoreUrl: "https://wallet.roninchain.com/",
42
+ steps: [
43
+ {
44
+ description: "wallet_connectors.ronin.qr_code.step1.description",
45
+ step: "install",
46
+ title: "wallet_connectors.ronin.qr_code.step1.title"
47
+ },
48
+ {
49
+ description: "wallet_connectors.ronin.qr_code.step2.description",
50
+ step: "create",
51
+ title: "wallet_connectors.ronin.qr_code.step2.title"
52
+ },
53
+ {
54
+ description: "wallet_connectors.ronin.qr_code.step3.description",
55
+ step: "scan",
56
+ title: "wallet_connectors.ronin.qr_code.step3.title"
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ extension: {
62
+ instructions: {
63
+ learnMoreUrl: "https://wallet.roninchain.com/",
64
+ steps: [
65
+ {
66
+ description: "wallet_connectors.ronin.extension.step1.description",
67
+ step: "install",
68
+ title: "wallet_connectors.ronin.extension.step1.title"
69
+ },
70
+ {
71
+ description: "wallet_connectors.ronin.extension.step2.description",
72
+ step: "create",
73
+ title: "wallet_connectors.ronin.extension.step2.title"
74
+ },
75
+ {
76
+ description: "wallet_connectors.ronin.extension.step3.description",
77
+ step: "refresh",
78
+ title: "wallet_connectors.ronin.extension.step3.title"
79
+ }
80
+ ]
81
+ }
82
+ },
83
+ createConnector: isRoninInjected ? getInjectedConnector({ namespace: "ronin.provider" }) : getWalletConnectConnector({
84
+ projectId,
85
+ walletConnectParameters
86
+ })
87
+ };
88
+ };
89
+
90
+ export {
91
+ roninWallet
92
+ };
@@ -2,20 +2,13 @@
2
2
  import {
3
3
  isIOS
4
4
  } from "./chunk-ZOLACFTK.js";
5
- import {
6
- hasInjectedProvider
7
- } from "./chunk-QII6PY2D.js";
8
5
 
9
6
  // src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts
10
7
  import { createConnector } from "wagmi";
11
- import { coinbaseWallet as coinbaseWagmiWallet } from "wagmi/connectors";
12
- var coinbaseWallet = ({
13
- appName,
14
- appIcon
15
- }) => {
16
- const isCoinbaseWalletInjected = hasInjectedProvider({
17
- flag: "isCoinbaseWallet"
18
- });
8
+ import {
9
+ coinbaseWallet as coinbaseConnector
10
+ } from "wagmi/connectors";
11
+ var coinbaseWallet = ({ appName, appIcon }) => {
19
12
  const getUri = (uri) => uri;
20
13
  const ios = isIOS();
21
14
  return {
@@ -26,7 +19,7 @@ var coinbaseWallet = ({
26
19
  iconUrl: async () => (await import("./coinbaseWallet-2OUR5TUP.js")).default,
27
20
  iconAccent: "#2c5ff6",
28
21
  iconBackground: "#2c5ff6",
29
- installed: isCoinbaseWalletInjected || void 0,
22
+ installed: true,
30
23
  downloadUrls: {
31
24
  android: "https://play.google.com/store/apps/details?id=org.toshi",
32
25
  ios: "https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",
@@ -82,14 +75,17 @@ var coinbaseWallet = ({
82
75
  }
83
76
  }
84
77
  },
85
- createConnector: (walletDetails) => createConnector((config) => ({
86
- ...coinbaseWagmiWallet({
78
+ createConnector: (walletDetails) => {
79
+ const connector = coinbaseConnector({
87
80
  appName,
88
81
  appLogoUrl: appIcon,
89
- headlessMode: true
90
- })(config),
91
- ...walletDetails
92
- }))
82
+ preference: coinbaseWallet.preference
83
+ });
84
+ return createConnector((config) => ({
85
+ ...connector(config),
86
+ ...walletDetails
87
+ }));
88
+ }
93
89
  };
94
90
  };
95
91
 
@@ -0,0 +1,94 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-F3VCNZXS.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-ZDU3JFGR.js";
9
+
10
+ // src/wallets/walletConnectors/coreWallet/coreWallet.ts
11
+ var coreWallet = ({
12
+ projectId,
13
+ walletConnectParameters
14
+ }) => {
15
+ const isCoreInjected = hasInjectedProvider({
16
+ namespace: "avalanche",
17
+ flag: "isAvalanche"
18
+ });
19
+ const shouldUseWalletConnect = !isCoreInjected;
20
+ return {
21
+ id: "core",
22
+ name: "Core",
23
+ iconUrl: async () => (await import("./coreWallet-HRVLR2XS.js")).default,
24
+ iconBackground: "#1A1A1C",
25
+ installed: !shouldUseWalletConnect ? isCoreInjected : void 0,
26
+ downloadUrls: {
27
+ android: "https://play.google.com/store/apps/details?id=com.avaxwallet",
28
+ ios: "https://apps.apple.com/us/app/core-wallet/id6443685999",
29
+ mobile: "https://core.app/?downloadCoreMobile=1",
30
+ qrCode: "https://core.app/?downloadCoreMobile=1",
31
+ chrome: "https://chrome.google.com/webstore/detail/core-crypto-wallet-nft-ex/agoakfejjabomempkjlepdflaleeobhb",
32
+ browserExtension: "https://extension.core.app/"
33
+ },
34
+ mobile: {
35
+ getUri: shouldUseWalletConnect ? (uri) => uri : void 0
36
+ },
37
+ qrCode: shouldUseWalletConnect ? {
38
+ getUri: (uri) => uri,
39
+ instructions: {
40
+ learnMoreUrl: "https://support.avax.network/en/articles/6115608-core-mobile-how-to-add-the-core-mobile-to-my-phone",
41
+ steps: [
42
+ {
43
+ description: "wallet_connectors.core.qr_code.step1.description",
44
+ step: "install",
45
+ title: "wallet_connectors.core.qr_code.step1.title"
46
+ },
47
+ {
48
+ description: "wallet_connectors.core.qr_code.step2.description",
49
+ step: "create",
50
+ title: "wallet_connectors.core.qr_code.step2.title"
51
+ },
52
+ {
53
+ description: "wallet_connectors.core.qr_code.step3.description",
54
+ step: "scan",
55
+ title: "wallet_connectors.core.qr_code.step3.title"
56
+ }
57
+ ]
58
+ }
59
+ } : void 0,
60
+ extension: {
61
+ instructions: {
62
+ learnMoreUrl: "https://extension.core.app/",
63
+ steps: [
64
+ {
65
+ description: "wallet_connectors.core.extension.step1.description",
66
+ step: "install",
67
+ title: "wallet_connectors.core.extension.step1.title"
68
+ },
69
+ {
70
+ description: "wallet_connectors.core.extension.step2.description",
71
+ step: "create",
72
+ title: "wallet_connectors.core.extension.step2.title"
73
+ },
74
+ {
75
+ description: "wallet_connectors.core.extension.step3.description",
76
+ step: "refresh",
77
+ title: "wallet_connectors.core.extension.step3.title"
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
83
+ projectId,
84
+ walletConnectParameters
85
+ }) : getInjectedConnector({
86
+ namespace: "avalanche",
87
+ flag: "isAvalanche"
88
+ })
89
+ };
90
+ };
91
+
92
+ export {
93
+ coreWallet
94
+ };