EmailVerificationCodeError is now of type EmailVerificationError

This commit is contained in:
Stan Wohlwend 2024-04-14 06:51:33 +02:00
parent 7c501bee3c
commit b4d3612b33
2 changed files with 2 additions and 1 deletions

View File

@ -528,7 +528,7 @@ const EmailVerificationError = createKnownErrorConstructor(
);
const EmailVerificationCodeError = createKnownErrorConstructor(
KnownError,
EmailVerificationError,
"EMAIL_VERIFICATION_CODE_ERROR",
"inherit",
"inherit",

View File

@ -113,6 +113,7 @@ export type StackClientAppJson<HasTokenStore extends boolean, ProjectId extends
uniqueIdentifier: string,
currentClientUserJson: UserJson | null,
currentProjectJson: ClientProjectJson,
// note: if you add more fields here, make sure to ensure the checkString in the constructor has/doesn't have them
};
const defaultBaseUrl = "https://app.stack-auth.com";