UNPKG

supertokens-node

Version:
23 lines (17 loc) 1.09 kB
## [9.0.0] - 2022-02-20 ### Breaking Change - Adds user context to all functions exposed to the user, and to API and Recipe interface functions. This is a non breaking change for User exposed function calls, but a breaking change if you are using the Recipe or APIs override feature - Returns session from API interface functions that create a session - Renames functions in ThirdPartyEmailPassword recipe (https://github.com/supertokens/supertokens-node/issues/219): - Recipe Interface: - `signInUp` -> `thirdPartySignInUp` - `signUp` -> `emailPasswordSignUp` - `signIn` -> `emailPasswordSignIn` - API Interface: - `emailExistsGET` -> `emailPasswordEmailExistsGET` - User exposed functions (in `recipe/thirdpartyemailpassword/index.ts`) - `signInUp` -> `thirdPartySignInUp` - `signUp` -> `emailPasswordSignUp` - `signIn` -> `emailPasswordSignIn` ### Change: - Uses recipe interface inside session class so that any modification to those get reflected in the session class functions too.