-
Notifications
You must be signed in to change notification settings - Fork 3
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: Toast for tx lifecycle #259
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
pnpm-lock.yaml
Outdated
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.
I'm concerned about this, why so many modifications if there were no package.json modifications at all?
onReplaced: (replacedTxData) => (replacedTx = replacedTxData), | ||
}) | ||
|
||
if (replacedTx!) { |
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.
If you're already checking for reaplacedTx
existence, why use the non-null assertion here?
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.
because it was complaining about using replacedTx
before being initialized.
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.
perhaps turning off the linter for that line will be more clear.
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.
thank Lord! I know you'll never leave me alone microsoft/TypeScript#11498 (comment)
Co-authored-by: Fernando Greco <[email protected]>
Closes #252
Description: Add toast helpers for signing and executing a tx.
A new provider was added with three independent methods allowing watching when a signature is requested, when a tx is initiated, or simply to a particular tx hash.
Type of change:
How Has This Been Tested?