authhero 5.14.0 → 5.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/authhero.cjs +132 -132
  2. package/dist/authhero.d.ts +113 -97
  3. package/dist/authhero.mjs +6358 -6282
  4. package/dist/stats.html +1 -1
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/password.d.ts +1 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  8. package/dist/types/emails/index.d.ts +1 -1
  9. package/dist/types/index.d.ts +113 -97
  10. package/dist/types/routes/auth-api/account.d.ts +2 -2
  11. package/dist/types/routes/auth-api/index.d.ts +22 -22
  12. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  13. package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
  14. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  15. package/dist/types/routes/auth-api/token.d.ts +10 -10
  16. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  17. package/dist/types/routes/management-api/actions.d.ts +1 -1
  18. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  19. package/dist/types/routes/management-api/clients.d.ts +7 -7
  20. package/dist/types/routes/management-api/custom-domains.d.ts +7 -7
  21. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  22. package/dist/types/routes/management-api/flows.d.ts +7 -7
  23. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  24. package/dist/types/routes/management-api/hooks.d.ts +24 -24
  25. package/dist/types/routes/management-api/index.d.ts +69 -69
  26. package/dist/types/routes/management-api/logs.d.ts +3 -3
  27. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  28. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  29. package/dist/types/routes/management-api/users.d.ts +2 -2
  30. package/dist/types/routes/universal-login/common.d.ts +2 -2
  31. package/dist/types/routes/universal-login/error-page.d.ts +2 -1
  32. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  33. package/dist/types/routes/universal-login/u2-index.d.ts +22 -6
  34. package/dist/types/routes/universal-login/u2-routes.d.ts +22 -6
  35. package/dist/types/variables.d.ts +1 -1
  36. package/package.json +1 -1
@@ -21,4 +21,4 @@ export declare function changePassword(ctx: Context<{
21
21
  export declare function requestPasswordReset(ctx: Context<{
22
22
  Bindings: Bindings;
23
23
  Variables: Variables;
24
- }>, client: EnrichedClient, email: string, state: string, verification_method?: "link" | "code"): Promise<void>;
24
+ }>, client: EnrichedClient, email: string, state: string, verification_method?: "link" | "code", routePrefix?: string): Promise<void>;
@@ -447,7 +447,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
447
447
  custom_login_page_preview?: string | undefined;
448
448
  form_template?: string | undefined;
449
449
  addons?: Record<string, any> | undefined;
450
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
450
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
451
451
  client_metadata?: Record<string, string> | undefined;
452
452
  hide_sign_up_disabled_error?: boolean | undefined;
453
453
  mobile?: Record<string, any> | undefined;
@@ -530,8 +530,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
530
530
  } | undefined;
531
531
  authenticated_at?: string | undefined;
532
532
  };
533
- connectionType: "sms" | "email" | "username";
534
- authConnection: "sms" | "email" | "username";
533
+ connectionType: "email" | "sms" | "username";
534
+ authConnection: "email" | "sms" | "username";
535
535
  session_id: string | undefined;
536
536
  authParams: {
537
537
  client_id: string;
@@ -27,7 +27,7 @@ export declare function sendSms(ctx: Context<{
27
27
  export declare function sendResetPassword(ctx: Context<{
28
28
  Bindings: Bindings;
29
29
  Variables: Variables;
30
- }>, to: string, code: string, state?: string, language?: string): Promise<void>;
30
+ }>, to: string, code: string, state?: string, language?: string, routePrefix?: string): Promise<void>;
31
31
  export declare function sendResetPasswordCode(ctx: Context<{
32
32
  Bindings: Bindings;
33
33
  Variables: Variables;