@verdocs/web-sdk 5.0.53 → 5.0.54

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.
@@ -2234,7 +2234,7 @@ function combineURLs(baseURL, relativeURL) {
2234
2234
  */
2235
2235
  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2236
2236
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
2237
- if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
2237
+ if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
2238
2238
  return combineURLs(baseURL, requestedURL);
2239
2239
  }
2240
2240
  return requestedURL;
@@ -2349,7 +2349,7 @@ const resolveConfig = (config) => {
2349
2349
 
2350
2350
  newConfig.headers = headers = AxiosHeaders$1.from(headers);
2351
2351
 
2352
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
2352
+ newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
2353
2353
 
2354
2354
  // HTTP basic authentication
2355
2355
  if (auth) {
@@ -3074,7 +3074,7 @@ function dispatchRequest(config) {
3074
3074
  });
3075
3075
  }
3076
3076
 
3077
- const VERSION = "1.8.1";
3077
+ const VERSION = "1.8.4";
3078
3078
 
3079
3079
  const validators$1 = {};
3080
3080
 
@@ -3950,4 +3950,4 @@ function defineCustomElement() {
3950
3950
 
3951
3951
  export { VerdocsContactPicker as V, defineCustomElement as d };
3952
3952
 
3953
- //# sourceMappingURL=p-7957064d.js.map
3953
+ //# sourceMappingURL=p-0b46bfa1.js.map