Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/msal-browser

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/msal-browser - npm Package Compare versions

Comparing version 2.6.1 to 2.7.0

37

CHANGELOG.json

@@ -5,2 +5,39 @@ {

{
"date": "Wed, 11 Nov 2020 23:33:20 GMT",
"tag": "@azure/msal-browser_v2.7.0",
"version": "2.7.0",
"comments": {
"patch": [
{
"comment": "Adds getAccountByLocalId to PCA Interface (#2588)",
"author": "thomas.norling@microsoft.com",
"commit": "b6e1692cc3e3ea8c0d9b5808c4469446c01cfb84",
"package": "@azure/msal-browser"
},
{
"comment": "Add navigateFrameWait and change loadFrameTimeout to browser to match core behavior (#2545)",
"author": "janutter@microsoft.com",
"commit": "9427b1f3ae14b7e0c143900f8b6de911db12a134",
"package": "@azure/msal-browser"
}
],
"none": [
{
"comment": "Documentation update for new account retrieval APIs (#2585)",
"author": "hemoral@microsoft.com",
"commit": "cb782967cc8f07581488de71c4509fa12a702774",
"package": "@azure/msal-browser"
}
],
"minor": [
{
"comment": "Support relative paths on redirectUri parameter (#2560)",
"author": "thomas.norling@microsoft.com",
"commit": "12ccf0441f8735e9d2875cebac6065447ecc622d",
"package": "@azure/msal-browser"
}
]
}
},
{
"date": "Tue, 10 Nov 2020 01:48:44 GMT",

@@ -7,0 +44,0 @@ "tag": "@azure/msal-browser_v2.6.1",

15

changelog.md
# Change Log - @azure/msal-browser
This log was last generated on Tue, 10 Nov 2020 01:48:44 GMT and should not be manually modified.
This log was last generated on Wed, 11 Nov 2020 23:33:20 GMT and should not be manually modified.
<!-- Start content -->
## 2.7.0
Wed, 11 Nov 2020 23:33:20 GMT
### Minor changes
- Support relative paths on redirectUri parameter (#2560) (thomas.norling@microsoft.com)
### Patches
- Adds getAccountByLocalId to PCA Interface (#2588) (thomas.norling@microsoft.com)
- Add navigateFrameWait and change loadFrameTimeout to browser to match core behavior (#2545) (janutter@microsoft.com)
## 2.6.1

@@ -8,0 +21,0 @@

@@ -13,2 +13,3 @@ import { AuthenticationResult, AccountInfo, EndSessionRequest, Logger } from "@azure/msal-common";

getAccountByHomeId(homeAccountId: string): AccountInfo | null;
getAccountByLocalId(localId: string): AccountInfo | null;
getAccountByUsername(userName: string): AccountInfo | null;

@@ -15,0 +16,0 @@ getAllAccounts(): AccountInfo[];

11

dist/src/config/Configuration.d.ts
import { SystemOptions, LoggerOptions, INetworkModule, ProtocolMode } from "@azure/msal-common";
import { BrowserCacheLocation } from "../utils/BrowserConstants";
export declare const DEFAULT_POPUP_TIMEOUT_MS = 60000;
export declare const DEFAULT_IFRAME_TIMEOUT_MS = 6000;
export declare const DEFAULT_REDIRECT_TIMEOUT_MS = 30000;
/**

@@ -43,5 +46,6 @@ * Use this to configure the auth options in the Configuration object

* - networkClient - Network interface implementation
* - windowHashTimeout - Sets the timeout for waiting for a response hash in a popup
* - iframeHashTimeout - Sets the timeout for waiting for a response hash in an iframe
* - loadFrameTimeout - Maximum time the library should wait for a frame to load
* - windowHashTimeout - Sets the timeout for waiting for a response hash in a popup. Will take precedence over loadFrameTimeout if both are set.
* - iframeHashTimeout - Sets the timeout for waiting for a response hash in an iframe. Will take precedence over loadFrameTimeout if both are set.
* - loadFrameTimeout - Sets the timeout for waiting for a response hash in an iframe or popup
* - navigateFrameWait - Maximum time the library should wait for a frame to load
* - redirectNavigationTimeout - Time to wait for redirection to occur before resolving promise

@@ -56,2 +60,3 @@ * - asyncPopups - Sets whether popups are opened asynchronously. By default, this flag is set to false. When set to false, blank popups are opened before anything else happens. When set to true, popups are opened when making the network request.

loadFrameTimeout?: number;
navigateFrameWait?: number;
redirectNavigationTimeout?: number;

@@ -58,0 +63,0 @@ asyncPopups?: boolean;

@@ -42,6 +42,10 @@ import { AuthError } from "@azure/msal-common";

};
monitorWindowTimeoutError: {
monitorPopupTimeoutError: {
code: string;
desc: string;
};
monitorIframeTimeoutError: {
code: string;
desc: string;
};
redirectInIframeError: {

@@ -128,7 +132,10 @@ code: string;

/**
* Creates an error thrown when monitorWindowFromHash times out for a given popup.
* @param urlNavigate
* Creates an error thrown when monitorPopupFromHash times out for a given popup.
*/
static createMonitorWindowTimeoutError(): BrowserAuthError;
static createMonitorPopupTimeoutError(): BrowserAuthError;
/**
* Creates an error thrown when monitorIframeFromHash times out for a given iframe.
*/
static createMonitorIframeTimeoutError(): BrowserAuthError;
/**
* Creates an error thrown when navigateWindow is called inside an iframe.

@@ -135,0 +142,0 @@ * @param windowParentCheck

@@ -5,4 +5,4 @@ import { AuthorizationCodeRequest, AuthorizationCodeClient } from "@azure/msal-common";

export declare class SilentHandler extends InteractionHandler {
private loadFrameTimeout;
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, configuredLoadFrameTimeout: number);
private navigateFrameWait;
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, navigateFrameWait: number);
/**

@@ -9,0 +9,0 @@ * Creates a hidden iframe to given URL using user-requested scopes as an id.

@@ -13,3 +13,3 @@ {

},
"version": "2.6.1",
"version": "2.7.0",
"description": "Microsoft Authentication Library for js",

@@ -99,4 +99,4 @@ "keywords": [

"dependencies": {
"@azure/msal-common": "^1.7.1"
"@azure/msal-common": "^1.7.2"
}
}

@@ -0,0 +0,0 @@ # Microsoft Authentication Library for JavaScript (MSAL.js) 2.0 for Browser-Based Single-Page Applications

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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc