supertokens-auth-react
supertokens-auth-react copied to clipboard
fix: inputComponents now get stable callbacks
Summary of change
inputComponents now get stable callbacks, as it was intended originally.
Related issues
Test Plan
Modified the test app, so existing tests also check this.
Documentation changes
N/A
Checklist for important updates
- [x] Changelog has been updated
- [x]
frontendDriverInterfaceSupported.jsonfile has been updated (if needed) - [x] Changes to the version if needed
- In
package.json - In
package-lock.json - In
lib/ts/version.ts
- In
- [x] Had run
npm run build-pretty - [x] Had installed and ran the pre-commit hook
- [x] Issue this PR against the latest non released version branch.
- To know which one it is, run find the latest released tag (
git tag) in the formatvX.Y.Z, and then find the latest branch (git branch --all) whoseX.Yis greater than the latest released tag. - If no such branch exists, then create one from the latest released branch.
- To know which one it is, run find the latest released tag (
- [x] If added a new recipe interface, then make sure that the implementation of it uses NON arrow functions only (like
someFunc: function () {..}). - [x] If I added a new recipe, I also added the recipe entry point into the
size-limitsection ofpackage.jsonwith the size limit set to the current size rounded up. - [x] If I added a new recipe, I also added the recipe entry point into the
rollup.config.mjs - [x] If I added a new login method, I modified the list in
lib/ts/types.ts - [x] If I added a factor id, I modified the list in
lib/ts/recipe/multifactorauth/types.ts
size-limit report 📦
| Path | Size |
|---|---|
| lib/build/index.js | 17.67 KB (0%) |
| recipe/session/index.js | 18.69 KB (0%) |
| recipe/session/prebuiltui.js | 21.5 KB (0%) |
| recipe/thirdpartyemailpassword/index.js | 31.11 KB (0%) |
| recipe/thirdparty/index.js | 27.5 KB (0%) |
| recipe/emailpassword/index.js | 10.89 KB (0%) |
| recipe/emailverification/index.js | 7.71 KB (0%) |
| recipe/passwordless/index.js | 69.08 KB (0%) |
| recipe/thirdpartypasswordless/index.js | 89.99 KB (0%) |
| recipe/emailverification/prebuiltui.js | 27.43 KB (0%) |
| recipe/thirdpartyemailpassword/prebuiltui.js | 62.56 KB (0%) |
| recipe/thirdparty/prebuiltui.js | 44.02 KB (0%) |
| recipe/emailpassword/prebuiltui.js | 33.33 KB (+0.01% 🔺) |
| recipe/passwordless/prebuiltui.js | 116.74 KB (+0.01% 🔺) |
| recipe/thirdpartypasswordless/prebuiltui.js | 146.95 KB (+0.01% 🔺) |
| recipe/multitenancy/index.js | 6.54 KB (0%) |
| recipe/multifactorauth/index.js | 10.63 KB (0%) |
| recipe/multifactorauth/prebuiltui.js | 26.84 KB (0%) |