@dogeos/dogeos-sdk 1.0.4-beta.4 → 1.0.4-beta.5

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 (51) hide show
  1. package/dist/index.js +4 -4
  2. package/dist/wallets/walletConnectors/berasigWallet/berasigWallet.js +2 -2
  3. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  4. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  5. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  6. package/dist/wallets/walletConnectors/chunk-265UVQVV.js +68 -0
  7. package/dist/wallets/walletConnectors/chunk-2CARHU3Q.js +92 -0
  8. package/dist/wallets/walletConnectors/chunk-2KIA372N.js +95 -0
  9. package/dist/wallets/walletConnectors/chunk-32NVGNZM.js +99 -0
  10. package/dist/wallets/walletConnectors/chunk-3RV2PDNU.js +90 -0
  11. package/dist/wallets/walletConnectors/chunk-BH3DH43L.js +92 -0
  12. package/dist/wallets/walletConnectors/chunk-C77FT77Y.js +93 -0
  13. package/dist/wallets/walletConnectors/chunk-FWKF7LPD.js +107 -0
  14. package/dist/wallets/walletConnectors/chunk-FZFBCMJX.js +98 -0
  15. package/dist/wallets/walletConnectors/chunk-GPSB5KPA.js +63 -0
  16. package/dist/wallets/walletConnectors/chunk-HOLACY3F.js +68 -0
  17. package/dist/wallets/walletConnectors/chunk-IQZBD6M4.js +63 -0
  18. package/dist/wallets/walletConnectors/chunk-JY4IF5AQ.js +84 -0
  19. package/dist/wallets/walletConnectors/chunk-L3O7BR5I.js +105 -0
  20. package/dist/wallets/walletConnectors/chunk-MD4POIVS.js +93 -0
  21. package/dist/wallets/walletConnectors/chunk-MFP2ILVQ.js +93 -0
  22. package/dist/wallets/walletConnectors/chunk-OP7MZATO.js +100 -0
  23. package/dist/wallets/walletConnectors/chunk-U37MS2YB.js +88 -0
  24. package/dist/wallets/walletConnectors/chunk-UID7XAQR.js +143 -0
  25. package/dist/wallets/walletConnectors/chunk-UW7FKY4Z.js +27 -0
  26. package/dist/wallets/walletConnectors/chunk-VFRUWZVT.js +62 -0
  27. package/dist/wallets/walletConnectors/chunk-WQIJIVN4.js +91 -0
  28. package/dist/wallets/walletConnectors/chunk-XAQXLPKN.js +90 -0
  29. package/dist/wallets/walletConnectors/chunk-XVUM5YFT.js +93 -0
  30. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  31. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  32. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  36. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  37. package/dist/wallets/walletConnectors/index.js +43 -43
  38. package/dist/wallets/walletConnectors/iopayWallet/iopayWallet.js +2 -2
  39. package/dist/wallets/walletConnectors/kaiaWallet/kaiaWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/kaikasWallet/kaikasWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  44. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  49. package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  51. package/package.json +1 -6
