@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.
- package/dist/node/sanityClient.js +1 -1
- package/package.json +1 -1
- package/sanityClient.d.ts +7 -2
|
@@ -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.
|
|
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
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
|
|
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)
|
|
1438
|
+
constructor(config: ClientConfig)
|
|
1434
1439
|
|
|
1435
1440
|
/**
|
|
1436
1441
|
* Clone the client - returns a new instance
|