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