authhero 8.4.0 → 8.4.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 (55) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/{p-aa120307.entry.js → p-1fc7fcdb.entry.js} +1 -1
  3. package/dist/assets/u/widget/p-5f7b7943.entry.js +1 -0
  4. package/dist/authhero.cjs +105 -105
  5. package/dist/authhero.d.ts +197 -197
  6. package/dist/authhero.mjs +1456 -1403
  7. package/dist/stats.html +1 -1
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  10. package/dist/types/emails/defaults/BlockedAccount.d.ts +1 -1
  11. package/dist/types/emails/defaults/ChangePassword.d.ts +1 -1
  12. package/dist/types/emails/defaults/EnrollmentEmail.d.ts +1 -1
  13. package/dist/types/emails/defaults/Layout.d.ts +1 -1
  14. package/dist/types/emails/defaults/MfaOobCode.d.ts +1 -1
  15. package/dist/types/emails/defaults/PasswordReset.d.ts +1 -1
  16. package/dist/types/emails/defaults/PrimaryButton.d.ts +1 -1
  17. package/dist/types/emails/defaults/ResetEmail.d.ts +1 -1
  18. package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -1
  19. package/dist/types/emails/defaults/StolenCredentials.d.ts +1 -1
  20. package/dist/types/emails/defaults/UserInvitation.d.ts +1 -1
  21. package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -1
  22. package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -1
  23. package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -1
  24. package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
  25. package/dist/types/hooks/post-user-login.d.ts +2 -0
  26. package/dist/types/index.d.ts +197 -197
  27. package/dist/types/routes/auth-api/index.d.ts +13 -13
  28. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  29. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  30. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  31. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  32. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  33. package/dist/types/routes/management-api/actions.d.ts +1 -1
  34. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  35. package/dist/types/routes/management-api/branding.d.ts +6 -6
  36. package/dist/types/routes/management-api/clients.d.ts +7 -7
  37. package/dist/types/routes/management-api/connections.d.ts +1 -1
  38. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  39. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  40. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  41. package/dist/types/routes/management-api/index.d.ts +178 -178
  42. package/dist/types/routes/management-api/logs.d.ts +3 -3
  43. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  44. package/dist/types/routes/management-api/organizations.d.ts +3 -3
  45. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  46. package/dist/types/routes/management-api/themes.d.ts +3 -3
  47. package/dist/types/routes/management-api/users.d.ts +2 -2
  48. package/dist/types/routes/universal-login/common.d.ts +6 -6
  49. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  50. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  51. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  52. package/dist/types/types/IdToken.d.ts +1 -1
  53. package/dist/types/utils/jwks.d.ts +2 -2
  54. package/package.json +3 -3
  55. package/dist/assets/u/widget/p-35c8b265.entry.js +0 -1
@@ -457,7 +457,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
457
457
  custom_login_page_preview?: string | undefined;
458
458
  form_template?: string | undefined;
459
459
  addons?: Record<string, any> | undefined;
460
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
460
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
461
461
  client_metadata?: Record<string, string> | undefined;
462
462
  hide_sign_up_disabled_error?: boolean | undefined;
463
463
  mobile?: Record<string, any> | undefined;
@@ -540,8 +540,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
540
540
  } | undefined;
541
541
  authenticated_at?: string | undefined;
542
542
  };
543
- connectionType: "email" | "username" | "sms";
544
- authConnection: "email" | "username" | "sms";
543
+ connectionType: "username" | "email" | "sms";
544
+ authConnection: "username" | "email" | "sms";
545
545
  session_id: string | undefined;
546
546
  authParams: {
547
547
  client_id: string;
@@ -1 +1 @@
1
- export declare function BlockedAccount(): import("react").JSX.Element;
1
+ export declare function BlockedAccount(): import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@
3
3
  * Auth0-import compatibility. authhero never sends this; the active path is
4
4
  * `reset_email` / `reset_email_by_code`.
5
5
  */
6
- export declare function ChangePassword(): import("react").JSX.Element;
6
+ export declare function ChangePassword(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function EnrollmentEmail(): import("react").JSX.Element;
1
+ export declare function EnrollmentEmail(): import("react/jsx-runtime").JSX.Element;
@@ -8,5 +8,5 @@ interface LayoutProps {
8
8
  * (logo, colors, signature, address) is emitted as a raw Liquid placeholder
9
9
  * and resolved at send time from the tenant's branding + per-send vars.
10
10
  */
11
- export declare function Layout({ preview, children }: LayoutProps): import("react").JSX.Element;
11
+ export declare function Layout({ preview, children }: LayoutProps): import("react/jsx-runtime").JSX.Element;
12
12
  export {};
@@ -1 +1 @@
1
- export declare function MfaOobCode(): import("react").JSX.Element;
1
+ export declare function MfaOobCode(): import("react/jsx-runtime").JSX.Element;
@@ -2,4 +2,4 @@
2
2
  * Legacy Auth0 template name. Notification that a password was changed (no
3
3
  * call-to-action). Kept for Auth0-import compatibility.
4
4
  */
5
- export declare function PasswordReset(): import("react").JSX.Element;
5
+ export declare function PasswordReset(): import("react/jsx-runtime").JSX.Element;
@@ -10,5 +10,5 @@ interface PrimaryButtonProps {
10
10
  * would not survive React Email's HTML escaping — single quotes become
11
11
  * `&#x27;`, which liquidjs cannot parse as a string literal.
12
12
  */
13
- export declare function PrimaryButton({ href, children }: PrimaryButtonProps): import("react").JSX.Element;
13
+ export declare function PrimaryButton({ href, children }: PrimaryButtonProps): import("react/jsx-runtime").JSX.Element;
14
14
  export {};
@@ -1 +1 @@
1
- export declare function ResetEmail(): import("react").JSX.Element;
1
+ export declare function ResetEmail(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function ResetEmailByCode(): import("react").JSX.Element;
1
+ export declare function ResetEmailByCode(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function StolenCredentials(): import("react").JSX.Element;
1
+ export declare function StolenCredentials(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function UserInvitation(): import("react").JSX.Element;
1
+ export declare function UserInvitation(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function VerifyEmail(): import("react").JSX.Element;
1
+ export declare function VerifyEmail(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function VerifyEmailByCode(): import("react").JSX.Element;
1
+ export declare function VerifyEmailByCode(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function WelcomeEmail(): import("react").JSX.Element;
1
+ export declare function WelcomeEmail(): import("react/jsx-runtime").JSX.Element;
@@ -23,11 +23,11 @@ export declare const dcrRequestSchema: z.ZodObject<{
23
23
  grant_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
24
  response_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
25
  token_endpoint_auth_method: z.ZodOptional<z.ZodEnum<{
26
+ none: "none";
27
+ private_key_jwt: "private_key_jwt";
26
28
  client_secret_post: "client_secret_post";
27
29
  client_secret_basic: "client_secret_basic";
28
- none: "none";
29
30
  client_secret_jwt: "client_secret_jwt";
30
- private_key_jwt: "private_key_jwt";
31
31
  }>>;
32
32
  jwks_uri: z.ZodOptional<z.ZodString>;
33
33
  jwks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -26,4 +26,6 @@ export declare function postUserLoginHook(ctx: Context<{
26
26
  strategy: string;
27
27
  strategy_type: string;
28
28
  };
29
+ /** The connection name actually used to authenticate. */
30
+ authConnection?: string;
29
31
  }): Promise<User | Response>;