authhero 9.44.3 → 9.44.4

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.
@@ -890,10 +890,10 @@ export declare const userRoutes: OpenAPIHono<{
890
890
  };
891
891
  };
892
892
  output: {
893
- created_at: string;
893
+ client_id: string;
894
894
  user_id: string;
895
895
  id: string;
896
- client_id: string;
896
+ created_at: string;
897
897
  rotating: boolean;
898
898
  device: {
899
899
  initial_user_agent: string;
@@ -908,6 +908,11 @@ export declare const userRoutes: OpenAPIHono<{
908
908
  audience: string;
909
909
  scopes: string;
910
910
  }[];
911
+ session_transfer?: {
912
+ client_id: string;
913
+ family_id: string;
914
+ cascade_revocation: boolean;
915
+ } | undefined;
911
916
  expires_at?: string | undefined;
912
917
  session_id?: string | undefined;
913
918
  auth_connection?: string | undefined;
@@ -915,11 +920,6 @@ export declare const userRoutes: OpenAPIHono<{
915
920
  strategy: string;
916
921
  strategy_type: string;
917
922
  } | undefined;
918
- session_transfer?: {
919
- client_id: string;
920
- family_id: string;
921
- cascade_revocation: boolean;
922
- } | undefined;
923
923
  organization?: string | undefined;
924
924
  revoked_at?: string | undefined;
925
925
  idle_expires_at?: string | undefined;
@@ -929,10 +929,10 @@ export declare const userRoutes: OpenAPIHono<{
929
929
  limit: number;
930
930
  length: number;
931
931
  tokens: {
932
- created_at: string;
932
+ client_id: string;
933
933
  user_id: string;
934
934
  id: string;
935
- client_id: string;
935
+ created_at: string;
936
936
  rotating: boolean;
937
937
  device: {
938
938
  initial_user_agent: string;
@@ -947,6 +947,11 @@ export declare const userRoutes: OpenAPIHono<{
947
947
  audience: string;
948
948
  scopes: string;
949
949
  }[];
950
+ session_transfer?: {
951
+ client_id: string;
952
+ family_id: string;
953
+ cascade_revocation: boolean;
954
+ } | undefined;
950
955
  expires_at?: string | undefined;
951
956
  session_id?: string | undefined;
952
957
  auth_connection?: string | undefined;
@@ -954,11 +959,6 @@ export declare const userRoutes: OpenAPIHono<{
954
959
  strategy: string;
955
960
  strategy_type: string;
956
961
  } | undefined;
957
- session_transfer?: {
958
- client_id: string;
959
- family_id: string;
960
- cascade_revocation: boolean;
961
- } | undefined;
962
962
  organization?: string | undefined;
963
963
  revoked_at?: string | undefined;
964
964
  idle_expires_at?: string | undefined;
@@ -968,10 +968,10 @@ export declare const userRoutes: OpenAPIHono<{
968
968
  next?: string | undefined;
969
969
  } | {
970
970
  tokens: {
971
- created_at: string;
971
+ client_id: string;
972
972
  user_id: string;
973
973
  id: string;
974
- client_id: string;
974
+ created_at: string;
975
975
  rotating: boolean;
976
976
  device: {
977
977
  initial_user_agent: string;
@@ -986,6 +986,11 @@ export declare const userRoutes: OpenAPIHono<{
986
986
  audience: string;
987
987
  scopes: string;
988
988
  }[];
989
+ session_transfer?: {
990
+ client_id: string;
991
+ family_id: string;
992
+ cascade_revocation: boolean;
993
+ } | undefined;
989
994
  expires_at?: string | undefined;
990
995
  session_id?: string | undefined;
991
996
  auth_connection?: string | undefined;
@@ -993,11 +998,6 @@ export declare const userRoutes: OpenAPIHono<{
993
998
  strategy: string;
994
999
  strategy_type: string;
995
1000
  } | undefined;
996
- session_transfer?: {
997
- client_id: string;
998
- family_id: string;
999
- cascade_revocation: boolean;
1000
- } | undefined;
1001
1001
  organization?: string | undefined;
1002
1002
  revoked_at?: string | undefined;
1003
1003
  idle_expires_at?: string | undefined;
@@ -127,7 +127,7 @@ export declare function initJSXRoute(ctx: Context<{
127
127
  dark_mode_toggle?: boolean | undefined;
128
128
  terms_url?: string | undefined;
129
129
  privacy_url?: string | undefined;
130
- scope?: "shared" | "local" | "platform" | undefined;
130
+ scope?: "local" | "shared" | "platform" | undefined;
131
131
  override?: "none" | "secrets" | "fields" | undefined;
132
132
  enforce?: boolean | undefined;
133
133
  } | null;
@@ -203,7 +203,7 @@ export declare function initJSXRoute(ctx: Context<{
203
203
  use_scope_descriptions_for_consent?: boolean | undefined;
204
204
  inherit_global_permissions_in_organizations?: boolean | undefined;
205
205
  restrict_undefined_scopes?: boolean | undefined;
206
- universal_login_version?: "2" | "1" | undefined;
206
+ universal_login_version?: "1" | "2" | undefined;
207
207
  } | undefined;
208
208
  sandbox_version?: string | undefined;
209
209
  legacy_sandbox_version?: string | undefined;
@@ -514,7 +514,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
514
514
  dark_mode_toggle?: boolean | undefined;
515
515
  terms_url?: string | undefined;
516
516
  privacy_url?: string | undefined;
517
- scope?: "shared" | "local" | "platform" | undefined;
517
+ scope?: "local" | "shared" | "platform" | undefined;
518
518
  override?: "none" | "secrets" | "fields" | undefined;
519
519
  enforce?: boolean | undefined;
520
520
  } | null;
@@ -659,7 +659,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
659
659
  use_scope_descriptions_for_consent?: boolean | undefined;
660
660
  inherit_global_permissions_in_organizations?: boolean | undefined;
661
661
  restrict_undefined_scopes?: boolean | undefined;
662
- universal_login_version?: "2" | "1" | undefined;
662
+ universal_login_version?: "1" | "2" | undefined;
663
663
  } | undefined;
664
664
  sandbox_version?: string | undefined;
665
665
  legacy_sandbox_version?: string | undefined;
@@ -30,7 +30,7 @@ export declare const identifierRoutes: OpenAPIHono<{
30
30
  } & {
31
31
  form: {
32
32
  username: string;
33
- login_selection?: "code" | "password" | undefined;
33
+ login_selection?: "password" | "code" | undefined;
34
34
  };
35
35
  };
36
36
  output: {};
@@ -44,7 +44,7 @@ export declare const identifierRoutes: OpenAPIHono<{
44
44
  } & {
45
45
  form: {
46
46
  username: string;
47
- login_selection?: "code" | "password" | undefined;
47
+ login_selection?: "password" | "code" | undefined;
48
48
  };
49
49
  };
50
50
  output: {};
@@ -515,7 +515,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
515
515
  } & {
516
516
  form: {
517
517
  username: string;
518
- login_selection?: "code" | "password" | undefined;
518
+ login_selection?: "password" | "code" | undefined;
519
519
  };
520
520
  };
521
521
  output: {};
@@ -529,7 +529,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
529
529
  } & {
530
530
  form: {
531
531
  username: string;
532
- login_selection?: "code" | "password" | undefined;
532
+ login_selection?: "password" | "code" | undefined;
533
533
  };
534
534
  };
535
535
  output: {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/sesamyab/authhero"
13
13
  },
14
- "version": "9.44.3",
14
+ "version": "9.44.4",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -65,8 +65,8 @@
65
65
  "vite-plugin-dts": "^4.5.4",
66
66
  "vitest": "^4.1.7",
67
67
  "xml-crypto": "^6.1.2",
68
- "@authhero/kysely-adapter": "12.26.1",
69
- "@authhero/widget": "0.44.1"
68
+ "@authhero/widget": "0.44.1",
69
+ "@authhero/kysely-adapter": "12.26.1"
70
70
  },
71
71
  "dependencies": {
72
72
  "@peculiar/x509": "^1.14.3",