@sanity/client 6.17.3-canary.0 → 6.17.3-canary.2

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.
@@ -618,8 +618,8 @@ const encodeQueryString = ({
618
618
  autoGenerateArrayKeys: options.autoGenerateArrayKeys,
619
619
  skipCrossDatasetReferenceValidation: options.skipCrossDatasetReferenceValidation
620
620
  }), isResponse = (event) => event.type === "response", getBody = (event) => event.body, indexBy = (docs, attr) => docs.reduce((indexed, doc) => (indexed[attr(doc)] = doc, indexed), /* @__PURE__ */ Object.create(null)), getQuerySizeLimit = 11264;
621
- function _fetch(client, httpRequest, _stega, query, _params = {}, options = {}) {
622
- const stega = "stega" in options ? {
621
+ function _fetch(client, httpRequest, _stega, query, __params = {}, options = {}) {
622
+ const _params = options.livePos ? { ...__params, _: options.livePos } : __params, stega = "stega" in options ? {
623
623
  ..._stega || {},
624
624
  ...typeof options.stega == "boolean" ? { enabled: options.stega } : options.stega || {}
625
625
  } : _stega, params = stega.enabled ? stegaClean.stegaClean(_params) : _params, mapResponse = options.filterResponse === !1 ? (res) => res : (res) => res.result, { cache, next, ...opts } = {