@funkit/connect 3.0.0-next.8 → 3.0.1

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 (136) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/__private__/index.d.ts +1 -1
  3. package/dist/{arbitrum-EB6UHB7R.js → arbitrum-7TAKMNTY.js} +1 -1
  4. package/dist/{avalanche-GTIW2NZO.js → avalanche-DP4OGWPS.js} +1 -1
  5. package/dist/{base-DSVASA5E.js → base-JKDU5GAC.js} +1 -1
  6. package/dist/{blast-T4B7OICF.js → blast-OXCCKFNZ.js} +1 -1
  7. package/dist/{bsc-D3LSG6XI.js → bsc-3D3KFEXX.js} +1 -1
  8. package/dist/components/Avatar/EmojiAvatar.d.ts +1 -1
  9. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +1 -1
  10. package/dist/components/Dialog/Dialog.d.ts +2 -1
  11. package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +2 -2
  12. package/dist/components/FunButton/FunButton.css.d.ts +1 -0
  13. package/dist/components/FunButton/FunIconButton.d.ts +1 -2
  14. package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.css.d.ts +1 -0
  15. package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.d.ts +2 -0
  16. package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
  17. package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
  18. package/dist/components/Icons/Spinner.d.ts +2 -3
  19. package/dist/components/index.d.ts +1 -1
  20. package/dist/config/getDefaultConfig.d.ts +1 -1
  21. package/dist/{cronos-7AZSHGK7.js → cronos-5OEAMVEV.js} +1 -1
  22. package/dist/{dydx-B46RMDPA.js → dydx-IANKGTOD.js} +1 -1
  23. package/dist/{ethereum-NOZIKDN4.js → ethereum-VZBBHP2I.js} +1 -1
  24. package/dist/{hardhat-63UZQ2D2.js → hardhat-KGYIXSL3.js} +1 -1
  25. package/dist/hooks/useAnimatedNavigation.d.ts +10 -0
  26. package/dist/hooks/useCheckoutModalTitle.d.ts +2 -0
  27. package/dist/hooks/useCheckoutType.d.ts +1 -1
  28. package/dist/hooks/useMesh.d.ts +1 -0
  29. package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -1
  30. package/dist/index.css +151 -136
  31. package/dist/index.d.ts +12 -12
  32. package/dist/index.js +4665 -4509
  33. package/dist/{klaytn-NDCZPHVS.js → klaytn-VYNHNZBE.js} +1 -1
  34. package/dist/{manta-VVKV27TG.js → manta-2J6LNNQO.js} +1 -1
  35. package/dist/{mantle-UYR6COHH.js → mantle-4HPADCAY.js} +1 -1
  36. package/dist/modals/AccountModal/AccountModal.d.ts +8 -0
  37. package/dist/{components → modals}/ChainModal/Chain.d.ts +1 -1
  38. package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -0
  39. package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +2 -0
  40. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutInputAmountStep.d.ts +2 -1
  41. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutModal.d.ts +5 -1
  42. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +1 -1
  43. package/dist/{components → modals}/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +5 -2
  44. package/dist/modals/ProfileDetails/ProfileDetails.d.ts +16 -0
  45. package/dist/{optimism-XW773SJ7.js → optimism-7SXPPT5B.js} +1 -1
  46. package/dist/{polygon-CTDRND6O.js → polygon-KTSHZSJE.js} +1 -1
  47. package/dist/{components/FunkitProvider → providers}/FunToastProvider.d.ts +1 -1
  48. package/dist/{components/FunkitProvider → providers}/FunkitCheckoutContext.d.ts +3 -3
  49. package/dist/{components/FunkitProvider → providers}/FunkitConfigContext.d.ts +1 -7
  50. package/dist/{components/FunkitProvider → providers}/FunkitMeshProvider.d.ts +1 -1
  51. package/dist/{components/FunkitProvider → providers}/FunkitMoonpayProvider.d.ts +1 -0
  52. package/dist/{components/FunkitProvider → providers}/FunkitProvider.d.ts +3 -3
  53. package/dist/{components/FunkitProvider → providers}/FunkitThemeProvider.d.ts +1 -1
  54. package/dist/{components/FunkitProvider → providers}/FunkitWeb2Provider.d.ts +1 -1
  55. package/dist/{components/FunkitProvider → providers}/GeneralWalletProvider.d.ts +14 -14
  56. package/dist/{components/FunkitProvider → providers}/I18nContext.d.ts +1 -1
  57. package/dist/{components/FunkitProvider → providers}/ModalContext.d.ts +2 -1
  58. package/dist/{components/FunkitProvider → providers}/ShowBalanceContext.d.ts +1 -1
  59. package/dist/{ronin-O2PUII26.js → ronin-NDQSRHAA.js} +1 -1
  60. package/dist/utils/assetAbort.d.ts +9 -0
  61. package/dist/utils/assets.d.ts +1 -1
  62. package/dist/utils/checkout.d.ts +1 -1
  63. package/dist/utils/funkitProvider.d.ts +1 -1
  64. package/dist/wallets/walletConnectors/index.js +73 -73
  65. package/dist/{xdc-GR4FVKJB.js → xdc-DOOU3NNX.js} +1 -1
  66. package/dist/{zetachain-HP3BWJBU.js → zetachain-2J22B4NG.js} +1 -1
  67. package/dist/{zkSync-UPIELHYI.js → zkSync-YDZI4H7P.js} +1 -1
  68. package/dist/{zora-DMM6D4R4.js → zora-54FXXQHV.js} +1 -1
  69. package/package.json +4 -4
  70. package/dist/components/AccountModal/AccountModal.d.ts +0 -6
  71. package/dist/components/ProfileDetails/ProfileDetails.d.ts +0 -13
  72. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
  73. package/dist/wallets/walletConnectors/chunk-45BGLKK3.js +0 -149
  74. package/dist/wallets/walletConnectors/chunk-4HKPVECK.js +0 -95
  75. package/dist/wallets/walletConnectors/chunk-4K3EKHXR.js +0 -71
  76. package/dist/wallets/walletConnectors/chunk-57UUMOOZ.js +0 -95
  77. package/dist/wallets/walletConnectors/chunk-5MVCKMZT.js +0 -94
  78. package/dist/wallets/walletConnectors/chunk-5NZLWT3Y.js +0 -73
  79. package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +0 -81
  80. package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +0 -92
  81. package/dist/wallets/walletConnectors/chunk-B5D7DYVV.js +0 -101
  82. package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +0 -60
  83. package/dist/wallets/walletConnectors/chunk-CW3DUKXK.js +0 -102
  84. package/dist/wallets/walletConnectors/chunk-E5XC6KBV.js +0 -95
  85. package/dist/wallets/walletConnectors/chunk-FCHEJLHR.js +0 -101
  86. package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
  87. package/dist/wallets/walletConnectors/chunk-HCKLWBE5.js +0 -98
  88. package/dist/wallets/walletConnectors/chunk-HKN7647Q.js +0 -73
  89. package/dist/wallets/walletConnectors/chunk-HLH777AC.js +0 -108
  90. package/dist/wallets/walletConnectors/chunk-HMDUVRZP.js +0 -98
  91. package/dist/wallets/walletConnectors/chunk-IOQWKPOO.js +0 -71
  92. package/dist/wallets/walletConnectors/chunk-IR3YKU2N.js +0 -103
  93. package/dist/wallets/walletConnectors/chunk-J2BF4L2V.js +0 -87
  94. package/dist/wallets/walletConnectors/chunk-KDGMYRMC.js +0 -102
  95. package/dist/wallets/walletConnectors/chunk-LPQBQIZL.js +0 -108
  96. package/dist/wallets/walletConnectors/chunk-LTIIUGMZ.js +0 -96
  97. package/dist/wallets/walletConnectors/chunk-OKUX4BC4.js +0 -66
  98. package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +0 -60
  99. package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +0 -60
  100. package/dist/wallets/walletConnectors/chunk-VJ5C6RXN.js +0 -98
  101. package/dist/wallets/walletConnectors/chunk-VU6B3HMD.js +0 -96
  102. package/dist/wallets/walletConnectors/chunk-WAMHUVNP.js +0 -96
  103. package/dist/wallets/walletConnectors/chunk-WMLYUYMP.js +0 -94
  104. package/dist/wallets/walletConnectors/chunk-YRK6XWL6.js +0 -149
  105. package/dist/wallets/walletConnectors/chunk-ZCKNEKQQ.js +0 -110
  106. /package/dist/{components → modals}/ChainModal/ChainModal.css.d.ts +0 -0
  107. /package/dist/{components → modals}/ChainModal/ChainModal.d.ts +0 -0
  108. /package/dist/{components → modals}/ConnectModal/ConnectModal.d.ts +0 -0
  109. /package/dist/{components → modals}/DevTest/DevEmbed.d.ts +0 -0
  110. /package/dist/{components → modals}/DevTest/FunDevTestModal.d.ts +0 -0
  111. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +0 -0
  112. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +0 -0
  113. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +0 -0
  114. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +0 -0
  115. /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +0 -0
  116. /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +0 -0
  117. /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConnectExchangeStep.d.ts +0 -0
  118. /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +0 -0
  119. /package/dist/{components → modals}/ProfileDetails/ActivityTraversalContext.d.ts +0 -0
  120. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +0 -0
  121. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +0 -0
  122. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +0 -0
  123. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +0 -0
  124. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +0 -0
  125. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/index.d.ts +0 -0
  126. /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +0 -0
  127. /package/dist/{components/FunkitProvider → providers}/AppContext.d.ts +0 -0
  128. /package/dist/{components/FunkitProvider → providers}/AuthenticationContext.d.ts +0 -0
  129. /package/dist/{components/FunkitProvider → providers}/AvatarContext.d.ts +0 -0
  130. /package/dist/{components/FunkitProvider → providers}/FunkitConnectChainContext.d.ts +0 -0
  131. /package/dist/{components/FunkitProvider → providers}/FunkitSandboxContext.d.ts +0 -0
  132. /package/dist/{components/FunkitProvider → providers}/ModalSizeContext.d.ts +0 -0
  133. /package/dist/{components/FunkitProvider → providers}/provideFunkitConnectChains.d.ts +0 -0
  134. /package/dist/{components/FunkitProvider → providers}/useFingerprint.d.ts +0 -0
  135. /package/dist/{components/FunkitProvider → providers}/usePreloadImages.d.ts +0 -0
  136. /package/dist/{components/FunkitProvider → providers}/walletConnectDeepLink.d.ts +0 -0
