@sanity/client 5.4.1 → 5.4.2-dev.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.
@@ -804,6 +804,12 @@ function _requestObservable(client, httpRequest, options) {
804
804
  ...options.query
805
805
  };
806
806
  }
807
+ if (config.resultSourceMap) {
808
+ options.query = {
809
+ resultSourceMap: true,
810
+ ...options.query
811
+ };
812
+ }
807
813
  const reqOptions = requestOptions(config, Object.assign({}, options, {
808
814
  url: _getUrl(client, uri, useCdn)
809
815
  }));