@funkit/connect 1.0.7 → 1.0.9

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/CHANGELOG.md +15 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +5 -3
  4. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  5. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  6. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  7. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  9. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  12. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/index.js +65 -65
  14. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  17. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  23. package/package.json +18 -17
  24. package/dist/components/Icons/MastercardIcon.d.ts +0 -2
  25. package/dist/wallets/walletConnectors/chunk-2LY3WMXK.js +0 -96
  26. package/dist/wallets/walletConnectors/chunk-2PC2XXUH.js +0 -94
  27. package/dist/wallets/walletConnectors/chunk-2XQJ2NQ4.js +0 -178
  28. package/dist/wallets/walletConnectors/chunk-75A2U7T7.js +0 -100
  29. package/dist/wallets/walletConnectors/chunk-AJKRYTH2.js +0 -92
  30. package/dist/wallets/walletConnectors/chunk-CVGDYGHA.js +0 -60
  31. package/dist/wallets/walletConnectors/chunk-DNOEX5NF.js +0 -73
  32. package/dist/wallets/walletConnectors/chunk-FDIIMYTB.js +0 -73
  33. package/dist/wallets/walletConnectors/chunk-HXYRONSJ.js +0 -94
  34. package/dist/wallets/walletConnectors/chunk-MCTPLICE.js +0 -102
  35. package/dist/wallets/walletConnectors/chunk-MU35GKP3.js +0 -71
  36. package/dist/wallets/walletConnectors/chunk-N3VZE65M.js +0 -98
  37. package/dist/wallets/walletConnectors/chunk-OAEJQOAV.js +0 -105
  38. package/dist/wallets/walletConnectors/chunk-OKZSWAPF.js +0 -60
  39. package/dist/wallets/walletConnectors/chunk-OR3PU2W4.js +0 -95
  40. package/dist/wallets/walletConnectors/chunk-OYKWP3N3.js +0 -60
  41. package/dist/wallets/walletConnectors/chunk-OYW4TIA3.js +0 -81
  42. package/dist/wallets/walletConnectors/chunk-PPFSHJTA.js +0 -95
  43. package/dist/wallets/walletConnectors/chunk-RYO26XSK.js +0 -100
  44. package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +0 -71
  45. package/dist/wallets/walletConnectors/chunk-SPLW3CCH.js +0 -98
  46. package/dist/wallets/walletConnectors/chunk-SQGFKNNZ.js +0 -102
  47. package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +0 -27
  48. package/dist/wallets/walletConnectors/chunk-X255T3C4.js +0 -178
  49. package/dist/wallets/walletConnectors/chunk-XSSD5ZVD.js +0 -96
  50. package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +0 -98
  51. package/dist/wallets/walletConnectors/chunk-ZFXXHGAS.js +0 -105
