-
Notifications
You must be signed in to change notification settings - Fork 621
TokenPaymaster no longer exists, docs update neded #6244
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
Conversation
Signed-off-by: Beau <[email protected]>
|
|
@beauwilliams is attempting to deploy a commit to the thirdweb Team on Vercel. A member of the Team first needs to authorize it. |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
| //This no longer exists | ||
| import { TokenPaymaster, smartWallet } from "thirdweb/wallets"; |
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 TokenPaymaster and smartWallet have been removed from thirdweb/wallets, both the import statement and the explanatory comment should be deleted. The code that follows will need to be updated to use the current implementation pattern for handling gas payments. Consider opening a separate PR to update the remaining code examples in this documentation.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
| <TabsContent value="typescript"> | ||
| ```tsx | ||
| import { base, lisk, celo } from "thirdweb/chains"; | ||
| //This no longer exists |
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.
wdym ? exports are still there
PR-Codex overview
This PR removes the import of
TokenPaymasterandsmartWalletfromthirdweb/wallets, indicating that these components are no longer in use.Detailed summary
TokenPaymasterandsmartWalletfromthirdweb/wallets.