supertokens-auth-react
supertokens-auth-react copied to clipboard
Feat: expose no redirect auth comps
Summary of change
Expose NoRedirect
version of auth components that do not redirect away if there is an active session.
Related issues
Test Plan
These components are already tested.
Documentation changes
Not strictly necessary, but we could mention them in the embedding docs.
Checklist for important updates
- [x] Changelog has been updated
- [x]
frontendDriverInterfaceSupported.json
file has been updated (if needed)- Along with the associated array in
lib/ts/version.ts
- Along with the associated array in
- [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.Y
is 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-limit
section ofpackage.json
with the size limit set to the current size rounded up.
Remaining TODOs for this PR
- [ ] Check if we need docs update
- [ ] Think about naming (I'm not 100% satisfied with
SignInUpNoRedirect
)
size-limit report 📦
Path | Size |
---|---|
lib/build/index.js | 28.19 KB (0%) |
recipe/session/index.js | 26.3 KB (0%) |
recipe/thirdpartyemailpassword/index.js | 125.93 KB (+0.11% 🔺) |
recipe/thirdparty/index.js | 111.17 KB (+0.03% 🔺) |
recipe/emailpassword/index.js | 112.21 KB (+0.03% 🔺) |
recipe/passwordless/index.js | 201.47 KB (+0.02% 🔺) |
recipe/thirdpartypasswordless/index.js | 221.57 KB (+0.04% 🔺) |