authhero 4.59.0 → 4.61.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/index.esm.js +1 -1
- package/dist/authhero.cjs +97 -97
- package/dist/authhero.d.ts +20 -0
- package/dist/authhero.mjs +10204 -10112
- package/dist/stats.html +1 -1
- package/package.json +5 -5
package/dist/authhero.d.ts
CHANGED
|
@@ -40796,6 +40796,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
40796
40796
|
state_data: z.ZodOptional<z.ZodString>;
|
|
40797
40797
|
failure_reason: z.ZodOptional<z.ZodString>;
|
|
40798
40798
|
user_id: z.ZodOptional<z.ZodString>;
|
|
40799
|
+
auth_connection: z.ZodOptional<z.ZodString>;
|
|
40799
40800
|
}, "strip", z.ZodTypeAny, {
|
|
40800
40801
|
state: LoginSessionState;
|
|
40801
40802
|
expires_at: string;
|
|
@@ -40829,6 +40830,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
40829
40830
|
authorization_url?: string | undefined;
|
|
40830
40831
|
state_data?: string | undefined;
|
|
40831
40832
|
failure_reason?: string | undefined;
|
|
40833
|
+
auth_connection?: string | undefined;
|
|
40832
40834
|
}, {
|
|
40833
40835
|
expires_at: string;
|
|
40834
40836
|
csrf_token: string;
|
|
@@ -40862,6 +40864,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
40862
40864
|
authorization_url?: string | undefined;
|
|
40863
40865
|
state_data?: string | undefined;
|
|
40864
40866
|
failure_reason?: string | undefined;
|
|
40867
|
+
auth_connection?: string | undefined;
|
|
40865
40868
|
}>;
|
|
40866
40869
|
export type LoginSessionInsert = z.input<typeof loginSessionInsertSchema>;
|
|
40867
40870
|
export declare const loginSessionSchema: z.ZodObject<{
|
|
@@ -40938,6 +40941,7 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
40938
40941
|
state_data: z.ZodOptional<z.ZodString>;
|
|
40939
40942
|
failure_reason: z.ZodOptional<z.ZodString>;
|
|
40940
40943
|
user_id: z.ZodOptional<z.ZodString>;
|
|
40944
|
+
auth_connection: z.ZodOptional<z.ZodString>;
|
|
40941
40945
|
}, "strip", z.ZodTypeAny, {
|
|
40942
40946
|
created_at: string;
|
|
40943
40947
|
updated_at: string;
|
|
@@ -40974,6 +40978,7 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
40974
40978
|
authorization_url?: string | undefined;
|
|
40975
40979
|
state_data?: string | undefined;
|
|
40976
40980
|
failure_reason?: string | undefined;
|
|
40981
|
+
auth_connection?: string | undefined;
|
|
40977
40982
|
}, {
|
|
40978
40983
|
created_at: string;
|
|
40979
40984
|
updated_at: string;
|
|
@@ -41010,6 +41015,7 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
41010
41015
|
authorization_url?: string | undefined;
|
|
41011
41016
|
state_data?: string | undefined;
|
|
41012
41017
|
failure_reason?: string | undefined;
|
|
41018
|
+
auth_connection?: string | undefined;
|
|
41013
41019
|
}>;
|
|
41014
41020
|
export type LoginSession = z.infer<typeof loginSessionSchema>;
|
|
41015
41021
|
export declare const LogTypes: {
|
|
@@ -61814,6 +61820,20 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61814
61820
|
Bindings: Bindings;
|
|
61815
61821
|
Variables: Variables;
|
|
61816
61822
|
}, import("hono/types").MergeSchemaPath<{
|
|
61823
|
+
"/": {
|
|
61824
|
+
$get: {
|
|
61825
|
+
input: {
|
|
61826
|
+
query: {
|
|
61827
|
+
error?: string | undefined;
|
|
61828
|
+
error_description?: string | undefined;
|
|
61829
|
+
};
|
|
61830
|
+
};
|
|
61831
|
+
output: {};
|
|
61832
|
+
outputFormat: string;
|
|
61833
|
+
status: 200;
|
|
61834
|
+
};
|
|
61835
|
+
};
|
|
61836
|
+
}, "/error"> & import("hono/types").MergeSchemaPath<{
|
|
61817
61837
|
"/": {
|
|
61818
61838
|
$get: {
|
|
61819
61839
|
input: {
|