@sanity/client 7.1.0-views.1 → 7.1.0-views.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.
package/dist/index.cjs CHANGED
@@ -25,7 +25,7 @@ var rxjs = require("rxjs"), operators = require("rxjs/operators"), config = requ
25
25
  function _interopDefaultCompat(e) {
26
26
  return e && typeof e == "object" && "default" in e ? e : { default: e };
27
27
  }
28
- var crypto__default = /* @__PURE__ */ _interopDefaultCompat(crypto), ViewResourceType = /* @__PURE__ */ ((ViewResourceType2) => (ViewResourceType2.Dataset = "dataset", ViewResourceType2))(ViewResourceType || {});
28
+ var crypto__default = /* @__PURE__ */ _interopDefaultCompat(crypto), ViewResourceType = /* @__PURE__ */ ((ViewResourceType2) => (ViewResourceType2.Dataset = "dataset", ViewResourceType2.View = "view", ViewResourceType2))(ViewResourceType || {});
29
29
  class ConnectionFailedError extends Error {
30
30
  name = "ConnectionFailedError";
31
31
  }
@@ -1768,7 +1768,7 @@ function defineDeprecatedCreateClient(createClient2) {
1768
1768
  return config.printNoDefaultExport(), createClient2(config$1);
1769
1769
  };
1770
1770
  }
1771
- var name = "@sanity/client", version = "7.1.0-views.1";
1771
+ var name = "@sanity/client", version = "7.1.0-views.2";
1772
1772
  const middleware = [
1773
1773
  middleware$1.debug({ verbose: !0, namespace: "sanity:client" }),
1774
1774
  middleware$1.headers({ "User-Agent": `${name} ${version}` }),