supertokens / supertokens-web-js

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

feat: Add enableDebugLogs to SuperTokens init config #35

Closed nkshah2 closed 2 years ago

nkshah2 commented 2 years ago

Summary

Allows enabling of debug logs for supertokens-website when initialising supertokens-web-js

Test Plan

Created a dummy react app, installed web-js and tested the fact that debug logs appear (and only appear) if the config value is set to true

github-actions[bot] commented 2 years ago

size-limit report 📦

Path Size
lib/build/index.js 3.12 KB (+0.89% 🔺)
recipe/emailverification/index.js 5.36 KB (0%)
recipe/emailpassword/index.js 17.19 KB (+0.11% 🔺)
recipe/thirdparty/index.js 17.89 KB (+0.1% 🔺)
recipe/thirdpartyemailpassword/index.js 19.29 KB (+0.11% 🔺)
recipe/session/index.js 14.57 KB (+0.11% 🔺)
recipe/passwordless/index.js 17.06 KB (+0.11% 🔺)
recipe/thirdpartypasswordless/index.js 20.17 KB (+0.11% 🔺)