@talken/talkenkit 2.3.5 → 2.3.7

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 (110) hide show
  1. package/dist/components/ChainIndicator/ChainIndicator.css.d.ts +4 -0
  2. package/dist/components/ChainIndicator/ChainIndicator.d.ts +53 -0
  3. package/dist/components/ChainIndicator/index.d.ts +2 -0
  4. package/dist/components/ChainSelector/ChainSelector.css.d.ts +5 -0
  5. package/dist/components/ChainSelector/ChainSelector.d.ts +38 -0
  6. package/dist/components/ChainSelector/index.d.ts +2 -0
  7. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +9 -0
  8. package/dist/components/ConnectOptions/DesktopOptions.d.ts +5 -1
  9. package/dist/components/ConnectOptions/MultiChainConnectOptions.d.ts +31 -0
  10. package/dist/components/ConnectOptions/index.d.ts +3 -0
  11. package/dist/components/ModalSelection/ModalSelection.d.ts +2 -1
  12. package/dist/components/ProfileDetails/ProfileDetails.d.ts +1 -2
  13. package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts +8 -1
  14. package/dist/components/SolanaWalletList/SolanaWalletList.css.d.ts +7 -0
  15. package/dist/components/SolanaWalletList/SolanaWalletList.d.ts +32 -0
  16. package/dist/components/SolanaWalletList/index.d.ts +2 -0
  17. package/dist/contexts/MultiChainContext.d.ts +68 -0
  18. package/dist/contexts/index.d.ts +7 -0
  19. package/dist/index.css +105 -0
  20. package/dist/index.d.ts +12 -0
  21. package/dist/index.js +1445 -899
  22. package/dist/solana/SolanaWalletProvider.d.ts +38 -0
  23. package/dist/solana/config.d.ts +57 -0
  24. package/dist/solana/index.d.ts +11 -0
  25. package/dist/solana/utils/detection.d.ts +27 -0
  26. package/dist/solana/wallets/backpackWallet.d.ts +19 -0
  27. package/dist/solana/wallets/index.d.ts +8 -0
  28. package/dist/solana/wallets/phantomSolanaWallet.d.ts +17 -0
  29. package/dist/solana/wallets/solflareWallet.d.ts +17 -0
  30. package/dist/types/solana.d.ts +97 -0
  31. package/dist/wallets/recentSolanaWalletIds.d.ts +16 -0
  32. package/dist/wallets/walletConnectors/abcWallet/abcApi.js +1 -1
  33. package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +2 -2
  34. package/dist/wallets/walletConnectors/abcWallet/abcSolanaWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +3 -3
  36. package/dist/wallets/walletConnectors/abcWallet/index.js +4 -4
  37. package/dist/wallets/walletConnectors/chunk-3SVPZCA6.js +71 -0
  38. package/dist/wallets/walletConnectors/chunk-5QEUEPNY.js +94 -0
  39. package/dist/wallets/walletConnectors/chunk-B6JLYR3I.js +66 -0
  40. package/dist/wallets/walletConnectors/{chunk-6JKWIEGA.js → chunk-BHMMHU7Y.js} +1 -1
  41. package/dist/wallets/walletConnectors/chunk-HKWBR5B7.js +102 -0
  42. package/dist/wallets/walletConnectors/chunk-K4APJ4PE.js +96 -0
  43. package/dist/wallets/walletConnectors/chunk-LJ2B47VF.js +108 -0
  44. package/dist/wallets/walletConnectors/chunk-LXINMUQC.js +186 -0
  45. package/dist/wallets/walletConnectors/chunk-MORUEOYX.js +76 -0
  46. package/dist/wallets/walletConnectors/chunk-MQTXA63X.js +27 -0
  47. package/dist/wallets/walletConnectors/{chunk-G2IHR6PW.js → chunk-NLKL4KD2.js} +11 -11
  48. package/dist/wallets/walletConnectors/{chunk-KOT7JYJR.js → chunk-OEB7MRS5.js} +1 -1
  49. package/dist/wallets/walletConnectors/{chunk-RWIZ25FJ.js → chunk-P2E4LSYH.js} +17 -23
  50. package/dist/wallets/walletConnectors/chunk-PMZJGS7X.js +73 -0
  51. package/dist/wallets/walletConnectors/{chunk-BRM4ZVXZ.js → chunk-RSZS2RMC.js} +1 -1
  52. package/dist/wallets/walletConnectors/chunk-WZZVA3LW.js +101 -0
  53. package/dist/wallets/walletConnectors/chunk-XEIKWKH7.js +63 -0
  54. package/dist/wallets/walletConnectors/chunk-XOQNQKZE.js +98 -0
  55. package/dist/wallets/walletConnectors/chunk-ZAGAF6PO.js +63 -0
  56. package/dist/wallets/walletConnectors/chunk-ZJ6OFFD5.js +95 -0
  57. package/dist/wallets/walletConnectors/index.js +24 -24
  58. package/package.json +17 -11
  59. package/LICENSE +0 -9
  60. package/dist/wallets/walletConnectors/chunk-2J66VMY5.js +0 -152
  61. package/dist/wallets/walletConnectors/chunk-2ZPGPZCP.js +0 -228
  62. package/dist/wallets/walletConnectors/chunk-3DPCIDW6.js +0 -1730
  63. package/dist/wallets/walletConnectors/chunk-4HKJ53H3.js +0 -1742
  64. package/dist/wallets/walletConnectors/chunk-5EARL7FN.js +0 -39
  65. package/dist/wallets/walletConnectors/chunk-7SXCH5TL.js +0 -1752
  66. package/dist/wallets/walletConnectors/chunk-7UZBDZZZ.js +0 -599
  67. package/dist/wallets/walletConnectors/chunk-BUDWZAL7.js +0 -44
  68. package/dist/wallets/walletConnectors/chunk-CSWWNAYR.js +0 -44
  69. package/dist/wallets/walletConnectors/chunk-E4N7SPPU.js +0 -39
  70. package/dist/wallets/walletConnectors/chunk-ENU7XLF5.js +0 -44
  71. package/dist/wallets/walletConnectors/chunk-ESRU5KCF.js +0 -151
  72. package/dist/wallets/walletConnectors/chunk-FF7ZIXKD.js +0 -39
  73. package/dist/wallets/walletConnectors/chunk-FJCL2YPU.js +0 -1737
  74. package/dist/wallets/walletConnectors/chunk-FSU3WBH3.js +0 -63
  75. package/dist/wallets/walletConnectors/chunk-HD6YCICR.js +0 -228
  76. package/dist/wallets/walletConnectors/chunk-HDYBRMYW.js +0 -194
  77. package/dist/wallets/walletConnectors/chunk-HIZCIW5L.js +0 -228
  78. package/dist/wallets/walletConnectors/chunk-JRNBDHFL.js +0 -44
  79. package/dist/wallets/walletConnectors/chunk-KIQDE4N6.js +0 -39
  80. package/dist/wallets/walletConnectors/chunk-KZOSE2PI.js +0 -228
  81. package/dist/wallets/walletConnectors/chunk-LNZJLKFB.js +0 -39
  82. package/dist/wallets/walletConnectors/chunk-LV765WZL.js +0 -1748
  83. package/dist/wallets/walletConnectors/chunk-MSI2BPP5.js +0 -1722
  84. package/dist/wallets/walletConnectors/chunk-MX2IY5CD.js +0 -44
  85. package/dist/wallets/walletConnectors/chunk-NLX2EV7O.js +0 -44
  86. package/dist/wallets/walletConnectors/chunk-NVAZ3B3V.js +0 -228
  87. package/dist/wallets/walletConnectors/chunk-OEWU3ZMN.js +0 -39
  88. package/dist/wallets/walletConnectors/chunk-P2MTINFI.js +0 -280
  89. package/dist/wallets/walletConnectors/chunk-PNMSIVVT.js +0 -44
  90. package/dist/wallets/walletConnectors/chunk-PZNYT2HC.js +0 -1722
  91. package/dist/wallets/walletConnectors/chunk-QPAE4SDS.js +0 -39
  92. package/dist/wallets/walletConnectors/chunk-QZRNNI3E.js +0 -39
  93. package/dist/wallets/walletConnectors/chunk-R4UYVU5X.js +0 -1721
  94. package/dist/wallets/walletConnectors/chunk-RLBGBBIO.js +0 -309
  95. package/dist/wallets/walletConnectors/chunk-TUUNSVKZ.js +0 -345
  96. package/dist/wallets/walletConnectors/chunk-U2CUEL35.js +0 -240
  97. package/dist/wallets/walletConnectors/chunk-V6NRLREB.js +0 -44
  98. package/dist/wallets/walletConnectors/chunk-VM7AEC7H.js +0 -39
  99. package/dist/wallets/walletConnectors/chunk-W2VDZD74.js +0 -478
  100. package/dist/wallets/walletConnectors/chunk-WAO3KL5U.js +0 -285
  101. package/dist/wallets/walletConnectors/chunk-WPHTIILX.js +0 -228
  102. package/dist/wallets/walletConnectors/chunk-WSCJY2QD.js +0 -228
  103. package/dist/wallets/walletConnectors/chunk-X3JQB5QL.js +0 -44
  104. package/dist/wallets/walletConnectors/chunk-X4CDP7L7.js +0 -228
  105. package/dist/wallets/walletConnectors/chunk-XETOVXYM.js +0 -228
  106. package/dist/wallets/walletConnectors/chunk-XYPR4BAF.js +0 -436
  107. package/dist/wallets/walletConnectors/chunk-Z2ZRPTPX.js +0 -1726
  108. package/dist/wallets/walletConnectors/{chunk-VCBVYFLJ.js → chunk-6TLWAEJV.js} +7 -7
  109. package/dist/wallets/walletConnectors/{chunk-47TQ23J4.js → chunk-74ALNZG4.js} +8 -8
  110. package/dist/wallets/walletConnectors/{chunk-66SCJ77O.js → chunk-CM5OGUJV.js} +6 -6
