-
Notifications
You must be signed in to change notification settings - Fork 145
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: moving getTokens
under the API module
#1146
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
isLoading: callStatus === 'PENDING', | ||
isToastVisible, | ||
lifeCycleStatus, | ||
onSubmit: handleSubmit, | ||
paymasterUrl: getPaymasterUrl(capabilities), |
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.
Refactoring this, in a way it's easier to test and reuse.
/** | ||
* Note: exported as public Type | ||
*/ | ||
export type GetTokensOptions = { |
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.
Moving all getTokens
code under the API module.
What changed? Why?
Notes to reviewers
How has it been tested?