@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.
package/dist/index.cjs CHANGED
@@ -8,7 +8,7 @@ var getIt = require('get-it');
8
8
  var rxjs = require('rxjs');
9
9
  var operators = require('rxjs/operators');
10
10
  var name = "@sanity/client";
11
- var version = "6.4.3";
11
+ var version = "6.4.4";
12
12
  const middleware = [middleware$1.debug({
13
13
  verbose: true,
14
14
  namespace: "sanity:client"
@@ -273,13 +273,13 @@ const encodeQueryString = _ref2 => {
273
273
  tag,
274
274
  ...opts
275
275
  } = options;
276
- if (tag) searchParams.set("tag", tag);
277
- searchParams.set("query", query);
276
+ if (tag) searchParams.append("tag", tag);
277
+ searchParams.append("query", query);
278
278
  for (const [key, value] of Object.entries(params)) {
279
- searchParams.set("$".concat(key), JSON.stringify(value));
279
+ searchParams.append("$".concat(key), JSON.stringify(value));
280
280
  }
281
281
  for (const [key, value] of Object.entries(opts)) {
282
- if (value) searchParams.set(key, "".concat(value));
282
+ if (value) searchParams.append(key, "".concat(value));
283
283
  }
284
284
  return "?".concat(searchParams);
285
285
  };