authhero 8.4.0 → 8.5.0

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 (58) 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 +240 -224
  6. package/dist/authhero.mjs +1509 -1472
  7. package/dist/stats.html +1 -1
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/passwordless.d.ts +1 -1
  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 +223 -221
  27. package/dist/types/routes/auth-api/account.d.ts +2 -2
  28. package/dist/types/routes/auth-api/index.d.ts +23 -23
  29. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  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 +8 -8
  39. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  40. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  41. package/dist/types/routes/management-api/flows.d.ts +7 -7
  42. package/dist/types/routes/management-api/forms.d.ts +119 -119
  43. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  44. package/dist/types/routes/management-api/index.d.ts +192 -192
  45. package/dist/types/routes/management-api/logs.d.ts +3 -3
  46. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  47. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  48. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  49. package/dist/types/routes/management-api/themes.d.ts +3 -3
  50. package/dist/types/routes/management-api/users.d.ts +2 -2
  51. package/dist/types/routes/universal-login/common.d.ts +6 -6
  52. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  53. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  54. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  55. package/dist/types/types/IdToken.d.ts +1 -1
  56. package/dist/types/utils/jwks.d.ts +2 -2
  57. package/package.json +3 -3
  58. package/dist/assets/u/widget/p-35c8b265.entry.js +0 -1
@@ -438,7 +438,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
438
438
  }[];
439
439
  description?: string | undefined;
440
440
  client_secret?: string | undefined;
441
- app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
441
+ app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
442
442
  logo_uri?: string | undefined;
443
443
  callbacks?: string[] | undefined;
444
444
  allowed_origins?: string[] | undefined;
@@ -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>;