-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(metaMask): enhance documentation for MetaMask Connector features… #4511
base: main
Are you sure you want to change the base?
Conversation
… and usage - Added a description of the MetaMask Connector's capabilities, including wallet connection management, support for multiple chains, and compatibility with browser and mobile environments. - Clarified the distinction between the MetaMask Connector and the Injected Connector. - Included a link to the MetaMask SDK documentation for further reference.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -92,8 +90,6 @@ const connector = metaMask({ | |||
|
|||
### headless | |||
|
|||
`boolean | undefined` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep these types around
@@ -63,8 +63,6 @@ const connector = metaMask({ | |||
|
|||
### logging | |||
|
|||
`SDKLoggingOptions | undefined` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep these types around
@@ -41,8 +43,6 @@ Check out the [MetaMask SDK docs](https://docs.metamask.io/wallet/connect/3rd-pa | |||
|
|||
### dappMetadata | |||
|
|||
`DappMetadata | undefined` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep these types around (convention we use throughout the docs)
@@ -8,6 +8,8 @@ const connectorsPackageName = 'wagmi/connectors' | |||
|
|||
Connector for [MetaMask SDK](https://github.com/MetaMask/metamask-sdk). | |||
|
|||
The MetaMask Connector helps you manage wallet connections in your React applications. It supports essential features like connecting, disconnecting, and handling multiple chains, while maintaining compatibility with browser and mobile environments. You can choose between the MetaMask Connector and the Injected Connector—but keep in mind that using the Injected Connector limits your app to the MetaMask browser extension only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a shared page for the VanillaJS, Vue, and React docs, let's keep it basic and remove the mention of React.
The MetaMask Connector helps you manage wallet connections in your React applications. It supports essential features like connecting, disconnecting, and handling multiple chains, while maintaining compatibility with browser and mobile environments. You can choose between the MetaMask Connector and the Injected Connector—but keep in mind that using the Injected Connector limits your app to the MetaMask browser extension only. | |
Check out the [MetaMask SDK docs](https://docs.metamask.io/wallet/connect/metamask-sdk/javascript) for more information. |
|
||
## MetaMask SDK Docs | ||
|
||
Check out the [MetaMask SDK docs](https://docs.metamask.io/wallet/connect/metamask-sdk/javascript/react/) for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added further up instead
## MetaMask SDK Docs | |
Check out the [MetaMask SDK docs](https://docs.metamask.io/wallet/connect/metamask-sdk/javascript/react/) for more information. |
Changes made based on feedback from the MetaMask team: