@funkit/connect 1.0.5 → 1.0.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 (74) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/components/Box/Box.d.ts +6 -6
  3. package/dist/components/ConnectButton/ConnectButton.d.ts +3 -1
  4. package/dist/components/ConnectButton/formatAddress.d.ts +1 -0
  5. package/dist/components/Dialog/Dialog.d.ts +3 -1
  6. package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +3 -2
  7. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +1 -2
  8. package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +1 -1
  9. package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +2 -1
  10. package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +16 -17
  11. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +23 -4
  12. package/dist/components/FunkitProvider/ModalContext.d.ts +1 -1
  13. package/dist/components/Icons/CreditCardIcons.d.ts +4 -0
  14. package/dist/consts/funkit.d.ts +1 -0
  15. package/dist/consts/quote.d.ts +13 -0
  16. package/dist/css/sprinkles.css.d.ts +6 -6
  17. package/dist/hooks/useCheckoutQuoteNotification.d.ts +7 -0
  18. package/dist/hooks/useCheckoutType.d.ts +4 -2
  19. package/dist/hooks/useFunListeners.d.ts +1 -1
  20. package/dist/index.css +1325 -1289
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.js +2082 -1675
  23. package/dist/utils/checkout.d.ts +1 -1
  24. package/dist/utils/checkoutFees.d.ts +27 -0
  25. package/dist/utils/formatNumber.d.ts +2 -1
  26. package/dist/wallets/walletConnectors/chunk-2B3SPBRY.js +100 -0
  27. package/dist/wallets/walletConnectors/chunk-2GAW2UBU.js +102 -0
  28. package/dist/wallets/walletConnectors/chunk-2LY3WMXK.js +96 -0
  29. package/dist/wallets/walletConnectors/chunk-2PC2XXUH.js +94 -0
  30. package/dist/wallets/walletConnectors/chunk-2XQJ2NQ4.js +178 -0
  31. package/dist/wallets/walletConnectors/chunk-75A2U7T7.js +100 -0
  32. package/dist/wallets/walletConnectors/chunk-7KDOXASH.js +95 -0
  33. package/dist/wallets/walletConnectors/chunk-AJKRYTH2.js +92 -0
  34. package/dist/wallets/walletConnectors/chunk-CRSPGVPF.js +105 -0
  35. package/dist/wallets/walletConnectors/chunk-CUKVUCIP.js +98 -0
  36. package/dist/wallets/walletConnectors/chunk-CVGDYGHA.js +60 -0
  37. package/dist/wallets/walletConnectors/chunk-DNOEX5NF.js +73 -0
  38. package/dist/wallets/walletConnectors/chunk-DV3SI63E.js +96 -0
  39. package/dist/wallets/walletConnectors/chunk-FDIIMYTB.js +73 -0
  40. package/dist/wallets/walletConnectors/chunk-GW6EF4G2.js +92 -0
  41. package/dist/wallets/walletConnectors/chunk-HD5VYJNC.js +98 -0
  42. package/dist/wallets/walletConnectors/chunk-HXYRONSJ.js +94 -0
  43. package/dist/wallets/walletConnectors/chunk-IBWFKX7P.js +94 -0
  44. package/dist/wallets/walletConnectors/chunk-KGTZ6E7L.js +71 -0
  45. package/dist/wallets/walletConnectors/chunk-MCTPLICE.js +102 -0
  46. package/dist/wallets/walletConnectors/chunk-MU35GKP3.js +71 -0
  47. package/dist/wallets/walletConnectors/chunk-N3VZE65M.js +98 -0
  48. package/dist/wallets/walletConnectors/chunk-OAEJQOAV.js +105 -0
  49. package/dist/wallets/walletConnectors/chunk-OKWOB3DN.js +66 -0
  50. package/dist/wallets/walletConnectors/chunk-OKZSWAPF.js +60 -0
  51. package/dist/wallets/walletConnectors/chunk-OR3PU2W4.js +95 -0
  52. package/dist/wallets/walletConnectors/chunk-OYKWP3N3.js +60 -0
  53. package/dist/wallets/walletConnectors/chunk-OYW4TIA3.js +81 -0
  54. package/dist/wallets/walletConnectors/chunk-PPFSHJTA.js +95 -0
  55. package/dist/wallets/walletConnectors/chunk-RCWZ4KBR.js +73 -0
  56. package/dist/wallets/walletConnectors/chunk-RTW6PVQI.js +107 -0
  57. package/dist/wallets/walletConnectors/chunk-RYO26XSK.js +100 -0
  58. package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +71 -0
  59. package/dist/wallets/walletConnectors/chunk-SPLW3CCH.js +98 -0
  60. package/dist/wallets/walletConnectors/chunk-SQGFKNNZ.js +102 -0
  61. package/dist/wallets/walletConnectors/chunk-T6JVHES7.js +87 -0
  62. package/dist/wallets/walletConnectors/chunk-VSZ7PAHS.js +94 -0
  63. package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +27 -0
  64. package/dist/wallets/walletConnectors/chunk-X255T3C4.js +178 -0
  65. package/dist/wallets/walletConnectors/chunk-XNNLZXHE.js +102 -0
  66. package/dist/wallets/walletConnectors/chunk-XRMAVTK7.js +178 -0
  67. package/dist/wallets/walletConnectors/chunk-XSSD5ZVD.js +96 -0
  68. package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +98 -0
  69. package/dist/wallets/walletConnectors/chunk-Z2HIQYVN.js +96 -0
  70. package/dist/wallets/walletConnectors/chunk-ZFXXHGAS.js +105 -0
  71. package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.js +2 -1
  72. package/dist/wallets/walletConnectors/index.js +73 -73
  73. package/dist/zetachain-WXXDOYLF.js +6 -0
  74. package/package.json +17 -18