@@ -0,0 +1,102 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isIOS
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-PODFK4OS.js";
12
+
13
+ // src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
14
+ var zerionWallet = ({
15
+ projectId,
16
+ walletConnectParameters
17
+ }) => {
18
+ const isZerionInjected = hasInjectedProvider({
19
+ namespace: "zerionWallet",
20
+ flag: "isZerion"
21
+ });
22
+ const shouldUseWalletConnect = !isZerionInjected;
23
+ const getUri = (uri) => {
24
+ return isIOS() ? `zerion://wc?uri=${encodeURIComponent(uri)}` : uri;
25
+ };
26
+ return {
27
+ id: "zerion",
28
+ name: "Zerion",
29
+ rdns: "io.zerion.wallet",
30
+ iconUrl: async () => (await import("./zerionWallet-CYFHB5PA.js")).default,
31
+ iconAccent: "#2962ef",
32
+ iconBackground: "#2962ef",
33
+ installed: !shouldUseWalletConnect ? isZerionInjected : void 0,
34
+ downloadUrls: {
35
+ android: "https://play.google.com/store/apps/details?id=io.zerion.android",
36
+ ios: "https://apps.apple.com/app/apple-store/id1456732565",
37
+ mobile: "https://link.zerion.io/pt3gdRP0njb",
38
+ qrCode: "https://link.zerion.io/pt3gdRP0njb",
39
+ chrome: "https://chrome.google.com/webstore/detail/klghhnkeealcohjjanjjdaeeggmfmlpl",
40
+ browserExtension: "https://zerion.io/extension"
41
+ },
42
+ mobile: {
43
+ getUri: shouldUseWalletConnect ? getUri : void 0
44
+ },
45
+ qrCode: shouldUseWalletConnect ? {
46
+ getUri,
47
+ instructions: {
48
+ learnMoreUrl: "https://zerion.io/blog/announcing-the-zerion-smart-wallet/",
49
+ steps: [
50
+ {
51
+ description: "wallet_connectors.zerion.qr_code.step1.description",
52
+ step: "install",
53
+ title: "wallet_connectors.zerion.qr_code.step1.title"
54
+ },
55
+ {
56
+ description: "wallet_connectors.zerion.qr_code.step2.description",
57
+ step: "create",
58
+ title: "wallet_connectors.zerion.qr_code.step2.title"
59
+ },
60
+ {
61
+ description: "wallet_connectors.zerion.qr_code.step3.description",
62
+ step: "scan",
63
+ title: "wallet_connectors.zerion.qr_code.step3.title"
64
+ }
65
+ ]
66
+ }
67
+ } : void 0,
68
+ extension: {
69
+ instructions: {
70
+ learnMoreUrl: "https://help.zerion.io/en/",
71
+ steps: [
72
+ {
73
+ description: "wallet_connectors.zerion.extension.step1.description",
74
+ step: "install",
75
+ title: "wallet_connectors.zerion.extension.step1.title"
76
+ },
77
+ {
78
+ description: "wallet_connectors.zerion.extension.step2.description",
79
+ step: "create",
80
+ title: "wallet_connectors.zerion.extension.step2.title"
81
+ },
82
+ {
83
+ description: "wallet_connectors.zerion.extension.step3.description",
84
+ step: "refresh",
85
+ title: "wallet_connectors.zerion.extension.step3.title"
86
+ }
87
+ ]
88
+ }
89
+ },
90
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
91
+ projectId,
92
+ walletConnectParameters
93
+ }) : getInjectedConnector({
94
+ namespace: "zerionWallet",
95
+ flag: "isZerion"
96
+ })
97
+ };
98
+ };
99
+
100
+ export {
101
+ zerionWallet
102
+ };
@@ -0,0 +1,96 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isAndroid
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-PODFK4OS.js";
12
+
13
+ // src/wallets/walletConnectors/okxWallet/okxWallet.ts
14
+ var okxWallet = ({
15
+ projectId,
16
+ walletConnectParameters
17
+ }) => {
18
+ const isOKXInjected = hasInjectedProvider({ namespace: "okxwallet" });
19
+ const shouldUseWalletConnect = !isOKXInjected;
20
+ return {
21
+ id: "okx",
22
+ name: "OKX Wallet",
23
+ rdns: "com.okex.wallet",
24
+ iconUrl: async () => (await import("./okxWallet-GJMKZIND.js")).default,
25
+ iconAccent: "#000",
26
+ iconBackground: "#000",
27
+ downloadUrls: {
28
+ android: "https://play.google.com/store/apps/details?id=com.okinc.okex.gp",
29
+ ios: "https://itunes.apple.com/app/id1327268470?mt=8",
30
+ mobile: "https://okx.com/download",
31
+ qrCode: "https://okx.com/download",
32
+ chrome: "https://chrome.google.com/webstore/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",
33
+ edge: "https://microsoftedge.microsoft.com/addons/detail/okx-wallet/pbpjkcldjiffchgbbndmhojiacbgflha",
34
+ firefox: "https://addons.mozilla.org/firefox/addon/okexwallet/",
35
+ browserExtension: "https://okx.com/download"
36
+ },
37
+ mobile: {
38
+ getUri: shouldUseWalletConnect ? (uri) => {
39
+ return isAndroid() ? uri : `okex://main/wc?uri=${encodeURIComponent(uri)}`;
40
+ } : void 0
41
+ },
42
+ qrCode: shouldUseWalletConnect ? {
43
+ getUri: (uri) => uri,
44
+ instructions: {
45
+ learnMoreUrl: "https://okx.com/web3/",
46
+ steps: [
47
+ {
48
+ description: "wallet_connectors.okx.qr_code.step1.description",
49
+ step: "install",
50
+ title: "wallet_connectors.okx.qr_code.step1.title"
51
+ },
52
+ {
53
+ description: "wallet_connectors.okx.qr_code.step2.description",
54
+ step: "create",
55
+ title: "wallet_connectors.okx.qr_code.step2.title"
56
+ },
57
+ {
58
+ description: "wallet_connectors.okx.qr_code.step3.description",
59
+ step: "scan",
60
+ title: "wallet_connectors.okx.qr_code.step3.title"
61
+ }
62
+ ]
63
+ }
64
+ } : void 0,
65
+ extension: {
66
+ instructions: {
67
+ learnMoreUrl: "https://okx.com/web3/",
68
+ steps: [
69
+ {
70
+ description: "wallet_connectors.okx.extension.step1.description",
71
+ step: "install",
72
+ title: "wallet_connectors.okx.extension.step1.title"
73
+ },
74
+ {
75
+ description: "wallet_connectors.okx.extension.step2.description",
76
+ step: "create",
77
+ title: "wallet_connectors.okx.extension.step2.title"
78
+ },
79
+ {
80
+ description: "wallet_connectors.okx.extension.step3.description",
81
+ step: "refresh",
82
+ title: "wallet_connectors.okx.extension.step3.title"
83
+ }
84
+ ]
85
+ }
86
+ },
87
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
88
+ projectId,
89
+ walletConnectParameters
90
+ }) : getInjectedConnector({ namespace: "okxwallet" })
91
+ };
92
+ };
93
+
94
+ export {
95
+ okxWallet
96
+ };
@@ -0,0 +1,108 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isMobile
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-PODFK4OS.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-E2GVGE4U.js")).default,
82
+ // Note that we never resolve `installed` to `false` because the
83
+ // Trust Wallet provider falls back to other connection methods if
84
+ // the injected connector isn't available
85
+ installed: isTrustWalletInjected || void 0,
86
+ iconAccent: "#3375BB",
87
+ iconBackground: "#fff",
88
+ downloadUrls: {
89
+ android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
90
+ ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
91
+ mobile: "https://trustwallet.com/download",
92
+ qrCode: "https://trustwallet.com/download",
93
+ chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
94
+ browserExtension: "https://trustwallet.com/browser-extension"
95
+ },
96
+ mobile: mobileConnector,
97
+ qrCode: qrConnector,
98
+ extension: extensionConnector,
99
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
100
+ projectId,
101
+ walletConnectParameters
102
+ }) : isMobile() ? getInjectedConnector({ flag: "isTrust" }) : getInjectedConnector({ flag: "isTrustWallet" })
103
+ };
104
+ };
105
+
106
+ export {
107
+ trustWallet
108
+ };
@@ -0,0 +1,186 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isAndroid,
8
+ isIOS
9
+ } from "./chunk-RETKWSKD.js";
10
+ import {
11
+ getWalletConnectConnector
12
+ } from "./chunk-PODFK4OS.js";
13
+
14
+ // src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
15
+ function isMetaMask(ethereum) {
16
+ if (!ethereum?.isMetaMask)
17
+ return false;
18
+ if (ethereum.isBraveWallet && !ethereum._events && !ethereum._state)
19
+ return false;
20
+ if (ethereum.isApexWallet)
21
+ return false;
22
+ if (ethereum.isAvalanche)
23
+ return false;
24
+ if (ethereum.isBackpack)
25
+ return false;
26
+ if (ethereum.isBifrost)
27
+ return false;
28
+ if (ethereum.isBitKeep)
29
+ return false;
30
+ if (ethereum.isBitski)
31
+ return false;
32
+ if (ethereum.isBlockWallet)
33
+ return false;
34
+ if (ethereum.isCoinbaseWallet)
35
+ return false;
36
+ if (ethereum.isDawn)
37
+ return false;
38
+ if (ethereum.isEnkrypt)
39
+ return false;
40
+ if (ethereum.isExodus)
41
+ return false;
42
+ if (ethereum.isFrame)
43
+ return false;
44
+ if (ethereum.isFrontier)
45
+ return false;
46
+ if (ethereum.isGamestop)
47
+ return false;
48
+ if (ethereum.isHyperPay)
49
+ return false;
50
+ if (ethereum.isImToken)
51
+ return false;
52
+ if (ethereum.isKuCoinWallet)
53
+ return false;
54
+ if (ethereum.isMathWallet)
55
+ return false;
56
+ if (ethereum.isNestWallet)
57
+ return false;
58
+ if (ethereum.isOkxWallet || ethereum.isOKExWallet)
59
+ return false;
60
+ if (ethereum.isOneInchIOSWallet || ethereum.isOneInchAndroidWallet)
61
+ return false;
62
+ if (ethereum.isOpera)
63
+ return false;
64
+ if (ethereum.isPhantom)
65
+ return false;
66
+ if (ethereum.isPortal)
67
+ return false;
68
+ if (ethereum.isRabby)
69
+ return false;
70
+ if (ethereum.isRainbow)
71
+ return false;
72
+ if (ethereum.isStatus)
73
+ return false;
74
+ if (ethereum.isTalisman)
75
+ return false;
76
+ if (ethereum.isTally)
77
+ return false;
78
+ if (ethereum.isTokenPocket)
79
+ return false;
80
+ if (ethereum.isTokenary)
81
+ return false;
82
+ if (ethereum.isTrust || ethereum.isTrustWallet)
83
+ return false;
84
+ if (ethereum.isXDEFI)
85
+ return false;
86
+ if (ethereum.isZeal)
87
+ return false;
88
+ if (ethereum.isZerion)
89
+ return false;
90
+ if (ethereum.__seif)
91
+ return false;
92
+ return true;
93
+ }
94
+ var metaMaskWallet = ({
95
+ projectId,
96
+ walletConnectParameters
97
+ }) => {
98
+ const isMetaMaskInjected = hasInjectedProvider({ flag: "isMetaMask" });
99
+ const shouldUseWalletConnect = !isMetaMaskInjected;
100
+ const getUri = (uri) => {
101
+ return isAndroid() ? uri : isIOS() ? (
102
+ // currently broken in MetaMask v6.5.0 https://github.com/MetaMask/metamask-mobile/issues/6457
103
+ `metamask://wc?uri=${encodeURIComponent(uri)}`
104
+ ) : `https://metamask.app.link/wc?uri=${encodeURIComponent(uri)}`;
105
+ };
106
+ return {
107
+ id: "metaMask",
108
+ name: "MetaMask",
109
+ rdns: "io.metamask",
110
+ iconUrl: async () => (await import("./metaMaskWallet-YFHEHW7V.js")).default,
111
+ iconAccent: "#f6851a",
112
+ iconBackground: "#fff",
113
+ installed: !shouldUseWalletConnect ? isMetaMaskInjected : void 0,
114
+ downloadUrls: {
115
+ android: "https://play.google.com/store/apps/details?id=io.metamask",
116
+ ios: "https://apps.apple.com/us/app/metamask/id1438144202",
117
+ mobile: "https://metamask.io/download",
118
+ qrCode: "https://metamask.io/download",
119
+ chrome: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",
120
+ edge: "https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",
121
+ firefox: "https://addons.mozilla.org/firefox/addon/ether-metamask",
122
+ opera: "https://addons.opera.com/extensions/details/metamask-10",
123
+ browserExtension: "https://metamask.io/download"
124
+ },
125
+ mobile: {
126
+ getUri: shouldUseWalletConnect ? getUri : void 0
127
+ },
128
+ qrCode: shouldUseWalletConnect ? {
129
+ getUri,
130
+ instructions: {
131
+ learnMoreUrl: "https://metamask.io/faqs/",
132
+ steps: [
133
+ {
134
+ description: "wallet_connectors.metamask.qr_code.step1.description",
135
+ step: "install",
136
+ title: "wallet_connectors.metamask.qr_code.step1.title"
137
+ },
138
+ {
139
+ description: "wallet_connectors.metamask.qr_code.step2.description",
140
+ step: "create",
141
+ title: "wallet_connectors.metamask.qr_code.step2.title"
142
+ },
143
+ {
144
+ description: "wallet_connectors.metamask.qr_code.step3.description",
145
+ step: "refresh",
146
+ title: "wallet_connectors.metamask.qr_code.step3.title"
147
+ }
148
+ ]
149
+ }
150
+ } : void 0,
151
+ extension: {
152
+ instructions: {
153
+ learnMoreUrl: "https://metamask.io/faqs/",
154
+ steps: [
155
+ {
156
+ description: "wallet_connectors.metamask.extension.step1.description",
157
+ step: "install",
158
+ title: "wallet_connectors.metamask.extension.step1.title"
159
+ },
160
+ {
161
+ description: "wallet_connectors.metamask.extension.step2.description",
162
+ step: "create",
163
+ title: "wallet_connectors.metamask.extension.step2.title"
164
+ },
165
+ {
166
+ description: "wallet_connectors.metamask.extension.step3.description",
167
+ step: "refresh",
168
+ title: "wallet_connectors.metamask.extension.step3.title"
169
+ }
170
+ ]
171
+ }
172
+ },
173
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
174
+ projectId,
175
+ walletConnectParameters
176
+ }) : getInjectedConnector({
177
+ target: typeof window !== "undefined" ? window.ethereum?.providers?.find(
178
+ isMetaMask
179
+ ) ?? window.ethereum : void 0
180
+ })
181
+ };
182
+ };
183
+
184
+ export {
185
+ metaMaskWallet
186
+ };
@@ -0,0 +1,76 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isAndroid
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-PODFK4OS.js";
12
+
13
+ // src/wallets/walletConnectors/binanceWallet/binanceWallet.ts
14
+ var binanceWallet = ({
15
+ projectId,
16
+ walletConnectParameters
17
+ }) => {
18
+ const isBinanceInjected = hasInjectedProvider({
19
+ flag: "isBinance"
20
+ });
21
+ const shouldUseWalletConnect = !isBinanceInjected;
22
+ return {
23
+ id: "binance",
24
+ name: "Binance Wallet",
25
+ rdns: "com.binance.wallet",
26
+ iconUrl: async () => (await import("./binanceWallet-BCWLBY3Q.js")).default,
27
+ iconBackground: "#000000",
28
+ installed: !shouldUseWalletConnect ? isBinanceInjected : void 0,
29
+ downloadUrls: {
30
+ android: "https://play.google.com/store/apps/details?id=com.binance.dev",
31
+ ios: "https://apps.apple.com/us/app/id1436799971",
32
+ mobile: "https://www.binance.com/en/download",
33
+ qrCode: "https://www.binance.com/en/web3wallet"
34
+ },
35
+ mobile: shouldUseWalletConnect ? {
36
+ getUri: (uri) => {
37
+ return isAndroid() ? uri : `bnc://app.binance.com/cedefi/wc?uri=${encodeURIComponent(
38
+ uri
39
+ )}`;
40
+ }
41
+ } : void 0,
42
+ qrCode: shouldUseWalletConnect ? {
43
+ getUri: (uri) => uri,
44
+ instructions: {
45
+ learnMoreUrl: "https://www.binance.com/en/web3wallet",
46
+ steps: [
47
+ {
48
+ description: "wallet_connectors.binance.qr_code.step1.description",
49
+ step: "install",
50
+ title: "wallet_connectors.binance.qr_code.step1.title"
51
+ },
52
+ {
53
+ description: "wallet_connectors.binance.qr_code.step2.description",
54
+ step: "create",
55
+ title: "wallet_connectors.binance.qr_code.step2.title"
56
+ },
57
+ {
58
+ description: "wallet_connectors.binance.qr_code.step3.description",
59
+ step: "scan",
60
+ title: "wallet_connectors.binance.qr_code.step3.title"
61
+ }
62
+ ]
63
+ }
64
+ } : void 0,
65
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
66
+ projectId,
67
+ walletConnectParameters
68
+ }) : getInjectedConnector({
69
+ flag: "isBinance"
70
+ })
71
+ };
72
+ };
73
+
74
+ export {
75
+ binanceWallet
76
+ };
@@ -0,0 +1,27 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isIOS
8
+ } from "./chunk-RETKWSKD.js";
9
+
10
+ // src/wallets/walletConnectors/dawnWallet/dawnWallet.ts
11
+ var dawnWallet = () => ({
12
+ id: "dawn",
13
+ name: "Dawn",
14
+ iconUrl: async () => (await import("./dawnWallet-ONVAA3S4.js")).default,
15
+ iconBackground: "#000000",
16
+ installed: hasInjectedProvider({ flag: "isDawn" }),
17
+ hidden: () => !isIOS(),
18
+ downloadUrls: {
19
+ ios: "https://apps.apple.com/us/app/dawn-ethereum-wallet/id1673143782",
20
+ mobile: "https://dawnwallet.xyz"
21
+ },
22
+ createConnector: getInjectedConnector({ flag: "isDawn" })
23
+ });
24
+
25
+ export {
26
+ dawnWallet
27
+ };
@@ -1,22 +1,22 @@
1
1
  "use client";
