@sanity/client 6.1.2 → 6.1.3

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.1.2";
11
+ var version = "6.1.3";
12
12
  const middleware = [middleware$1.debug({
13
13
  verbose: true,
14
14
  namespace: "sanity:client"
@@ -849,7 +849,7 @@ function _requestObservable(client, httpRequest, options) {
849
849
  ...options.query
850
850
  };
851
851
  }
852
- if (typeof config.perspective === "string" && config.perspective !== "all") {
852
+ if (typeof config.perspective === "string" && config.perspective !== "raw") {
853
853
  options.query = {
854
854
  perspective: config.perspective,
855
855
  ...options.query