@funkit/connect 3.0.0-next.7 → 3.0.0

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 (70) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/{chunk-Z3QREJ3Q.js → chunk-EUSK63OY.js} +1 -1
  3. package/dist/components/AccountModal/AccountModal.d.ts +3 -1
  4. package/dist/components/FunButton/FunButton.css.d.ts +1 -0
  5. package/dist/components/FunButton/FunIconButton.d.ts +1 -2
  6. package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -0
  7. package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
  8. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +0 -6
  9. package/dist/components/FunkitProvider/ModalContext.d.ts +2 -1
  10. package/dist/components/Icons/Spinner.d.ts +2 -3
  11. package/dist/components/ProfileDetails/ProfileDetails.d.ts +3 -1
  12. package/dist/hooks/useAnimatedNavigation.d.ts +10 -0
  13. package/dist/hooks/useCheckoutModalTitle.d.ts +2 -0
  14. package/dist/hooks/useMesh.d.ts +1 -0
  15. package/dist/index.css +20 -16
  16. package/dist/index.js +733 -673
  17. package/dist/themes/darkTheme.js +1 -1
  18. package/dist/utils/mesh.d.ts +1 -1
  19. package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +3 -3
  21. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +3 -3
  22. package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  26. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  27. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +3 -3
  30. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +3 -3
  31. package/dist/wallets/walletConnectors/index.js +74 -74
  32. package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
  33. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +3 -3
  34. package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +3 -3
  36. package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
  37. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +3 -3
  38. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  39. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +3 -3
  42. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +3 -3
  43. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +3 -3
  44. package/package.json +4 -4
  45. package/dist/wallets/walletConnectors/chunk-2EMZOYQI.js +0 -101
  46. package/dist/wallets/walletConnectors/chunk-45BGLKK3.js +0 -149
  47. package/dist/wallets/walletConnectors/chunk-5K4DIMYR.js +0 -95
  48. package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +0 -81
  49. package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +0 -92
  50. package/dist/wallets/walletConnectors/chunk-AUVBWDIK.js +0 -102
  51. package/dist/wallets/walletConnectors/chunk-AXPQHNUI.js +0 -71
  52. package/dist/wallets/walletConnectors/chunk-B7FHT3CB.js +0 -94
  53. package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +0 -60
  54. package/dist/wallets/walletConnectors/chunk-CW3DUKXK.js +0 -102
  55. package/dist/wallets/walletConnectors/chunk-E5XC6KBV.js +0 -95
  56. package/dist/wallets/walletConnectors/chunk-EFIENLEE.js +0 -98
  57. package/dist/wallets/walletConnectors/chunk-FCHEJLHR.js +0 -101
  58. package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
  59. package/dist/wallets/walletConnectors/chunk-HKN7647Q.js +0 -73
  60. package/dist/wallets/walletConnectors/chunk-IOQWKPOO.js +0 -71
  61. package/dist/wallets/walletConnectors/chunk-L7QI6PBN.js +0 -108
  62. package/dist/wallets/walletConnectors/chunk-LPQBQIZL.js +0 -108
  63. package/dist/wallets/walletConnectors/chunk-LTIIUGMZ.js +0 -96
  64. package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +0 -60
  65. package/dist/wallets/walletConnectors/chunk-QP2BIVXD.js +0 -73
  66. package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +0 -60
  67. package/dist/wallets/walletConnectors/chunk-UWZQZY4S.js +0 -149
  68. package/dist/wallets/walletConnectors/chunk-UZEMNN3Q.js +0 -96
  69. package/dist/wallets/walletConnectors/chunk-VJ5C6RXN.js +0 -98
  70. package/dist/wallets/walletConnectors/chunk-WMLYUYMP.js +0 -94