2
2
  import {
3
- SigningApi
4
- } from "./chunk-TUUNSVKZ.js";
3
+ WalletApi
4
+ } from "./chunk-JBRW4UTW.js";
5
5
  import {
6
- SolanaApi
7
- } from "./chunk-2J66VMY5.js";
6
+ BitcoinApi
7
+ } from "./chunk-BXCOGV3N.js";
8
8
  import {
9
9
  AuthApi
10
- } from "./chunk-RLBGBBIO.js";
10
+ } from "./chunk-W7R3JGSC.js";
11
11
  import {
12
- BitcoinApi
13
- } from "./chunk-7UZBDZZZ.js";
12
+ SigningApi
13
+ } from "./chunk-4UGXLYKP.js";
14
14
  import {
15
- TransactionApi
16
- } from "./chunk-HDYBRMYW.js";
15
+ SolanaApi
16
+ } from "./chunk-DMRM7XAS.js";
17
17
  import {
18
- WalletApi
19
- } from "./chunk-ESRU5KCF.js";
18
+ TransactionApi
19
+ } from "./chunk-KD2OAMDA.js";
20
20
 
21
21
  // src/wallets/walletConnectors/abcWallet/api/index.ts
22
22
  var AbcWaasApiClient = class {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-MY5YIDOB.js";
8
8
  import {
9
9
  createAbcWaasClient
10
- } from "./chunk-3DPCIDW6.js";
10
+ } from "./chunk-P2E4LSYH.js";
11
11
 
12
12
  // src/wallets/walletConnectors/abcWallet/abcSolanaWallet.ts
13
13
  var abcSolanaWallet = (options) => ({