authhero 5.17.0 → 5.18.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.
- package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/p-35c8b265.entry.js +1 -0
- package/dist/authhero.cjs +118 -122
- package/dist/authhero.d.ts +111 -85
- package/dist/authhero.mjs +8804 -8712
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +4 -4
- package/dist/types/emails/defaults/Layout.d.ts +4 -4
- package/dist/types/emails/defaults/PrimaryButton.d.ts +6 -3
- package/dist/types/emails/defaults/ResetEmail.d.ts +1 -1
- package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/UserInvitation.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -1
- package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -1
- package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -1
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/index.d.ts +101 -84
- package/dist/types/middlewares/index.d.ts +3 -0
- package/dist/types/middlewares/prefer.d.ts +12 -0
- package/dist/types/routes/auth-api/index.d.ts +18 -18
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +9 -9
- package/dist/types/routes/management-api/connections.d.ts +5 -5
- package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
- package/dist/types/routes/management-api/email-templates.d.ts +31 -14
- package/dist/types/routes/management-api/index.d.ts +75 -58
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/types/Hooks.d.ts +1 -1
- package/dist/types/types/IdToken.d.ts +1 -1
- package/dist/types/types/Variables.d.ts +2 -0
- package/package.json +6 -6
- package/dist/assets/u/widget/p-f0f9eca3.entry.js +0 -1
|
@@ -404,7 +404,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
404
404
|
} | undefined;
|
|
405
405
|
} | undefined;
|
|
406
406
|
passkey_options?: {
|
|
407
|
-
challenge_ui?: "
|
|
407
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
408
408
|
local_enrollment_enabled?: boolean | undefined;
|
|
409
409
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
410
410
|
} | undefined;
|
|
@@ -448,7 +448,7 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
448
448
|
custom_login_page_preview?: string | undefined;
|
|
449
449
|
form_template?: string | undefined;
|
|
450
450
|
addons?: Record<string, any> | undefined;
|
|
451
|
-
token_endpoint_auth_method?: "
|
|
451
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
452
452
|
client_metadata?: Record<string, string> | undefined;
|
|
453
453
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
454
454
|
mobile?: Record<string, any> | undefined;
|
|
@@ -531,8 +531,8 @@ export declare function passwordlessGrantUser(ctx: Context<{
|
|
|
531
531
|
} | undefined;
|
|
532
532
|
authenticated_at?: string | undefined;
|
|
533
533
|
};
|
|
534
|
-
connectionType: "
|
|
535
|
-
authConnection: "
|
|
534
|
+
connectionType: "username" | "email" | "sms";
|
|
535
|
+
authConnection: "username" | "email" | "sms";
|
|
536
536
|
session_id: string | undefined;
|
|
537
537
|
authParams: {
|
|
538
538
|
client_id: string;
|
|
@@ -4,9 +4,9 @@ interface LayoutProps {
|
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
* Shared frame for all built-in email defaults.
|
|
8
|
-
* (
|
|
9
|
-
*
|
|
7
|
+
* Shared frame for all built-in email defaults. Every visual token
|
|
8
|
+
* (logo, colors, signature, address) is emitted as a raw Liquid placeholder
|
|
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
|
|
11
|
+
export declare function Layout({ preview, children }: LayoutProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -4,8 +4,11 @@ interface PrimaryButtonProps {
|
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
* Liquid-friendly button.
|
|
8
|
-
*
|
|
7
|
+
* Liquid-friendly button. Background, text color, and border radius are
|
|
8
|
+
* emitted as raw Liquid placeholders; `sendTemplatedEmail` is responsible
|
|
9
|
+
* for resolving defaults before render. Inlining `| default: '...'` here
|
|
10
|
+
* would not survive React Email's HTML escaping — single quotes become
|
|
11
|
+
* `'`, which liquidjs cannot parse as a string literal.
|
|
9
12
|
*/
|
|
10
|
-
export declare function PrimaryButton({ href, children }: PrimaryButtonProps): import("react
|
|
13
|
+
export declare function PrimaryButton({ href, children }: PrimaryButtonProps): import("react").JSX.Element;
|
|
11
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function ResetEmail(): import("react
|
|
1
|
+
export declare function ResetEmail(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function ResetEmailByCode(): import("react
|
|
1
|
+
export declare function ResetEmailByCode(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function UserInvitation(): import("react
|
|
1
|
+
export declare function UserInvitation(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function VerifyEmail(): import("react
|
|
1
|
+
export declare function VerifyEmail(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function VerifyEmailByCode(): import("react
|
|
1
|
+
export declare function VerifyEmailByCode(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function WelcomeEmail(): import("react
|
|
1
|
+
export declare function WelcomeEmail(): import("react").JSX.Element;
|
|
@@ -23,9 +23,9 @@ 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";
|
|
26
27
|
client_secret_post: "client_secret_post";
|
|
27
28
|
client_secret_basic: "client_secret_basic";
|
|
28
|
-
none: "none";
|
|
29
29
|
client_secret_jwt: "client_secret_jwt";
|
|
30
30
|
private_key_jwt: "private_key_jwt";
|
|
31
31
|
}>>;
|