@azure/msal-common 14.0.0-alpha.1 → 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.
Files changed (187) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +62 -62
  3. package/dist/account/AccountInfo.d.ts +31 -31
  4. package/dist/account/AuthToken.d.ts +20 -20
  5. package/dist/account/AuthToken.js +48 -48
  6. package/dist/account/CcsCredential.d.ts +9 -8
  7. package/dist/account/CcsCredential.d.ts.map +1 -1
  8. package/dist/account/CcsCredential.js +9 -10
  9. package/dist/account/CcsCredential.js.map +1 -1
  10. package/dist/account/ClientCredentials.d.ts +14 -14
  11. package/dist/account/ClientInfo.d.ts +19 -19
  12. package/dist/account/ClientInfo.js +37 -37
  13. package/dist/account/DecodedAuthToken.d.ts +8 -8
  14. package/dist/account/TokenClaims.d.ts +65 -65
  15. package/dist/authority/Authority.d.ts +228 -215
  16. package/dist/authority/Authority.d.ts.map +1 -1
  17. package/dist/authority/Authority.js +716 -682
  18. package/dist/authority/Authority.js.map +1 -1
  19. package/dist/authority/AuthorityFactory.d.ts +30 -30
  20. package/dist/authority/AuthorityFactory.js +47 -47
  21. package/dist/authority/AuthorityMetadata.d.ts +622 -622
  22. package/dist/authority/AuthorityMetadata.js +876 -876
  23. package/dist/authority/AuthorityOptions.d.ts +19 -18
  24. package/dist/authority/AuthorityOptions.d.ts.map +1 -1
  25. package/dist/authority/AuthorityOptions.js +19 -20
  26. package/dist/authority/AuthorityOptions.js.map +1 -1
  27. package/dist/authority/AuthorityType.d.ts +10 -9
  28. package/dist/authority/AuthorityType.d.ts.map +1 -1
  29. package/dist/authority/AuthorityType.js +14 -15
  30. package/dist/authority/AuthorityType.js.map +1 -1
  31. package/dist/authority/AzureRegion.d.ts +1 -1
  32. package/dist/authority/AzureRegionConfiguration.d.ts +5 -5
  33. package/dist/authority/CloudDiscoveryMetadata.d.ts +5 -5
  34. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +13 -13
  35. package/dist/authority/CloudInstanceDiscoveryErrorResponse.js +8 -8
  36. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +9 -9
  37. package/dist/authority/CloudInstanceDiscoveryResponse.js +8 -8
  38. package/dist/authority/ImdsOptions.d.ts +5 -5
  39. package/dist/authority/OpenIdConfigResponse.d.ts +11 -11
  40. package/dist/authority/OpenIdConfigResponse.js +10 -10
  41. package/dist/authority/ProtocolMode.d.ts +8 -7
  42. package/dist/authority/ProtocolMode.d.ts.map +1 -1
  43. package/dist/authority/ProtocolMode.js +12 -13
  44. package/dist/authority/ProtocolMode.js.map +1 -1
  45. package/dist/authority/RegionDiscovery.d.ts +30 -30
  46. package/dist/authority/RegionDiscovery.js +108 -108
  47. package/dist/authority/RegionDiscoveryMetadata.d.ts +6 -6
  48. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +15 -15
  49. package/dist/cache/CacheManager.d.ts +443 -443
  50. package/dist/cache/CacheManager.js +1011 -1011
  51. package/dist/cache/entities/AccessTokenEntity.d.ts +56 -56
  52. package/dist/cache/entities/AccessTokenEntity.js +111 -111
  53. package/dist/cache/entities/AccountEntity.d.ts +99 -99
  54. package/dist/cache/entities/AccountEntity.js +248 -248
  55. package/dist/cache/entities/AppMetadataEntity.d.ts +39 -39
  56. package/dist/cache/entities/AppMetadataEntity.js +66 -66
  57. package/dist/cache/entities/AuthorityMetadataEntity.d.ts +47 -47
  58. package/dist/cache/entities/AuthorityMetadataEntity.js +77 -77
  59. package/dist/cache/entities/CacheRecord.d.ts +13 -13
  60. package/dist/cache/entities/CacheRecord.js +13 -13
  61. package/dist/cache/entities/CredentialEntity.d.ts +88 -88
  62. package/dist/cache/entities/CredentialEntity.js +136 -136
  63. package/dist/cache/entities/IdTokenEntity.d.ts +34 -34
  64. package/dist/cache/entities/IdTokenEntity.js +56 -56
  65. package/dist/cache/entities/RefreshTokenEntity.d.ts +36 -36
  66. package/dist/cache/entities/RefreshTokenEntity.js +59 -59
  67. package/dist/cache/entities/ServerTelemetryEntity.d.ts +12 -12
  68. package/dist/cache/entities/ServerTelemetryEntity.js +27 -27
  69. package/dist/cache/entities/ThrottlingEntity.d.ts +13 -13
  70. package/dist/cache/entities/ThrottlingEntity.js +23 -23
  71. package/dist/cache/interface/ICacheManager.d.ts +165 -165
  72. package/dist/cache/interface/ICachePlugin.d.ts +5 -5
  73. package/dist/cache/interface/ISerializableTokenCache.d.ts +4 -4
  74. package/dist/cache/persistence/TokenCacheContext.d.ts +23 -23
  75. package/dist/cache/persistence/TokenCacheContext.js +25 -25
  76. package/dist/cache/utils/CacheTypes.d.ts +62 -62
  77. package/dist/client/AuthorizationCodeClient.d.ts +71 -71
  78. package/dist/client/AuthorizationCodeClient.js +433 -433
  79. package/dist/client/BaseClient.d.ts +50 -50
  80. package/dist/client/BaseClient.js +92 -92
  81. package/dist/client/RefreshTokenClient.d.ts +34 -34
  82. package/dist/client/RefreshTokenClient.js +239 -239
  83. package/dist/client/SilentFlowClient.d.ts +24 -24
  84. package/dist/client/SilentFlowClient.js +94 -94
  85. package/dist/config/AppTokenProvider.d.ts +38 -38
  86. package/dist/config/ClientConfiguration.d.ts +133 -133
  87. package/dist/config/ClientConfiguration.js +88 -88
  88. package/dist/crypto/ICrypto.d.ts +62 -62
  89. package/dist/crypto/ICrypto.js +42 -42
  90. package/dist/crypto/IGuidGenerator.d.ts +4 -4
  91. package/dist/crypto/JoseHeader.d.ts +21 -21
  92. package/dist/crypto/JoseHeader.js +36 -36
  93. package/dist/crypto/PopTokenGenerator.d.ts +58 -57
  94. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  95. package/dist/crypto/PopTokenGenerator.js +82 -83
  96. package/dist/crypto/PopTokenGenerator.js.map +1 -1
  97. package/dist/crypto/SignedHttpRequest.d.ts +11 -11
  98. package/dist/error/AuthError.d.ts +47 -47
  99. package/dist/error/AuthError.js +51 -51
  100. package/dist/error/ClientAuthError.d.ts +412 -412
  101. package/dist/error/ClientAuthError.js +519 -519
  102. package/dist/error/ClientConfigurationError.d.ts +206 -198
  103. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  104. package/dist/error/ClientConfigurationError.js +259 -249
  105. package/dist/error/ClientConfigurationError.js.map +1 -1
  106. package/dist/error/InteractionRequiredAuthError.d.ts +59 -59
  107. package/dist/error/InteractionRequiredAuthError.js +78 -78
  108. package/dist/error/JoseHeaderError.d.ts +28 -28
  109. package/dist/error/JoseHeaderError.js +39 -39
  110. package/dist/error/ServerError.d.ts +7 -7
  111. package/dist/error/ServerError.js +14 -14
  112. package/dist/index.cjs.js +8826 -8813
  113. package/dist/index.cjs.js.map +1 -1
  114. package/dist/index.d.ts +93 -93
  115. package/dist/index.js +1 -1
  116. package/dist/logger/Logger.d.ts +95 -95
  117. package/dist/logger/Logger.js +197 -197
  118. package/dist/network/INetworkModule.d.ts +29 -29
  119. package/dist/network/INetworkModule.js +14 -14
  120. package/dist/network/NetworkManager.d.ts +32 -32
  121. package/dist/network/NetworkManager.js +33 -33
  122. package/dist/network/RequestThumbprint.d.ts +16 -16
  123. package/dist/network/ThrottlingUtils.d.ts +41 -41
  124. package/dist/network/ThrottlingUtils.js +94 -94
  125. package/dist/packageMetadata.d.ts +2 -2
  126. package/dist/packageMetadata.d.ts.map +1 -1
  127. package/dist/packageMetadata.js +4 -4
  128. package/dist/request/AuthenticationHeaderParser.d.ts +19 -19
  129. package/dist/request/AuthenticationHeaderParser.js +55 -55
  130. package/dist/request/BaseAuthRequest.d.ts +37 -37
  131. package/dist/request/CommonAuthorizationCodeRequest.d.ts +27 -27
  132. package/dist/request/CommonAuthorizationUrlRequest.d.ts +50 -50
  133. package/dist/request/CommonClientCredentialRequest.d.ts +17 -17
  134. package/dist/request/CommonDeviceCodeRequest.d.ts +21 -21
  135. package/dist/request/CommonEndSessionRequest.d.ts +21 -21
  136. package/dist/request/CommonOnBehalfOfRequest.d.ts +13 -13
  137. package/dist/request/CommonRefreshTokenRequest.d.ts +19 -19
  138. package/dist/request/CommonSilentFlowRequest.d.ts +18 -18
  139. package/dist/request/CommonUsernamePasswordRequest.d.ts +17 -17
  140. package/dist/request/NativeRequest.d.ts +19 -19
  141. package/dist/request/NativeSignOutRequest.d.ts +5 -5
  142. package/dist/request/RequestParameterBuilder.d.ts +216 -216
  143. package/dist/request/RequestParameterBuilder.js +374 -374
  144. package/dist/request/RequestValidator.d.ts +33 -33
  145. package/dist/request/RequestValidator.js +82 -83
  146. package/dist/request/RequestValidator.js.map +1 -1
  147. package/dist/request/ScopeSet.d.ts +88 -88
  148. package/dist/request/ScopeSet.js +197 -197
  149. package/dist/response/AuthenticationResult.d.ts +39 -39
  150. package/dist/response/AuthorizationCodePayload.d.ts +13 -13
  151. package/dist/response/DeviceCodeResponse.d.ts +25 -25
  152. package/dist/response/ExternalTokenResponse.d.ts +15 -15
  153. package/dist/response/IMDSBadResponse.d.ts +4 -4
  154. package/dist/response/ResponseHandler.d.ts +72 -72
  155. package/dist/response/ResponseHandler.js +300 -300
  156. package/dist/response/ServerAuthorizationCodeResponse.d.ts +25 -25
  157. package/dist/response/ServerAuthorizationTokenResponse.d.ts +44 -44
  158. package/dist/telemetry/performance/IPerformanceClient.d.ts +42 -42
  159. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +5 -5
  160. package/dist/telemetry/performance/PerformanceClient.d.ts +189 -189
  161. package/dist/telemetry/performance/PerformanceClient.js +406 -406
  162. package/dist/telemetry/performance/PerformanceEvent.d.ts +441 -439
  163. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  164. package/dist/telemetry/performance/PerformanceEvent.js +225 -227
  165. package/dist/telemetry/performance/PerformanceEvent.js.map +1 -1
  166. package/dist/telemetry/performance/StubPerformanceClient.d.ts +15 -19
  167. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  168. package/dist/telemetry/performance/StubPerformanceClient.js +22 -36
  169. package/dist/telemetry/performance/StubPerformanceClient.js.map +1 -1
  170. package/dist/telemetry/server/ServerTelemetryManager.d.ts +65 -65
  171. package/dist/telemetry/server/ServerTelemetryManager.js +196 -196
  172. package/dist/telemetry/server/ServerTelemetryRequest.d.ts +8 -8
  173. package/dist/url/IUri.d.ts +12 -12
  174. package/dist/url/UrlString.d.ts +70 -70
  175. package/dist/url/UrlString.js +242 -242
  176. package/dist/utils/Constants.d.ts +345 -331
  177. package/dist/utils/Constants.d.ts.map +1 -1
  178. package/dist/utils/Constants.js +353 -373
  179. package/dist/utils/Constants.js.map +1 -1
  180. package/dist/utils/MsalTypes.d.ts +6 -6
  181. package/dist/utils/ProtocolUtils.d.ts +42 -42
  182. package/dist/utils/ProtocolUtils.js +71 -71
  183. package/dist/utils/StringUtils.d.ts +53 -53
  184. package/dist/utils/StringUtils.js +124 -124
  185. package/dist/utils/TimeUtils.d.ts +27 -27
  186. package/dist/utils/TimeUtils.js +45 -45
  187. package/package.json +86 -79
