supertokens / supertokens-auth-react

ReactJS authentication module for SuperTokens
https://supertokens.com
Other
260 stars 81 forks source link

Fixes for how component is calculated #810

Closed rishabhpoddar closed 3 months ago

rishabhpoddar commented 3 months ago

Summary of change

getMatchingComponentForRouteAndRecipeIdFromPreBuiltUIList did not correctly fetch the components for non auth recipe. So that has been fixed.

Test Plan

Without this change, the way to reproduce the issue was to:

NOTE: This PR has not implemented any test case

Checklist for important updates

github-actions[bot] commented 3 months ago

size-limit report 📦

Path Size
lib/build/index.js 17.39 KB (+0.39% 🔺)
recipe/session/index.js 18.39 KB (+0.43% 🔺)
recipe/session/prebuiltui.js 21.18 KB (+0.3% 🔺)
recipe/thirdpartyemailpassword/index.js 30.9 KB (0%)
recipe/thirdparty/index.js 27.29 KB (0%)
recipe/emailpassword/index.js 10.72 KB (0%)
recipe/emailverification/index.js 7.71 KB (0%)
recipe/passwordless/index.js 68.92 KB (0%)
recipe/thirdpartypasswordless/index.js 89.8 KB (0%)
recipe/emailverification/prebuiltui.js 27.08 KB (+0.28% 🔺)
recipe/thirdpartyemailpassword/prebuiltui.js 62.23 KB (+0.13% 🔺)
recipe/thirdparty/prebuiltui.js 43.71 KB (+0.18% 🔺)
recipe/emailpassword/prebuiltui.js 33.01 KB (+0.26% 🔺)
recipe/passwordless/prebuiltui.js 116.36 KB (+0.09% 🔺)
recipe/thirdpartypasswordless/prebuiltui.js 146.6 KB (+0.06% 🔺)
recipe/multitenancy/index.js 6.54 KB (0%)
recipe/multifactorauth/index.js 10.47 KB (0%)
recipe/multifactorauth/prebuiltui.js 26.52 KB (+0.5% 🔺)