@@ -49,7 +49,6 @@ export class AuthError extends Error {
4949 */
5050 kind ?: "signIn" | "error"
5151
52- /** @internal */
5352 cause ?: Record < string , unknown > & { err ?: Error }
5453
5554 /** @internal */
@@ -105,7 +104,6 @@ export class SignInError extends AuthError {
105104 * @noInheritDoc
106105 */
107106export class AdapterError extends AuthError {
108- /** @internal */
109107 static type = "AdapterError"
110108}
111109
@@ -115,7 +113,6 @@ export class AdapterError extends AuthError {
115113 * @noInheritDoc
116114 */
117115export class AccessDenied extends AuthError {
118- /** @internal */
119116 static type = "AccessDenied"
120117}
121118
@@ -160,7 +157,6 @@ export class AccessDenied extends AuthError {
160157 * @noInheritDoc
161158 */
162159export class CallbackRouteError extends AuthError {
163- /** @internal */
164160 static type = "CallbackRouteError"
165161}
166162
@@ -174,7 +170,6 @@ export class CallbackRouteError extends AuthError {
174170 * @noInheritDoc
175171 */
176172export class ErrorPageLoop extends AuthError {
177- /** @internal */
178173 static type = "ErrorPageLoop"
179174}
180175
@@ -188,7 +183,6 @@ export class ErrorPageLoop extends AuthError {
188183 * @noInheritDoc
189184 */
190185export class EventError extends AuthError {
191- /** @internal */
192186 static type = "EventError"
193187}
194188
@@ -204,7 +198,6 @@ export class EventError extends AuthError {
204198 * @noInheritDoc
205199 */
206200export class InvalidCallbackUrl extends AuthError {
207- /** @internal */
208201 static type = "InvalidCallbackUrl"
209202}
210203
@@ -216,7 +209,6 @@ export class InvalidCallbackUrl extends AuthError {
216209 * @noInheritDoc
217210 */
218211export class CredentialsSignin extends SignInError {
219- /** @internal */
220212 static type = "CredentialsSignin"
221213 /**
222214 * The error code that is set in the `code` query parameter of the redirect URL.
@@ -240,7 +232,6 @@ export class CredentialsSignin extends SignInError {
240232 * @noInheritDoc
241233 */
242234export class InvalidEndpoints extends AuthError {
243- /** @internal */
244235 static type = "InvalidEndpoints"
245236}
246237
@@ -252,7 +243,6 @@ export class InvalidEndpoints extends AuthError {
252243 * @noInheritDoc
253244 */
254245export class InvalidCheck extends AuthError {
255- /** @internal */
256246 static type = "InvalidCheck"
257247}
258248
@@ -269,7 +259,6 @@ export class InvalidCheck extends AuthError {
269259 * @noInheritDoc
270260 */
271261export class JWTSessionError extends AuthError {
272- /** @internal */
273262 static type = "JWTSessionError"
274263}
275264
@@ -282,7 +271,6 @@ export class JWTSessionError extends AuthError {
282271 * @noInheritDoc
283272 */
284273export class MissingAdapter extends AuthError {
285- /** @internal */
286274 static type = "MissingAdapter"
287275}
288276
@@ -295,7 +283,6 @@ export class MissingAdapter extends AuthError {
295283 * @noInheritDoc
296284 */
297285export class MissingAdapterMethods extends AuthError {
298- /** @internal */
299286 static type = "MissingAdapterMethods"
300287}
301288
@@ -307,7 +294,6 @@ export class MissingAdapterMethods extends AuthError {
307294 * @noInheritDoc
308295 */
309296export class MissingAuthorize extends AuthError {
310- /** @internal */
311297 static type = "MissingAuthorize"
312298}
313299
@@ -326,7 +312,6 @@ export class MissingAuthorize extends AuthError {
326312 * @noInheritDoc
327313 */
328314export class MissingSecret extends AuthError {
329- /** @internal */
330315 static type = "MissingSecret"
331316}
332317
@@ -344,7 +329,6 @@ export class MissingSecret extends AuthError {
344329 * @noInheritDoc
345330 */
346331export class OAuthAccountNotLinked extends SignInError {
347- /** @internal */
348332 static type = "OAuthAccountNotLinked"
349333}
350334
@@ -356,7 +340,6 @@ export class OAuthAccountNotLinked extends SignInError {
356340 * @noInheritDoc
357341 */
358342export class OAuthCallbackError extends SignInError {
359- /** @internal */
360343 static type = "OAuthCallbackError"
361344}
362345
@@ -367,7 +350,6 @@ export class OAuthCallbackError extends SignInError {
367350 * @noInheritDoc
368351 */
369352export class OAuthProfileParseError extends AuthError {
370- /** @internal */
371353 static type = "OAuthProfileParseError"
372354}
373355
@@ -380,7 +362,6 @@ export class OAuthProfileParseError extends AuthError {
380362 * @noInheritDoc
381363 */
382364export class SessionTokenError extends AuthError {
383- /** @internal */
384365 static type = "SessionTokenError"
385366}
386367
@@ -401,7 +382,6 @@ export class SessionTokenError extends AuthError {
401382 * @noInheritDoc
402383 */
403384export class OAuthSignInError extends SignInError {
404- /** @internal */
405385 static type = "OAuthSignInError"
406386}
407387
@@ -417,7 +397,6 @@ export class OAuthSignInError extends SignInError {
417397 * @noInheritDoc
418398 */
419399export class EmailSignInError extends SignInError {
420- /** @internal */
421400 static type = "EmailSignInError"
422401}
423402
@@ -432,7 +411,6 @@ export class EmailSignInError extends SignInError {
432411 * @noInheritDoc
433412 */
434413export class SignOutError extends AuthError {
435- /** @internal */
436414 static type = "SignOutError"
437415}
438416
@@ -443,7 +421,6 @@ export class SignOutError extends AuthError {
443421 * @noInheritDoc
444422 */
445423export class UnknownAction extends AuthError {
446- /** @internal */
447424 static type = "UnknownAction"
448425}
449426
@@ -454,7 +431,6 @@ export class UnknownAction extends AuthError {
454431 * @noInheritDoc
455432 */
456433export class UnsupportedStrategy extends AuthError {
457- /** @internal */
458434 static type = "UnsupportedStrategy"
459435}
460436
@@ -463,7 +439,6 @@ export class UnsupportedStrategy extends AuthError {
463439 * @noInheritDoc
464440 */
465441export class InvalidProvider extends AuthError {
466- /** @internal */
467442 static type = "InvalidProvider"
468443}
469444
@@ -480,7 +455,6 @@ export class InvalidProvider extends AuthError {
480455 * @noInheritDoc
481456 */
482457export class UntrustedHost extends AuthError {
483- /** @internal */
484458 static type = "UntrustedHost"
485459}
486460
@@ -491,7 +465,6 @@ export class UntrustedHost extends AuthError {
491465 * @noInheritDoc
492466 */
493467export class Verification extends AuthError {
494- /** @internal */
495468 static type = "Verification"
496469}
497470
@@ -507,7 +480,6 @@ export class Verification extends AuthError {
507480 * @noInheritDoc
508481 */
509482export class MissingCSRF extends SignInError {
510- /** @internal */
511483 static type = "MissingCSRF"
512484}
513485
@@ -538,7 +510,6 @@ export function isClientError(error: Error): error is AuthError {
538510 * @noInheritDoc
539511 */
540512export class DuplicateConditionalUI extends AuthError {
541- /** @internal */
542513 static type = "DuplicateConditionalUI"
543514}
544515
@@ -549,7 +520,6 @@ export class DuplicateConditionalUI extends AuthError {
549520 * @noInheritDoc
550521 */
551522export class MissingWebAuthnAutocomplete extends AuthError {
552- /** @internal */
553523 static type = "MissingWebAuthnAutocomplete"
554524}
555525
@@ -558,7 +528,6 @@ export class MissingWebAuthnAutocomplete extends AuthError {
558528 * @noInheritDoc
559529 */
560530export class WebAuthnVerificationError extends AuthError {
561- /** @internal */
562531 static type = "WebAuthnVerificationError"
563532}
564533
@@ -570,7 +539,6 @@ export class WebAuthnVerificationError extends AuthError {
570539 * @noInheritDoc
571540 */
572541export class AccountNotLinked extends SignInError {
573- /** @internal */
574542 static type = "AccountNotLinked"
575543}
576544
@@ -579,6 +547,5 @@ export class AccountNotLinked extends SignInError {
579547 * @noInheritDoc
580548 */
581549export class ExperimentalFeatureNotEnabled extends AuthError {
582- /** @internal */
583550 static type = "ExperimentalFeatureNotEnabled"
584551}
0 commit comments