authhero 5.16.0 → 5.17.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 (50) hide show
  1. package/dist/authhero.cjs +70 -70
  2. package/dist/authhero.d.ts +315 -265
  3. package/dist/authhero.mjs +4304 -4265
  4. package/dist/stats.html +1 -1
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  7. package/dist/types/emails/defaults/Layout.d.ts +1 -1
  8. package/dist/types/emails/defaults/PrimaryButton.d.ts +1 -1
  9. package/dist/types/emails/defaults/ResetEmail.d.ts +1 -1
  10. package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -1
  11. package/dist/types/emails/defaults/UserInvitation.d.ts +1 -1
  12. package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -1
  13. package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -1
  14. package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -1
  15. package/dist/types/index.d.ts +239 -238
  16. package/dist/types/middlewares/authentication.d.ts +17 -0
  17. package/dist/types/routes/auth-api/authorize.d.ts +12 -12
  18. package/dist/types/routes/auth-api/index.d.ts +54 -54
  19. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  20. package/dist/types/routes/auth-api/passwordless.d.ts +18 -18
  21. package/dist/types/routes/auth-api/token.d.ts +21 -21
  22. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  23. package/dist/types/routes/management-api/actions.d.ts +1 -1
  24. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  25. package/dist/types/routes/management-api/branding.d.ts +8 -8
  26. package/dist/types/routes/management-api/connections.d.ts +1 -1
  27. package/dist/types/routes/management-api/email-templates.d.ts +14 -14
  28. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  29. package/dist/types/routes/management-api/forms.d.ts +119 -119
  30. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  31. package/dist/types/routes/management-api/index.d.ts +169 -169
  32. package/dist/types/routes/management-api/logs.d.ts +3 -3
  33. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  34. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  35. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  36. package/dist/types/routes/management-api/themes.d.ts +3 -3
  37. package/dist/types/routes/management-api/users.d.ts +2 -2
  38. package/dist/types/routes/universal-login/common.d.ts +4 -4
  39. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  40. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  41. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  42. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  43. package/dist/types/routes/universal-login/index.d.ts +8 -8
  44. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  45. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  46. package/dist/types/types/AuthHeroConfig.d.ts +33 -0
  47. package/dist/types/types/Hooks.d.ts +1 -1
  48. package/dist/types/types/IdToken.d.ts +1 -1
  49. package/dist/types/types/Variables.d.ts +1 -0
  50. package/package.json +3 -3
@@ -531,8 +531,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
531
531
  } | undefined;
532
532
  authenticated_at?: string | undefined;
533
533
  };
534
- connectionType: "sms" | "email" | "username";
535
- authConnection: "sms" | "email" | "username";
534
+ connectionType: "username" | "email" | "sms";
535
+ authConnection: "username" | "email" | "sms";
536
536
  session_id: string | undefined;
537
537
  authParams: {
538
538
  client_id: string;
@@ -8,5 +8,5 @@ interface LayoutProps {
8
8
  * (`{{ branding.logo }}`, `{{ tenant.support_url }}`, etc.) are emitted as
9
9
  * raw strings; the runtime Liquid pass interpolates them per-send.
10
10
  */
11
- export declare function Layout({ preview, children }: LayoutProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function Layout({ preview, children }: LayoutProps): import("react").JSX.Element;
12
12
  export {};
@@ -7,5 +7,5 @@ interface PrimaryButtonProps {
7
7
  * Liquid-friendly button. The background color is a Liquid placeholder so the
8
8
  * runtime pass can substitute the tenant's `branding.primary_color`.
9
9
  */
10
- export declare function PrimaryButton({ href, children }: PrimaryButtonProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function PrimaryButton({ href, children }: PrimaryButtonProps): import("react").JSX.Element;
11
11
  export {};
@@ -1 +1 @@
1
- export declare function ResetEmail(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ResetEmail(): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function ResetEmailByCode(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ResetEmailByCode(): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function UserInvitation(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function UserInvitation(): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function VerifyEmail(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function VerifyEmail(): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function VerifyEmailByCode(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function VerifyEmailByCode(): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function WelcomeEmail(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function WelcomeEmail(): import("react").JSX.Element;