@sanity/client 0.0.0-dev.0 → 0.0.0-dev.2

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.
@@ -788,8 +788,11 @@ function _requestObservable(client, httpRequest, options) {
788
788
  console.error("You need to set `apiVersion` to `X` to use `unstable_overlayDrafts");
789
789
  }
790
790
  options.query = {
791
- overlayDrafts: true,
792
- ...options.query
791
+ ...options.query,
792
+ params: {
793
+ ...(options.query.params || {}),
794
+ draftMode: true
795
+ }
793
796
  };
794
797
  }
795
798
  const reqOptions = requestOptions(config, Object.assign({}, options, {