@@ -1,101 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- isAndroid
8
- } from "./chunk-RETKWSKD.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.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
- rdns: "com.bitget.web3",
27
- iconUrl: async () => (await import("./bitgetWallet-CLYTW54T.js")).default,
28
- iconAccent: "#f6851a",
29
- iconBackground: "#fff",
30
- installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
31
- downloadUrls: {
32
- android: "https://web3.bitget.com/en/wallet-download?type=0",
33
- ios: "https://apps.apple.com/app/bitkeep/id1395301115",
34
- mobile: "https://web3.bitget.com/en/wallet-download?type=2",
35
- qrCode: "https://web3.bitget.com/en/wallet-download",
36
- chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
37
- browserExtension: "https://web3.bitget.com/en/wallet-download"
38
- },
39
- extension: {
40
- instructions: {
41
- learnMoreUrl: "https://web3.bitget.com/en/academy",
42
- steps: [
43
- {
44
- description: "wallet_connectors.bitget.extension.step1.description",
45
- step: "install",
46
- title: "wallet_connectors.bitget.extension.step1.title"
47
- },
48
- {
49
- description: "wallet_connectors.bitget.extension.step2.description",
50
- step: "create",
51
- title: "wallet_connectors.bitget.extension.step2.title"
52
- },
53
- {
54
- description: "wallet_connectors.bitget.extension.step3.description",
55
- step: "refresh",
56
- title: "wallet_connectors.bitget.extension.step3.description"
57
- }
58
- ]
59
- }
60
- },
61
- mobile: {
62
- getUri: shouldUseWalletConnect ? (uri) => {
63
- return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
64
- } : void 0
65
- },
66
- qrCode: shouldUseWalletConnect ? {
67
- getUri: (uri) => uri,
68
- instructions: {
69
- learnMoreUrl: "https://web3.bitget.com/en/academy",
70
- steps: [
71
- {
72
- description: "wallet_connectors.bitget.qr_code.step1.description",
73
- step: "install",
74
- title: "wallet_connectors.bitget.qr_code.step1.title"
75
- },
76
- {
77
- description: "wallet_connectors.bitget.qr_code.step2.description",
78
- step: "create",
79
- title: "wallet_connectors.bitget.qr_code.step2.title"
80
- },
81
- {
82
- description: "wallet_connectors.bitget.qr_code.step3.description",
83
- step: "scan",
84
- title: "wallet_connectors.bitget.qr_code.step3.title"
85
- }
86
- ]
87
- }
88
- } : void 0,
89
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
90
- projectId,
91
- walletConnectParameters
92
- }) : getInjectedConnector({
93
- namespace: "bitkeep.ethereum",
94
- flag: "isBitKeep"
95
- })
96
- };
97
- };
98
-
99
- export {
100
- bitgetWallet
101
- };
@@ -1,149 +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/metaMaskWallet/metaMaskWallet.ts
15
- function isMetaMask(ethereum) {
16
- if (!ethereum?.isMetaMask) return false;
17
- if (ethereum.isBraveWallet && !ethereum._events && !ethereum._state)
18
- return false;
19
- if (ethereum.isApexWallet) return false;
20
- if (ethereum.isAvalanche) return false;
21
- if (ethereum.isBackpack) return false;
22
- if (ethereum.isBifrost) return false;
23
- if (ethereum.isBitKeep) return false;
24
- if (ethereum.isBitski) return false;
25
- if (ethereum.isBlockWallet) return false;
26
- if (ethereum.isCoinbaseWallet) return false;
27
- if (ethereum.isDawn) return false;
28
- if (ethereum.isEnkrypt) return false;
29
- if (ethereum.isExodus) return false;
30
- if (ethereum.isFrame) return false;
31
- if (ethereum.isFrontier) return false;
32
- if (ethereum.isGamestop) return false;
33
- if (ethereum.isHyperPay) return false;
34
- if (ethereum.isImToken) return false;
35
- if (ethereum.isKuCoinWallet) return false;
36
- if (ethereum.isMathWallet) return false;
37
- if (ethereum.isNestWallet) return false;
38
- if (ethereum.isOkxWallet || ethereum.isOKExWallet) return false;
39
- if (ethereum.isOneInchIOSWallet || ethereum.isOneInchAndroidWallet)
40
- return false;
41
- if (ethereum.isOpera) return false;
42
- if (ethereum.isPhantom) return false;
43
- if (ethereum.isPortal) return false;
44
- if (ethereum.isRabby) return false;
45
- if (ethereum.isRainbow) return false;
46
- if (ethereum.isStatus) return false;
47
- if (ethereum.isTalisman) return false;
48
- if (ethereum.isTally) return false;
49
- if (ethereum.isTokenPocket) return false;
50
- if (ethereum.isTokenary) return false;
51
- if (ethereum.isTrust || ethereum.isTrustWallet) return false;
52
- if (ethereum.isXDEFI) return false;
53
- if (ethereum.isZeal) return false;
54
- if (ethereum.isZerion) return false;
55
- return true;
56
- }
57
- var metaMaskWallet = ({
58
- projectId,
59
- walletConnectParameters
60
- }) => {
61
- const isMetaMaskInjected = hasInjectedProvider({ flag: "isMetaMask" });
62
- const shouldUseWalletConnect = !isMetaMaskInjected;
63
- const getUri = (uri) => {
64
- return isAndroid() ? uri : isIOS() ? (
65
- // currently broken in MetaMask v6.5.0 https://github.com/MetaMask/metamask-mobile/issues/6457
66
- `metamask://wc?uri=${encodeURIComponent(uri)}`
67
- ) : `https://metamask.app.link/wc?uri=${encodeURIComponent(uri)}`;
68
- };
69
- return {
70
- id: "metaMask",
71
- name: "MetaMask",
72
- rdns: "io.metamask",
73
- iconUrl: async () => (await import("./metaMaskWallet-YFHEHW7V.js")).default,
74
- iconAccent: "#f6851a",
75
- iconBackground: "#fff",
76
- installed: !shouldUseWalletConnect ? isMetaMaskInjected : void 0,
77
- downloadUrls: {
78
- android: "https://play.google.com/store/apps/details?id=io.metamask",
79
- ios: "https://apps.apple.com/us/app/metamask/id1438144202",
80
- mobile: "https://metamask.io/download",
81
- qrCode: "https://metamask.io/download",
82
- chrome: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",
83
- edge: "https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",
84
- firefox: "https://addons.mozilla.org/firefox/addon/ether-metamask",
85
- opera: "https://addons.opera.com/extensions/details/metamask-10",
86
- browserExtension: "https://metamask.io/download"
87
- },
88
- mobile: {
89
- getUri: shouldUseWalletConnect ? getUri : void 0
90
- },
91
- qrCode: shouldUseWalletConnect ? {
92
- getUri,
93
- instructions: {
94
- learnMoreUrl: "https://metamask.io/faqs/",
95
- steps: [
96
- {
97
- description: "wallet_connectors.metamask.qr_code.step1.description",
98
- step: "install",
99
- title: "wallet_connectors.metamask.qr_code.step1.title"
100
- },
101
- {
102
- description: "wallet_connectors.metamask.qr_code.step2.description",
103
- step: "create",
104
- title: "wallet_connectors.metamask.qr_code.step2.title"
105
- },
106
- {
107
- description: "wallet_connectors.metamask.qr_code.step3.description",
108
- step: "refresh",
109
- title: "wallet_connectors.metamask.qr_code.step3.title"
110
- }
111
- ]
112
- }
113
- } : void 0,
114
- extension: {
115
- instructions: {
116
- learnMoreUrl: "https://metamask.io/faqs/",
117
- steps: [
118
- {
119
- description: "wallet_connectors.metamask.extension.step1.description",
120
- step: "install",
121
- title: "wallet_connectors.metamask.extension.step1.title"
122
- },
123
- {
124
- description: "wallet_connectors.metamask.extension.step2.description",
125
- step: "create",
126
- title: "wallet_connectors.metamask.extension.step2.title"
127
- },
128
- {
129
- description: "wallet_connectors.metamask.extension.step3.description",
130
- step: "refresh",
131
- title: "wallet_connectors.metamask.extension.step3.title"
132
- }
133
- ]
134
- }
135
- },
136
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
137
- projectId,
138
- walletConnectParameters
139
- }) : getInjectedConnector({
140
- target: typeof window !== "undefined" ? window.ethereum?.providers?.find(
141
- isMetaMask
142
- ) ?? window.ethereum : void 0
143
- })
144
- };
145
- };
146
-
147
- export {
148
- metaMaskWallet
149
- };
@@ -1,95 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- isMobile
8
- } from "./chunk-RETKWSKD.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.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-BVMBOYTC.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,81 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
- import {
6
- isMobile
7
- } from "./chunk-RETKWSKD.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-MXLAOWS6.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,92 +0,0 @@
1
- "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-23WIEY36.js";
5
- import {
6
- isAndroid
7
- } from "./chunk-RETKWSKD.js";
8
-
9
- // src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
10
- var ledgerWallet = ({
11
- projectId,
12
- walletConnectParameters
13
- }) => ({
14
- id: "ledger",
15
- iconBackground: "#000",
16
- iconAccent: "#000",
17
- name: "Ledger",
18
- iconUrl: async () => (await import("./ledgerWallet-KZKJ5Q2S.js")).default,
19
- downloadUrls: {
20
- android: "https://play.google.com/store/apps/details?id=com.ledger.live",
21
- ios: "https://apps.apple.com/us/app/ledger-live-web3-wallet/id1361671700",
22
- mobile: "https://www.ledger.com/ledger-live",
23
- qrCode: "https://r354.adj.st/?adj_t=t2esmlk",
24
- windows: "https://www.ledger.com/ledger-live/download",
25
- macos: "https://www.ledger.com/ledger-live/download",
26
- linux: "https://www.ledger.com/ledger-live/download",
27
- desktop: "https://www.ledger.com/ledger-live"
28
- },
29
- mobile: {
30
- getUri: (uri) => {
31
- return isAndroid() ? uri : `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
32
- }
33
- },
34
- desktop: {
35
- getUri: (uri) => {
36
- return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
37
- },
38
- instructions: {
39
- learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
40
- steps: [
41
- {
42
- description: "wallet_connectors.ledger.desktop.step1.description",
43
- step: "install",
44
- title: "wallet_connectors.ledger.desktop.step1.title"
45
- },
46
- {
47
- description: "wallet_connectors.ledger.desktop.step2.description",
48
- step: "create",
49
- title: "wallet_connectors.ledger.desktop.step2.title"
50
- },
51
- {
52
- description: "wallet_connectors.ledger.desktop.step3.description",
53
- step: "connect",
54
- title: "wallet_connectors.ledger.desktop.step3.title"
55
- }
56
- ]
57
- }
58
- },
59
- qrCode: {
60
- getUri: (uri) => {
61
- return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
62
- },
63
- instructions: {
64
- learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
65
- steps: [
66
- {
67
- description: "wallet_connectors.ledger.qr_code.step1.description",
68
- step: "install",
69
- title: "wallet_connectors.ledger.qr_code.step1.title"
70
- },
71
- {
72
- description: "wallet_connectors.ledger.qr_code.step2.description",
73
- step: "create",
74
- title: "wallet_connectors.ledger.qr_code.step2.title"
75
- },
76
- {
77
- description: "wallet_connectors.ledger.qr_code.step3.description",
78
- step: "scan",
79
- title: "wallet_connectors.ledger.qr_code.step3.title"
80
- }
81
- ]
82
- }
83
- },
84
- createConnector: getWalletConnectConnector({
85
- projectId,
86
- walletConnectParameters
87
- })
88
- });
89
-
90
- export {
91
- ledgerWallet
92
- };
@@ -1,102 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- isIOS
8
- } from "./chunk-RETKWSKD.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
- };
@@ -1,71 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-WRA2DVJ7.js";
6
- import {
7
- isAndroid
8
- } from "./chunk-RETKWSKD.js";
9
- import {
10
- getWalletConnectConnector
11
- } from "./chunk-23WIEY36.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
- };