@azure/msal-browser
Advanced tools
Comparing version 3.7.2-alpha.3 to 3.8.1-beta.0
@@ -50,4 +50,6 @@ import { Logger, ICrypto, AccountEntity, ScopeSet, IPerformanceClient, TokenClaims } from "@azure/msal-common"; | ||
* If the previous page called native platform for a token using redirect APIs, send the same request again and return the response | ||
* @param performanceClient {IPerformanceClient?} | ||
* @param correlationId {string?} correlation identifier | ||
*/ | ||
handleRedirectPromise(): Promise<AuthenticationResult | null>; | ||
handleRedirectPromise(performanceClient?: IPerformanceClient, correlationId?: string): Promise<AuthenticationResult | null>; | ||
/** | ||
@@ -54,0 +56,0 @@ * Logout from native platform via browser extension |
@@ -23,5 +23,7 @@ import { ServerTelemetryManager, ServerAuthorizationCodeResponse, ICrypto, Logger, IPerformanceClient } from "@azure/msal-common"; | ||
* - if false, handles hash string and parses response | ||
* @param hash | ||
* @param hash {string?} url hash | ||
* @param performanceClient {IPerformanceClient?} | ||
* @param correlationId {string?} correlation identifier | ||
*/ | ||
handleRedirectPromise(hash?: string): Promise<AuthenticationResult | null>; | ||
handleRedirectPromise(hash?: string, performanceClient?: IPerformanceClient, correlationId?: string): Promise<AuthenticationResult | null>; | ||
/** | ||
@@ -28,0 +30,0 @@ * Gets the response hash for a redirect request |
export declare const name = "@azure/msal-browser"; | ||
export declare const version = "3.7.2-alpha.3"; | ||
export declare const version = "3.8.1-beta.0"; | ||
//# sourceMappingURL=packageMetadata.d.ts.map |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "3.7.2-alpha.3", | ||
"version": "3.8.1-beta.0", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -105,4 +105,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@azure/msal-common": "14.6.2-alpha.3" | ||
"@azure/msal-common": "14.6.2-beta.0" | ||
} | ||
} |
@@ -323,4 +323,9 @@ /* | ||
* If the previous page called native platform for a token using redirect APIs, send the same request again and return the response | ||
* @param performanceClient {IPerformanceClient?} | ||
* @param correlationId {string?} correlation identifier | ||
*/ | ||
async handleRedirectPromise(): Promise<AuthenticationResult | null> { | ||
async handleRedirectPromise( | ||
performanceClient?: IPerformanceClient, | ||
correlationId?: string | ||
): Promise<AuthenticationResult | null> { | ||
this.logger.trace( | ||
@@ -342,2 +347,8 @@ "NativeInteractionClient - handleRedirectPromise called." | ||
); | ||
if (performanceClient && correlationId) { | ||
performanceClient?.addFields( | ||
{ errorCode: "no_cached_request" }, | ||
correlationId | ||
); | ||
} | ||
return null; | ||
@@ -344,0 +355,0 @@ } |
@@ -193,6 +193,10 @@ /* | ||
* - if false, handles hash string and parses response | ||
* @param hash | ||
* @param hash {string?} url hash | ||
* @param performanceClient {IPerformanceClient?} | ||
* @param correlationId {string?} correlation identifier | ||
*/ | ||
async handleRedirectPromise( | ||
hash?: string | ||
hash?: string, | ||
performanceClient?: IPerformanceClient, | ||
correlationId?: string | ||
): Promise<AuthenticationResult | null> { | ||
@@ -220,2 +224,8 @@ const serverTelemetryManager = this.initializeServerTelemetryManager( | ||
); | ||
if (performanceClient && correlationId) { | ||
performanceClient?.addFields( | ||
{ errorCode: "no_server_response" }, | ||
correlationId | ||
); | ||
} | ||
return null; | ||
@@ -222,0 +232,0 @@ } |
/* eslint-disable header/header */ | ||
export const name = "@azure/msal-browser"; | ||
export const version = "3.7.2-alpha.3"; | ||
export const version = "3.8.1-beta.0"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
5373613
68519
+ Added@azure/msal-common@14.6.2-beta.0(transitive)
- Removed@azure/msal-common@14.6.2-alpha.3(transitive)