@dogeos/dogeos-sdk 1.0.6-beta.3 → 2.0.0-beta.4

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 (53) hide show
  1. package/dist/components/AccountModal/AccountModal.d.ts +1 -1
  2. package/dist/components/AccountModal/AccountModal.d.ts.map +1 -1
  3. package/dist/components/ConnectModal/socialLoginTypeSL.d.ts +1 -1
  4. package/dist/components/ConnectModal/socialLoginTypeSL.d.ts.map +1 -1
  5. package/dist/index.js +14 -14
  6. package/dist/wallets/walletConnectors/berasigWallet/berasigWallet.js +2 -2
  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/chunk-23BTDHWT.js +68 -0
  11. package/dist/wallets/walletConnectors/chunk-3RV2PDNU.js +90 -0
  12. package/dist/wallets/walletConnectors/chunk-5AA45G6G.js +68 -0
  13. package/dist/wallets/walletConnectors/chunk-5Z7ZXXRR.js +98 -0
  14. package/dist/wallets/walletConnectors/chunk-BH3DH43L.js +92 -0
  15. package/dist/wallets/walletConnectors/chunk-C77FT77Y.js +93 -0
  16. package/dist/wallets/walletConnectors/chunk-DSSAT3NI.js +99 -0
  17. package/dist/wallets/walletConnectors/chunk-EU6OLW4A.js +95 -0
  18. package/dist/wallets/walletConnectors/chunk-FWKF7LPD.js +107 -0
  19. package/dist/wallets/walletConnectors/chunk-HKLLWUHG.js +63 -0
  20. package/dist/wallets/walletConnectors/chunk-IQZBD6M4.js +63 -0
  21. package/dist/wallets/walletConnectors/chunk-JY4IF5AQ.js +84 -0
  22. package/dist/wallets/walletConnectors/chunk-LKBXEGOJ.js +92 -0
  23. package/dist/wallets/walletConnectors/chunk-MD4POIVS.js +93 -0
  24. package/dist/wallets/walletConnectors/chunk-NBPDTYTT.js +93 -0
  25. package/dist/wallets/walletConnectors/chunk-OP7MZATO.js +100 -0
  26. package/dist/wallets/walletConnectors/chunk-PE2OUMNV.js +91 -0
  27. package/dist/wallets/walletConnectors/chunk-PTIPKDP7.js +143 -0
  28. package/dist/wallets/walletConnectors/chunk-RQLI2RTW.js +105 -0
  29. package/dist/wallets/walletConnectors/chunk-U37MS2YB.js +88 -0
  30. package/dist/wallets/walletConnectors/chunk-VFRUWZVT.js +62 -0
  31. package/dist/wallets/walletConnectors/chunk-XAQXLPKN.js +90 -0
  32. package/dist/wallets/walletConnectors/chunk-XVUM5YFT.js +93 -0
  33. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  34. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  35. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  36. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  37. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  38. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  39. package/dist/wallets/walletConnectors/index.js +32 -32
  40. package/dist/wallets/walletConnectors/iopayWallet/iopayWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/kaiaWallet/kaiaWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/kaikasWallet/kaikasWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  44. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  49. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  51. package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +2 -2
  52. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  53. package/package.json +4 -4
