@azure/identity 3.1.0 → 3.1.1
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
CHANGED
|
@@ -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 {
|