@@ -0,0 +1,93 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-PJCRXY6L.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-75A5A7MH.js";
9
+
10
+ // src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
11
+ var coin98Wallet = ({ projectId, walletConnectParameters }) => {
12
+ const isCoin98WalletInjected = hasInjectedProvider({
13
+ namespace: "coin98.provider",
14
+ flag: "isCoin98"
15
+ });
16
+ const shouldUseWalletConnect = !isCoin98WalletInjected;
17
+ return {
18
+ id: "coin98",
19
+ name: "Coin98 Wallet",
20
+ iconUrl: async () => (await import("./coin98Wallet-RFXRNVWP.js")).default,
21
+ installed: isCoin98WalletInjected,
22
+ iconAccent: "#CDA349",
23
+ iconBackground: "#fff",
24
+ rdns: "coin98.com",
25
+ downloadUrls: {
26
+ android: "https://play.google.com/store/apps/details?id=coin98.crypto.finance.media",
27
+ ios: "https://apps.apple.com/vn/app/coin98-super-app/id1561969966",
28
+ mobile: "https://coin98.com/wallet",
29
+ qrCode: "https://coin98.com/wallet",
30
+ chrome: "https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg",
31
+ browserExtension: "https://coin98.com/wallet"
32
+ },
33
+ mobile: {
34
+ getUri: shouldUseWalletConnect ? (uri) => uri : void 0
35
+ },
36
+ qrCode: shouldUseWalletConnect ? {
37
+ getUri: (uri) => uri,
38
+ instructions: {
39
+ learnMoreUrl: "https://coin98.com/wallet",
40
+ steps: [
41
+ {
42
+ description: "wallet_connectors.coin98.qr_code.step1.description",
43
+ step: "install",
44
+ title: "wallet_connectors.coin98.qr_code.step1.title"
45
+ },
46
+ {
47
+ description: "wallet_connectors.coin98.qr_code.step2.description",
48
+ step: "create",
49
+ title: "wallet_connectors.coin98.qr_code.step2.title"
50
+ },
51
+ {
52
+ description: "wallet_connectors.coin98.qr_code.step3.description",
53
+ step: "scan",
54
+ title: "wallet_connectors.coin98.qr_code.step3.title"
55
+ }
56
+ ]
57
+ }
58
+ } : void 0,
59
+ extension: {
60
+ instructions: {
61
+ learnMoreUrl: "https://coin98.com/wallet",
62
+ steps: [
63
+ {
64
+ description: "wallet_connectors.coin98.extension.step1.description",
65
+ step: "install",
66
+ title: "wallet_connectors.coin98.extension.step1.title"
67
+ },
68
+ {
69
+ description: "wallet_connectors.coin98.extension.step2.description",
70
+ step: "create",
71
+ title: "wallet_connectors.coin98.extension.step2.title"
72
+ },
73
+ {
74
+ description: "wallet_connectors.coin98.extension.step3.description",
75
+ step: "refresh",
76
+ title: "wallet_connectors.coin98.extension.step3.title"
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
82
+ projectId,
83
+ walletConnectParameters
84
+ }) : getInjectedConnector({
85
+ namespace: "coin98Wallet",
86
+ flag: "isCoin98"
87
+ })
88
+ };
89
+ };
90
+
91
+ export {
92
+ coin98Wallet
93
+ };
@@ -0,0 +1,107 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-PJCRXY6L.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-75A5A7MH.js";
9
+
10
+ // src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
11
+ var safepalWallet = ({ projectId, walletConnectParameters }) => {
12
+ const isSafePalWalletInjected = hasInjectedProvider({
13
+ namespace: "safepalProvider",
14
+ flag: "isSafePal"
15
+ });
16
+ const shouldUseWalletConnect = !isSafePalWalletInjected;
17
+ const getUriMobile = (uri) => {
18
+ return `safepalwallet://wc?uri=${encodeURIComponent(uri)}`;
19
+ };
20
+ const getUriQR = async (uri) => {
21
+ return uri;
22
+ };
23
+ const mobileConnector = {
24
+ getUri: shouldUseWalletConnect ? getUriMobile : void 0
25
+ };
26
+ let qrConnector = void 0;
27
+ if (shouldUseWalletConnect) {
28
+ qrConnector = {
29
+ getUri: getUriQR,
30
+ instructions: {
31
+ learnMoreUrl: "https://safepal.com/",
32
+ steps: [
33
+ {
34
+ description: "wallet_connectors.safepal.qr_code.step1.description",
35
+ step: "install",
36
+ title: "wallet_connectors.safepal.qr_code.step1.title"
37
+ },
38
+ {
39
+ description: "wallet_connectors.safepal.qr_code.step2.description",
40
+ step: "create",
41
+ title: "wallet_connectors.safepal.qr_code.step2.title"
42
+ },
43
+ {
44
+ description: "wallet_connectors.safepal.qr_code.step3.description",
45
+ step: "scan",
46
+ title: "wallet_connectors.safepal.qr_code.step3.title"
47
+ }
48
+ ]
49
+ }
50
+ };
51
+ }
52
+ const extensionConnector = {
53
+ instructions: {
54
+ learnMoreUrl: "https://www.safepal.com/download?product=2",
55
+ steps: [
56
+ {
57
+ description: "wallet_connectors.safepal.extension.step1.description",
58
+ step: "install",
59
+ title: "wallet_connectors.safepal.extension.step1.title"
60
+ },
61
+ {
62
+ description: "wallet_connectors.safepal.extension.step2.description",
63
+ step: "create",
64
+ title: "wallet_connectors.safepal.extension.step2.title"
65
+ },
66
+ {
67
+ description: "wallet_connectors.safepal.extension.step3.description",
68
+ step: "refresh",
69
+ title: "wallet_connectors.safepal.extension.step3.title"
70
+ }
71
+ ]
72
+ }
73
+ };
74
+ return {
75
+ id: "safepal",
76
+ name: "SafePal Wallet",
77
+ iconUrl: async () => (await import("./safepalWallet-KQJ4OCNH.js")).default,
78
+ // Note that we never resolve `installed` to `false` because the
79
+ // SafePal Wallet provider falls back to other connection methods if
80
+ // the injected connector isn't available
81
+ installed: isSafePalWalletInjected,
82
+ iconAccent: "#3375BB",
83
+ iconBackground: "#fff",
84
+ downloadUrls: {
85
+ android: "https://play.google.com/store/apps/details?id=io.safepal.wallet&referrer=utm_source%3Drainbowkit%26utm_medium%3Ddisplay%26utm_campaign%3Ddownload",
86
+ ios: "https://apps.apple.com/app/apple-store/id1548297139?pt=122504219&ct=rainbowkit&mt=8",
87
+ mobile: "https://www.safepal.com/en/download",
88
+ qrCode: "https://www.safepal.com/en/download",
89
+ chrome: "https://chrome.google.com/webstore/detail/safepal-extension-wallet/lgmpcpglpngdoalbgeoldeajfclnhafa",
90
+ browserExtension: "https://www.safepal.com/download?product=2"
91
+ },
92
+ mobile: mobileConnector,
93
+ ...qrConnector ? qrConnector : {},
94
+ extension: extensionConnector,
95
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
96
+ projectId,
97
+ walletConnectParameters
98
+ }) : getInjectedConnector({
99
+ namespace: "safepalProvider",
100
+ flag: "isSafePal"
101
+ })
102
+ };
103
+ };
104
+
105
+ export {
106
+ safepalWallet
107
+ };
@@ -0,0 +1,98 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-PJCRXY6L.js";
6
+ import {
7
+ isAndroid
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-75A5A7MH.js";
12
+
13
+ // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
14
+ var bitgetWallet = ({ projectId, walletConnectParameters }) => {
15
+ const isBitKeepInjected = hasInjectedProvider({
16
+ namespace: "bitkeep.ethereum",
17
+ flag: "isBitKeep"
18
+ });
19
+ const shouldUseWalletConnect = !isBitKeepInjected;
20
+ return {
21
+ id: "bitget",
22
+ name: "Bitget Wallet",
23
+ rdns: "com.bitget.web3",
24
+ iconUrl: async () => (await import("./bitgetWallet-CLYTW54T.js")).default,
25
+ iconAccent: "#f6851a",
26
+ iconBackground: "#fff",
27
+ installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
28
+ downloadUrls: {
29
+ android: "https://web3.bitget.com/en/wallet-download?type=0",
30
+ ios: "https://apps.apple.com/app/bitkeep/id1395301115",
31
+ mobile: "https://web3.bitget.com/en/wallet-download?type=2",
32
+ qrCode: "https://web3.bitget.com/en/wallet-download",
33
+ chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
34
+ browserExtension: "https://web3.bitget.com/en/wallet-download"
35
+ },
36
+ extension: {
37
+ instructions: {
38
+ learnMoreUrl: "https://web3.bitget.com/en/academy",
39
+ steps: [
40
+ {
41
+ description: "wallet_connectors.bitget.extension.step1.description",
42
+ step: "install",
43
+ title: "wallet_connectors.bitget.extension.step1.title"
44
+ },
45
+ {
46
+ description: "wallet_connectors.bitget.extension.step2.description",
47
+ step: "create",
48
+ title: "wallet_connectors.bitget.extension.step2.title"
49
+ },
50
+ {
51
+ description: "wallet_connectors.bitget.extension.step3.description",
52
+ step: "refresh",
53
+ title: "wallet_connectors.bitget.extension.step3.description"
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ mobile: {
59
+ getUri: shouldUseWalletConnect ? (uri) => {
60
+ return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
61
+ } : void 0
62
+ },
63
+ qrCode: shouldUseWalletConnect ? {
64
+ getUri: (uri) => uri,
65
+ instructions: {
66
+ learnMoreUrl: "https://web3.bitget.com/en/academy",
67
+ steps: [
68
+ {
69
+ description: "wallet_connectors.bitget.qr_code.step1.description",
70
+ step: "install",
71
+ title: "wallet_connectors.bitget.qr_code.step1.title"
72
+ },
73
+ {
74
+ description: "wallet_connectors.bitget.qr_code.step2.description",
75
+ step: "create",
76
+ title: "wallet_connectors.bitget.qr_code.step2.title"
77
+ },
78
+ {
79
+ description: "wallet_connectors.bitget.qr_code.step3.description",
80
+ step: "scan",
81
+ title: "wallet_connectors.bitget.qr_code.step3.title"
82
+ }
83
+ ]
84
+ }
85
+ } : void 0,
86
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
87
+ projectId,
88
+ walletConnectParameters
89
+ }) : getInjectedConnector({
90
+ namespace: "bitkeep.ethereum",
91
+ flag: "isBitKeep"
92
+ })
93
+ };
94
+ };
95
+
96
+ export {
97
+ bitgetWallet
98
+ };
@@ -0,0 +1,63 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector
4
+ } from "./chunk-PJCRXY6L.js";
5
+ import {
6
+ isAndroid
7
+ } from "./chunk-RETKWSKD.js";
8
+ import {
9
+ getWalletConnectConnector
10
+ } from "./chunk-75A5A7MH.js";
11
+
12
+ // src/wallets/walletConnectors/iopayWallet/iopayWallet.ts
13
+ function isIoPayMobile() {
14
+ return typeof navigator !== "undefined" && typeof navigator.userAgent !== "undefined" && (navigator?.userAgent.includes("IoPayAndroid") || navigator?.userAgent.includes("IoPayiOs"));
15
+ }
16
+ var iopayWallet = ({ projectId, walletConnectParameters }) => ({
17
+ id: "iopay",
18
+ name: "ioPay Wallet",
19
+ iconUrl: async () => (await import("./iopayWallet-IJHJ7NYT.js")).default,
20
+ iconBackground: "#fff",
21
+ downloadUrls: {
22
+ android: "https://play.google.com/store/apps/details?id=io.iotex.iopay.gp&pli=1",
23
+ ios: "https://apps.apple.com/us/app/iopay-multichain-crypto-wallet/id1478086371",
24
+ qrCode: "https://iopay.me/",
25
+ browserExtension: "https://iopay.me/"
26
+ },
27
+ mobile: {
28
+ getUri: (uri) => {
29
+ return isAndroid() ? uri : `iopay://wc?uri=${encodeURIComponent(uri)}`;
30
+ }
31
+ },
32
+ qrCode: {
33
+ getUri: (uri) => uri,
34
+ instructions: {
35
+ learnMoreUrl: "https://iopay.me/",
36
+ steps: [
37
+ {
38
+ description: "wallet_connectors.iopay.qr_code.step1.description",
39
+ step: "install",
40
+ title: "wallet_connectors.iopay.qr_code.step1.title"
41
+ },
42
+ {
43
+ description: "wallet_connectors.iopay.qr_code.step2.description",
44
+ step: "create",
45
+ title: "wallet_connectors.iopay.qr_code.step2.title"
46
+ },
47
+ {
48
+ description: "wallet_connectors.iopay.qr_code.step3.description",
49
+ step: "scan",
50
+ title: "wallet_connectors.iopay.qr_code.step3.title"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ createConnector: isIoPayMobile() ? getInjectedConnector({}) : getWalletConnectConnector({
56
+ projectId,
57
+ walletConnectParameters
58
+ })
59
+ });
60
+
61
+ export {
62
+ iopayWallet
63
+ };
@@ -0,0 +1,68 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-PJCRXY6L.js";
6
+ import {
7
+ isAndroid,
8
+ isIOS
9
+ } from "./chunk-RETKWSKD.js";
10
+ import {
11
+ getWalletConnectConnector
12
+ } from "./chunk-75A5A7MH.js";
13
+
14
+ // src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
15
+ var rainbowWallet = ({ projectId, walletConnectParameters }) => {
16
+ const isRainbowInjected = hasInjectedProvider({ flag: "isRainbow" });
17
+ const shouldUseWalletConnect = !isRainbowInjected;
18
+ const getUri = (uri) => {
19
+ return isAndroid() ? uri : isIOS() ? `rainbow://wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit` : `https://rnbwapp.com/wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit`;
20
+ };
21
+ return {
22
+ id: "rainbow",
23
+ name: "Rainbow",
24
+ rdns: "me.rainbow",
25
+ iconUrl: async () => (await import("./rainbowWallet-2SR6TVBF.js")).default,
26
+ iconBackground: "#0c2f78",
27
+ installed: !shouldUseWalletConnect ? isRainbowInjected : void 0,
28
+ downloadUrls: {
29
+ android: "https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",
30
+ ios: "https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",
31
+ mobile: "https://rainbow.download?utm_source=rainbowkit",
32
+ qrCode: "https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",
33
+ browserExtension: "https://rainbow.me/extension?utm_source=rainbowkit"
34
+ },
35
+ mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
36
+ qrCode: shouldUseWalletConnect ? {
37
+ getUri,
38
+ instructions: {
39
+ learnMoreUrl: "https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",
40
+ steps: [
41
+ {
42
+ description: "wallet_connectors.rainbow.qr_code.step1.description",
43
+ step: "install",
44
+ title: "wallet_connectors.rainbow.qr_code.step1.title"
45
+ },
46
+ {
47
+ description: "wallet_connectors.rainbow.qr_code.step2.description",
48
+ step: "create",
49
+ title: "wallet_connectors.rainbow.qr_code.step2.title"
50
+ },
51
+ {
52
+ description: "wallet_connectors.rainbow.qr_code.step3.description",
53
+ step: "scan",
54
+ title: "wallet_connectors.rainbow.qr_code.step3.title"
55
+ }
56
+ ]
57
+ }
58
+ } : void 0,
59
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
60
+ projectId,
61
+ walletConnectParameters
62
+ }) : getInjectedConnector({ flag: "isRainbow" })
63
+ };
64
+ };
65
+
66
+ export {
67
+ rainbowWallet
68
+ };
@@ -0,0 +1,63 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-PJCRXY6L.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-75A5A7MH.js";
9
+
10
+ // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
+ var foxWallet = ({ projectId, walletConnectParameters }) => {
12
+ const isFoxInjected = hasInjectedProvider({
13
+ namespace: "foxwallet.ethereum"
14
+ });
15
+ const shouldUseWalletConnect = !isFoxInjected;
16
+ return {
17
+ id: "foxwallet",
18
+ name: "FoxWallet",
19
+ iconUrl: async () => (await import("./foxWallet-5ESSNXJV.js")).default,
20
+ iconBackground: "#fff",
21
+ downloadUrls: {
22
+ android: "https://play.google.com/store/apps/details?id=com.foxwallet.play",
23
+ ios: "https://apps.apple.com/app/foxwallet-crypto-web3/id1590983231",
24
+ qrCode: "https://foxwallet.com/download"
25
+ },
26
+ mobile: {
27
+ getUri: shouldUseWalletConnect ? (uri) => {
28
+ return `foxwallet://wc?uri=${encodeURIComponent(uri)}`;
29
+ } : void 0
30
+ },
31
+ qrCode: shouldUseWalletConnect ? {
32
+ getUri: (uri) => uri,
33
+ instructions: {
34
+ learnMoreUrl: "https://foxwallet.com",
35
+ steps: [
36
+ {
37
+ description: "wallet_connectors.fox.qr_code.step1.description",
38
+ step: "install",
39
+ title: "wallet_connectors.fox.qr_code.step1.title"
40
+ },
41
+ {
42
+ description: "wallet_connectors.fox.qr_code.step2.description",
43
+ step: "create",
44
+ title: "wallet_connectors.fox.qr_code.step2.title"
45
+ },
46
+ {
47
+ description: "wallet_connectors.fox.qr_code.step3.description",
48
+ step: "scan",
49
+ title: "wallet_connectors.fox.qr_code.step3.title"
50
+ }
51
+ ]
52
+ }
53
+ } : void 0,
54
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
55
+ projectId,
56
+ walletConnectParameters
57
+ }) : getInjectedConnector({ namespace: "foxwallet.ethereum" })
58
+ };
59
+ };
60
+
61
+ export {
62
+ foxWallet
63
+ };
@@ -0,0 +1,84 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-PJCRXY6L.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-75A5A7MH.js";
9
+
10
+ // src/wallets/walletConnectors/clvWallet/clvWallet.ts
11
+ var clvWallet = ({ projectId, walletConnectParameters }) => {
12
+ const isCLVInjected = hasInjectedProvider({ namespace: "clover" });
13
+ const shouldUseWalletConnect = !isCLVInjected;
14
+ return {
15
+ id: "clv",
16
+ name: "CLV",
17
+ iconUrl: async () => (await import("./clvWallet-ZIMSRU5J.js")).default,
18
+ iconBackground: "#fff",
19
+ iconAccent: "#BDFDE2",
20
+ installed: isCLVInjected,
21
+ downloadUrls: {
22
+ chrome: "https://chrome.google.com/webstore/detail/clv-wallet/nhnkbkgjikgcigadomkphalanndcapjk",
23
+ ios: "https://apps.apple.com/app/clover-wallet/id1570072858",
24
+ mobile: "https://apps.apple.com/app/clover-wallet/id1570072858",
25
+ qrCode: "https://clv.org/"
26
+ },
27
+ extension: {
28
+ instructions: {
29
+ learnMoreUrl: "https://clv.org/",
30
+ steps: [
31
+ {
32
+ description: "wallet_connectors.clv.extension.step1.description",
33
+ step: "install",
34
+ title: "wallet_connectors.clv.extension.step1.title"
35
+ },
36
+ {
37
+ description: "wallet_connectors.clv.extension.step2.description",
38
+ step: "create",
39
+ title: "wallet_connectors.clv.extension.step2.title"
40
+ },
41
+ {
42
+ description: "wallet_connectors.clv.extension.step3.description",
43
+ step: "refresh",
44
+ title: "wallet_connectors.clv.extension.step3.title"
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ mobile: {
50
+ getUri: shouldUseWalletConnect ? (uri) => uri : void 0
51
+ },
52
+ qrCode: shouldUseWalletConnect ? {
53
+ getUri: (uri) => uri,
54
+ instructions: {
55
+ learnMoreUrl: "https://clv.org/",
56
+ steps: [
57
+ {
58
+ description: "wallet_connectors.clv.qr_code.step1.description",
59
+ step: "install",
60
+ title: "wallet_connectors.clv.qr_code.step1.title"
61
+ },
62
+ {
63
+ description: "wallet_connectors.clv.qr_code.step2.description",
64
+ step: "create",
65
+ title: "wallet_connectors.clv.qr_code.step2.title"
66
+ },
67
+ {
68
+ description: "wallet_connectors.clv.qr_code.step3.description",
69
+ step: "scan",
70
+ title: "wallet_connectors.clv.qr_code.step3.title"
71
+ }
72
+ ]
73
+ }
74
+ } : void 0,
75
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
76
+ projectId,
77
+ walletConnectParameters
78
+ }) : getInjectedConnector({ namespace: "clover" })
79
+ };
80
+ };
81
+
82
+ export {
83
+ clvWallet
84
+ };
@@ -0,0 +1,105 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-PJCRXY6L.js";
6
+ import {
7
+ isMobile
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-75A5A7MH.js";
12
+
13
+ // src/wallets/walletConnectors/trustWallet/trustWallet.ts
14
+ var trustWallet = ({ projectId, walletConnectParameters }) => {
15
+ const isTrustWalletInjected = isMobile() ? hasInjectedProvider({ flag: "isTrust" }) : hasInjectedProvider({ flag: "isTrustWallet" });
16
+ const shouldUseWalletConnect = !isTrustWalletInjected;
17
+ const getUriMobile = (uri) => {
18
+ return `trust://wc?uri=${encodeURIComponent(uri)}`;
19
+ };
20
+ const getUriQR = (uri) => {
21
+ return uri;
22
+ };
23
+ const mobileConnector = {
24
+ getUri: shouldUseWalletConnect ? getUriMobile : void 0
25
+ };
26
+ let qrConnector = void 0;
27
+ if (shouldUseWalletConnect) {
28
+ qrConnector = {
29
+ getUri: getUriQR,
30
+ instructions: {
31
+ learnMoreUrl: "https://trustwallet.com/",
32
+ steps: [
33
+ {
34
+ description: "wallet_connectors.trust.qr_code.step1.description",
35
+ step: "install",
36
+ title: "wallet_connectors.trust.qr_code.step1.title"
37
+ },
38
+ {
39
+ description: "wallet_connectors.trust.qr_code.step2.description",
40
+ step: "create",
41
+ title: "wallet_connectors.trust.qr_code.step2.title"
42
+ },
43
+ {
44
+ description: "wallet_connectors.trust.qr_code.step3.description",
45
+ step: "scan",
46
+ title: "wallet_connectors.trust.qr_code.step3.title"
47
+ }
48
+ ]
49
+ }
50
+ };
51
+ }
52
+ const extensionConnector = {
53
+ instructions: {
54
+ learnMoreUrl: "https://trustwallet.com/browser-extension",
55
+ steps: [
56
+ {
57
+ description: "wallet_connectors.trust.extension.step1.description",
58
+ step: "install",
59
+ title: "wallet_connectors.trust.extension.step1.title"
60
+ },
61
+ {
62
+ description: "wallet_connectors.trust.extension.step2.description",
63
+ step: "create",
64
+ title: "wallet_connectors.trust.extension.step2.title"
65
+ },
66
+ {
67
+ description: "wallet_connectors.trust.extension.step3.description",
68
+ step: "refresh",
69
+ title: "wallet_connectors.trust.extension.step3.title"
70
+ }
71
+ ]
72
+ }
73
+ };
74
+ return {
75
+ id: "trust",
76
+ name: "Trust Wallet",
77
+ rdns: "com.trustwallet.app",
78
+ iconUrl: async () => (await import("./trustWallet-E2GVGE4U.js")).default,
79
+ // Note that we never resolve `installed` to `false` because the
80
+ // Trust Wallet provider falls back to other connection methods if
81
+ // the injected connector isn't available
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
+ };