supertokens / supertokens-web-js

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

feat!: remove default maxAgeInSeconds in emailverification claim #116

Closed anku255 closed 3 months ago

anku255 commented 3 months ago

Summary of change

This PR removes the default maxAgeInSeconds value (previously 300 seconds) in EmailVerification Claim. If the claim value is true and maxAgeInSeconds is not provided, it will not be refetched.

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 3 months ago

size-limit report 📦

Path Size
lib/build/index.js 26.54 KB (0%)
recipe/emailverification/index.js 26.78 KB (+0.03% 🔺)
recipe/emailpassword/index.js 26.65 KB (0%)
recipe/thirdparty/index.js 27.67 KB (0%)
recipe/session/index.js 23.66 KB (0%)
recipe/passwordless/index.js 27.83 KB (0%)
recipe/userroles/index.js 23.96 KB (0%)
recipe/multitenancy/index.js 26.28 KB (0%)
recipe/multifactorauth/index.js 26.38 KB (0%)
recipe/totp/index.js 26.2 KB (0%)