@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.js
CHANGED
|
@@ -1263,6 +1263,7 @@ const _SanityClient = class {
|
|
|
1263
1263
|
__privateAdd(this, _clientConfig2, void 0);
|
|
1264
1264
|
__privateAdd(this, _httpRequest2, void 0);
|
|
1265
1265
|
this.listen = _listen;
|
|
1266
|
+
this.observable = new ObservableSanityClient(httpRequest, config);
|
|
1266
1267
|
this.config(config);
|
|
1267
1268
|
__privateSet(this, _httpRequest2, httpRequest);
|
|
1268
1269
|
this.assets = new AssetsClient(this, __privateGet(this, _httpRequest2));
|
|
@@ -1270,7 +1271,6 @@ const _SanityClient = class {
|
|
|
1270
1271
|
this.datasets = new DatasetsClient(this);
|
|
1271
1272
|
this.projects = new ProjectsClient(this);
|
|
1272
1273
|
this.users = new UsersClient(this);
|
|
1273
|
-
this.observable = new ObservableSanityClient(httpRequest, this.config());
|
|
1274
1274
|
}
|
|
1275
1275
|
clone() {
|
|
1276
1276
|
return new _SanityClient(__privateGet(this, _httpRequest2), this.config());
|