@sanity/client 4.0.0-alpha.esm.5 → 4.0.0-alpha.esm.6

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.
@@ -721,7 +721,7 @@ import headers from "get-it/lib-node/middleware/headers";
721
721
 
722
722
  // package.json
723
723
  var name = "@sanity/client";
724
- var version = "4.0.0-alpha.esm.5";
724
+ var version = "4.0.0-alpha.esm.6";
725
725
 
726
726
  // src/http/nodeMiddleware.js
727
727
  var middleware = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/client",
3
- "version": "4.0.0-alpha.esm.5",
3
+ "version": "4.0.0-alpha.esm.6",
4
4
  "description": "Client for retrieving, creating and patching data from Sanity.io",
5
5
  "main": "lib/sanityClient.js",
6
6
  "umd": "umd/sanityClient.min.js",
package/sanityClient.d.ts CHANGED
@@ -1428,9 +1428,14 @@ export class ObservableSanityClient {
1428
1428
  request<T = any>(options: RawRequestOptions): Observable<T>
1429
1429
  }
1430
1430
 
1431
- export interface SanityClient {
1431
+ export class SanityClient {
1432
+ static Patch: typeof Patch
1433
+ static Transaction: typeof Transaction
1434
+ static ClientError: typeof ClientError
1435
+ static ServerError: typeof ServerError
1436
+ static requester: GetItRequester
1432
1437
  // Client/configuration
1433
- constructor(config: ClientConfig): SanityClient
1438
+ constructor(config: ClientConfig)
1434
1439
 
1435
1440
  /**
1436
1441
  * Clone the client - returns a new instance