@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.
@@ -7522,7 +7522,10 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
7522
7522
  } else {
7523
7523
  accessToken = await __privateGet$1(this, _options).GetAccessToken();
7524
7524
  }
7525
- const requestConfig = new stsutils.STSAxiosConfig(url, httpVerb).withAuthHeaders(accessToken, __privateGet$1(this, _DUMMY_USER)).withData(filters ? filters : resource ? resource : void 0);
7525
+ let requestConfig = new stsutils.STSAxiosConfig(url, httpVerb).withAuthHeaders(accessToken, __privateGet$1(this, _DUMMY_USER));
7526
+ if (!(httpVerb.localeCompare("get") === 0 || httpVerb.localeCompare("head") === 0)) {
7527
+ requestConfig.withData(filters ? filters : resource ? resource : void 0);
7528
+ }
7526
7529
  if (isNode && __privateGet$1(this, _options).agentManager) {
7527
7530
  requestConfig.withAgentManager(__privateGet$1(this, _options).agentManager);
7528
7531
  }
@@ -7703,7 +7706,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
7703
7706
  if (filters && filters.localeCompare("") !== 0) {
7704
7707
  url = `${url}?${filters}`;
7705
7708
  }
7706
- return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", resource, null, null, errorCb);
7709
+ return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
7707
7710
  });
7708
7711
  __publicField$1(this, "GetResourceDBR", async (resource, filters, errorCb) => {
7709
7712
  var _a;
@@ -7781,7 +7784,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
7781
7784
  if (filters && filters.localeCompare("") !== 0) {
7782
7785
  url = `${url}?${filters}`;
7783
7786
  }
7784
- return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", resourceEntity, null, null, errorCb);
7787
+ return __privateGet$1(this, _axiosClient).InvokeResourceAPI(url, "get", null, null, null, errorCb);
7785
7788
  });
7786
7789
  __publicField$1(this, "GetEntityDBR", async (resourceEntity, filters, errorCb) => {
7787
7790
  var _a;