@@ -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,99 @@
1
+ "use client";
2
+ import {
3
+ isIOS
4
+ } from "./chunk-RETKWSKD.js";
5
+ import {
6
+ getInjectedConnector,
7
+ hasInjectedProvider
8
+ } from "./chunk-PJCRXY6L.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-75A5A7MH.js";
12
+
13
+ // src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
14
+ var zerionWallet = ({ projectId, walletConnectParameters }) => {
15
+ const isZerionInjected = hasInjectedProvider({
16
+ namespace: "zerionWallet",
17
+ flag: "isZerion"
18
+ });
19
+ const shouldUseWalletConnect = !isZerionInjected;
20
+ const getUri = (uri) => {
21
+ return isIOS() ? `zerion://wc?uri=${encodeURIComponent(uri)}` : uri;
22
+ };
23
+ return {
24
+ id: "zerion",
25
+ name: "Zerion",
26
+ rdns: "io.zerion.wallet",
27
+ iconUrl: async () => (await import("./zerionWallet-CYFHB5PA.js")).default,
28
+ iconAccent: "#2962ef",
29
+ iconBackground: "#2962ef",
30
+ installed: !shouldUseWalletConnect ? isZerionInjected : void 0,
31
+ downloadUrls: {
32
+ android: "https://play.google.com/store/apps/details?id=io.zerion.android",
33
+ ios: "https://apps.apple.com/app/apple-store/id1456732565",
34
+ mobile: "https://link.zerion.io/pt3gdRP0njb",
35
+ qrCode: "https://link.zerion.io/pt3gdRP0njb",
36
+ chrome: "https://chrome.google.com/webstore/detail/klghhnkeealcohjjanjjdaeeggmfmlpl",
37
+ browserExtension: "https://zerion.io/extension"
38
+ },
39
+ mobile: {
40
+ getUri: shouldUseWalletConnect ? getUri : void 0
41
+ },
42
+ qrCode: shouldUseWalletConnect ? {
43
+ getUri,
44
+ instructions: {
45
+ learnMoreUrl: "https://zerion.io/blog/announcing-the-zerion-smart-wallet/",
46
+ steps: [
47
+ {
48
+ description: "wallet_connectors.zerion.qr_code.step1.description",
49
+ step: "install",
50
+ title: "wallet_connectors.zerion.qr_code.step1.title"
51
+ },
52
+ {
53
+ description: "wallet_connectors.zerion.qr_code.step2.description",
54
+ step: "create",
55
+ title: "wallet_connectors.zerion.qr_code.step2.title"
56
+ },
57
+ {
58
+ description: "wallet_connectors.zerion.qr_code.step3.description",
59
+ step: "scan",
60
+ title: "wallet_connectors.zerion.qr_code.step3.title"
61
+ }
62
+ ]
63
+ }
64
+ } : void 0,
65
+ extension: {
66
+ instructions: {
67
+ learnMoreUrl: "https://help.zerion.io/en/",
68
+ steps: [
69
+ {
70
+ description: "wallet_connectors.zerion.extension.step1.description",
71
+ step: "install",
72
+ title: "wallet_connectors.zerion.extension.step1.title"
73
+ },
74
+ {
75
+ description: "wallet_connectors.zerion.extension.step2.description",
76
+ step: "create",
77
+ title: "wallet_connectors.zerion.extension.step2.title"
78
+ },
79
+ {
80
+ description: "wallet_connectors.zerion.extension.step3.description",
81
+ step: "refresh",
82
+ title: "wallet_connectors.zerion.extension.step3.title"
83
+ }
84
+ ]
85
+ }
86
+ },
87
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
88
+ projectId,
89
+ walletConnectParameters
90
+ }) : getInjectedConnector({
91
+ namespace: "zerionWallet",
92
+ flag: "isZerion"
93
+ })
94
+ };
95
+ };
96
+
97
+ export {
98
+ zerionWallet
99
+ };
@@ -0,0 +1,95 @@
1
+ "use client";
2
+ import {
3
+ isAndroid
4
+ } from "./chunk-RETKWSKD.js";
5
+ import {
6
+ getInjectedConnector,
7
+ hasInjectedProvider
8
+ } from "./chunk-PJCRXY6L.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-75A5A7MH.js";
12
+
13
+ // src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
14
+ var frontierWallet = ({ projectId, walletConnectParameters }) => {
15
+ const isFrontierInjected = hasInjectedProvider({
16
+ namespace: "frontier.ethereum",
17
+ flag: "isFrontier"
18
+ });
19
+ const shouldUseWalletConnect = !isFrontierInjected;
20
+ return {
21
+ id: "frontier",
22
+ name: "Frontier Wallet",
23
+ rdns: "xyz.frontier.wallet",
24
+ installed: isFrontierInjected,
25
+ iconUrl: async () => (await import("./frontierWallet-HNIG7QYQ.js")).default,
26
+ iconBackground: "#CC703C",
27
+ downloadUrls: {
28
+ android: "https://play.google.com/store/apps/details?id=com.frontierwallet",
29
+ ios: "https://apps.apple.com/us/app/frontier-crypto-defi-wallet/id1482380988",
30
+ qrCode: "https://www.frontier.xyz/download",
31
+ chrome: "https://chrome.google.com/webstore/detail/frontier-wallet/kppfdiipphfccemcignhifpjkapfbihd",
32
+ browserExtension: "https://www.frontier.xyz/download"
33
+ },
34
+ mobile: {
35
+ getUri: shouldUseWalletConnect ? (uri) => {
36
+ return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
37
+ } : void 0
38
+ },
39
+ qrCode: shouldUseWalletConnect ? {
40
+ getUri: (uri) => {
41
+ return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
42
+ },
43
+ instructions: {
44
+ learnMoreUrl: "https://help.frontier.xyz/en/",
45
+ steps: [
46
+ {
47
+ description: "wallet_connectors.im_token.qr_code.step1.description",
48
+ step: "install",
49
+ title: "wallet_connectors.im_token.qr_code.step1.title"
50
+ },
51
+ {
52
+ description: "wallet_connectors.im_token.qr_code.step2.description",
53
+ step: "create",
54
+ title: "wallet_connectors.im_token.qr_code.step2.title"
55
+ },
56
+ {
57
+ description: "wallet_connectors.im_token.qr_code.step3.description",
58
+ step: "scan",
59
+ title: "wallet_connectors.im_token.qr_code.step3.title"
60
+ }
61
+ ]
62
+ }
63
+ } : void 0,
64
+ extension: {
65
+ instructions: {
66
+ learnMoreUrl: "https://help.frontier.xyz/en/articles/6967236-setting-up-frontier-on-your-device",
67
+ steps: [
68
+ {
69
+ description: "wallet_connectors.frontier.extension.step1.description",
70
+ step: "install",
71
+ title: "wallet_connectors.frontier.extension.step1.title"
72
+ },
73
+ {
74
+ description: "wallet_connectors.frontier.extension.step2.description",
75
+ step: "create",
76
+ title: "wallet_connectors.frontier.extension.step2.title"
77
+ },
78
+ {
79
+ description: "wallet_connectors.frontier.extension.step3.description",
80
+ step: "refresh",
81
+ title: "wallet_connectors.frontier.extension.step3.title"
82
+ }
83
+ ]
84
+ }
85
+ },
86
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({ projectId, walletConnectParameters }) : getInjectedConnector({
87
+ namespace: "frontier.ethereum",
88
+ flag: "isFrontier"
89
+ })
90
+ };
91
+ };
92
+
93
+ export {
94
+ frontierWallet
95
+ };
@@ -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,63 @@
1
+ "use client";
2
+ import {
3
+ isAndroid
4
+ } from "./chunk-RETKWSKD.js";
5
+ import {
6
+ getInjectedConnector
7
+ } from "./chunk-PJCRXY6L.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,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
+ };