@sanity/client 6.1.2 → 6.1.3
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 +1 -1
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +18 -18
- package/src/data/dataMethods.ts +1 -1
- package/src/types.ts +8 -1
- package/umd/sanityClient.js +69 -69
- package/umd/sanityClient.min.js +1 -1
package/dist/index.browser.cjs
CHANGED
|
@@ -842,7 +842,7 @@ function _requestObservable(client, httpRequest, options) {
|
|
|
842
842
|
...options.query
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
|
-
if (typeof config.perspective === "string" && config.perspective !== "
|
|
845
|
+
if (typeof config.perspective === "string" && config.perspective !== "raw") {
|
|
846
846
|
options.query = {
|
|
847
847
|
perspective: config.perspective,
|
|
848
848
|
...options.query
|