@sanity/client 6.4.3 → 6.4.4

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.
@@ -249,13 +249,13 @@ const encodeQueryString = _ref2 => {
249
249
  tag,
250
250
  ...opts
251
251
  } = options;
252
- if (tag) searchParams.set("tag", tag);
253
- searchParams.set("query", query);
252
+ if (tag) searchParams.append("tag", tag);
253
+ searchParams.append("query", query);
254
254
  for (const [key, value] of Object.entries(params)) {
255
- searchParams.set("$".concat(key), JSON.stringify(value));
255
+ searchParams.append("$".concat(key), JSON.stringify(value));
256
256
  }
257
257
  for (const [key, value] of Object.entries(opts)) {
258
- if (value) searchParams.set(key, "".concat(value));
258
+ if (value) searchParams.append(key, "".concat(value));
259
259
  }
260
260
  return "?".concat(searchParams);
261
261
  };