Socket
Socket
Sign inDemoInstall

@azure/msal-browser

Package Overview
Dependencies
Maintainers
3
Versions
118
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 3.11.1 to 3.13.0

12

dist/cache/BrowserCacheManager.d.ts

@@ -1,2 +0,2 @@

import { CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity, AccountInfo, ValidCredentialType, TokenKeys, CredentialType, IPerformanceClient, StaticAuthorityOptions } from "@azure/msal-common";
import { CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity, AccountInfo, ValidCredentialType, TokenKeys, CredentialType, CacheRecord, IPerformanceClient, StaticAuthorityOptions, StoreInCache } from "@azure/msal-common";
import { CacheOptions } from "../config/Configuration";

@@ -23,4 +23,5 @@ import { BrowserCacheLocation, InteractionType } from "../utils/BrowserConstants";

protected logger: Logger;
protected performanceClient?: IPerformanceClient;
protected readonly COOKIE_LIFE_MULTIPLIER: number;
constructor(clientId: string, cacheConfig: Required<CacheOptions>, cryptoImpl: ICrypto, logger: Logger, staticAuthorityOptions?: StaticAuthorityOptions);
constructor(clientId: string, cacheConfig: Required<CacheOptions>, cryptoImpl: ICrypto, logger: Logger, staticAuthorityOptions?: StaticAuthorityOptions, performanceClient?: IPerformanceClient);
/**

@@ -376,4 +377,11 @@ * Returns a window storage class implementing the IWindowStorage interface that corresponds to the configured cacheLocation.

hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
/**
* saves a cache record
* @param cacheRecord {CacheRecord}
* @param storeInCache {?StoreInCache}
* @param correlationId {?string} correlation id
*/
saveCacheRecord(cacheRecord: CacheRecord, storeInCache?: StoreInCache, correlationId?: string): Promise<void>;
}
export declare const DEFAULT_BROWSER_CACHE_MANAGER: (clientId: string, logger: Logger) => BrowserCacheManager;
//# sourceMappingURL=BrowserCacheManager.d.ts.map

@@ -46,2 +46,3 @@ import { AccountInfo, INetworkModule, Logger, CommonSilentFlowRequest, ICrypto, PerformanceCallbackFunction, IPerformanceClient, BaseAuthRequest, AccountFilter } from "@azure/msal-common";

private activeSilentTokenRequests;
private activeIframeRequest;
private ssoSilentMeasurement?;

@@ -86,2 +87,8 @@ private acquireTokenByCodeAsyncMeasurement?;

/**
* The internal details of handleRedirectPromise. This is separated out to a helper to allow handleRedirectPromise to memoize requests
* @param hash
* @returns
*/
private handleRedirectPromiseInternal;
/**
* Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects

@@ -391,3 +398,10 @@ * the page, so any code that follows this function will not execute.

}, account: AccountInfo): Promise<AuthenticationResult>;
/**
* AcquireTokenSilent without the iframe fallback. This is used to enable the correct fallbacks in cases where there's a potential for multiple silent requests to be made in parallel and prevent those requests from making concurrent iframe requests.
* @param silentRequest
* @param cacheLookupPolicy
* @returns
*/
private acquireTokenSilentNoIframe;
}
//# sourceMappingURL=StandardController.d.ts.map

2

dist/naa/BridgeProxy.d.ts

@@ -21,3 +21,2 @@ import { AccountInfo } from "./AccountInfo";

static bridgeRequests: BridgeRequest[];
static crypto: Crypto;
sdkName: string;

@@ -33,3 +32,2 @@ sdkVersion: string;

protected static initializeNestedAppAuthBridge(): Promise<InitContext>;
static getRandomId(): string;
/**

@@ -36,0 +34,0 @@ * getTokenInteractive - Attempts to get a token interactively from the bridge

export declare const name = "@azure/msal-browser";
export declare const version = "3.11.1";
export declare const version = "3.13.0";
//# sourceMappingURL=packageMetadata.d.ts.map

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

},
"version": "3.11.1",
"version": "3.13.0",
"description": "Microsoft Authentication Library for js",

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

"prepack": "npm run build:all",
"format:check": "npx prettier --ignore-path .gitignore --check src test",
"format:fix": "npx prettier --ignore-path .gitignore --write src test"
"format:check": "prettier --ignore-path .gitignore --check src test",
"format:fix": "prettier --ignore-path .gitignore --write src test"
},

@@ -106,4 +106,4 @@ "devDependencies": {

"dependencies": {
"@azure/msal-common": "14.8.1"
"@azure/msal-common": "14.9.0"
}
}

@@ -29,3 +29,8 @@ /*

import { SsoSilentRequest } from "../request/SsoSilentRequest";
import { ApiId, WrapperSKU, InteractionType } from "../utils/BrowserConstants";
import {
ApiId,
WrapperSKU,
InteractionType,
DEFAULT_REQUEST,
} from "../utils/BrowserConstants";
import { IController } from "./IController";

@@ -422,7 +427,3 @@ import { TeamsAppOperatingContext } from "../operatingcontext/TeamsAppOperatingContext";

): Promise<AuthenticationResult> {
if (request !== undefined) {
return this.acquireTokenInteractive(request);
} else {
throw NestedAppAuthError.createUnsupportedError();
}
return this.acquireTokenInteractive(request || DEFAULT_REQUEST);
}

@@ -429,0 +430,0 @@ // eslint-disable-next-line @typescript-eslint/no-unused-vars

@@ -109,3 +109,5 @@ /*

this.browserCrypto,
this.logger
this.logger,
undefined,
this.performanceClient
)

@@ -112,0 +114,0 @@ : DEFAULT_BROWSER_CACHE_MANAGER(

@@ -198,2 +198,3 @@ /*

authFrame.className = "msalSilentIframe";
authFrame.style.visibility = "hidden";

@@ -200,0 +201,0 @@ authFrame.style.position = "absolute";

@@ -18,2 +18,3 @@ /*

import { TokenRequest } from "./TokenRequest";
import * as BrowserCrypto from "../crypto/BrowserCrypto";

@@ -33,3 +34,2 @@ declare global {

static bridgeRequests: BridgeRequest[] = [];
static crypto: Crypto;
sdkName: string;

@@ -52,9 +52,4 @@ sdkVersion: string;

}
if (window.crypto === undefined) {
throw new Error("window.crypto is undefined");
}
try {
BridgeProxy.crypto = window.crypto;
window.nestedAppAuthBridge.addEventListener(

@@ -90,3 +85,3 @@ "message",

method: "GetInitContext",
requestId: BridgeProxy.getRandomId(),
requestId: BrowserCrypto.createNewGuid(),
};

@@ -115,6 +110,2 @@ const request: BridgeRequest = {

public static getRandomId(): string {
return BridgeProxy.crypto.randomUUID();
}
/**

@@ -172,3 +163,3 @@ * getTokenInteractive - Attempts to get a token interactively from the bridge

method: method,
requestId: BridgeProxy.getRandomId(),
requestId: BrowserCrypto.createNewGuid(),
...requestParams,

@@ -175,0 +166,0 @@ };

/* eslint-disable header/header */
export const name = "@azure/msal-browser";
export const version = "3.11.1";
export const version = "3.13.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 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

Sorry, the diff of this file is too big to display

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