@sanity/client 6.20.2-beta.0 → 6.20.2-beta.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.
- 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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/defineCreateClient.ts +0 -1
- package/src/http/requestOptions.ts +1 -0
- package/umd/sanityClient.js +1 -1
- package/umd/sanityClient.min.js +1 -1
package/dist/index.browser.cjs
CHANGED
|
@@ -601,6 +601,7 @@ function requestOptions(config, overrides = {}) {
|
|
|
601
601
|
proxy: overrides.proxy || config.proxy,
|
|
602
602
|
json: !0,
|
|
603
603
|
withCredentials,
|
|
604
|
+
useDomainSharding: config.useDomainSharding,
|
|
604
605
|
fetch: typeof overrides.fetch == "object" && typeof config.fetch == "object" ? { ...config.fetch, ...overrides.fetch } : overrides.fetch || config.fetch
|
|
605
606
|
});
|
|
606
607
|
}
|
|
@@ -1587,7 +1588,6 @@ function defineCreateClientExports(envMiddleware2, ClassConstructor) {
|
|
|
1587
1588
|
maxRedirects: 0,
|
|
1588
1589
|
maxRetries: config.maxRetries,
|
|
1589
1590
|
retryDelay: config.retryDelay,
|
|
1590
|
-
useDomainSharding: config.useDomainSharding,
|
|
1591
1591
|
...options
|
|
1592
1592
|
}),
|
|
1593
1593
|
config
|