@hyper-fetch/core 7.4.1 → 7.5.1

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.
@@ -2846,8 +2846,9 @@ var getAdapter = () => new Adapter({
2846
2846
  onRequestProgress,
2847
2847
  onSuccess
2848
2848
  }) {
2849
- const { method, client, endpoint } = request;
2850
- const fullUrl = `${client.url}${endpoint}`;
2849
+ const { method, client, endpoint, queryParams } = request;
2850
+ const queryString = queryParams ? stringifyQueryParams(queryParams) : "";
2851
+ const fullUrl = `${client.url}${endpoint}${queryString}`;
2851
2852
  const xhr = new XMLHttpRequest();
2852
2853
  xhr.timeout = defaultTimeout;
2853
2854
  const onAbort = () => xhr.abort();