Skip to content
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

fix: fix type errors #4

Merged

Conversation

bajpai244
Copy link

This PR fixes the type errors that we are facing for the metamask integration.

@@ -31,7 +31,7 @@
},
"dependencies": {
"@consensys/starknet-snap": "^2.2.0",
"@metamask/types": "^1.1.0",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer need types from here, as @metamask/providers provide more relevant types.

@@ -0,0 +1,40 @@
import {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now we have a dummy signer to satisfy the types, a new issue should be made to take in the injected provider and complete the interface.

@bajpai244 bajpai244 merged commit 1cd0024 into Consensys:feat/add-metamask-support Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants