authhero 0.51.0 → 0.52.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/authhero.cjs +28 -28
- package/dist/authhero.d.ts +3 -1
- package/dist/authhero.mjs +1355 -1355
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -2953,7 +2953,7 @@ export declare enum GrantType {
|
|
|
2953
2953
|
Passwordless = "passwordless",
|
|
2954
2954
|
Password = "password"
|
|
2955
2955
|
}
|
|
2956
|
-
declare const tokenResponseSchema: z.ZodObject<{
|
|
2956
|
+
export declare const tokenResponseSchema: z.ZodObject<{
|
|
2957
2957
|
access_token: z.ZodString;
|
|
2958
2958
|
id_token: z.ZodOptional<z.ZodString>;
|
|
2959
2959
|
scope: z.ZodOptional<z.ZodString>;
|
|
@@ -6543,6 +6543,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6543
6543
|
token_type: string;
|
|
6544
6544
|
expires_in: number;
|
|
6545
6545
|
refresh_token?: string | undefined;
|
|
6546
|
+
state?: string | undefined;
|
|
6547
|
+
scope?: string | undefined;
|
|
6546
6548
|
id_token?: string | undefined;
|
|
6547
6549
|
};
|
|
6548
6550
|
outputFormat: "json" | "text";
|