@absolutejs/auth 0.58.0 → 0.59.1

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/index.d.ts CHANGED
@@ -937,7 +937,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
937
937
  query: unknown;
938
938
  headers: unknown;
939
939
  response: {
940
- 401: "Authentication required";
940
+ 401: "Recent authentication required" | "Authentication required";
941
941
  200: {
942
942
  readonly status: "disabled";
943
943
  };
@@ -961,7 +961,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
961
961
  query: unknown;
962
962
  headers: unknown;
963
963
  response: {
964
- 401: "Authentication required";
964
+ 401: "Recent authentication required" | "Authentication required";
965
965
  200: {
966
966
  readonly secret: string;
967
967
  readonly uri: string;
@@ -989,7 +989,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
989
989
  headers: unknown;
990
990
  response: {
991
991
  400: "No TOTP enrollment in progress" | "Invalid TOTP code";
992
- 401: "Authentication required";
992
+ 401: "Recent authentication required" | "Authentication required";
993
993
  200: {
994
994
  readonly backupCodes: string[];
995
995
  };
@@ -1016,7 +1016,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
1016
1016
  headers: unknown;
1017
1017
  response: {
1018
1018
  400: string;
1019
- 401: "Authentication required";
1019
+ 401: "Recent authentication required" | "Authentication required";
1020
1020
  501: "SMS MFA is not configured";
1021
1021
  200: {
1022
1022
  readonly phone: string;
@@ -1046,7 +1046,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
1046
1046
  headers: unknown;
1047
1047
  response: {
1048
1048
  400: string;
1049
- 401: "Authentication required";
1049
+ 401: "Recent authentication required" | "Authentication required";
1050
1050
  200: {
1051
1051
  readonly status: "enrolled";
1052
1052
  };
@@ -1077,7 +1077,7 @@ export declare const createAuthApplications: <UserType>(configuration: AuthConfi
1077
1077
  headers: unknown;
1078
1078
  response: {
1079
1079
  400: string;
1080
- 401: "SMS code expired" | "Too many attempts" | "No MFA challenge in progress" | "Invalid MFA code";
1080
+ 401: "SMS code expired" | "Too many attempts" | "SMS challenge is no longer active" | "No MFA challenge in progress" | "Invalid MFA code";
1081
1081
  200: {
1082
1082
  readonly status: "sent";
1083
1083
  } | {