@funkit/connect 1.0.23 → 1.0.25

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 (83) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{chunk-2GFNZKMA.js → chunk-4SROXH24.js} +3 -3
  3. package/dist/{chunk-RA4J3G3B.js → chunk-EYTYHIPM.js} +3 -3
  4. package/dist/components/ChainModal/Chain.d.ts +5 -0
  5. package/dist/components/FunButton/FunButton.css.d.ts +1 -0
  6. package/dist/components/FunButton/FunIconButton.d.ts +2 -1
  7. package/dist/components/FunNotification/FunNotification.d.ts +5 -1
  8. package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +1 -0
  9. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +9 -0
  10. package/dist/components/FunTransactionSummary/FunTxSummaryHistory.d.ts +5 -0
  11. package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +2 -0
  12. package/dist/components/FunkitProvider/FunkitMoonpayProvider.d.ts +20 -0
  13. package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +12 -2
  14. package/dist/components/Icons/StatusIcons.d.ts +4 -0
  15. package/dist/components/Icons/SwitchIcon.d.ts +2 -0
  16. package/dist/consts/funkit.d.ts +3 -0
  17. package/dist/consts/moonpay.d.ts +3 -0
  18. package/dist/index.css +51 -8
  19. package/dist/index.d.ts +1 -0
  20. package/dist/index.js +2779 -2374
  21. package/dist/themes/darkTheme.js +1 -1
  22. package/dist/themes/lightTheme.js +1 -1
  23. package/dist/utils/checkout.d.ts +1 -1
  24. package/dist/utils/deposit.d.ts +1 -0
  25. package/dist/utils/mesh.d.ts +2 -1
  26. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  27. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  28. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  29. package/dist/wallets/walletConnectors/chunk-2GAW2UBU.js +102 -0
  30. package/dist/wallets/walletConnectors/chunk-AJKRYTH2.js +92 -0
  31. package/dist/wallets/walletConnectors/chunk-CUKVUCIP.js +98 -0
  32. package/dist/wallets/walletConnectors/chunk-CVGDYGHA.js +60 -0
  33. package/dist/wallets/walletConnectors/chunk-FDIIMYTB.js +73 -0
  34. package/dist/wallets/walletConnectors/chunk-GW6EF4G2.js +92 -0
  35. package/dist/wallets/walletConnectors/chunk-HXYRONSJ.js +94 -0
  36. package/dist/wallets/walletConnectors/chunk-IBWFKX7P.js +94 -0
  37. package/dist/wallets/walletConnectors/chunk-OKWOB3DN.js +66 -0
  38. package/dist/wallets/walletConnectors/chunk-OKZSWAPF.js +60 -0
  39. package/dist/wallets/walletConnectors/chunk-OYKWP3N3.js +60 -0
  40. package/dist/wallets/walletConnectors/chunk-OYW4TIA3.js +81 -0
  41. package/dist/wallets/walletConnectors/chunk-PPFSHJTA.js +95 -0
  42. package/dist/wallets/walletConnectors/chunk-RTW6PVQI.js +107 -0
  43. package/dist/wallets/walletConnectors/chunk-RYO26XSK.js +100 -0
  44. package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +71 -0
  45. package/dist/wallets/walletConnectors/chunk-SPLW3CCH.js +98 -0
  46. package/dist/wallets/walletConnectors/chunk-SQGFKNNZ.js +102 -0
  47. package/dist/wallets/walletConnectors/chunk-T6JVHES7.js +87 -0
  48. package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +27 -0
  49. package/dist/wallets/walletConnectors/chunk-X255T3C4.js +178 -0
  50. package/dist/wallets/walletConnectors/chunk-XSSD5ZVD.js +96 -0
  51. package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +98 -0
  52. package/dist/wallets/walletConnectors/chunk-Z2HIQYVN.js +96 -0
  53. package/dist/wallets/walletConnectors/chunk-ZFXXHGAS.js +105 -0
  54. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  55. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  56. package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
  57. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  58. package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
  59. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  60. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  61. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  62. package/dist/wallets/walletConnectors/index.js +70 -70
  63. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  64. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  65. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  66. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  67. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  68. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  69. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  70. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  71. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  72. package/package.json +1 -1
  73. package/dist/hooks/useFunkitSwitchChain.d.ts +0 -7
  74. package/dist/wallets/walletConnectors/{chunk-NGXIHASN.js → chunk-2LY3WMXK.js} +3 -3
  75. package/dist/wallets/walletConnectors/{chunk-V45EXW7A.js → chunk-2PC2XXUH.js} +4 -4
  76. package/dist/wallets/walletConnectors/{chunk-3WZRNEZH.js → chunk-2XQJ2NQ4.js} +3 -3
  77. package/dist/wallets/walletConnectors/{chunk-ZNXQ4V6G.js → chunk-75A2U7T7.js} +4 -4
  78. package/dist/wallets/walletConnectors/{chunk-O5NKWWEG.js → chunk-DNOEX5NF.js} +3 -3
  79. package/dist/wallets/walletConnectors/{chunk-7CQPABJG.js → chunk-MCTPLICE.js} +3 -3
  80. package/dist/wallets/walletConnectors/{chunk-6LTLPR2Q.js → chunk-MU35GKP3.js} +3 -3
  81. package/dist/wallets/walletConnectors/{chunk-AM4SSLAP.js → chunk-N3VZE65M.js} +4 -4
  82. package/dist/wallets/walletConnectors/{chunk-Z2DGDHHZ.js → chunk-OAEJQOAV.js} +4 -4
  83. package/dist/wallets/walletConnectors/{chunk-2UXZAUWT.js → chunk-OR3PU2W4.js} +4 -4
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  darkTheme
4
- } from "../chunk-2GFNZKMA.js";
4
+ } from "../chunk-4SROXH24.js";
5
5
  import "../chunk-UK5FXGK3.js";
