@sanity/client 5.0.0-esm.1 → 5.0.0-esm.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
@@ -16,7 +16,7 @@ function _interopDefaultCompat(e) {
16
16
  }
17
17
  var polyfilledEventSource__default = /*#__PURE__*/_interopDefaultCompat(polyfilledEventSource);
18
18
  var name = "@sanity/client";
19
- var version = "5.0.0-esm.1";
19
+ var version = "5.0.0-esm.2";
20
20
  const middleware = [middleware$1.debug({
21
21
  verbose: true,
22
22
  namespace: "sanity:client"
@@ -1283,6 +1283,7 @@ const _SanityClient = class {
1283
1283
  __privateAdd(this, _clientConfig2, void 0);
1284
1284
  __privateAdd(this, _httpRequest2, void 0);
1285
1285
  this.listen = _listen;
1286
+ this.observable = new ObservableSanityClient(httpRequest, config);
1286
1287
  this.config(config);
1287
1288
  __privateSet(this, _httpRequest2, httpRequest);
1288
1289
  this.assets = new AssetsClient(this, __privateGet(this, _httpRequest2));
@@ -1290,7 +1291,6 @@ const _SanityClient = class {
1290
1291
  this.datasets = new DatasetsClient(this);
1291
1292
  this.projects = new ProjectsClient(this);
1292
1293
  this.users = new UsersClient(this);
1293
- this.observable = new ObservableSanityClient(httpRequest, this.config());
1294
1294
  }
1295
1295
  clone() {
1296
1296
  return new _SanityClient(__privateGet(this, _httpRequest2), this.config());