azure-devops-extension-api
Advanced tools
Comparing version 0.141.12 to 0.141.13
@@ -1,2 +0,2 @@ | ||
define(["require", "exports", "azure-devops-extension-sdk/SDK"], function (require, exports, SDK_1) { | ||
define(["require", "exports", "azure-devops-extension-sdk"], function (require, exports, azure_devops_extension_sdk_1) { | ||
"use strict"; | ||
@@ -7,3 +7,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
if (!options.rootPath) { | ||
options.rootPath = SDK_1.getService("ms.vss-features.location-service" /* LocationService */).then(function (locationService) { | ||
options.rootPath = azure_devops_extension_sdk_1.getService("ms.vss-features.location-service" /* LocationService */).then(function (locationService) { | ||
return locationService.getResourceAreaLocation(clientClass.RESOURCE_AREA_ID); | ||
@@ -15,3 +15,3 @@ }); | ||
getAuthorizationHeader: function () { | ||
return SDK_1.getAccessToken().then(function (token) { return "Bearer " + token; }); | ||
return azure_devops_extension_sdk_1.getAccessToken().then(function (token) { return "Bearer " + token; }); | ||
} | ||
@@ -18,0 +18,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
define(["require","exports","azure-devops-extension-sdk/SDK"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClient=function(e,t){var n=t||{};return n.rootPath||(n.rootPath=r.getService("ms.vss-features.location-service").then(function(t){return t.getResourceAreaLocation(e.RESOURCE_AREA_ID)})),n.authTokenProvider||(n.authTokenProvider={getAuthorizationHeader:function(){return r.getAccessToken().then(function(e){return"Bearer "+e})}}),new e(n)}}); | ||
define(["require","exports","azure-devops-extension-sdk"],function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClient=function(e,t){var n=t||{};return n.rootPath||(n.rootPath=r.getService("ms.vss-features.location-service").then(function(t){return t.getResourceAreaLocation(e.RESOURCE_AREA_ID)})),n.authTokenProvider||(n.authTokenProvider={getAuthorizationHeader:function(){return r.getAccessToken().then(function(e){return"Bearer "+e})}}),new e(n)}}); |
@@ -404,3 +404,3 @@ /** | ||
*/ | ||
getProject(): Promise<IProjectInfo>; | ||
getProject(): Promise<IProjectInfo | undefined>; | ||
} | ||
@@ -407,0 +407,0 @@ |
{ | ||
"name": "azure-devops-extension-api", | ||
"version": "0.141.12", | ||
"version": "0.141.13", | ||
"description": "REST client libraries and contracts for Azure DevOps web extension developers.", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
"dependencies": { | ||
"azure-devops-extension-sdk": "~1.141.13" | ||
"azure-devops-extension-sdk": "~1.141.14" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3203055