6
6
  export {
7
7
  darkTheme
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  lightTheme
4
- } from "../chunk-RA4J3G3B.js";
4
+ } from "../chunk-EYTYHIPM.js";
5
5
  import "../chunk-UK5FXGK3.js";
6
6
  export {
7
7
  lightTheme
@@ -110,7 +110,7 @@ export declare function categorizeCheckoutHistories(checkoutHistoryList: Checkou
110
110
  currentDepositAddrMap: CheckoutHistoryDepositAddrMap;
111
111
  };
112
112
  export declare function getCheckoutStateStepNumber(state: CheckoutState): 0 | 1 | 3 | 2;
113
- export declare function formatTokenAmountForMoonpay(amount: number): string;
113
+ export declare function formatTokenAmountForMoonpay(amount: number, mpCurrencyCode: string): string;
114
114
  export declare function combineChainSymbolOrAddress({ chainId, symbolOrAddress, }: {
115
115
  chainId: string;
116
116
  symbolOrAddress: string;
@@ -1,4 +1,5 @@
1
1
  import { PaymentFlow } from '../consts/payment';
2
+ export declare const MINIMUM_MOONPAY_DEPOSIT_AMOUNT_USD = 35;
2
3
  export declare function isAmountValidForMoonpay({ amountUsd, }: {
3
4
  amountUsd: string | undefined | null;
4
5
  }): boolean;
@@ -1,4 +1,5 @@
1
1
  export declare const FUNKIT_MESH_CLIENT_ID = "8132aff4-56c9-4b1d-85b4-08dbdcc6199d";
2
+ export declare const MESH_DEFAULT_USER_ID = "meshconnectkit";
2
3
  export declare enum MeshExchanges {
3
4
  Robinhood = "Robinhood",
4
5
  ETrade = "ETrade",
@@ -34,7 +35,7 @@ export declare enum MeshExchanges {
34
35
  export declare const EXCHANGE_NAME_TO_TYPE: {
35
36
  [x: string]: string;
36
37
  };
37
- export declare function fetchMeshLinkToken(selectedExchange: MeshExchanges, funApiKey: string): Promise<any>;
38
+ export declare function fetchMeshLinkToken(funkitUserId: string, selectedExchange: MeshExchanges, funApiKey: string): Promise<any>;
38
39
  export declare enum MeshExecuteTransferStatus {
39
40
  succeeded = "succeeded",
40
41
  failed = "failed",
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-6LTLPR2Q.js";
4
+ } from "../chunk-SL4VH23R.js";
5
+ import "../chunk-QII6PY2D.js";
5
6
  import "../chunk-ZOLACFTK.js";
6
7
  import "../chunk-ZDU3JFGR.js";
7
- import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  bifrostWallet
10
10
  };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-ZNXQ4V6G.js";
4
+ } from "../chunk-75A2U7T7.js";
5
+ import "../chunk-QII6PY2D.js";
5
6
  import "../chunk-ZOLACFTK.js";
6
7
  import "../chunk-ZDU3JFGR.js";
7
- import "../chunk-QII6PY2D.js";
8
8
  export {
9
9
  bitgetWallet
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-ZUAHWUEL.js";
5
- import "../chunk-ZDU3JFGR.js";
4
+ } from "../chunk-CUKVUCIP.js";
6
5
  import "../chunk-QII6PY2D.js";
6
+ import "../chunk-ZDU3JFGR.js";
7
7
  export {
8
8
  bybitWallet
9
9
  };
@@ -0,0 +1,102 @@
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/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
+ iconUrl: async () => (await import("./subWallet-ELA2UJOS.js")).default,
78
+ iconBackground: "#fff",
79
+ installed: isSubWalletInjected || void 0,
80
+ downloadUrls: {
81
+ browserExtension: "https://www.subwallet.app/download",
82
+ chrome: "https://chrome.google.com/webstore/detail/subwallet-polkadot-wallet/onhogfjeacnfoofkfgppdlbmlmnplgbn",
83
+ firefox: "https://addons.mozilla.org/en-US/firefox/addon/subwallet/",
84
+ edge: "https://chrome.google.com/webstore/detail/subwallet-polkadot-wallet/onhogfjeacnfoofkfgppdlbmlmnplgbn",
85
+ mobile: "https://www.subwallet.app/download",
86
+ android: "https://play.google.com/store/apps/details?id=app.subwallet.mobile",
87
+ ios: "https://apps.apple.com/us/app/subwallet-polkadot-wallet/id1633050285",
88
+ qrCode: "https://www.subwallet.app/download"
89
+ },
90
+ mobile: mobileConnector,
91
+ qrCode: qrConnector,
92
+ extension: extensionConnector,
93
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
94
+ projectId,
95
+ walletConnectParameters
96
+ }) : getInjectedConnector({ namespace: "SubWallet" })
97
+ };
98
+ };
99
+
100
+ export {
101
+ subWallet
102
+ };
@@ -0,0 +1,92 @@
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/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-DIS4VM6H.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
+ };
@@ -0,0 +1,98 @@
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/bybitWallet/bybitWallet.ts
11
+ var bybitWallet = ({
12
+ projectId,
13
+ walletConnectParameters
14
+ }) => {
15
+ const isBybitInjected = hasInjectedProvider({
16
+ namespace: "bybitWallet"
17
+ });
18
+ const shouldUseWalletConnect = !isBybitInjected;
19
+ const getUri = (uri) => {
20
+ return `bybitapp://open/route?targetUrl=by://web3/walletconnect/wc?uri=${encodeURIComponent(
21
+ uri
22
+ )}`;
23
+ };
24
+ return {
25
+ id: "bybit",
26
+ name: "Bybit Wallet",
27
+ rdns: "com.bybit",
28
+ iconUrl: async () => (await import("./bybitWallet-O6NEYJRP.js")).default,
29
+ installed: !shouldUseWalletConnect ? isBybitInjected : void 0,
30
+ iconBackground: "#000000",
31
+ downloadUrls: {
32
+ chrome: "https://chromewebstore.google.com/detail/bybit-wallet/pdliaogehgdbhbnmkklieghmmjkpigpa",
33
+ browserExtension: "https://www.bybit.com/en/web3",
34
+ android: "https://play.google.com/store/apps/details?id=com.bybit.app",
35
+ ios: "https://apps.apple.com/us/app/bybit-buy-trade-crypto/id1488296980",
36
+ mobile: "https://www.bybit.com/en/web3",
37
+ qrCode: "https://www.bybit.com/en/web3"
38
+ },
39
+ mobile: {
40
+ getUri: shouldUseWalletConnect ? getUri : void 0
41
+ },
42
+ qrCode: shouldUseWalletConnect ? {
43
+ getUri: (uri) => uri,
44
+ instructions: {
45
+ learnMoreUrl: "https://www.bybit.com/en/web3",
46
+ steps: [
47
+ {
48
+ description: "wallet_connectors.bybit.qr_code.step1.description",
49
+ step: "install",
50
+ title: "wallet_connectors.bybit.qr_code.step1.title"
51
+ },
52
+ {
53
+ description: "wallet_connectors.bybit.qr_code.step2.description",
54
+ step: "create",
55
+ title: "wallet_connectors.bybit.qr_code.step2.title"
56
+ },
57
+ {
58
+ description: "wallet_connectors.bybit.qr_code.step3.description",
59
+ step: "scan",
60
+ title: "wallet_connectors.bybit.qr_code.step3.title"
61
+ }
62
+ ]
63
+ }
64
+ } : void 0,
65
+ extension: {
66
+ instructions: {
67
+ learnMoreUrl: "https://www.bybit.com/en/web3",
68
+ steps: [
69
+ {
70
+ description: "wallet_connectors.bybit.extension.step1.description",
71
+ step: "install",
72
+ title: "wallet_connectors.bybit.extension.step1.title"
73
+ },
74
+ {
75
+ description: "wallet_connectors.bybit.extension.step2.description",
76
+ step: "create",
77
+ title: "wallet_connectors.bybit.extension.step2.title"
78
+ },
79
+ {
80
+ description: "wallet_connectors.bybit.extension.step3.description",
81
+ step: "refresh",
82
+ title: "wallet_connectors.bybit.extension.step3.title"
83
+ }
84
+ ]
85
+ }
86
+ },
87
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
88
+ projectId,
89
+ walletConnectParameters
90
+ }) : getInjectedConnector({
91
+ namespace: "bybitWallet"
92
+ })
93
+ };
94
+ };
95
+
96
+ export {
97
+ bybitWallet
98
+ };
@@ -0,0 +1,60 @@
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/argentWallet/argentWallet.ts
10
+ var argentWallet = ({
11
+ projectId,
12
+ walletConnectParameters
13
+ }) => ({
14
+ id: "argent",
15
+ name: "Argent",
16
+ iconUrl: async () => (await import("./argentWallet-5OEFC7BD.js")).default,
17
+ iconBackground: "#fff",
18
+ downloadUrls: {
19
+ android: "https://play.google.com/store/apps/details?id=im.argent.contractwalletclient",
20
+ ios: "https://apps.apple.com/us/app/argent/id1358741926",
21
+ mobile: "https://argent.xyz/download-argent",
22
+ qrCode: "https://argent.link/app"
23
+ },
24
+ mobile: {
25
+ getUri: (uri) => {
26
+ return isAndroid() ? uri : `argent://app/wc?uri=${encodeURIComponent(uri)}`;
27
+ }
28
+ },
29
+ qrCode: {
30
+ getUri: (uri) => uri,
31
+ instructions: {
32
+ learnMoreUrl: "https://argent.xyz/learn/what-is-a-crypto-wallet/",
33
+ steps: [
34
+ {
35
+ description: "wallet_connectors.argent.qr_code.step1.description",
36
+ step: "install",
37
+ title: "wallet_connectors.argent.qr_code.step1.title"
38
+ },
39
+ {
40
+ description: "wallet_connectors.argent.qr_code.step2.description",
41
+ step: "create",
42
+ title: "wallet_connectors.argent.qr_code.step2.title"
43
+ },
44
+ {
45
+ description: "wallet_connectors.argent.qr_code.step3.description",
46
+ step: "scan",
47
+ title: "wallet_connectors.argent.qr_code.step3.title"
48
+ }
49
+ ]
50
+ }
51
+ },
52
+ createConnector: getWalletConnectConnector({
53
+ projectId,
54
+ walletConnectParameters
55
+ })
56
+ });
57
+
58
+ export {
59
+ argentWallet
60
+ };
@@ -0,0 +1,73 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-QII6PY2D.js";
6
+ import {
7
+ isAndroid,
8
+ isIOS
9
+ } from "./chunk-ZOLACFTK.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,92 @@
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/roninWallet/roninWallet.ts
11
+ var roninWallet = ({
12
+ projectId,
13
+ walletConnectParameters
14
+ }) => {
15
+ const isRoninInjected = hasInjectedProvider({
16
+ namespace: "ronin.provider"
17
+ });
18
+ return {
19
+ id: "ronin",
20
+ name: "Ronin Wallet",
21
+ iconUrl: async () => (await import("./roninWallet-RYQGWG3X.js")).default,
22
+ iconBackground: "#ffffff",
23
+ rdns: "com.roninchain.wallet",
24
+ installed: isRoninInjected || void 0,
25
+ downloadUrls: {
26
+ android: "https://play.google.com/store/apps/details?id=com.skymavis.genesis",
27
+ ios: "https://apps.apple.com/us/app/ronin-wallet/id1592675001",
28
+ mobile: "https://wallet.roninchain.com",
29
+ chrome: "https://chrome.google.com/webstore/detail/ronin-wallet/fnjhmkhhmkbjkkabndcnnogagogbneec",
30
+ edge: "https://microsoftedge.microsoft.com/addons/detail/ronin-wallet/kjmoohlgokccodicjjfebfomlbljgfhk",
31
+ firefox: "https://addons.mozilla.org/firefox/addon/ronin-wallet",
32
+ browserExtension: "https://wallet.roninchain.com/",
33
+ qrCode: "https://wallet.roninchain.com/"
34
+ },
35
+ mobile: {
36
+ getUri: (uri) => `roninwallet://wc?uri=${encodeURIComponent(uri)}`
37
+ },
38
+ qrCode: {
39
+ getUri: (uri) => uri,
40
+ instructions: {
41
+ learnMoreUrl: "https://wallet.roninchain.com/",
42
+ steps: [
43
+ {
44
+ description: "wallet_connectors.ronin.qr_code.step1.description",
45
+ step: "install",
46
+ title: "wallet_connectors.ronin.qr_code.step1.title"
47
+ },
48
+ {
49
+ description: "wallet_connectors.ronin.qr_code.step2.description",
50
+ step: "create",
51
+ title: "wallet_connectors.ronin.qr_code.step2.title"
52
+ },
53
+ {
54
+ description: "wallet_connectors.ronin.qr_code.step3.description",
55
+ step: "scan",
56
+ title: "wallet_connectors.ronin.qr_code.step3.title"
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ extension: {
62
+ instructions: {
63
+ learnMoreUrl: "https://wallet.roninchain.com/",
64
+ steps: [
65
+ {
66
+ description: "wallet_connectors.ronin.extension.step1.description",
67
+ step: "install",
68
+ title: "wallet_connectors.ronin.extension.step1.title"
69
+ },
70
+ {
71
+ description: "wallet_connectors.ronin.extension.step2.description",
72
+ step: "create",
73
+ title: "wallet_connectors.ronin.extension.step2.title"
74
+ },
75
+ {
76
+ description: "wallet_connectors.ronin.extension.step3.description",
77
+ step: "refresh",
78
+ title: "wallet_connectors.ronin.extension.step3.title"
79
+ }
80
+ ]
81
+ }
82
+ },
83
+ createConnector: isRoninInjected ? getInjectedConnector({ namespace: "ronin.provider" }) : getWalletConnectConnector({
84
+ projectId,
85
+ walletConnectParameters
86
+ })
87
+ };
88
+ };
89
+
90
+ export {
91
+ roninWallet
92
+ };