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

feat: add webwallet connect and sign method #185

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

bluecco
Copy link
Contributor

@bluecco bluecco commented Feb 4, 2025

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:

  • add new connector
  • fix injected connector
  • ...

Checklist

  • Rebased to the last commit of the target branch (or merged)
  • Code self-reviewed
  • Code self-tested
  • Tests updated (if needed)
  • All tests are passing locally

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.

@bluecco bluecco requested a review from Cussone February 4, 2025 15:27
@bluecco bluecco changed the title feat: ad webwallet connect and sign method feat: add webwallet connect and sign method Feb 4, 2025
Copy link
Member

@Cussone Cussone left a 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",
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

makes sense

approvalRequests: ApprovalRequest[]
sessionTypedData: TypedData
}) /*
Promise<{
Copy link
Member

Choose a reason for hiding this comment

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

Commented type?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh shoot

@bluecco bluecco mentioned this pull request Feb 5, 2025
3 tasks
@bluecco bluecco merged commit 45426a7 into feat/web-wallet-updates Feb 5, 2025
1 check passed
@bluecco bluecco deleted the feat/webwallet-connect-and-sign branch February 5, 2025 12:16
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