@sanity/client 3.0.5 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/client",
3
- "version": "3.0.5",
3
+ "version": "3.0.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
@@ -2074,7 +2074,7 @@ export interface SanityClient {
2074
2074
  * @deprecated Use your own request library!
2075
2075
  * @param options Request options
2076
2076
  */
2077
- request(options: RawRequestOptions): Promise<any>
2077
+ request<T = any>(options: RawRequestOptions): Promise<T>
2078
2078
 
2079
2079
  /**
2080
2080
  * DEPRECATED: Perform an HTTP request a `/data` sub-endpoint