supertokens / supertokens-web-js

SuperTokens SDK for vanilla JS for all recipes
Other
58 stars 10 forks source link

fix: emailverification validator refetch times (0.9) #111

Closed anku255 closed 6 months ago

anku255 commented 6 months ago

Summary of change

Reduced the number of unnecessary email verification checks by fixing the default values for refetchTimeOnFalseInSeconds and maxAgeInSeconds

Related issues

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates

github-actions[bot] commented 6 months ago

size-limit report 📦

Path Size
lib/build/index.js 25.95 KB (0%)
recipe/emailverification/index.js 26.31 KB (-0.01% 🔽)
recipe/emailpassword/index.js 26.04 KB (0%)
recipe/thirdparty/index.js 27.09 KB (0%)
recipe/thirdpartyemailpassword/index.js 29.03 KB (+0.01% 🔺)
recipe/session/index.js 23.19 KB (0%)
recipe/passwordless/index.js 27.36 KB (0%)
recipe/thirdpartypasswordless/index.js 29.73 KB (0%)
recipe/userroles/index.js 23.45 KB (0%)
recipe/multitenancy/index.js 25.69 KB (0%)