sales-frontend-api 0.0.65 → 0.0.67

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/server.js CHANGED
@@ -4472,9 +4472,9 @@ var FetchInstance = class {
4472
4472
  let requestConfig = { ...this.defaults, ...config };
4473
4473
  const requestChain = this.interceptors.request.executeChain(Promise.resolve(requestConfig));
4474
4474
  requestConfig = await requestChain;
4475
- const { baseURL = "", params, data, ...fetchOptions } = requestConfig;
4475
+ const { baseURL, params, data, ...fetchOptions } = requestConfig;
4476
4476
  const headers2 = new Headers({ ...this.defaults.headers, ...requestConfig.headers });
4477
- const url = new URL(`${baseURL}${requestConfig.url || ""}`);
4477
+ const url = new URL(requestConfig.url || "", baseURL);
4478
4478
  if (params) {
4479
4479
  Object.keys(params).forEach((key) => {
4480
4480
  const value = params[key];