@sanity/client 6.0.1 → 6.1.0-scope.0

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.
@@ -840,6 +840,12 @@ function _requestObservable(client, httpRequest, options) {
840
840
  ...options.query
841
841
  };
842
842
  }
843
+ if (config.scope) {
844
+ options.query = {
845
+ scope: config.scope,
846
+ ...options.query
847
+ };
848
+ }
843
849
  const reqOptions = requestOptions(config, Object.assign({}, options, {
844
850
  url: _getUrl(client, uri, useCdn)
845
851
  }));