@@ -1,73 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
- import {
10
- isAndroid,
11
- isIOS
12
- } from "./chunk-RETKWSKD.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-2SR6TVBF.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
- };
@@ -1,108 +0,0 @@
1
- "use client";
2
- import {
3
- isMobile
4
- } from "./chunk-RETKWSKD.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-WRA2DVJ7.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.js";
12
-
13
- // src/wallets/walletConnectors/trustWallet/trustWallet.ts
14
- var trustWallet = ({
15
- projectId,
16
- walletConnectParameters
17
- }) => {
18
- const isTrustWalletInjected = isMobile() ? hasInjectedProvider({ flag: "isTrust" }) : hasInjectedProvider({ flag: "isTrustWallet" });
19
- const shouldUseWalletConnect = !isTrustWalletInjected;
20
- const getUriMobile = (uri) => {
21
- return `trust://wc?uri=${encodeURIComponent(uri)}`;
22
- };
23
- const getUriQR = (uri) => {
24
- return uri;
25
- };
26
- const mobileConnector = {
27
- getUri: shouldUseWalletConnect ? getUriMobile : void 0
28
- };
29
- let qrConnector = void 0;
30
- if (shouldUseWalletConnect) {
31
- qrConnector = {
32
- getUri: getUriQR,
33
- instructions: {
34
- learnMoreUrl: "https://trustwallet.com/",
35
- steps: [
36
- {
37
- description: "wallet_connectors.trust.qr_code.step1.description",
38
- step: "install",
39
- title: "wallet_connectors.trust.qr_code.step1.title"
40
- },
41
- {
42
- description: "wallet_connectors.trust.qr_code.step2.description",
43
- step: "create",
44
- title: "wallet_connectors.trust.qr_code.step2.title"
45
- },
46
- {
47
- description: "wallet_connectors.trust.qr_code.step3.description",
48
- step: "scan",
49
- title: "wallet_connectors.trust.qr_code.step3.title"
50
- }
51
- ]
52
- }
53
- };
54
- }
55
- const extensionConnector = {
56
- instructions: {
57
- learnMoreUrl: "https://trustwallet.com/browser-extension",
58
- steps: [
59
- {
60
- description: "wallet_connectors.trust.extension.step1.description",
61
- step: "install",
62
- title: "wallet_connectors.trust.extension.step1.title"
63
- },
64
- {
65
- description: "wallet_connectors.trust.extension.step2.description",
66
- step: "create",
67
- title: "wallet_connectors.trust.extension.step2.title"
68
- },
69
- {
70
- description: "wallet_connectors.trust.extension.step3.description",
71
- step: "refresh",
72
- title: "wallet_connectors.trust.extension.step3.title"
73
- }
74
- ]
75
- }
76
- };
77
- return {
78
- id: "trust",
79
- name: "Trust Wallet",
80
- rdns: "com.trustwallet.app",
81
- iconUrl: async () => (await import("./trustWallet-E2GVGE4U.js")).default,
82
- // Note that we never resolve `installed` to `false` because the
83
- // Trust Wallet provider falls back to other connection methods if
84
- // the injected connector isn't available
85
- installed: isTrustWalletInjected || void 0,
86
- iconAccent: "#3375BB",
87
- iconBackground: "#fff",
88
- downloadUrls: {
89
- android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
90
- ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
91
- mobile: "https://trustwallet.com/download",
92
- qrCode: "https://trustwallet.com/download",
93
- chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
94
- browserExtension: "https://trustwallet.com/browser-extension"
95
- },
96
- mobile: mobileConnector,
97
- qrCode: qrConnector,
98
- extension: extensionConnector,
99
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
100
- projectId,
101
- walletConnectParameters
102
- }) : isMobile() ? getInjectedConnector({ flag: "isTrust" }) : getInjectedConnector({ flag: "isTrustWallet" })
103
- };
104
- };
105
-
106
- export {
107
- trustWallet
108
- };
@@ -1,98 +0,0 @@
1
- "use client";
2
- import {
3
- isAndroid
4
- } from "./chunk-RETKWSKD.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-WRA2DVJ7.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.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-HNIG7QYQ.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
- };
@@ -1,71 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
- import {
10
- isAndroid
11
- } from "./chunk-RETKWSKD.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-ORF3DABG.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,103 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/subWallet/subWallet.ts
11
- var subWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isSubWalletInjected = hasInjectedProvider({ namespace: "SubWallet" });
16
- const shouldUseWalletConnect = !isSubWalletInjected;
17
- const getUriMobile = (uri) => {
18
- return `subwallet://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://www.subwallet.app/",
32
- steps: [
33
- {
34
- description: "wallet_connectors.subwallet.qr_code.step1.description",
35
- step: "install",
36
- title: "wallet_connectors.subwallet.qr_code.step1.title"
37
- },
38
- {
39
- description: "wallet_connectors.subwallet.qr_code.step2.description",
40
- step: "create",
41
- title: "wallet_connectors.subwallet.qr_code.step2.title"
42
- },
43
- {
44
- description: "wallet_connectors.subwallet.qr_code.step3.description",
45
- step: "scan",
46
- title: "wallet_connectors.subwallet.qr_code.step3.title"
47
- }
48
- ]
49
- }
50
- };
51
- }
52
- const extensionConnector = {
53
- instructions: {
54
- learnMoreUrl: "https://www.subwallet.app/",
55
- steps: [
56
- {
57
- description: "wallet_connectors.subwallet.extension.step1.description",
58
- step: "install",
59
- title: "wallet_connectors.subwallet.extension.step1.title"
60
- },
61
- {
62
- description: "wallet_connectors.subwallet.extension.step2.description",
63
- step: "create",
64
- title: "wallet_connectors.subwallet.extension.step2.title"
65
- },
66
- {
67
- description: "wallet_connectors.subwallet.extension.step3.description",
68
- step: "refresh",
69
- title: "wallet_connectors.subwallet.extension.step3.title"
70
- }
71
- ]
72
- }
73
- };
74
- return {
75
- id: "subwallet",
76
- name: "SubWallet",
77
- rdns: "app.subwallet",
78
- iconUrl: async () => (await import("./subWallet-LOZELSAO.js")).default,
79
- iconBackground: "#fff",
80
- installed: isSubWalletInjected || void 0,
81
- downloadUrls: {
82
- browserExtension: "https://www.subwallet.app/download",
83
- chrome: "https://chrome.google.com/webstore/detail/subwallet-polkadot-wallet/onhogfjeacnfoofkfgppdlbmlmnplgbn",
84
- firefox: "https://addons.mozilla.org/en-US/firefox/addon/subwallet/",
85
- edge: "https://chrome.google.com/webstore/detail/subwallet-polkadot-wallet/onhogfjeacnfoofkfgppdlbmlmnplgbn",
86
- mobile: "https://www.subwallet.app/download",
87
- android: "https://play.google.com/store/apps/details?id=app.subwallet.mobile",
88
- ios: "https://apps.apple.com/us/app/subwallet-polkadot-wallet/id1633050285",
89
- qrCode: "https://www.subwallet.app/download"
90
- },
91
- mobile: mobileConnector,
92
- qrCode: qrConnector,
93
- extension: extensionConnector,
94
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
95
- projectId,
96
- walletConnectParameters
97
- }) : getInjectedConnector({ namespace: "SubWallet" })
98
- };
99
- };
100
-
101
- export {
102
- subWallet
103
- };
@@ -1,87 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-23WIEY36.js";
9
-
10
- // src/wallets/walletConnectors/clvWallet/clvWallet.ts
11
- var clvWallet = ({
12
- projectId,
13
- walletConnectParameters
14
- }) => {
15
- const isCLVInjected = hasInjectedProvider({ namespace: "clover" });
16
- const shouldUseWalletConnect = !isCLVInjected;
17
- return {
18
- id: "clv",
19
- name: "CLV",
20
- iconUrl: async () => (await import("./clvWallet-ZIMSRU5J.js")).default,
21
- iconBackground: "#fff",
22
- iconAccent: "#BDFDE2",
23
- installed: isCLVInjected,
24
- downloadUrls: {
25
- chrome: "https://chrome.google.com/webstore/detail/clv-wallet/nhnkbkgjikgcigadomkphalanndcapjk",
26
- ios: "https://apps.apple.com/app/clover-wallet/id1570072858",
27
- mobile: "https://apps.apple.com/app/clover-wallet/id1570072858",
28
- qrCode: "https://clv.org/"
29
- },
30
- extension: {
31
- instructions: {
32
- learnMoreUrl: "https://clv.org/",
33
- steps: [
34
- {
35
- description: "wallet_connectors.clv.extension.step1.description",
36
- step: "install",
37
- title: "wallet_connectors.clv.extension.step1.title"
38
- },
39
- {
40
- description: "wallet_connectors.clv.extension.step2.description",
41
- step: "create",
42
- title: "wallet_connectors.clv.extension.step2.title"
43
- },
44
- {
45
- description: "wallet_connectors.clv.extension.step3.description",
46
- step: "refresh",
47
- title: "wallet_connectors.clv.extension.step3.title"
48
- }
49
- ]
50
- }
51
- },
52
- mobile: {
53
- getUri: shouldUseWalletConnect ? (uri) => uri : void 0
54
- },
55
- qrCode: shouldUseWalletConnect ? {
56
- getUri: (uri) => uri,
57
- instructions: {
58
- learnMoreUrl: "https://clv.org/",
59
- steps: [
60
- {
61
- description: "wallet_connectors.clv.qr_code.step1.description",
62
- step: "install",
63
- title: "wallet_connectors.clv.qr_code.step1.title"
64
- },
65
- {
66
- description: "wallet_connectors.clv.qr_code.step2.description",
67
- step: "create",
68
- title: "wallet_connectors.clv.qr_code.step2.title"
69
- },
70
- {
71
- description: "wallet_connectors.clv.qr_code.step3.description",
72
- step: "scan",
73
- title: "wallet_connectors.clv.qr_code.step3.title"
74
- }
75
- ]
76
- }
77
- } : void 0,
78
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
79
- projectId,
80
- walletConnectParameters
81
- }) : getInjectedConnector({ namespace: "clover" })
82
- };
83
- };
84
-
85
- export {
86
- clvWallet
87
- };
@@ -1,102 +0,0 @@
1
- "use client";
2
- import {
3
- isIOS
4
- } from "./chunk-RETKWSKD.js";
5
- import {
6
- getInjectedConnector,
7
- hasInjectedProvider
8
- } from "./chunk-WRA2DVJ7.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.js";
12
-
13
- // src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
14
- var zerionWallet = ({
15
- projectId,
16
- walletConnectParameters
17
- }) => {
18
- const isZerionInjected = hasInjectedProvider({
19
- namespace: "zerionWallet",
20
- flag: "isZerion"
21
- });
22
- const shouldUseWalletConnect = !isZerionInjected;
23
- const getUri = (uri) => {
24
- return isIOS() ? `zerion://wc?uri=${encodeURIComponent(uri)}` : uri;
25
- };
26
- return {
27
- id: "zerion",
28
- name: "Zerion",
29
- rdns: "io.zerion.wallet",
30
- iconUrl: async () => (await import("./zerionWallet-CYFHB5PA.js")).default,
31
- iconAccent: "#2962ef",
32
- iconBackground: "#2962ef",
33
- installed: !shouldUseWalletConnect ? isZerionInjected : void 0,
34
- downloadUrls: {
35
- android: "https://play.google.com/store/apps/details?id=io.zerion.android",
36
- ios: "https://apps.apple.com/app/apple-store/id1456732565",
37
- mobile: "https://link.zerion.io/pt3gdRP0njb",
38
- qrCode: "https://link.zerion.io/pt3gdRP0njb",
39
- chrome: "https://chrome.google.com/webstore/detail/klghhnkeealcohjjanjjdaeeggmfmlpl",
40
- browserExtension: "https://zerion.io/extension"
41
- },
42
- mobile: {
43
- getUri: shouldUseWalletConnect ? getUri : void 0
44
- },
45
- qrCode: shouldUseWalletConnect ? {
46
- getUri,
47
- instructions: {
48
- learnMoreUrl: "https://zerion.io/blog/announcing-the-zerion-smart-wallet/",
49
- steps: [
50
- {
51
- description: "wallet_connectors.zerion.qr_code.step1.description",
52
- step: "install",
53
- title: "wallet_connectors.zerion.qr_code.step1.title"
54
- },
55
- {
56
- description: "wallet_connectors.zerion.qr_code.step2.description",
57
- step: "create",
58
- title: "wallet_connectors.zerion.qr_code.step2.title"
59
- },
60
- {
61
- description: "wallet_connectors.zerion.qr_code.step3.description",
62
- step: "scan",
63
- title: "wallet_connectors.zerion.qr_code.step3.title"
64
- }
65
- ]
66
- }
67
- } : void 0,
68
- extension: {
69
- instructions: {
70
- learnMoreUrl: "https://help.zerion.io/en/",
71
- steps: [
72
- {
73
- description: "wallet_connectors.zerion.extension.step1.description",
74
- step: "install",
75
- title: "wallet_connectors.zerion.extension.step1.title"
76
- },
77
- {
78
- description: "wallet_connectors.zerion.extension.step2.description",
79
- step: "create",
80
- title: "wallet_connectors.zerion.extension.step2.title"
81
- },
82
- {
83
- description: "wallet_connectors.zerion.extension.step3.description",
84
- step: "refresh",
85
- title: "wallet_connectors.zerion.extension.step3.title"
86
- }
87
- ]
88
- }
89
- },
90
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
91
- projectId,
92
- walletConnectParameters
93
- }) : getInjectedConnector({
94
- namespace: "zerionWallet",
95
- flag: "isZerion"
96
- })
97
- };
98
- };
99
-
100
- export {
101
- zerionWallet
102
- };