Skip to content

Commit 8723b13

Browse files
authored
Merge branch 'dev' into correlationId-in-errorpath
2 parents afc58f7 + e63bd1a commit 8723b13

18 files changed

Lines changed: 137 additions & 2018 deletions

api-extractor-base.json

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,54 @@
1616
"messages": {
1717
"compilerMessageReporting": {
1818
"default": {
19-
"logLevel": "warning",
20-
"addToApiReportFile": true
19+
"logLevel": "error"
2120
}
2221
},
2322
"extractorMessageReporting": {
2423
"default": {
25-
"logLevel": "warning"
24+
"logLevel": "error"
25+
},
26+
"ae-undocumented": {
27+
"logLevel": "none"
2628
},
2729
"ae-missing-release-tag": {
28-
"logLevel": "warning",
29-
"addToApiReportFile": true
30+
"logLevel": "none"
3031
},
3132
"ae-setter-with-docs": {
32-
"logLevel": "warning",
33-
"addToApiReportFile": true
33+
"logLevel": "none"
34+
},
35+
"ae-internal-missing-underscore": {
36+
"logLevel": "none",
37+
"addToApiReportFile": false
38+
},
39+
"ae-forgotten-export": {
40+
"logLevel": "none",
41+
"addToApiReportFile": false
42+
},
43+
"ae-internal-mixed-release-tag": {
44+
"logLevel": "error",
45+
"addToApiReportFile": false
46+
},
47+
"ae-unresolved-inheritdoc-reference": {
48+
"logLevel": "error",
49+
"addToApiReportFile": false
50+
},
51+
"ae-unresolved-inheritdoc-base": {
52+
"logLevel": "error",
53+
"addToApiReportFile": false
54+
},
55+
"ae-incompatible-release-tags": {
56+
"logLevel": "error",
57+
"addToApiReportFile": false
3458
},
3559
"ae-unresolved-link": {
36-
"logLevel": "warning",
37-
"addToApiReportFile": true
60+
"logLevel": "error",
61+
"addToApiReportFile": false
3862
}
3963
},
4064
"tsdocMessageReporting": {
4165
"default": {
42-
"logLevel": "warning",
43-
"addToApiReportFile": true
66+
"logLevel": "none"
4467
}
4568
}
4669
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Update API Extractor warning policy and tag internal APIs with @internal [#8653](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8653)",
4+
"packageName": "@azure/msal-browser",
5+
"email": "thomas.norling@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Update API Extractor warning policy and tag internal APIs with @internal [#8653](https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8653)",
4+
"packageName": "@azure/msal-common",
5+
"email": "thomas.norling@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

lib/msal-browser/apiReview/msal-browser.api.md

Lines changed: 3 additions & 458 deletions
Large diffs are not rendered by default.

lib/msal-browser/src/config/Configuration.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,11 @@ export type BrowserSystemOptions = SystemOptions & {
175175
serverTelemetryEnabled?: boolean;
176176
};
177177

178-
/** @internal */
178+
/**
179+
* Options for configuring experimental features. These features do not follow
180+
* semver and may be changed or removed without a major version bump. Use with caution.
181+
* @public
182+
*/
179183
export type BrowserExperimentalOptions = {
180184
/**
181185
* Enables iframe timeout telemetry experiment for silent iframe bridge monitoring.

lib/msal-browser/src/utils/BrowserUtils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ export interface WaitForBridgeRequest {
265265
state?: string;
266266
}
267267

268+
/** @internal */
268269
export async function waitForBridgeResponse(
269270
timeoutMs: number,
270271
logger: Logger,
@@ -486,9 +487,10 @@ export function preflightCheck(initialized: boolean): void {
486487
}
487488

488489
/**
489-
* Helper to validate app enviornment before making redirect request
490+
* Helper to validate app environment before making redirect request
490491
* @param initialized
491492
* @param config
493+
* @internal
492494
*/
493495
export function redirectPreflightCheck(
494496
initialized: boolean,

lib/msal-common/apiReview/msal-common.api.md

Lines changed: 57 additions & 1464 deletions
Large diffs are not rendered by default.

lib/msal-common/src/authority/Authority.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class Authority {
126126
}
127127

128128
/**
129-
* Get {@link AuthorityType}
129+
* Get {@link AuthorityType:type}
130130
* @param authorityUri {@link IUri}
131131
* @private
132132
*/

lib/msal-common/src/cache/interface/ICacheManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
1616
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
1717
import { StoreInCache } from "../../request/StoreInCache.js";
1818

19+
/** @internal */
1920
export interface ICacheManager {
2021
/**
2122
* fetch the account entity from the platform cache

lib/msal-common/src/cache/utils/AccountEntityUtils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { AccountEntity } from "../entities/AccountEntity.js";
2828

2929
/**
3030
* Generate Account Id key component as per the schema: <home_account_id>-<environment>
31+
* @internal
3132
*/
3233
export function generateAccountId(accountEntity: AccountEntity): string {
3334
const accountId: Array<string> = [
@@ -39,6 +40,7 @@ export function generateAccountId(accountEntity: AccountEntity): string {
3940

4041
/**
4142
* Returns the AccountInfo interface for this account.
43+
* @internal
4244
*/
4345
export function getAccountInfo(accountEntity: AccountEntity): AccountInfo {
4446
const tenantProfiles = accountEntity.tenantProfiles || [];
@@ -78,6 +80,7 @@ export function getAccountInfo(accountEntity: AccountEntity): AccountInfo {
7880

7981
/**
8082
* Returns true if the account entity is in single tenant format (outdated), false otherwise
83+
* @internal
8184
*/
8285
export function isSingleTenant(accountEntity: AccountEntity): boolean {
8386
return !accountEntity.tenantProfiles;
@@ -86,6 +89,7 @@ export function isSingleTenant(accountEntity: AccountEntity): boolean {
8689
/**
8790
* Build Account cache from IdToken, clientInfo and authority/policy. Associated with AAD.
8891
* @param accountDetails
92+
* @internal
8993
*/
9094
export function createAccountEntity(
9195
accountDetails: {
@@ -197,6 +201,7 @@ export function createAccountEntity(
197201
* @param cloudGraphHostName
198202
* @param msGraphHost
199203
* @returns
204+
* @internal
200205
*/
201206
export function createAccountEntityFromAccountInfo(
202207
accountInfo: AccountInfo,
@@ -277,6 +282,7 @@ export function generateHomeAccountId(
277282
/**
278283
* Validates an entity: checks for all expected params
279284
* @param entity
285+
* @internal
280286
*/
281287
export function isAccountEntity(entity: object): entity is AccountEntity {
282288
if (!entity) {

0 commit comments

Comments
 (0)