-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: add webwallet connect and sign method #185
feat: add webwallet connect and sign method #185
Conversation
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.
Just one minor thing
package.json
Outdated
@@ -65,6 +65,7 @@ | |||
"dev": "vite build --watch" | |||
}, | |||
"dependencies": { | |||
"webwallet-sdk": "../webwallet-sdk", |
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.
To avoid having circular dependencies between webwallet-sdk
and starknetkit
, I would move ApprovalRequest
type to starknetkit
, and if needed reexport it from webwallet-sdk
for the end user.
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.
makes sense
src/connectors/webwallet/index.ts
Outdated
approvalRequests: ApprovalRequest[] | ||
sessionTypedData: TypedData | ||
}) /* | ||
Promise<{ |
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.
Commented type?
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.
oh shoot
Issue / feature description
Quick description of the issue or the feature that is implemented in the pr ie: add new transitions between screens
Changes
quick list regarding the related changes within the pr
ie:
Checklist
Please keep your pull request as small as possible. If you need to make multiple changes, please create separate pull requests for each change. Create a draft pull request if you need early feedback. This will mark the pull request as a work in progress and prevent it from being reviewed or merged until you are ready.
Please move drafts to the ready for review (regular PR) when you are ready to start the review process and other developers will pick it up from there.