@sanity/client 0.0.0-dev.4 → 0.0.0-dev.5

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.
package/dist/index.d.ts CHANGED
@@ -297,7 +297,7 @@ export declare interface ClientConfig {
297
297
  * @deprecated Don't use
298
298
  */
299
299
  requester?: Requester
300
- encodeStegaSourceMap?: boolean
300
+ resultSourceMap?: boolean
301
301
  }
302
302
 
303
303
  /** @public */
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ export { adapter as unstable__adapter, environment as unstable__environment } fr
4
4
  import { Observable, lastValueFrom } from 'rxjs';
5
5
  import { map, filter } from 'rxjs/operators';
6
6
  var name = "@sanity/client";
7
- var version = "0.0.0-dev.4";
7
+ var version = "0.0.0-dev.5";
8
8
  const middleware = [debug({
9
9
  verbose: true,
10
10
  namespace: "sanity:client"
@@ -813,9 +813,9 @@ function _requestObservable(client, httpRequest, options) {
813
813
  ...options.query
814
814
  };
815
815
  }
816
- if (config.encodeStegaSourceMap) {
816
+ if (config.resultSourceMap) {
817
817
  options.query = {
818
- encodeHackySourceMap: true,
818
+ resultSourceMap: true,
819
819
  ...options.query
820
820
  };
821
821
  }