Skip to content

Commit

Permalink
chore: update doc comments and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Sep 12, 2023
1 parent eb9dc96 commit 2698b44
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `createCode`, `consumeCode`, `createPasswordlessCode` and `consumePasswordlessCode` can now return status: `SIGN_IN_UP_NOT_ALLOWED`
- `signInAndUp` and `thirdPartySignInAndUp` can now return new status: `SIGN_IN_UP_NOT_ALLOWED`
- `sendPasswordResetEmail` can now return `status: "PASSWORD_RESET_NOT_ALLOWED"`
- `signIn` and `emailPasswordSignIn` can now return `SIGN_IN_NOT_ALLOWED`
- `signUp` and `emailPasswordSignUp` can now return `SIGN_UP_NOT_ALLOWED`

## [0.7.3] - 2023-08-21

Expand Down
4 changes: 4 additions & 0 deletions lib/build/recipe/emailpassword/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/build/recipe/emailpassword/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/build/recipe/thirdpartyemailpassword/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/build/recipe/thirdpartyemailpassword/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/ts/recipe/emailpassword/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ export default class RecipeWrapper {
*
* @returns `{status: "FIELD_ERROR", formFields}` if the formFields dont match the ones in the configured in the backend SDKs
*
* @returns `{status: "SIGN_UP_NOT_ALLOWED"}` if the user can't sign up because of security reasons
*
* @throws STGeneralError if the API exposed by the backend SDKs returns `status: "GENERAL_ERROR"`
*/
static signUp(input: {
Expand Down Expand Up @@ -187,6 +189,8 @@ export default class RecipeWrapper {
*
* @returns `{status: "WRONG_CREDENTIALS_ERROR"}` if the credentials are invalid
*
* @returns `{status: "SIGN_IN_NOT_ALLOWED"}` if the user can't sign in because of security reasons
*
* @throws STGeneralError if the API exposed by the backend SDKs returns `status: "GENERAL_ERROR"`
*/
static signIn(input: {
Expand Down
4 changes: 4 additions & 0 deletions lib/ts/recipe/thirdpartyemailpassword/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ export default class RecipeWrapper {
*
* @returns `{status: "FIELD_ERROR", formFields}` if the formFields dont match the ones in the configured in the backend SDKs
*
* @returns `{status: "SIGN_UP_NOT_ALLOWED"}` if the user can't sign up because of security reasons
*
* @throws STGeneralError if the API exposed by the backend SDKs returns `status: "GENERAL_ERROR"`
*/
static emailPasswordSignUp(input: {
Expand Down Expand Up @@ -230,6 +232,8 @@ export default class RecipeWrapper {
*
* @returns `{status: "WRONG_CREDENTIALS_ERROR"}` if the credentials are invalid
*
* @returns `{status: "SIGN_IN_NOT_ALLOWED"}` if the user can't sign in because of security reasons
*
* @throws STGeneralError if the API exposed by the backend SDKs returns `status: "GENERAL_ERROR"`
*/
static emailPasswordSignIn(input: {
Expand Down

0 comments on commit 2698b44

Please sign in to comment.