@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.
@@ -799,8 +799,11 @@ function _requestObservable(client, httpRequest, options) {
799
799
  console.error("You need to set `apiVersion` to `X` to use `unstable_overlayDrafts");
800
800
  }
801
801
  options.query = {
802
- overlayDrafts: true,
803
- ...options.query
802
+ ...options.query,
803
+ params: {
804
+ ...(options.query.params || {}),
805
+ draftMode: true
806
+ }
804
807
  };
805
808
  }
806
809
  const reqOptions = requestOptions(config, Object.assign({}, options, {