@sanity/client 6.2.0 → 6.4.0

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.
@@ -1457,12 +1457,10 @@ class ObservableProjectsClient {
1457
1457
  __privateSet$2(this, _client$1, client);
1458
1458
  __privateSet$2(this, _httpRequest$2, httpRequest);
1459
1459
  }
1460
- /**
1461
- * Fetch a list of projects the authenticated user has access to
1462
- */
1463
- list() {
1460
+ list(options) {
1461
+ const uri = (options == null ? void 0 : options.includeMembers) === false ? "/projects?includeMembers=false" : "/projects";
1464
1462
  return _request(__privateGet$2(this, _client$1), __privateGet$2(this, _httpRequest$2), {
1465
- uri: "/projects"
1463
+ uri
1466
1464
  });
1467
1465
  }
1468
1466
  /**
@@ -1485,12 +1483,10 @@ class ProjectsClient {
1485
1483
  __privateSet$2(this, _client2$1, client);
1486
1484
  __privateSet$2(this, _httpRequest2$2, httpRequest);
1487
1485
  }
1488
- /**
1489
- * Fetch a list of projects the authenticated user has access to
1490
- */
1491
- list() {
1486
+ list(options) {
1487
+ const uri = (options == null ? void 0 : options.includeMembers) === false ? "/projects?includeMembers=false" : "/projects";
1492
1488
  return lastValueFrom(_request(__privateGet$2(this, _client2$1), __privateGet$2(this, _httpRequest2$2), {
1493
- uri: "/projects"
1489
+ uri
1494
1490
  }));
1495
1491
  }
1496
1492
  /**