supertokens / supertokens-web-js

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

fix: use DateProvider in EmailVerificationClaim #103

Closed anku255 closed 8 months ago

anku255 commented 9 months ago

Summary of change

This PR updates the EmailVerificationClaim to use DateProvider to fix clock skew issues.

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

Remaining TODOs for this PR

github-actions[bot] commented 8 months ago

size-limit report ๐Ÿ“ฆ

Path Size
lib/build/index.js 25.95 KB (+4.2% ๐Ÿ”บ)
recipe/emailverification/index.js 26.31 KB (+4.48% ๐Ÿ”บ)
recipe/emailpassword/index.js 26.04 KB (+3.86% ๐Ÿ”บ)
recipe/thirdparty/index.js 27.09 KB (+3.68% ๐Ÿ”บ)
recipe/thirdpartyemailpassword/index.js 29.03 KB (+3.43% ๐Ÿ”บ)
recipe/session/index.js 23.19 KB (+5.16% ๐Ÿ”บ)
recipe/passwordless/index.js 27.36 KB (+3.7% ๐Ÿ”บ)
recipe/thirdpartypasswordless/index.js 29.72 KB (+3.94% ๐Ÿ”บ)
recipe/userroles/index.js 23.45 KB (+5.13% ๐Ÿ”บ)
recipe/multitenancy/index.js 25.69 KB (+4.67% ๐Ÿ”บ)