@@ -1,95 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-QII6PY2D.js";
6
- import {
7
- isMobile
8
- } from "./chunk-ZOLACFTK.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
- };
@@ -1,60 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- isAndroid
7
- } from "./chunk-ZOLACFTK.js";
8
-
9
- // src/wallets/walletConnectors/omniWallet/omniWallet.ts
10
- var omniWallet = ({
11
- projectId,
12
- walletConnectParameters
13
- }) => ({
14
- id: "omni",
15
- name: "Omni",
16
- iconUrl: async () => (await import("./omniWallet-VF54LPLK.js")).default,
17
- iconBackground: "#000",
18
- downloadUrls: {
19
- android: "https://play.google.com/store/apps/details?id=fi.steakwallet.app",
20
- ios: "https://itunes.apple.com/us/app/id1569375204",
21
- mobile: "https://omniwallet.app.link",
22
- qrCode: "https://omniwallet.app.link"
23
- },
24
- mobile: {
25
- getUri: (uri) => {
26
- return isAndroid() ? uri : `omni://wc?uri=${encodeURIComponent(uri)}`;
27
- }
28
- },
29
- qrCode: {
30
- getUri: (uri) => uri,
31
- instructions: {
32
- learnMoreUrl: "https://omni.app/support",
33
- steps: [
34
- {
35
- description: "wallet_connectors.omni.qr_code.step1.description",
36
- step: "install",
37
- title: "wallet_connectors.omni.qr_code.step1.title"
38
- },
39
- {
40
- description: "wallet_connectors.omni.qr_code.step2.description",
41
- step: "create",
42
- title: "wallet_connectors.omni.qr_code.step2.title"
43
- },
44
- {
45
- description: "wallet_connectors.omni.qr_code.step3.description",
46
- step: "scan",
47
- title: "wallet_connectors.omni.qr_code.step3.title"
48
- }
49
- ]
50
- }
51
- },
52
- createConnector: getWalletConnectConnector({
53
- projectId,
54
- walletConnectParameters
55
- })
56
- });
57
-
58
- export {
59
- omniWallet
60
- };
@@ -1,81 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- isMobile
7
- } from "./chunk-ZOLACFTK.js";
8
-
9
- // src/wallets/walletConnectors/bloomWallet/bloomWallet.ts
10
- var bloomWallet = ({
11
- projectId,
12
- walletConnectParameters
13
- }) => ({
14
- id: "bloomWallet",
15
- name: "Bloom Wallet",
16
- iconBackground: "#000",
17
- iconAccent: "#000",
18
- hidden: () => isMobile(),
19
- iconUrl: async () => (await import("./bloomWallet-LYZWRHBK.js")).default,
20
- downloadUrls: {
21
- qrCode: "https://bloomwallet.io/",
22
- windows: "https://bloomwallet.io/",
23
- macos: "https://bloomwallet.io/",
24
- linux: "https://bloomwallet.io/",
25
- desktop: "https://bloomwallet.io/"
26
- },
27
- qrCode: {
28
- getUri: (uri) => `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`,
29
- instructions: {
30
- learnMoreUrl: "https://bloomwallet.io/",
31
- steps: [
32
- {
33
- description: "wallet_connectors.bloom.qr_code.step1.description",
34
- step: "install",
35
- title: "wallet_connectors.bloom.qr_code.step1.title"
36
- },
37
- {
38
- description: "wallet_connectors.bloom.qr_code.step2.description",
39
- step: "create",
40
- title: "wallet_connectors.bloom.qr_code.step2.title"
41
- },
42
- {
43
- description: "wallet_connectors.bloom.qr_code.step3.description",
44
- step: "refresh",
45
- title: "wallet_connectors.bloom.qr_code.step3.title"
46
- }
47
- ]
48
- }
49
- },
50
- desktop: {
51
- getUri: (uri) => `bloom://wallet-connect/wc?uri=${encodeURIComponent(uri)}`,
52
- instructions: {
53
- learnMoreUrl: "https://bloomwallet.io/",
54
- steps: [
55
- {
56
- description: "wallet_connectors.bloom.desktop.step1.description",
57
- step: "install",
58
- title: "wallet_connectors.bloom.desktop.step1.title"
59
- },
60
- {
61
- description: "wallet_connectors.bloom.desktop.step2.description",
62
- step: "create",
63
- title: "wallet_connectors.bloom.desktop.step2.title"
64
- },
65
- {
66
- description: "wallet_connectors.bloom.desktop.step3.description",
67
- step: "refresh",
68
- title: "wallet_connectors.bloom.desktop.step3.title"
69
- }
70
- ]
71
- }
72
- },
73
- createConnector: getWalletConnectConnector({
74
- projectId,
75
- walletConnectParameters
76
- })
77
- });
78
-
79
- export {
80
- bloomWallet
81
- };
@@ -1,95 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- isMobile
7
- } from "./chunk-ZOLACFTK.js";
8
- import {
9
- getInjectedConnector,
10
- hasInjectedProvider
11
- } from "./chunk-QII6PY2D.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
- };
@@ -1,100 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- isAndroid
7
- } from "./chunk-ZOLACFTK.js";
8
- import {
9
- getInjectedConnector,
10
- hasInjectedProvider
11
- } from "./chunk-QII6PY2D.js";
12
-
13
- // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
14
- var bitgetWallet = ({
15
- projectId,
16
- walletConnectParameters
17
- }) => {
18
- const isBitKeepInjected = hasInjectedProvider({
19
- namespace: "bitkeep.ethereum",
20
- flag: "isBitKeep"
21
- });
22
- const shouldUseWalletConnect = !isBitKeepInjected;
23
- return {
24
- id: "bitget",
25
- name: "Bitget Wallet",
26
- iconUrl: async () => (await import("./bitgetWallet-JVNCB4EB.js")).default,
27
- iconAccent: "#f6851a",
28
- iconBackground: "#fff",
29
- installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
30
- downloadUrls: {
31
- android: "https://web3.bitget.com/en/wallet-download?type=0",
32
- ios: "https://apps.apple.com/app/bitkeep/id1395301115",
33
- mobile: "https://web3.bitget.com/en/wallet-download?type=2",
34
- qrCode: "https://web3.bitget.com/en/wallet-download",
35
- chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
36
- browserExtension: "https://web3.bitget.com/en/wallet-download"
37
- },
38
- extension: {
39
- instructions: {
40
- learnMoreUrl: "https://web3.bitget.com/en/academy",
41
- steps: [
42
- {
43
- description: "wallet_connectors.bitget.extension.step1.description",
44
- step: "install",
45
- title: "wallet_connectors.bitget.extension.step1.title"
46
- },
47
- {
48
- description: "wallet_connectors.bitget.extension.step2.description",
49
- step: "create",
50
- title: "wallet_connectors.bitget.extension.step2.title"
51
- },
52
- {
53
- description: "wallet_connectors.bitget.extension.step3.description",
54
- step: "refresh",
55
- title: "wallet_connectors.bitget.extension.step3.description"
56
- }
57
- ]
58
- }
59
- },
60
- mobile: {
61
- getUri: shouldUseWalletConnect ? (uri) => {
62
- return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
63
- } : void 0
64
- },
65
- qrCode: shouldUseWalletConnect ? {
66
- getUri: (uri) => uri,
67
- instructions: {
68
- learnMoreUrl: "https://web3.bitget.com/en/academy",
69
- steps: [
70
- {
71
- description: "wallet_connectors.bitget.qr_code.step1.description",
72
- step: "install",
73
- title: "wallet_connectors.bitget.qr_code.step1.title"
74
- },
75
- {
76
- description: "wallet_connectors.bitget.qr_code.step2.description",
77
- step: "create",
78
- title: "wallet_connectors.bitget.qr_code.step2.title"
79
- },
80
- {
81
- description: "wallet_connectors.bitget.qr_code.step3.description",
82
- step: "scan",
83
- title: "wallet_connectors.bitget.qr_code.step3.title"
84
- }
85
- ]
86
- }
87
- } : void 0,
88
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
89
- projectId,
90
- walletConnectParameters
91
- }) : getInjectedConnector({
92
- namespace: "bitkeep.ethereum",
93
- flag: "isBitKeep"
94
- })
95
- };
96
- };
97
-
98
- export {
99
- bitgetWallet
100
- };
@@ -1,71 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-QII6PY2D.js";
6
- import {
7
- isAndroid
8
- } from "./chunk-ZOLACFTK.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-ZDU3JFGR.js";
12
-
13
- // src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
14
- var bifrostWallet = ({
15
- projectId,
16
- walletConnectParameters
17
- }) => {
18
- const isBifrostInjected = hasInjectedProvider({ flag: "isBifrost" });
19
- const shouldUseWalletConnect = !isBifrostInjected;
20
- const getUri = (uri) => {
21
- return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
22
- };
23
- return {
24
- id: "bifrostWallet",
25
- name: "Bifrost Wallet",
26
- iconUrl: async () => (await import("./bifrostWallet-5VPKXMCJ.js")).default,
27
- iconBackground: "#fff",
28
- installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
29
- downloadUrls: {
30
- android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
31
- ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
32
- qrCode: "https://bifrostwallet.com/#download-app"
33
- },
34
- mobile: {
35
- getUri: shouldUseWalletConnect ? getUri : void 0
36
- },
37
- qrCode: shouldUseWalletConnect ? {
38
- getUri: (uri) => uri,
39
- instructions: {
40
- learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
41
- steps: [
42
- {
43
- description: "wallet_connectors.bifrost.qr_code.step1.description",
44
- step: "install",
45
- title: "wallet_connectors.bifrost.qr_code.step1.title"
46
- },
47
- {
48
- description: "wallet_connectors.bifrost.qr_code.step2.description",
49
- step: "create",
50
- title: "wallet_connectors.bifrost.qr_code.step2.title"
51
- },
52
- {
53
- description: "wallet_connectors.bifrost.qr_code.step3.description",
54
- step: "scan",
55
- title: "wallet_connectors.bifrost.qr_code.step3.title"
56
- }
57
- ]
58
- }
59
- } : void 0,
60
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
61
- projectId,
62
- walletConnectParameters
63
- }) : getInjectedConnector({
64
- flag: "isBifrost"
65
- })
66
- };
67
- };
68
-
69
- export {
70
- bifrostWallet
71
- };
@@ -1,98 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-ZDU3JFGR.js";
5
- import {
6
- isAndroid
7
- } from "./chunk-ZOLACFTK.js";
8
- import {
9
- getInjectedConnector,
10
- hasInjectedProvider
11
- } from "./chunk-QII6PY2D.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
- };