@azure/msal-common 14.0.0-alpha.2 → 14.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/AuthToken.js +1 -1
- package/dist/account/CcsCredential.d.ts +5 -4
- package/dist/account/CcsCredential.d.ts.map +1 -1
- package/dist/account/CcsCredential.js +5 -6
- package/dist/account/CcsCredential.js.map +1 -1
- package/dist/account/ClientInfo.js +1 -1
- package/dist/authority/Authority.js +1 -1
- package/dist/authority/AuthorityFactory.js +1 -1
- package/dist/authority/AuthorityMetadata.js +1 -1
- package/dist/authority/AuthorityOptions.d.ts +9 -8
- package/dist/authority/AuthorityOptions.d.ts.map +1 -1
- package/dist/authority/AuthorityOptions.js +9 -10
- package/dist/authority/AuthorityOptions.js.map +1 -1
- package/dist/authority/AuthorityType.d.ts +7 -6
- package/dist/authority/AuthorityType.d.ts.map +1 -1
- package/dist/authority/AuthorityType.js +7 -8
- package/dist/authority/AuthorityType.js.map +1 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.js +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.js +1 -1
- package/dist/authority/OpenIdConfigResponse.js +1 -1
- package/dist/authority/ProtocolMode.d.ts +5 -4
- package/dist/authority/ProtocolMode.d.ts.map +1 -1
- package/dist/authority/ProtocolMode.js +5 -6
- package/dist/authority/ProtocolMode.js.map +1 -1
- package/dist/authority/RegionDiscovery.js +1 -1
- package/dist/cache/CacheManager.js +1 -1
- package/dist/cache/entities/AccessTokenEntity.js +1 -1
- package/dist/cache/entities/AccountEntity.js +1 -1
- package/dist/cache/entities/AppMetadataEntity.js +1 -1
- package/dist/cache/entities/AuthorityMetadataEntity.js +1 -1
- package/dist/cache/entities/CacheRecord.js +1 -1
- package/dist/cache/entities/CredentialEntity.js +1 -1
- package/dist/cache/entities/IdTokenEntity.js +1 -1
- package/dist/cache/entities/RefreshTokenEntity.js +1 -1
- package/dist/cache/entities/ServerTelemetryEntity.js +1 -1
- package/dist/cache/entities/ThrottlingEntity.js +1 -1
- package/dist/cache/persistence/TokenCacheContext.js +1 -1
- package/dist/client/AuthorizationCodeClient.js +1 -1
- package/dist/client/BaseClient.js +1 -1
- package/dist/client/RefreshTokenClient.js +1 -1
- package/dist/client/SilentFlowClient.js +1 -1
- package/dist/config/ClientConfiguration.js +1 -1
- package/dist/crypto/ICrypto.js +1 -1
- package/dist/crypto/JoseHeader.js +1 -1
- package/dist/crypto/PopTokenGenerator.d.ts +5 -4
- package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/dist/crypto/PopTokenGenerator.js +5 -6
- package/dist/crypto/PopTokenGenerator.js.map +1 -1
- package/dist/error/AuthError.js +1 -1
- package/dist/error/ClientAuthError.js +1 -1
- package/dist/error/ClientConfigurationError.d.ts +8 -0
- package/dist/error/ClientConfigurationError.d.ts.map +1 -1
- package/dist/error/ClientConfigurationError.js +12 -2
- package/dist/error/ClientConfigurationError.js.map +1 -1
- package/dist/error/InteractionRequiredAuthError.js +1 -1
- package/dist/error/JoseHeaderError.js +1 -1
- package/dist/error/ServerError.js +1 -1
- package/dist/index.cjs.js +524 -545
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/logger/Logger.js +1 -1
- package/dist/network/INetworkModule.js +1 -1
- package/dist/network/NetworkManager.js +1 -1
- package/dist/network/ThrottlingUtils.js +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.js +2 -2
- package/dist/request/AuthenticationHeaderParser.js +1 -1
- package/dist/request/RequestParameterBuilder.js +1 -1
- package/dist/request/RequestValidator.js +2 -3
- package/dist/request/RequestValidator.js.map +1 -1
- package/dist/request/ScopeSet.js +1 -1
- package/dist/response/ResponseHandler.js +1 -1
- package/dist/telemetry/performance/PerformanceClient.js +1 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +73 -71
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.js +72 -74
- package/dist/telemetry/performance/PerformanceEvent.js.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +3 -7
- package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.js +7 -21
- package/dist/telemetry/performance/StubPerformanceClient.js.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.js +1 -1
- package/dist/url/UrlString.js +1 -1
- package/dist/utils/Constants.d.ts +193 -179
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.js +174 -194
- package/dist/utils/Constants.js.map +1 -1
- package/dist/utils/ProtocolUtils.js +1 -1
- package/dist/utils/StringUtils.js +1 -1
- package/dist/utils/TimeUtils.js +1 -1
- package/package.json +8 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v14.0.0-
|
|
1
|
+
/*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10,212 +10,210 @@
|
|
|
10
10
|
* @export
|
|
11
11
|
* @enum {number}
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
|
-
(function (PerformanceEvents) {
|
|
13
|
+
const PerformanceEvents = {
|
|
15
14
|
/**
|
|
16
15
|
* acquireTokenByCode API (msal-browser and msal-node).
|
|
17
16
|
* Used to acquire tokens by trading an authorization code against the token endpoint.
|
|
18
17
|
*/
|
|
19
|
-
|
|
18
|
+
AcquireTokenByCode: "acquireTokenByCode",
|
|
20
19
|
/**
|
|
21
20
|
* acquireTokenByRefreshToken API (msal-browser and msal-node).
|
|
22
21
|
* Used to renew an access token using a refresh token against the token endpoint.
|
|
23
22
|
*/
|
|
24
|
-
|
|
23
|
+
AcquireTokenByRefreshToken: "acquireTokenByRefreshToken",
|
|
25
24
|
/**
|
|
26
25
|
* acquireTokenSilent API (msal-browser and msal-node).
|
|
27
26
|
* Used to silently acquire a new access token (from the cache or the network).
|
|
28
27
|
*/
|
|
29
|
-
|
|
28
|
+
AcquireTokenSilent: "acquireTokenSilent",
|
|
30
29
|
/**
|
|
31
30
|
* acquireTokenSilentAsync (msal-browser).
|
|
32
31
|
* Internal API for acquireTokenSilent.
|
|
33
32
|
*/
|
|
34
|
-
|
|
33
|
+
AcquireTokenSilentAsync: "acquireTokenSilentAsync",
|
|
35
34
|
/**
|
|
36
35
|
* acquireTokenPopup (msal-browser).
|
|
37
36
|
* Used to acquire a new access token interactively through pop ups
|
|
38
37
|
*/
|
|
39
|
-
|
|
38
|
+
AcquireTokenPopup: "acquireTokenPopup",
|
|
40
39
|
/**
|
|
41
40
|
* getPublicKeyThumbprint API in CryptoOpts class (msal-browser).
|
|
42
41
|
* Used to generate a public/private keypair and generate a public key thumbprint for pop requests.
|
|
43
42
|
*/
|
|
44
|
-
|
|
43
|
+
CryptoOptsGetPublicKeyThumbprint: "cryptoOptsGetPublicKeyThumbprint",
|
|
45
44
|
/**
|
|
46
45
|
* signJwt API in CryptoOpts class (msal-browser).
|
|
47
46
|
* Used to signed a pop token.
|
|
48
47
|
*/
|
|
49
|
-
|
|
48
|
+
CryptoOptsSignJwt: "cryptoOptsSignJwt",
|
|
50
49
|
/**
|
|
51
50
|
* acquireToken API in the SilentCacheClient class (msal-browser).
|
|
52
51
|
* Used to read access tokens from the cache.
|
|
53
52
|
*/
|
|
54
|
-
|
|
53
|
+
SilentCacheClientAcquireToken: "silentCacheClientAcquireToken",
|
|
55
54
|
/**
|
|
56
55
|
* acquireToken API in the SilentIframeClient class (msal-browser).
|
|
57
56
|
* Used to acquire a new set of tokens from the authorize endpoint in a hidden iframe.
|
|
58
57
|
*/
|
|
59
|
-
|
|
58
|
+
SilentIframeClientAcquireToken: "silentIframeClientAcquireToken",
|
|
60
59
|
/**
|
|
61
60
|
* acquireToken API in SilentRereshClient (msal-browser).
|
|
62
61
|
* Used to acquire a new set of tokens from the token endpoint using a refresh token.
|
|
63
62
|
*/
|
|
64
|
-
|
|
63
|
+
SilentRefreshClientAcquireToken: "silentRefreshClientAcquireToken",
|
|
65
64
|
/**
|
|
66
65
|
* ssoSilent API (msal-browser).
|
|
67
66
|
* Used to silently acquire an authorization code and set of tokens using a hidden iframe.
|
|
68
67
|
*/
|
|
69
|
-
|
|
68
|
+
SsoSilent: "ssoSilent",
|
|
70
69
|
/**
|
|
71
70
|
* getDiscoveredAuthority API in StandardInteractionClient class (msal-browser).
|
|
72
71
|
* Used to load authority metadata for a request.
|
|
73
72
|
*/
|
|
74
|
-
|
|
73
|
+
StandardInteractionClientGetDiscoveredAuthority: "standardInteractionClientGetDiscoveredAuthority",
|
|
75
74
|
/**
|
|
76
75
|
* acquireToken APIs in msal-browser.
|
|
77
76
|
* Used to make an /authorize endpoint call with native brokering enabled.
|
|
78
77
|
*/
|
|
79
|
-
|
|
78
|
+
FetchAccountIdWithNativeBroker: "fetchAccountIdWithNativeBroker",
|
|
80
79
|
/**
|
|
81
80
|
* acquireToken API in NativeInteractionClient class (msal-browser).
|
|
82
81
|
* Used to acquire a token from Native component when native brokering is enabled.
|
|
83
82
|
*/
|
|
84
|
-
|
|
83
|
+
NativeInteractionClientAcquireToken: "nativeInteractionClientAcquireToken",
|
|
85
84
|
/**
|
|
86
85
|
* Time spent creating default headers for requests to token endpoint
|
|
87
86
|
*/
|
|
88
|
-
|
|
87
|
+
BaseClientCreateTokenRequestHeaders: "baseClientCreateTokenRequestHeaders",
|
|
89
88
|
/**
|
|
90
89
|
* Used to measure the time taken for completing embedded-broker handshake (PW-Broker).
|
|
91
90
|
*/
|
|
92
|
-
|
|
91
|
+
BrokerHandhshake: "brokerHandshake",
|
|
93
92
|
/**
|
|
94
93
|
* acquireTokenByRefreshToken API in BrokerClientApplication (PW-Broker) .
|
|
95
94
|
*/
|
|
96
|
-
|
|
95
|
+
AcquireTokenByRefreshTokenInBroker: "acquireTokenByRefreshTokenInBroker",
|
|
97
96
|
/**
|
|
98
97
|
* Time taken for token acquisition by broker
|
|
99
98
|
*/
|
|
100
|
-
|
|
99
|
+
AcquireTokenByBroker: "acquireTokenByBroker",
|
|
101
100
|
/**
|
|
102
101
|
* Time spent on the network for refresh token acquisition
|
|
103
102
|
*/
|
|
104
|
-
|
|
103
|
+
RefreshTokenClientExecuteTokenRequest: "refreshTokenClientExecuteTokenRequest",
|
|
105
104
|
/**
|
|
106
105
|
* Time taken for acquiring refresh token , records RT size
|
|
107
106
|
*/
|
|
108
|
-
|
|
107
|
+
RefreshTokenClientAcquireToken: "refreshTokenClientAcquireToken",
|
|
109
108
|
/**
|
|
110
109
|
* Time taken for acquiring cached refresh token
|
|
111
110
|
*/
|
|
112
|
-
|
|
111
|
+
RefreshTokenClientAcquireTokenWithCachedRefreshToken: "refreshTokenClientAcquireTokenWithCachedRefreshToken",
|
|
113
112
|
/**
|
|
114
113
|
* acquireTokenByRefreshToken API in RefreshTokenClient (msal-common).
|
|
115
114
|
*/
|
|
116
|
-
|
|
115
|
+
RefreshTokenClientAcquireTokenByRefreshToken: "refreshTokenClientAcquireTokenByRefreshToken",
|
|
117
116
|
/**
|
|
118
117
|
* Helper function to create token request body in RefreshTokenClient (msal-common).
|
|
119
118
|
*/
|
|
120
|
-
|
|
119
|
+
RefreshTokenClientCreateTokenRequestBody: "refreshTokenClientCreateTokenRequestBody",
|
|
121
120
|
/**
|
|
122
121
|
* acquireTokenFromCache (msal-browser).
|
|
123
122
|
* Internal API for acquiring token from cache
|
|
124
123
|
*/
|
|
125
|
-
|
|
124
|
+
AcquireTokenFromCache: "acquireTokenFromCache",
|
|
126
125
|
/**
|
|
127
126
|
* acquireTokenBySilentIframe (msal-browser).
|
|
128
127
|
* Internal API for acquiring token by silent Iframe
|
|
129
128
|
*/
|
|
130
|
-
|
|
129
|
+
AcquireTokenBySilentIframe: "acquireTokenBySilentIframe",
|
|
131
130
|
/**
|
|
132
131
|
* Internal API for initializing base request in BaseInteractionClient (msal-browser)
|
|
133
132
|
*/
|
|
134
|
-
|
|
133
|
+
InitializeBaseRequest: "initializeBaseRequest",
|
|
135
134
|
/**
|
|
136
135
|
* Internal API for initializing silent request in SilentCacheClient (msal-browser)
|
|
137
136
|
*/
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
InitializeSilentRequest: "initializeSilentRequest",
|
|
138
|
+
InitializeClientApplication: "initializeClientApplication",
|
|
140
139
|
/**
|
|
141
140
|
* Helper function in SilentIframeClient class (msal-browser).
|
|
142
141
|
*/
|
|
143
|
-
|
|
142
|
+
SilentIframeClientTokenHelper: "silentIframeClientTokenHelper",
|
|
144
143
|
/**
|
|
145
144
|
* SilentHandler
|
|
146
145
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
SilentHandlerInitiateAuthRequest: "silentHandlerInitiateAuthRequest",
|
|
147
|
+
SilentHandlerMonitorIframeForHash: "silentHandlerMonitorIframeForHash",
|
|
148
|
+
SilentHandlerLoadFrame: "silentHandlerLoadFrame",
|
|
150
149
|
/**
|
|
151
150
|
* Helper functions in StandardInteractionClient class (msal-browser)
|
|
152
151
|
*/
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
StandardInteractionClientCreateAuthCodeClient: "standardInteractionClientCreateAuthCodeClient",
|
|
153
|
+
StandardInteractionClientGetClientConfiguration: "standardInteractionClientGetClientConfiguration",
|
|
154
|
+
StandardInteractionClientInitializeAuthorizationRequest: "standardInteractionClientInitializeAuthorizationRequest",
|
|
155
|
+
StandardInteractionClientInitializeAuthorizationCodeRequest: "standardInteractionClientInitializeAuthorizationCodeRequest",
|
|
157
156
|
/**
|
|
158
157
|
* getAuthCodeUrl API (msal-browser and msal-node).
|
|
159
158
|
*/
|
|
160
|
-
|
|
159
|
+
GetAuthCodeUrl: "getAuthCodeUrl",
|
|
161
160
|
/**
|
|
162
161
|
* Functions from InteractionHandler (msal-browser)
|
|
163
162
|
*/
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
HandleCodeResponseFromServer: "handleCodeResponseFromServer",
|
|
164
|
+
HandleCodeResponseFromHash: "handleCodeResponseFromHash",
|
|
165
|
+
UpdateTokenEndpointAuthority: "updateTokenEndpointAuthority",
|
|
167
166
|
/**
|
|
168
167
|
* APIs in Authorization Code Client (msal-common)
|
|
169
168
|
*/
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
AuthClientAcquireToken: "authClientAcquireToken",
|
|
170
|
+
AuthClientExecuteTokenRequest: "authClientExecuteTokenRequest",
|
|
171
|
+
AuthClientCreateTokenRequestBody: "authClientCreateTokenRequestBody",
|
|
172
|
+
AuthClientCreateQueryString: "authClientCreateQueryString",
|
|
174
173
|
/**
|
|
175
174
|
* Generate functions in PopTokenGenerator (msal-common)
|
|
176
175
|
*/
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
PopTokenGenerateCnf: "popTokenGenerateCnf",
|
|
177
|
+
PopTokenGenerateKid: "popTokenGenerateKid",
|
|
179
178
|
/**
|
|
180
179
|
* handleServerTokenResponse API in ResponseHandler (msal-common)
|
|
181
180
|
*/
|
|
182
|
-
|
|
181
|
+
HandleServerTokenResponse: "handleServerTokenResponse",
|
|
183
182
|
/**
|
|
184
183
|
* Authority functions
|
|
185
184
|
*/
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
185
|
+
AuthorityFactoryCreateDiscoveredInstance: "authorityFactoryCreateDiscoveredInstance",
|
|
186
|
+
AuthorityResolveEndpointsAsync: "authorityResolveEndpointsAsync",
|
|
187
|
+
AuthorityGetCloudDiscoveryMetadataFromNetwork: "authorityGetCloudDiscoveryMetadataFromNetwork",
|
|
188
|
+
AuthorityUpdateCloudDiscoveryMetadata: "authorityUpdateCloudDiscoveryMetadata",
|
|
189
|
+
AuthorityGetEndpointMetadataFromNetwork: "authorityGetEndpointMetadataFromNetwork",
|
|
190
|
+
AuthorityUpdateEndpointMetadata: "authorityUpdateEndpointMetadata",
|
|
191
|
+
AuthorityUpdateMetadataWithRegionalInformation: "authorityUpdateMetadataWithRegionalInformation",
|
|
193
192
|
/**
|
|
194
193
|
* Region Discovery functions
|
|
195
194
|
*/
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
195
|
+
RegionDiscoveryDetectRegion: "regionDiscoveryDetectRegion",
|
|
196
|
+
RegionDiscoveryGetRegionFromIMDS: "regionDiscoveryGetRegionFromIMDS",
|
|
197
|
+
RegionDiscoveryGetCurrentVersion: "regionDiscoveryGetCurrentVersion",
|
|
198
|
+
AcquireTokenByCodeAsync: "acquireTokenByCodeAsync",
|
|
199
|
+
GetEndpointMetadataFromNetwork: "getEndpointMetadataFromNetwork",
|
|
200
|
+
GetCloudDiscoveryMetadataFromNetworkMeasurement: "getCloudDiscoveryMetadataFromNetworkMeasurement",
|
|
201
|
+
HandleRedirectPromiseMeasurement: "handleRedirectPromiseMeasurement",
|
|
202
|
+
UpdateCloudDiscoveryMetadataMeasurement: "updateCloudDiscoveryMetadataMeasurement",
|
|
203
|
+
UsernamePasswordClientAcquireToken: "usernamePasswordClientAcquireToken",
|
|
204
|
+
NativeMessageHandlerHandshake: "nativeMessageHandlerHandshake",
|
|
205
|
+
};
|
|
207
206
|
/**
|
|
208
207
|
* State of the performance event.
|
|
209
208
|
*
|
|
210
209
|
* @export
|
|
211
210
|
* @enum {number}
|
|
212
211
|
*/
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
})(PerformanceEventStatus || (PerformanceEventStatus = {}));
|
|
212
|
+
const PerformanceEventStatus = {
|
|
213
|
+
NotStarted: 0,
|
|
214
|
+
InProgress: 1,
|
|
215
|
+
Completed: 2,
|
|
216
|
+
};
|
|
219
217
|
const IntFields = new Set([
|
|
220
218
|
"accessTokenSize",
|
|
221
219
|
"durationMs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformanceEvent.js","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;;;AAKG;
|
|
1
|
+
{"version":3,"file":"PerformanceEvent.js","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IPerformanceClient } from "./IPerformanceClient";
|
|
2
2
|
import { IPerformanceMeasurement } from "./IPerformanceMeasurement";
|
|
3
3
|
import { PerformanceClient } from "./PerformanceClient";
|
|
4
|
-
import { PerformanceEvents } from "./PerformanceEvent";
|
|
5
4
|
export declare class StubPerformanceMeasurement implements IPerformanceMeasurement {
|
|
6
5
|
startMeasurement(): void;
|
|
7
6
|
endMeasurement(): void;
|
|
@@ -10,11 +9,8 @@ export declare class StubPerformanceMeasurement implements IPerformanceMeasureme
|
|
|
10
9
|
export declare class StubPerformanceClient extends PerformanceClient implements IPerformanceClient {
|
|
11
10
|
generateId(): string;
|
|
12
11
|
startPerformanceMeasurement(): IPerformanceMeasurement;
|
|
13
|
-
calculateQueuedTime(
|
|
14
|
-
addQueueMeasurement(
|
|
15
|
-
|
|
16
|
-
queueTime: number): void;
|
|
17
|
-
setPreQueueTime(eventName: PerformanceEvents, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
18
|
-
correlationId?: string | undefined): void;
|
|
12
|
+
calculateQueuedTime(): number;
|
|
13
|
+
addQueueMeasurement(): void;
|
|
14
|
+
setPreQueueTime(): void;
|
|
19
15
|
}
|
|
20
16
|
//# sourceMappingURL=StubPerformanceClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StubPerformanceClient.d.ts","sourceRoot":"","sources":["../../../src/telemetry/performance/StubPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"StubPerformanceClient.d.ts","sourceRoot":"","sources":["../../../src/telemetry/performance/StubPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,0BAA2B,YAAW,uBAAuB;IACtE,gBAAgB,IAAI,IAAI;IACxB,cAAc,IAAI,IAAI;IACtB,gBAAgB,IAAI,MAAM,GAAG,IAAI;CACpC;AAED,qBAAa,qBACT,SAAQ,iBACR,YAAW,kBAAkB;IAE7B,UAAU,IAAI,MAAM;IAIpB,2BAA2B,IAAI,uBAAuB;IAItD,mBAAmB,IAAI,MAAM;IAI7B,mBAAmB,IAAI,IAAI;IAE3B,eAAe,IAAI,IAAI;CAC1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v14.0.0-
|
|
1
|
+
/*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { PerformanceClient } from './PerformanceClient.js';
|
|
4
4
|
|
|
@@ -7,13 +7,9 @@ import { PerformanceClient } from './PerformanceClient.js';
|
|
|
7
7
|
* Licensed under the MIT License.
|
|
8
8
|
*/
|
|
9
9
|
class StubPerformanceMeasurement {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
endMeasurement() { }
|
|
14
|
-
flushMeasurement() {
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
10
|
+
startMeasurement() { return; }
|
|
11
|
+
endMeasurement() { return; }
|
|
12
|
+
flushMeasurement() { return null; }
|
|
17
13
|
}
|
|
18
14
|
class StubPerformanceClient extends PerformanceClient {
|
|
19
15
|
generateId() {
|
|
@@ -22,21 +18,11 @@ class StubPerformanceClient extends PerformanceClient {
|
|
|
22
18
|
startPerformanceMeasurement() {
|
|
23
19
|
return new StubPerformanceMeasurement();
|
|
24
20
|
}
|
|
25
|
-
|
|
26
|
-
calculateQueuedTime(preQueueTime, currentTime) {
|
|
21
|
+
calculateQueuedTime() {
|
|
27
22
|
return 0;
|
|
28
23
|
}
|
|
29
|
-
addQueueMeasurement(
|
|
30
|
-
|
|
31
|
-
queueTime // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
32
|
-
) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
setPreQueueTime(eventName, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
36
|
-
correlationId // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
37
|
-
) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
24
|
+
addQueueMeasurement() { return; }
|
|
25
|
+
setPreQueueTime() { return; }
|
|
40
26
|
}
|
|
41
27
|
|
|
42
28
|
export { StubPerformanceClient, StubPerformanceMeasurement };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StubPerformanceClient.js","sources":["../../../src/telemetry/performance/StubPerformanceClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;
|
|
1
|
+
{"version":3,"file":"StubPerformanceClient.js","sources":["../../../src/telemetry/performance/StubPerformanceClient.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;MAMU,0BAA0B,CAAA;IACnC,gBAAgB,GAAA,EAAW,OAAO,EAAE;IACpC,cAAc,GAAA,EAAW,OAAO,EAAE;AAClC,IAAA,gBAAgB,GAAoB,EAAA,OAAO,IAAI,CAAC,EAAE;AACrD,CAAA;AAEK,MAAO,qBACT,SAAQ,iBAAiB,CAAA;IAGzB,UAAU,GAAA;AACN,QAAA,OAAO,aAAa,CAAC;KACxB;IAED,2BAA2B,GAAA;QACvB,OAAO,IAAI,0BAA0B,EAAE,CAAC;KAC3C;IAED,mBAAmB,GAAA;AACf,QAAA,OAAO,CAAC,CAAC;KACZ;IAED,mBAAmB,GAAA,EAAW,OAAO,EAAE;IAEvC,eAAe,GAAA,EAAW,OAAO,EAAE;AACtC;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v14.0.0-
|
|
1
|
+
/*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CacheOutcome, Constants, SERVER_TELEM_CONSTANTS, Separators } from '../../utils/Constants.js';
|
|
4
4
|
import { AuthError } from '../../error/AuthError.js';
|
package/dist/url/UrlString.js
CHANGED