(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
[ ] Changelog has been updated
[ ] coreDriverInterfaceSupported.json file has been updated (if needed)
Along with the associated array in lib/ts/version.ts
[ ] frontendDriverInterfaceSupported.json file has been updated (if needed)
[ ] Changes to the version if needed
In package.json
In package-lock.json
In lib/ts/version.ts
[ ] Had run npm run build-pretty
[ ] Had installed and ran the pre-commit hook
[ ] If new thirdparty provider is added,
[ ] update switch statement in recipe/thirdparty/providers/configUtils.ts file, createProvider function.
[ ] add an icon on the user management dashboard.
[ ] 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 format vX.Y.Z, and then find the latest branch (git branch --all) whose X.Y is greater than the latest released tag.
If no such branch exists, then create one from the latest released branch.
[ ] If have added a new web framework, update the add-ts-no-check.js file to include that
[ ] If added a new recipe / api interface, then make sure that the implementation of it uses NON arrow functions only (like someFunc: function () {..}).
[ ] If added a new recipe, then make sure to expose it inside the recipe folder present in the root of this repo. We also need to expose its types.
Remaining TODOs for this PR
[ ] Item1
[ ] Item2
Summary by CodeRabbit
Release Notes:
Refactor: Updated createAndSendEmailUsingSupertokensService function in passwordResetFunctions.js to use async/await syntax and added log messages for success and error scenarios.
Refactor: Removed the import of User type in passwordResetFunctions.d.ts and replaced it with an inline type definition.
Refactor: In recipe.d.ts, updated the import statements for BaseRequest and BaseResponse to use the type keyword and removed the getEmailForUserId property from the class.
🐇 "Hoppity hop, code doesn't stop,
With every refactor, we rise to the top.
Async-await now in place,
Logging errors just in case.
Type imports are neat and clean,
Making our codebase a well-oiled machine. 🎉"
Summary of change
Account linking
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
coreDriverInterfaceSupported.json
file has been updated (if needed)lib/ts/version.ts
frontendDriverInterfaceSupported.json
file has been updated (if needed)package.json
package-lock.json
lib/ts/version.ts
npm run build-pretty
recipe/thirdparty/providers/configUtils.ts
file,createProvider
function.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.add-ts-no-check.js
file to include thatsomeFunc: function () {..}
).Remaining TODOs for this PR
Summary by CodeRabbit
Release Notes:
createAndSendEmailUsingSupertokensService
function inpasswordResetFunctions.js
to use async/await syntax and added log messages for success and error scenarios.User
type inpasswordResetFunctions.d.ts
and replaced it with an inline type definition.recipe.d.ts
, updated the import statements forBaseRequest
andBaseResponse
to use thetype
keyword and removed thegetEmailForUserId
property from the class.