@sanity/client 0.0.0-dev.4 → 0.0.0-dev.6
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.browser.cjs +7 -1
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +7 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/data/dataMethods.ts +6 -1
- package/src/types.ts +4 -1
- package/umd/sanityClient.js +7 -1
- package/umd/sanityClient.min.js +3 -3
package/dist/index.browser.cjs
CHANGED
|
@@ -808,7 +808,13 @@ function _requestObservable(client, httpRequest, options) {
|
|
|
808
808
|
...options.query
|
|
809
809
|
};
|
|
810
810
|
}
|
|
811
|
-
if (config.
|
|
811
|
+
if (config.resultSourceMap) {
|
|
812
|
+
options.query = {
|
|
813
|
+
resultSourceMap: true,
|
|
814
|
+
...options.query
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
if (config.encodeHackySourceMap) {
|
|
812
818
|
options.query = {
|
|
813
819
|
encodeHackySourceMap: true,
|
|
814
820
|
...options.query
|