@azure-devops/mcp 2.2.2-nightly.20251118 → 2.2.2-nightly.20251119
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/auth.js +1 -3
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/auth.js
CHANGED
|
@@ -68,15 +68,13 @@ function createAuthenticator(type, tenantId) {
|
|
|
68
68
|
process.env.AZURE_TOKEN_CREDENTIALS = "dev";
|
|
69
69
|
}
|
|
70
70
|
let credential = new DefaultAzureCredential(); // CodeQL [SM05138] resolved by explicitly setting AZURE_TOKEN_CREDENTIALS
|
|
71
|
-
let options = {};
|
|
72
71
|
if (tenantId) {
|
|
73
72
|
// Use Azure CLI credential if tenantId is provided for multi-tenant scenarios
|
|
74
73
|
const azureCliCredential = new AzureCliCredential({ tenantId });
|
|
75
74
|
credential = new ChainedTokenCredential(azureCliCredential, credential);
|
|
76
|
-
options = { tenantId };
|
|
77
75
|
}
|
|
78
76
|
return async () => {
|
|
79
|
-
const result = await credential.getToken(scopes
|
|
77
|
+
const result = await credential.getToken(scopes);
|
|
80
78
|
if (!result) {
|
|
81
79
|
throw new Error("Failed to obtain Azure DevOps token. Ensure you have Azure CLI logged or use interactive type of authentication.");
|
|
82
80
|
}
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "2.2.2-nightly.
|
|
1
|
+
export const packageVersion = "2.2.2-nightly.20251119";
|