@azure/msal-common
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
@@ -0,1 +1,6 @@ | ||
# 1.0.0-beta.2 | ||
- Fixed an issue where types were not being exported from the correct location (#1613) | ||
- Fixed an issue where system configuration values were being overwritten with `undefined` (#1631) | ||
- Added support for sub-error codes from the eSTS service (#1533) | ||
# 1.0.0-beta.1 | ||
@@ -2,0 +7,0 @@ - Fixed an issue where types are not exported correctly (#1517) |
@@ -73,2 +73,3 @@ import { ICacheStorage } from "../cache/ICacheStorage"; | ||
}; | ||
export declare const DEFAULT_SYSTEM_OPTIONS: SystemOptions; | ||
/** | ||
@@ -75,0 +76,0 @@ * Function that sets the default options when not explicitly configured from app developer |
@@ -5,13 +5,4 @@ import { ServerError } from "./ServerError"; | ||
*/ | ||
export declare const InteractionRequiredAuthErrorMessage: { | ||
interactionRequired: { | ||
code: string; | ||
}; | ||
consentRequired: { | ||
code: string; | ||
}; | ||
loginRequired: { | ||
code: string; | ||
}; | ||
}; | ||
export declare const InteractionRequiredAuthErrorMessage: string[]; | ||
export declare const InteractionRequiredAuthSubErrorMessage: string[]; | ||
/** | ||
@@ -21,4 +12,4 @@ * Error thrown when user interaction is required at the auth server. | ||
export declare class InteractionRequiredAuthError extends ServerError { | ||
constructor(errorCode: string, errorMessage?: string); | ||
static isInteractionRequiredError(errorCode: string, errorString: string): boolean; | ||
constructor(errorCode: string, errorMessage?: string, subError?: string); | ||
static isInteractionRequiredError(errorCode: string, errorString: string, subError?: string): boolean; | ||
} |
@@ -6,3 +6,4 @@ import { AuthError } from "./AuthError"; | ||
export declare class ServerError extends AuthError { | ||
constructor(errorCode: string, errorMessage?: string); | ||
subError: string; | ||
constructor(errorCode: string, errorMessage?: string, subError?: string); | ||
} |
@@ -5,3 +5,3 @@ export { SPAClient } from "./client/SPAClient"; | ||
export { RefreshTokenClient } from "./client/RefreshTokenClient"; | ||
export { AuthOptions, SystemOptions, LoggerOptions, TelemetryOptions } from "./config/ClientConfiguration"; | ||
export { AuthOptions, SystemOptions, LoggerOptions, TelemetryOptions, DEFAULT_SYSTEM_OPTIONS } from "./config/ClientConfiguration"; | ||
export { ClientConfiguration } from "./config/ClientConfiguration"; | ||
@@ -8,0 +8,0 @@ export { Account } from "./account/Account"; |
@@ -15,2 +15,3 @@ /** | ||
error_description?: string; | ||
suberror?: string; | ||
}; |
@@ -30,2 +30,3 @@ /** | ||
error_codes?: Array<string>; | ||
suberror?: string; | ||
timestamp?: string; | ||
@@ -32,0 +33,0 @@ trace_id?: string; |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -16,0 +16,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1165997
13115