@@ -1 +1 @@
1
- {"version":3,"file":"PerformanceEvent.d.ts","sourceRoot":"","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,oBAAY,iBAAiB;IACzB;;;OAGG;IACH,kBAAkB,uBAAuB;IAEzC;;;OAGG;IACH,0BAA0B,+BAA+B;IAEzD;;;OAGG;IACH,kBAAkB,uBAAuB;IAEzC;;;OAGG;IACH,uBAAuB,4BAA4B;IAEnD;;;OAGG;IACH,iBAAiB,sBAAsB;IAEvC;;;OAGG;IACH,gCAAgC,qCAAqC;IAErE;;;OAGG;IACH,iBAAiB,sBAAsB;IAEvC;;;OAGG;IACH,6BAA6B,kCAAkC;IAE/D;;;OAGG;IACH,8BAA8B,mCAAmC;IAEjE;;;OAGG;IACH,+BAA+B,oCAAoC;IAEnE;;;OAGG;IACH,SAAS,cAAc;IAEvB;;;OAGG;IACH,+CAA+C,oDAAoD;IAEnG;;;OAGG;IACH,8BAA8B,mCAAmC;IAEjE;;;OAGG;IACH,mCAAmC,wCAAwC;IAC3E;;OAEG;IACH,m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AAO,GAAG,IAAI,CAAC;IAE3B;;;;OAIG;IACH,IAAI,EAAE,iBAAiB,CAAC;IAExB;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEvC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,yBAAyB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CAC3D,CAAC;AAEN,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,MAAM,CAUxC,CAAC"}
@@ -1,231 +1,229 @@
1
- /*! @azure/msal-common v14.0.0-alpha.1 2023-05-08 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
- /*
4
- * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Licensed under the MIT License.
6
- */
7
- /**
8
- * Enumeration of operations that are instrumented by have their performance measured by the PerformanceClient.
9
- *
10
- * @export
11
- * @enum {number}
12
- */
13
- var PerformanceEvents;
14
- (function (PerformanceEvents) {
15
- /**
16
- * acquireTokenByCode API (msal-browser and msal-node).
17
- * Used to acquire tokens by trading an authorization code against the token endpoint.
18
- */
19
- PerformanceEvents["AcquireTokenByCode"] = "acquireTokenByCode";
20
- /**
21
- * acquireTokenByRefreshToken API (msal-browser and msal-node).
22
- * Used to renew an access token using a refresh token against the token endpoint.
23
- */
24
- PerformanceEvents["AcquireTokenByRefreshToken"] = "acquireTokenByRefreshToken";
25
- /**
26
- * acquireTokenSilent API (msal-browser and msal-node).
27
- * Used to silently acquire a new access token (from the cache or the network).
28
- */
29
- PerformanceEvents["AcquireTokenSilent"] = "acquireTokenSilent";
30
- /**
31
- * acquireTokenSilentAsync (msal-browser).
32
- * Internal API for acquireTokenSilent.
33
- */
34
- PerformanceEvents["AcquireTokenSilentAsync"] = "acquireTokenSilentAsync";
35
- /**
36
- * acquireTokenPopup (msal-browser).
37
- * Used to acquire a new access token interactively through pop ups
38
- */
39
- PerformanceEvents["AcquireTokenPopup"] = "acquireTokenPopup";
40
- /**
41
- * getPublicKeyThumbprint API in CryptoOpts class (msal-browser).
42
- * Used to generate a public/private keypair and generate a public key thumbprint for pop requests.
43
- */
44
- PerformanceEvents["CryptoOptsGetPublicKeyThumbprint"] = "cryptoOptsGetPublicKeyThumbprint";
45
- /**
46
- * signJwt API in CryptoOpts class (msal-browser).
47
- * Used to signed a pop token.
48
- */
49
- PerformanceEvents["CryptoOptsSignJwt"] = "cryptoOptsSignJwt";
50
- /**
51
- * acquireToken API in the SilentCacheClient class (msal-browser).
52
- * Used to read access tokens from the cache.
53
- */
54
- PerformanceEvents["SilentCacheClientAcquireToken"] = "silentCacheClientAcquireToken";
55
- /**
56
- * acquireToken API in the SilentIframeClient class (msal-browser).
57
- * Used to acquire a new set of tokens from the authorize endpoint in a hidden iframe.
58
- */
59
- PerformanceEvents["SilentIframeClientAcquireToken"] = "silentIframeClientAcquireToken";
60
- /**
61
- * acquireToken API in SilentRereshClient (msal-browser).
62
- * Used to acquire a new set of tokens from the token endpoint using a refresh token.
63
- */
64
- PerformanceEvents["SilentRefreshClientAcquireToken"] = "silentRefreshClientAcquireToken";
65
- /**
66
- * ssoSilent API (msal-browser).
67
- * Used to silently acquire an authorization code and set of tokens using a hidden iframe.
68
- */
69
- PerformanceEvents["SsoSilent"] = "ssoSilent";
70
- /**
71
- * getDiscoveredAuthority API in StandardInteractionClient class (msal-browser).
72
- * Used to load authority metadata for a request.
73
- */
74
- PerformanceEvents["StandardInteractionClientGetDiscoveredAuthority"] = "standardInteractionClientGetDiscoveredAuthority";
75
- /**
76
- * acquireToken APIs in msal-browser.
77
- * Used to make an /authorize endpoint call with native brokering enabled.
78
- */
79
- PerformanceEvents["FetchAccountIdWithNativeBroker"] = "fetchAccountIdWithNativeBroker";
80
- /**
81
- * acquireToken API in NativeInteractionClient class (msal-browser).
82
- * Used to acquire a token from Native component when native brokering is enabled.
83
- */
84
- PerformanceEvents["NativeInteractionClientAcquireToken"] = "nativeInteractionClientAcquireToken";
85
- /**
86
- * Time spent creating default headers for requests to token endpoint
87
- */
88
- PerformanceEvents["BaseClientCreateTokenRequestHeaders"] = "baseClientCreateTokenRequestHeaders";
89
- /**
90
- * Used to measure the time taken for completing embedded-broker handshake (PW-Broker).
91
- */
92
- PerformanceEvents["BrokerHandhshake"] = "brokerHandshake";
93
- /**
94
- * acquireTokenByRefreshToken API in BrokerClientApplication (PW-Broker) .
95
- */
96
- PerformanceEvents["AcquireTokenByRefreshTokenInBroker"] = "acquireTokenByRefreshTokenInBroker";
97
- /**
98
- * Time taken for token acquisition by broker
99
- */
100
- PerformanceEvents["AcquireTokenByBroker"] = "acquireTokenByBroker";
101
- /**
102
- * Time spent on the network for refresh token acquisition
103
- */
104
- PerformanceEvents["RefreshTokenClientExecuteTokenRequest"] = "refreshTokenClientExecuteTokenRequest";
105
- /**
106
- * Time taken for acquiring refresh token , records RT size
107
- */
108
- PerformanceEvents["RefreshTokenClientAcquireToken"] = "refreshTokenClientAcquireToken";
109
- /**
110
- * Time taken for acquiring cached refresh token
111
- */
112
- PerformanceEvents["RefreshTokenClientAcquireTokenWithCachedRefreshToken"] = "refreshTokenClientAcquireTokenWithCachedRefreshToken";
113
- /**
114
- * acquireTokenByRefreshToken API in RefreshTokenClient (msal-common).
115
- */
116
- PerformanceEvents["RefreshTokenClientAcquireTokenByRefreshToken"] = "refreshTokenClientAcquireTokenByRefreshToken";
117
- /**
118
- * Helper function to create token request body in RefreshTokenClient (msal-common).
119
- */
120
- PerformanceEvents["RefreshTokenClientCreateTokenRequestBody"] = "refreshTokenClientCreateTokenRequestBody";
121
- /**
122
- * acquireTokenFromCache (msal-browser).
123
- * Internal API for acquiring token from cache
124
- */
125
- PerformanceEvents["AcquireTokenFromCache"] = "acquireTokenFromCache";
126
- /**
127
- * acquireTokenBySilentIframe (msal-browser).
128
- * Internal API for acquiring token by silent Iframe
129
- */
130
- PerformanceEvents["AcquireTokenBySilentIframe"] = "acquireTokenBySilentIframe";
131
- /**
132
- * Internal API for initializing base request in BaseInteractionClient (msal-browser)
133
- */
134
- PerformanceEvents["InitializeBaseRequest"] = "initializeBaseRequest";
135
- /**
136
- * Internal API for initializing silent request in SilentCacheClient (msal-browser)
137
- */
138
- PerformanceEvents["InitializeSilentRequest"] = "initializeSilentRequest";
139
- PerformanceEvents["InitializeClientApplication"] = "initializeClientApplication";
140
- /**
141
- * Helper function in SilentIframeClient class (msal-browser).
142
- */
143
- PerformanceEvents["SilentIframeClientTokenHelper"] = "silentIframeClientTokenHelper";
144
- /**
145
- * SilentHandler
146
- */
147
- PerformanceEvents["SilentHandlerInitiateAuthRequest"] = "silentHandlerInitiateAuthRequest";
148
- PerformanceEvents["SilentHandlerMonitorIframeForHash"] = "silentHandlerMonitorIframeForHash";
149
- PerformanceEvents["SilentHandlerLoadFrame"] = "silentHandlerLoadFrame";
150
- /**
151
- * Helper functions in StandardInteractionClient class (msal-browser)
152
- */
153
- PerformanceEvents["StandardInteractionClientCreateAuthCodeClient"] = "standardInteractionClientCreateAuthCodeClient";
154
- PerformanceEvents["StandardInteractionClientGetClientConfiguration"] = "standardInteractionClientGetClientConfiguration";
155
- PerformanceEvents["StandardInteractionClientInitializeAuthorizationRequest"] = "standardInteractionClientInitializeAuthorizationRequest";
156
- PerformanceEvents["StandardInteractionClientInitializeAuthorizationCodeRequest"] = "standardInteractionClientInitializeAuthorizationCodeRequest";
157
- /**
158
- * getAuthCodeUrl API (msal-browser and msal-node).
159
- */
160
- PerformanceEvents["GetAuthCodeUrl"] = "getAuthCodeUrl";
161
- /**
162
- * Functions from InteractionHandler (msal-browser)
163
- */
164
- PerformanceEvents["HandleCodeResponseFromServer"] = "handleCodeResponseFromServer";
165
- PerformanceEvents["HandleCodeResponseFromHash"] = "handleCodeResponseFromHash";
166
- PerformanceEvents["UpdateTokenEndpointAuthority"] = "updateTokenEndpointAuthority";
167
- /**
168
- * APIs in Authorization Code Client (msal-common)
169
- */
170
- PerformanceEvents["AuthClientAcquireToken"] = "authClientAcquireToken";
171
- PerformanceEvents["AuthClientExecuteTokenRequest"] = "authClientExecuteTokenRequest";
172
- PerformanceEvents["AuthClientCreateTokenRequestBody"] = "authClientCreateTokenRequestBody";
173
- PerformanceEvents["AuthClientCreateQueryString"] = "authClientCreateQueryString";
174
- /**
175
- * Generate functions in PopTokenGenerator (msal-common)
176
- */
177
- PerformanceEvents["PopTokenGenerateCnf"] = "popTokenGenerateCnf";
178
- PerformanceEvents["PopTokenGenerateKid"] = "popTokenGenerateKid";
179
- /**
180
- * handleServerTokenResponse API in ResponseHandler (msal-common)
181
- */
182
- PerformanceEvents["HandleServerTokenResponse"] = "handleServerTokenResponse";
183
- /**
184
- * Authority functions
185
- */
186
- PerformanceEvents["AuthorityFactoryCreateDiscoveredInstance"] = "authorityFactoryCreateDiscoveredInstance";
187
- PerformanceEvents["AuthorityResolveEndpointsAsync"] = "authorityResolveEndpointsAsync";
188
- PerformanceEvents["AuthorityGetCloudDiscoveryMetadataFromNetwork"] = "authorityGetCloudDiscoveryMetadataFromNetwork";
189
- PerformanceEvents["AuthorityUpdateCloudDiscoveryMetadata"] = "authorityUpdateCloudDiscoveryMetadata";
190
- PerformanceEvents["AuthorityGetEndpointMetadataFromNetwork"] = "authorityGetEndpointMetadataFromNetwork";
191
- PerformanceEvents["AuthorityUpdateEndpointMetadata"] = "authorityUpdateEndpointMetadata";
192
- PerformanceEvents["AuthorityUpdateMetadataWithRegionalInformation"] = "authorityUpdateMetadataWithRegionalInformation";
193
- /**
194
- * Region Discovery functions
195
- */
196
- PerformanceEvents["RegionDiscoveryDetectRegion"] = "regionDiscoveryDetectRegion";
197
- PerformanceEvents["RegionDiscoveryGetRegionFromIMDS"] = "regionDiscoveryGetRegionFromIMDS";
198
- PerformanceEvents["RegionDiscoveryGetCurrentVersion"] = "regionDiscoveryGetCurrentVersion";
199
- PerformanceEvents["AcquireTokenByCodeAsync"] = "acquireTokenByCodeAsync";
200
- PerformanceEvents["GetEndpointMetadataFromNetwork"] = "getEndpointMetadataFromNetwork";
201
- PerformanceEvents["GetCloudDiscoveryMetadataFromNetworkMeasurement"] = "getCloudDiscoveryMetadataFromNetworkMeasurement";
202
- PerformanceEvents["HandleRedirectPromiseMeasurement"] = "handleRedirectPromiseMeasurement";
203
- PerformanceEvents["UpdateCloudDiscoveryMetadataMeasurement"] = "updateCloudDiscoveryMetadataMeasurement";
204
- PerformanceEvents["UsernamePasswordClientAcquireToken"] = "usernamePasswordClientAcquireToken";
205
- PerformanceEvents["NativeMessageHandlerHandshake"] = "nativeMessageHandlerHandshake";
206
- })(PerformanceEvents || (PerformanceEvents = {}));
207
- /**
208
- * State of the performance event.
209
- *
210
- * @export
211
- * @enum {number}
212
- */
213
- var PerformanceEventStatus;
214
- (function (PerformanceEventStatus) {
215
- PerformanceEventStatus[PerformanceEventStatus["NotStarted"] = 0] = "NotStarted";
216
- PerformanceEventStatus[PerformanceEventStatus["InProgress"] = 1] = "InProgress";
217
- PerformanceEventStatus[PerformanceEventStatus["Completed"] = 2] = "Completed";
218
- })(PerformanceEventStatus || (PerformanceEventStatus = {}));
219
- const IntFields = new Set([
220
- "accessTokenSize",
221
- "durationMs",
222
- "idTokenSize",
223
- "matsSilentStatus",
224
- "matsHttpStatus",
225
- "refreshTokenSize",
226
- "queuedTimeMs",
227
- "startTimeMs",
228
- "status",
3
+ /*
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Licensed under the MIT License.
6
+ */
7
+ /**
8
+ * Enumeration of operations that are instrumented by have their performance measured by the PerformanceClient.
9
+ *
10
+ * @export
11
+ * @enum {number}
12
+ */
13
+ const PerformanceEvents = {
14
+ /**
15
+ * acquireTokenByCode API (msal-browser and msal-node).
16
+ * Used to acquire tokens by trading an authorization code against the token endpoint.
17
+ */
18
+ AcquireTokenByCode: "acquireTokenByCode",
19
+ /**
20
+ * acquireTokenByRefreshToken API (msal-browser and msal-node).
21
+ * Used to renew an access token using a refresh token against the token endpoint.
22
+ */
23
+ AcquireTokenByRefreshToken: "acquireTokenByRefreshToken",
24
+ /**
25
+ * acquireTokenSilent API (msal-browser and msal-node).
26
+ * Used to silently acquire a new access token (from the cache or the network).
27
+ */
28
+ AcquireTokenSilent: "acquireTokenSilent",
29
+ /**
30
+ * acquireTokenSilentAsync (msal-browser).
31
+ * Internal API for acquireTokenSilent.
32
+ */
33
+ AcquireTokenSilentAsync: "acquireTokenSilentAsync",
34
+ /**
35
+ * acquireTokenPopup (msal-browser).
36
+ * Used to acquire a new access token interactively through pop ups
37
+ */
38
+ AcquireTokenPopup: "acquireTokenPopup",
39
+ /**
40
+ * getPublicKeyThumbprint API in CryptoOpts class (msal-browser).
41
+ * Used to generate a public/private keypair and generate a public key thumbprint for pop requests.
42
+ */
43
+ CryptoOptsGetPublicKeyThumbprint: "cryptoOptsGetPublicKeyThumbprint",
44
+ /**
45
+ * signJwt API in CryptoOpts class (msal-browser).
46
+ * Used to signed a pop token.
47
+ */
48
+ CryptoOptsSignJwt: "cryptoOptsSignJwt",
49
+ /**
50
+ * acquireToken API in the SilentCacheClient class (msal-browser).
51
+ * Used to read access tokens from the cache.
52
+ */
53
+ SilentCacheClientAcquireToken: "silentCacheClientAcquireToken",
54
+ /**
55
+ * acquireToken API in the SilentIframeClient class (msal-browser).
56
+ * Used to acquire a new set of tokens from the authorize endpoint in a hidden iframe.
57
+ */
58
+ SilentIframeClientAcquireToken: "silentIframeClientAcquireToken",
59
+ /**
60
+ * acquireToken API in SilentRereshClient (msal-browser).
61
+ * Used to acquire a new set of tokens from the token endpoint using a refresh token.
62
+ */
63
+ SilentRefreshClientAcquireToken: "silentRefreshClientAcquireToken",
64
+ /**
65
+ * ssoSilent API (msal-browser).
66
+ * Used to silently acquire an authorization code and set of tokens using a hidden iframe.
67
+ */
68
+ SsoSilent: "ssoSilent",
69
+ /**
70
+ * getDiscoveredAuthority API in StandardInteractionClient class (msal-browser).
71
+ * Used to load authority metadata for a request.
72
+ */
73
+ StandardInteractionClientGetDiscoveredAuthority: "standardInteractionClientGetDiscoveredAuthority",
74
+ /**
75
+ * acquireToken APIs in msal-browser.
76
+ * Used to make an /authorize endpoint call with native brokering enabled.
77
+ */
78
+ FetchAccountIdWithNativeBroker: "fetchAccountIdWithNativeBroker",
79
+ /**
80
+ * acquireToken API in NativeInteractionClient class (msal-browser).
81
+ * Used to acquire a token from Native component when native brokering is enabled.
82
+ */
83
+ NativeInteractionClientAcquireToken: "nativeInteractionClientAcquireToken",
84
+ /**
85
+ * Time spent creating default headers for requests to token endpoint
86
+ */
87
+ BaseClientCreateTokenRequestHeaders: "baseClientCreateTokenRequestHeaders",
88
+ /**
89
+ * Used to measure the time taken for completing embedded-broker handshake (PW-Broker).
90
+ */
91
+ BrokerHandhshake: "brokerHandshake",
92
+ /**
93
+ * acquireTokenByRefreshToken API in BrokerClientApplication (PW-Broker) .
94
+ */
95
+ AcquireTokenByRefreshTokenInBroker: "acquireTokenByRefreshTokenInBroker",
96
+ /**
97
+ * Time taken for token acquisition by broker
98
+ */
99
+ AcquireTokenByBroker: "acquireTokenByBroker",
100
+ /**
101
+ * Time spent on the network for refresh token acquisition
102
+ */
103
+ RefreshTokenClientExecuteTokenRequest: "refreshTokenClientExecuteTokenRequest",
104
+ /**
105
+ * Time taken for acquiring refresh token , records RT size
106
+ */
107
+ RefreshTokenClientAcquireToken: "refreshTokenClientAcquireToken",
108
+ /**
109
+ * Time taken for acquiring cached refresh token
110
+ */
111
+ RefreshTokenClientAcquireTokenWithCachedRefreshToken: "refreshTokenClientAcquireTokenWithCachedRefreshToken",
112
+ /**
113
+ * acquireTokenByRefreshToken API in RefreshTokenClient (msal-common).
114
+ */
115
+ RefreshTokenClientAcquireTokenByRefreshToken: "refreshTokenClientAcquireTokenByRefreshToken",
116
+ /**
117
+ * Helper function to create token request body in RefreshTokenClient (msal-common).
118
+ */
119
+ RefreshTokenClientCreateTokenRequestBody: "refreshTokenClientCreateTokenRequestBody",
120
+ /**
121
+ * acquireTokenFromCache (msal-browser).
122
+ * Internal API for acquiring token from cache
123
+ */
124
+ AcquireTokenFromCache: "acquireTokenFromCache",
125
+ /**
126
+ * acquireTokenBySilentIframe (msal-browser).
127
+ * Internal API for acquiring token by silent Iframe
128
+ */
129
+ AcquireTokenBySilentIframe: "acquireTokenBySilentIframe",
130
+ /**
131
+ * Internal API for initializing base request in BaseInteractionClient (msal-browser)
132
+ */
133
+ InitializeBaseRequest: "initializeBaseRequest",
134
+ /**
135
+ * Internal API for initializing silent request in SilentCacheClient (msal-browser)
136
+ */
137
+ InitializeSilentRequest: "initializeSilentRequest",
138
+ InitializeClientApplication: "initializeClientApplication",
139
+ /**
140
+ * Helper function in SilentIframeClient class (msal-browser).
141
+ */
142
+ SilentIframeClientTokenHelper: "silentIframeClientTokenHelper",
143
+ /**
144
+ * SilentHandler
145
+ */
146
+ SilentHandlerInitiateAuthRequest: "silentHandlerInitiateAuthRequest",
147
+ SilentHandlerMonitorIframeForHash: "silentHandlerMonitorIframeForHash",
148
+ SilentHandlerLoadFrame: "silentHandlerLoadFrame",
149
+ /**
150
+ * Helper functions in StandardInteractionClient class (msal-browser)
151
+ */
152
+ StandardInteractionClientCreateAuthCodeClient: "standardInteractionClientCreateAuthCodeClient",
153
+ StandardInteractionClientGetClientConfiguration: "standardInteractionClientGetClientConfiguration",
154
+ StandardInteractionClientInitializeAuthorizationRequest: "standardInteractionClientInitializeAuthorizationRequest",
155
+ StandardInteractionClientInitializeAuthorizationCodeRequest: "standardInteractionClientInitializeAuthorizationCodeRequest",
156
+ /**
157
+ * getAuthCodeUrl API (msal-browser and msal-node).
158
+ */
159
+ GetAuthCodeUrl: "getAuthCodeUrl",
160
+ /**
161
+ * Functions from InteractionHandler (msal-browser)
162
+ */
163
+ HandleCodeResponseFromServer: "handleCodeResponseFromServer",
164
+ HandleCodeResponseFromHash: "handleCodeResponseFromHash",
165
+ UpdateTokenEndpointAuthority: "updateTokenEndpointAuthority",
166
+ /**
167
+ * APIs in Authorization Code Client (msal-common)
168
+ */
169
+ AuthClientAcquireToken: "authClientAcquireToken",
170
+ AuthClientExecuteTokenRequest: "authClientExecuteTokenRequest",
171
+ AuthClientCreateTokenRequestBody: "authClientCreateTokenRequestBody",
172
+ AuthClientCreateQueryString: "authClientCreateQueryString",
173
+ /**
174
+ * Generate functions in PopTokenGenerator (msal-common)
175
+ */
176
+ PopTokenGenerateCnf: "popTokenGenerateCnf",
177
+ PopTokenGenerateKid: "popTokenGenerateKid",
178
+ /**
179
+ * handleServerTokenResponse API in ResponseHandler (msal-common)
180
+ */
181
+ HandleServerTokenResponse: "handleServerTokenResponse",
182
+ /**
183
+ * Authority functions
184
+ */
185
+ AuthorityFactoryCreateDiscoveredInstance: "authorityFactoryCreateDiscoveredInstance",
186
+ AuthorityResolveEndpointsAsync: "authorityResolveEndpointsAsync",
187
+ AuthorityGetCloudDiscoveryMetadataFromNetwork: "authorityGetCloudDiscoveryMetadataFromNetwork",
188
+ AuthorityUpdateCloudDiscoveryMetadata: "authorityUpdateCloudDiscoveryMetadata",
189
+ AuthorityGetEndpointMetadataFromNetwork: "authorityGetEndpointMetadataFromNetwork",
190
+ AuthorityUpdateEndpointMetadata: "authorityUpdateEndpointMetadata",
191
+ AuthorityUpdateMetadataWithRegionalInformation: "authorityUpdateMetadataWithRegionalInformation",
192
+ /**
193
+ * Region Discovery functions
194
+ */
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
+ };
206
+ /**
207
+ * State of the performance event.
208
+ *
209
+ * @export
210
+ * @enum {number}
211
+ */
212
+ const PerformanceEventStatus = {
213
+ NotStarted: 0,
214
+ InProgress: 1,
215
+ Completed: 2,
216
+ };
217
+ const IntFields = new Set([
218
+ "accessTokenSize",
219
+ "durationMs",
220
+ "idTokenSize",
221
+ "matsSilentStatus",
222
+ "matsHttpStatus",
223
+ "refreshTokenSize",
224
+ "queuedTimeMs",
225
+ "startTimeMs",
226
+ "status",
229
227
  ]);
230
228
 
231
229
  export { IntFields, PerformanceEventStatus, PerformanceEvents };
@@ -1 +1 @@
1
- {"version":3,"file":"PerformanceEvent.js","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;;;AAKG;IACS,kBAuOX;AAvOD,CAAA,UAAY,iBAAiB,EAAA;AACzB;;;AAGG;AACH,IAAA,iBAAA,CAAA,oBAAA,CAAA,GAAA,oBAAyC,CAAA;AAEzC;;;AAGG;AACH,IAAA,iBAAA,CAAA,4BAA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ACrE,IAAA,iBAAA,CAAA,kCAAA,CAAA,GAAA,kCAAqE,CAAA;AAErE,IAAA,iBAAA,CAAA,yBAAA,CAAA,GAAA,yBAAmD,CAAA;AAEnD,IAAA,iBAAA,CAAA,gCAAA,CAAA,GAAA,gCAAiE,CAAA;AACjE,IAAA,iBAAA,CAAA,iDAAA,CAAA,GAAA,iDAAmG,CAAA;AAEnG,IAAA,iBAAA,CAAA,kCAAA,CAAA,GAAA,kCAAqE,CAAA;AAErE,IAAA,iBAAA,CAAA,yCAAA,CAAA,GAAA,yCAAmF,CAAA;AAEnF,IAAA,iBAAA,CAAA,oCAAA,CAAA,GAAA,oCAAyE,CAAA;AAEzE,IAAA,iBAAA,CAAA,+BAAA,CAAA,GAAA,+BAA+D,CAAA;AACnE,CAAC,EAvOW,iBAAiB,KAAjB,iBAAiB,GAuO5B,EAAA,CAAA,CAAA,CAAA;AAED;;;;;AAKG;IACS,uBAIX;AAJD,CAAA,UAAY,sBAAsB,EAAA;AAC9B,IAAA,sBAAA,CAAA,sBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU,CAAA;AACV,IAAA,sBAAA,CAAA,sBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU,CAAA;AACV,IAAA,sBAAA,CAAA,sBAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS,CAAA;AACb,CAAC,EAJW,sBAAsB,KAAtB,sBAAsB,GAIjC,EAAA,CAAA,CAAA,CAAA;AAwQY,MAAA,SAAS,GAAwB,IAAI,GAAG,CAAC;IAClD,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,kBAAkB;IAClB,cAAc;IACd,aAAa;IACb,QAAQ;AACX,CAAA;;;;"}
1
+ {"version":3,"file":"PerformanceEvent.js","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAE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AAA,gCAAgC,EAAE,kCAAkC;AACpE,IAAA,gCAAgC,EAAE,kCAAkC;AAEpE,IAAA,uBAAuB,EAAE,yBAAyB;AAElD,IAAA,8BAA8B,EAAE,gCAAgC;AAChE,IAAA,+CAA+C,EAAE,iDAAiD;AAElG,IAAA,gCAAgC,EAAE,kCAAkC;AAEpE,IAAA,uCAAuC,EAAE,yCAAyC;AAElF,IAAA,kCAAkC,EAAE,oCAAoC;AAExE,IAAA,6BAA6B,EAAE,+BAA+B;EACvD;AAGX;;;;;AAKG;AACU,MAAA,sBAAsB,GAAG;AAClC,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,SAAS,EAAE,CAAC;EACL;AAyQE,MAAA,SAAS,GAAwB,IAAI,GAAG,CAAC;IAClD,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,kBAAkB;IAClB,cAAc;IACd,aAAa;IACb,QAAQ;AACX,CAAA;;;;"}
@@ -1,20 +1,16 @@
1
- import { IPerformanceClient } from "./IPerformanceClient";
2
- import { IPerformanceMeasurement } from "./IPerformanceMeasurement";
3
- import { PerformanceClient } from "./PerformanceClient";
4
- import { PerformanceEvents } from "./PerformanceEvent";
5
- export declare class StubPerformanceMeasurement implements IPerformanceMeasurement {
6
- startMeasurement(): void;
7
- endMeasurement(): void;
8
- flushMeasurement(): number | null;
9
- }
10
- export declare class StubPerformanceClient extends PerformanceClient implements IPerformanceClient {
11
- generateId(): string;
12
- startPerformanceMeasurement(): IPerformanceMeasurement;
13
- calculateQueuedTime(preQueueTime: number, currentTime: number): number;
14
- addQueueMeasurement(eventName: PerformanceEvents, // eslint-disable-line @typescript-eslint/no-unused-vars
15
- correlationId: string, // eslint-disable-line @typescript-eslint/no-unused-vars
16
- queueTime: number): void;
17
- setPreQueueTime(eventName: PerformanceEvents, // eslint-disable-line @typescript-eslint/no-unused-vars
18
- correlationId?: string | undefined): void;
19
- }
1
+ import { IPerformanceClient } from "./IPerformanceClient";
2
+ import { IPerformanceMeasurement } from "./IPerformanceMeasurement";
3
+ import { PerformanceClient } from "./PerformanceClient";
4
+ export declare class StubPerformanceMeasurement implements IPerformanceMeasurement {
5
+ startMeasurement(): void;
6
+ endMeasurement(): void;
7
+ flushMeasurement(): number | null;
8
+ }
9
+ export declare class StubPerformanceClient extends PerformanceClient implements IPerformanceClient {
10
+ generateId(): string;
11
+ startPerformanceMeasurement(): IPerformanceMeasurement;
12
+ calculateQueuedTime(): number;
13
+ addQueueMeasurement(): void;
14
+ setPreQueueTime(): void;
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;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,qBAAa,0BAA2B,YAAW,uBAAuB;IAEtE,gBAAgB,IAAI,IAAI;IAExB,cAAc,IAAI,IAAI;IACtB,gBAAgB,IAAI,MAAM,GAAG,IAAI;CAGpC;AAED,qBAAa,qBACT,SAAQ,iBACR,YAAW,kBAAkB;IAE7B,UAAU,IAAI,MAAM;IAIpB,2BAA2B,IAAI,uBAAuB;IAKtD,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM;IAItE,mBAAmB,CACf,SAAS,EAAE,iBAAiB,EAAE,wDAAwD;IACtF,aAAa,EAAE,MAAM,EAAE,wDAAwD;IAC/E,SAAS,EAAE,MAAM,GAClB,IAAI;IAIP,eAAe,CACX,SAAS,EAAE,iBAAiB,EAAE,wDAAwD;IACtF,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,GACnC,IAAI;CAGV"}
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"}