@@ -0,0 +1,81 @@
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
+ };
@@ -0,0 +1,95 @@
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
+ };
@@ -0,0 +1,73 @@
1
+ "use client";
2
+ import {
3
+ isAndroid,
4
+ isIOS
5
+ } from "./chunk-ZOLACFTK.js";
6
+ import {
7
+ getInjectedConnector,
8
+ hasInjectedProvider
9
+ } from "./chunk-QII6PY2D.js";
10
+ import {
11
+ getWalletConnectConnector
12
+ } from "./chunk-ZDU3JFGR.js";
13
+
14
+ // src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
15
+ var rainbowWallet = ({
16
+ projectId,
17
+ walletConnectParameters
18
+ }) => {
19
+ const isRainbowInjected = hasInjectedProvider({ flag: "isRainbow" });
20
+ const shouldUseWalletConnect = !isRainbowInjected;
21
+ const getUri = (uri) => {
22
+ return isAndroid() ? uri : isIOS() ? `rainbow://wc?uri=${encodeURIComponent(uri)}&connector=rainbowkit` : `https://rnbwapp.com/wc?uri=${encodeURIComponent(
23
+ uri
24
+ )}&connector=rainbowkit`;
25
+ };
26
+ return {
27
+ id: "rainbow",
28
+ name: "Rainbow",
29
+ rdns: "me.rainbow",
30
+ iconUrl: async () => (await import("./rainbowWallet-GGU64QEI.js")).default,
31
+ iconBackground: "#0c2f78",
32
+ installed: !shouldUseWalletConnect ? isRainbowInjected : void 0,
33
+ downloadUrls: {
34
+ android: "https://play.google.com/store/apps/details?id=me.rainbow&referrer=utm_source%3Drainbowkit&utm_source=rainbowkit",
35
+ ios: "https://apps.apple.com/app/apple-store/id1457119021?pt=119997837&ct=rainbowkit&mt=8",
36
+ mobile: "https://rainbow.download?utm_source=rainbowkit",
37
+ qrCode: "https://rainbow.download?utm_source=rainbowkit&utm_medium=qrcode",
38
+ browserExtension: "https://rainbow.me/extension?utm_source=rainbowkit"
39
+ },
40
+ mobile: { getUri: shouldUseWalletConnect ? getUri : void 0 },
41
+ qrCode: shouldUseWalletConnect ? {
42
+ getUri,
43
+ instructions: {
44
+ learnMoreUrl: "https://learn.rainbow.me/connect-to-a-website-or-app?utm_source=rainbowkit&utm_medium=connector&utm_campaign=learnmore",
45
+ steps: [
46
+ {
47
+ description: "wallet_connectors.rainbow.qr_code.step1.description",
48
+ step: "install",
49
+ title: "wallet_connectors.rainbow.qr_code.step1.title"
50
+ },
51
+ {
52
+ description: "wallet_connectors.rainbow.qr_code.step2.description",
53
+ step: "create",
54
+ title: "wallet_connectors.rainbow.qr_code.step2.title"
55
+ },
56
+ {
57
+ description: "wallet_connectors.rainbow.qr_code.step3.description",
58
+ step: "scan",
59
+ title: "wallet_connectors.rainbow.qr_code.step3.title"
60
+ }
61
+ ]
62
+ }
63
+ } : void 0,
64
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
65
+ projectId,
66
+ walletConnectParameters
67
+ }) : getInjectedConnector({ flag: "isRainbow" })
68
+ };
69
+ };
70
+
71
+ export {
72
+ rainbowWallet
73
+ };
@@ -0,0 +1,107 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-QII6PY2D.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-ZDU3JFGR.js";
9
+
10
+ // src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
11
+ var safepalWallet = ({
12
+ projectId,
13
+ walletConnectParameters
14
+ }) => {
15
+ const isSafePalWalletInjected = hasInjectedProvider({
16
+ namespace: "safepalProvider",
17
+ flag: "isSafePal"
18
+ });
19
+ const shouldUseWalletConnect = !isSafePalWalletInjected;
20
+ const getUriMobile = (uri) => {
21
+ return `safepalwallet://wc?uri=${encodeURIComponent(uri)}`;
22
+ };
23
+ const getUriQR = async (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://safepal.com/",
35
+ steps: [
36
+ {
37
+ description: "wallet_connectors.safepal.qr_code.step1.description",
38
+ step: "install",
39
+ title: "wallet_connectors.safepal.qr_code.step1.title"
40
+ },
41
+ {
42
+ description: "wallet_connectors.safepal.qr_code.step2.description",
43
+ step: "create",
44
+ title: "wallet_connectors.safepal.qr_code.step2.title"
45
+ },
46
+ {
47
+ description: "wallet_connectors.safepal.qr_code.step3.description",
48
+ step: "scan",
49
+ title: "wallet_connectors.safepal.qr_code.step3.title"
50
+ }
51
+ ]
52
+ }
53
+ };
54
+ }
55
+ const extensionConnector = {
56
+ instructions: {
57
+ learnMoreUrl: "https://www.safepal.com/download?product=2",
58
+ steps: [
59
+ {
60
+ description: "wallet_connectors.safepal.extension.step1.description",
61
+ step: "install",
62
+ title: "wallet_connectors.safepal.extension.step1.title"
63
+ },
64
+ {
65
+ description: "wallet_connectors.safepal.extension.step2.description",
66
+ step: "create",
67
+ title: "wallet_connectors.safepal.extension.step2.title"
68
+ },
69
+ {
70
+ description: "wallet_connectors.safepal.extension.step3.description",
71
+ step: "refresh",
72
+ title: "wallet_connectors.safepal.extension.step3.title"
73
+ }
74
+ ]
75
+ }
76
+ };
77
+ return {
78
+ id: "safepal",
79
+ name: "SafePal Wallet",
80
+ iconUrl: async () => (await import("./safepalWallet-FDJRNZUU.js")).default,
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,100 @@
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
+ };
@@ -0,0 +1,71 @@
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
+ };
@@ -0,0 +1,98 @@
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
+ };