@azure/identity 3.1.0 → 3.1.2-alpha.20221118.8
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.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/index.js +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -256,7 +256,7 @@ function credentialLogger(title, log = logger$l) {
|
|
|
256
256
|
/**
|
|
257
257
|
* Current version of the `@azure/identity` package.
|
|
258
258
|
*/
|
|
259
|
-
const SDK_VERSION = `3.1.
|
|
259
|
+
const SDK_VERSION = `3.1.2`;
|
|
260
260
|
/**
|
|
261
261
|
* The default client ID for authentication
|
|
262
262
|
* @internal
|
|
@@ -2194,7 +2194,7 @@ class ManagedIdentityCredential {
|
|
|
2194
2194
|
logger$c.info(`token = ${resultToken.token}`);
|
|
2195
2195
|
return {
|
|
2196
2196
|
accessToken: resultToken === null || resultToken === void 0 ? void 0 : resultToken.token,
|
|
2197
|
-
expiresInSeconds: resultToken === null || resultToken === void 0 ? void 0 : resultToken.expiresOnTimestamp,
|
|
2197
|
+
expiresInSeconds: (resultToken === null || resultToken === void 0 ? void 0 : resultToken.expiresOnTimestamp) / 1000,
|
|
2198
2198
|
};
|
|
2199
2199
|
}
|
|
2200
2200
|
else {
|