@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.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/SanityClient.ts +2 -2
- package/umd/sanityClient.js +1 -1
- package/umd/sanityClient.min.js +1 -1
package/dist/index.browser.cjs
CHANGED
|
@@ -1274,6 +1274,7 @@ const _SanityClient = class {
|
|
|
1274
1274
|
__privateAdd(this, _clientConfig2, void 0);
|
|
1275
1275
|
__privateAdd(this, _httpRequest2, void 0);
|
|
1276
1276
|
this.listen = _listen;
|
|
1277
|
+
this.observable = new ObservableSanityClient(httpRequest, config);
|
|
1277
1278
|
this.config(config);
|
|
1278
1279
|
__privateSet(this, _httpRequest2, httpRequest);
|
|
1279
1280
|
this.assets = new AssetsClient(this, __privateGet(this, _httpRequest2));
|
|
@@ -1281,7 +1282,6 @@ const _SanityClient = class {
|
|
|
1281
1282
|
this.datasets = new DatasetsClient(this);
|
|
1282
1283
|
this.projects = new ProjectsClient(this);
|
|
1283
1284
|
this.users = new UsersClient(this);
|
|
1284
|
-
this.observable = new ObservableSanityClient(httpRequest, this.config());
|
|
1285
1285
|
}
|
|
1286
1286
|
clone() {
|
|
1287
1287
|
return new _SanityClient(__privateGet(this, _httpRequest2), this.config());
|