@nsshunt/stsrunnerframework 1.0.48 → 1.0.50
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.
|
@@ -7533,7 +7533,10 @@ class AxiosClient {
|
|
|
7533
7533
|
} else {
|
|
7534
7534
|
accessToken = await __privateGet$1(this, _options).GetAccessToken();
|
|
7535
7535
|
}
|
|
7536
|
-
|
|
7536
|
+
let requestConfig = new STSAxiosConfig(url, httpVerb).withAuthHeaders(accessToken, __privateGet$1(this, _DUMMY_USER));
|
|
7537
|
+
if (!(httpVerb.localeCompare("get") === 0 || httpVerb.localeCompare("head") === 0)) {
|
|
7538
|
+
requestConfig.withData(filters ? filters : resource ? resource : void 0);
|
|
7539
|
+
}
|
|
7537
7540
|
if (isNode && __privateGet$1(this, _options).agentManager) {
|
|
7538
7541
|
requestConfig.withAgentManager(__privateGet$1(this, _options).agentManager);
|
|
7539
7542
|
}
|
|
@@ -7714,7 +7717,7 @@ class STSRest01Client {
|
|
|
7714
7717
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7715
7718
|
url = `${url}?${filters}`;
|
|
7716
7719
|
}
|
|
7717
|
-
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get",
|
|
7720
|
+
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
|
|
7718
7721
|
});
|
|
7719
7722
|
__publicField$1(this, "GetResourceDBR", async (resource, filters, errorCb) => {
|
|
7720
7723
|
var _a;
|
|
@@ -7792,7 +7795,7 @@ class STSRest01Client {
|
|
|
7792
7795
|
if (filters && filters.localeCompare("") !== 0) {
|
|
7793
7796
|
url = `${url}?${filters}`;
|
|
7794
7797
|
}
|
|
7795
|
-
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get",
|
|
7798
|
+
return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
|
|
7796
7799
|
});
|
|
7797
7800
|
__publicField$1(this, "GetEntityDBR", async (resourceEntity, filters, errorCb) => {
|
|
7798
7801
|
var _a;
|