authhero 0.59.0 → 0.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/authhero.cjs +28 -28
- package/dist/authhero.d.ts +9 -9
- package/dist/authhero.mjs +856 -829
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -2713,7 +2713,7 @@ export type Password = z.infer<typeof passwordSchema>;
|
|
|
2713
2713
|
export declare const sessionInsertSchema: z.ZodObject<{
|
|
2714
2714
|
id: z.ZodString;
|
|
2715
2715
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
2716
|
-
used_at: z.ZodString
|
|
2716
|
+
used_at: z.ZodOptional<z.ZodString>;
|
|
2717
2717
|
user_id: z.ZodString;
|
|
2718
2718
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
2719
2719
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
@@ -2743,7 +2743,6 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
2743
2743
|
}, "strip", z.ZodTypeAny, {
|
|
2744
2744
|
user_id: string;
|
|
2745
2745
|
id: string;
|
|
2746
|
-
used_at: string;
|
|
2747
2746
|
device: {
|
|
2748
2747
|
last_ip: string;
|
|
2749
2748
|
initial_user_agent: string;
|
|
@@ -2754,12 +2753,12 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
2754
2753
|
};
|
|
2755
2754
|
clients: string[];
|
|
2756
2755
|
expires_at?: string | undefined;
|
|
2756
|
+
used_at?: string | undefined;
|
|
2757
2757
|
revoked_at?: string | undefined;
|
|
2758
2758
|
idle_expires_at?: string | undefined;
|
|
2759
2759
|
}, {
|
|
2760
2760
|
user_id: string;
|
|
2761
2761
|
id: string;
|
|
2762
|
-
used_at: string;
|
|
2763
2762
|
device: {
|
|
2764
2763
|
last_ip: string;
|
|
2765
2764
|
initial_user_agent: string;
|
|
@@ -2770,6 +2769,7 @@ export declare const sessionInsertSchema: z.ZodObject<{
|
|
|
2770
2769
|
};
|
|
2771
2770
|
clients: string[];
|
|
2772
2771
|
expires_at?: string | undefined;
|
|
2772
|
+
used_at?: string | undefined;
|
|
2773
2773
|
revoked_at?: string | undefined;
|
|
2774
2774
|
idle_expires_at?: string | undefined;
|
|
2775
2775
|
}>;
|
|
@@ -2777,7 +2777,7 @@ export type SessionInsert = z.infer<typeof sessionInsertSchema>;
|
|
|
2777
2777
|
export declare const sessionSchema: z.ZodObject<{
|
|
2778
2778
|
id: z.ZodString;
|
|
2779
2779
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
2780
|
-
used_at: z.ZodString
|
|
2780
|
+
used_at: z.ZodOptional<z.ZodString>;
|
|
2781
2781
|
user_id: z.ZodString;
|
|
2782
2782
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
2783
2783
|
idle_expires_at: z.ZodOptional<z.ZodString>;
|
|
@@ -2813,7 +2813,6 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
2813
2813
|
updated_at: string;
|
|
2814
2814
|
user_id: string;
|
|
2815
2815
|
id: string;
|
|
2816
|
-
used_at: string;
|
|
2817
2816
|
device: {
|
|
2818
2817
|
last_ip: string;
|
|
2819
2818
|
initial_user_agent: string;
|
|
@@ -2826,6 +2825,7 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
2826
2825
|
authenticated_at: string;
|
|
2827
2826
|
last_interaction_at: string;
|
|
2828
2827
|
expires_at?: string | undefined;
|
|
2828
|
+
used_at?: string | undefined;
|
|
2829
2829
|
revoked_at?: string | undefined;
|
|
2830
2830
|
idle_expires_at?: string | undefined;
|
|
2831
2831
|
}, {
|
|
@@ -2833,7 +2833,6 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
2833
2833
|
updated_at: string;
|
|
2834
2834
|
user_id: string;
|
|
2835
2835
|
id: string;
|
|
2836
|
-
used_at: string;
|
|
2837
2836
|
device: {
|
|
2838
2837
|
last_ip: string;
|
|
2839
2838
|
initial_user_agent: string;
|
|
@@ -2846,6 +2845,7 @@ export declare const sessionSchema: z.ZodObject<{
|
|
|
2846
2845
|
authenticated_at: string;
|
|
2847
2846
|
last_interaction_at: string;
|
|
2848
2847
|
expires_at?: string | undefined;
|
|
2848
|
+
used_at?: string | undefined;
|
|
2849
2849
|
revoked_at?: string | undefined;
|
|
2850
2850
|
idle_expires_at?: string | undefined;
|
|
2851
2851
|
}>;
|
|
@@ -4817,7 +4817,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
4817
4817
|
updated_at: string;
|
|
4818
4818
|
user_id: string;
|
|
4819
4819
|
id: string;
|
|
4820
|
-
used_at: string;
|
|
4821
4820
|
device: {
|
|
4822
4821
|
last_ip: string;
|
|
4823
4822
|
initial_user_agent: string;
|
|
@@ -4830,6 +4829,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
4830
4829
|
authenticated_at: string;
|
|
4831
4830
|
last_interaction_at: string;
|
|
4832
4831
|
expires_at?: string | undefined;
|
|
4832
|
+
used_at?: string | undefined;
|
|
4833
4833
|
revoked_at?: string | undefined;
|
|
4834
4834
|
idle_expires_at?: string | undefined;
|
|
4835
4835
|
};
|
|
@@ -6427,7 +6427,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6427
6427
|
updated_at: string;
|
|
6428
6428
|
user_id: string;
|
|
6429
6429
|
id: string;
|
|
6430
|
-
used_at: string;
|
|
6431
6430
|
device: {
|
|
6432
6431
|
last_ip: string;
|
|
6433
6432
|
initial_user_agent: string;
|
|
@@ -6440,6 +6439,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6440
6439
|
authenticated_at: string;
|
|
6441
6440
|
last_interaction_at: string;
|
|
6442
6441
|
expires_at?: string | undefined;
|
|
6442
|
+
used_at?: string | undefined;
|
|
6443
6443
|
revoked_at?: string | undefined;
|
|
6444
6444
|
idle_expires_at?: string | undefined;
|
|
6445
6445
|
}[] | {
|
|
@@ -6451,7 +6451,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6451
6451
|
updated_at: string;
|
|
6452
6452
|
user_id: string;
|
|
6453
6453
|
id: string;
|
|
6454
|
-
used_at: string;
|
|
6455
6454
|
device: {
|
|
6456
6455
|
last_ip: string;
|
|
6457
6456
|
initial_user_agent: string;
|
|
@@ -6464,6 +6463,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6464
6463
|
authenticated_at: string;
|
|
6465
6464
|
last_interaction_at: string;
|
|
6466
6465
|
expires_at?: string | undefined;
|
|
6466
|
+
used_at?: string | undefined;
|
|
6467
6467
|
revoked_at?: string | undefined;
|
|
6468
6468
|
idle_expires_at?: string | undefined;
|
|
6469
6469
|
}[];
|