-
Notifications
You must be signed in to change notification settings - Fork 137
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
Stop calling sanitizeResponse twice during the payment response handl… #3015
base: main
Are you sure you want to change the base?
Conversation
Size Change: -25 B (0%) Total Size: 769 kB
ℹ️ View Unchanged
|
size-limit report 📦
|
Quality Gate passedIssues Measures |
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.
Might be worth to mention this in the changeset as sort of internal improvement, so at least we can easily keep track of the changes introduced in each release.
…ing process
Summary
As discussed previously - it is not necessary for the
UIElement
shandleResponse
function to callsanitizeResponse
on the passed object, since this function has already been run earlier in the handling-the-payments-response, or, handling-the-details-response, chains.This also applies to it's use in the
ApplePay
andGooglePay
componentsTested scenarios
unit tests pass