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

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,7 +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,
802
+ params: {
803
+ ...(options.query.params || {
804
+ draftMode: true
805
+ })
806
+ },
803
807
  ...options.query
804
808
  };
805
809
  }