@sanity/client 6.28.2 → 6.28.3

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.
@@ -336,14 +336,14 @@ export declare interface ClientConfig {
336
336
  /**
337
337
  * What perspective to use for the client. See {@link https://www.sanity.io/docs/perspectives|perspective documentation}
338
338
  * @remarks
339
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
339
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
340
340
  * @defaultValue 'published'
341
341
  */
342
342
  perspective?: ClientPerspective
343
343
  apiHost?: string
344
344
  /**
345
345
  @remarks
346
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
346
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
347
347
  */
348
348
  apiVersion?: string
349
349
  proxy?: string
@@ -1134,7 +1134,7 @@ export declare interface ListenOptions {
1134
1134
  includePreviousRevision?: boolean
1135
1135
  /**
1136
1136
  * Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
1137
- * for published documents will be included by default (see {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog})
1137
+ * for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
1138
1138
  * If you need events from drafts and versions, set this to `true`.
1139
1139
  * Note: Keep in mind that additional document variants may be introduced in the future, so it's
1140
1140
  * recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
@@ -336,14 +336,14 @@ export declare interface ClientConfig {
336
336
  /**
337
337
  * What perspective to use for the client. See {@link https://www.sanity.io/docs/perspectives|perspective documentation}
338
338
  * @remarks
339
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
339
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
340
340
  * @defaultValue 'published'
341
341
  */
342
342
  perspective?: ClientPerspective
343
343
  apiHost?: string
344
344
  /**
345
345
  @remarks
346
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
346
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
347
347
  */
348
348
  apiVersion?: string
349
349
  proxy?: string
@@ -1134,7 +1134,7 @@ export declare interface ListenOptions {
1134
1134
  includePreviousRevision?: boolean
1135
1135
  /**
1136
1136
  * Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
1137
- * for published documents will be included by default (see {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog})
1137
+ * for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
1138
1138
  * If you need events from drafts and versions, set this to `true`.
1139
1139
  * Note: Keep in mind that additional document variants may be introduced in the future, so it's
1140
1140
  * recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
package/dist/stega.d.cts CHANGED
@@ -336,14 +336,14 @@ export declare interface ClientConfig {
336
336
  /**
337
337
  * What perspective to use for the client. See {@link https://www.sanity.io/docs/perspectives|perspective documentation}
338
338
  * @remarks
339
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
339
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
340
340
  * @defaultValue 'published'
341
341
  */
342
342
  perspective?: ClientPerspective
343
343
  apiHost?: string
344
344
  /**
345
345
  @remarks
346
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
346
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
347
347
  */
348
348
  apiVersion?: string
349
349
  proxy?: string
@@ -1134,7 +1134,7 @@ export declare interface ListenOptions {
1134
1134
  includePreviousRevision?: boolean
1135
1135
  /**
1136
1136
  * Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
1137
- * for published documents will be included by default (see {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog})
1137
+ * for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
1138
1138
  * If you need events from drafts and versions, set this to `true`.
1139
1139
  * Note: Keep in mind that additional document variants may be introduced in the future, so it's
1140
1140
  * recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
package/dist/stega.d.ts CHANGED
@@ -336,14 +336,14 @@ export declare interface ClientConfig {
336
336
  /**
337
337
  * What perspective to use for the client. See {@link https://www.sanity.io/docs/perspectives|perspective documentation}
338
338
  * @remarks
339
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
339
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
340
340
  * @defaultValue 'published'
341
341
  */
342
342
  perspective?: ClientPerspective
343
343
  apiHost?: string
344
344
  /**
345
345
  @remarks
346
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
346
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
347
347
  */
348
348
  apiVersion?: string
349
349
  proxy?: string
@@ -1134,7 +1134,7 @@ export declare interface ListenOptions {
1134
1134
  includePreviousRevision?: boolean
1135
1135
  /**
1136
1136
  * Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
1137
- * for published documents will be included by default (see {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog})
1137
+ * for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
1138
1138
  * If you need events from drafts and versions, set this to `true`.
1139
1139
  * Note: Keep in mind that additional document variants may be introduced in the future, so it's
1140
1140
  * recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/client",
3
- "version": "6.28.2",
3
+ "version": "6.28.3",
4
4
  "description": "Client for retrieving, creating and patching data from Sanity.io",
5
5
  "keywords": [
6
6
  "sanity",
package/src/index.ts CHANGED
@@ -11,7 +11,7 @@ export const requester = exp.requester
11
11
 
12
12
  /**
13
13
  * @remarks
14
- * As of API version `v2025-02-19`, the default perspective used by the client has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
14
+ * As of API version `v2025-02-19`, the default perspective used by the client has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
15
15
  * @public
16
16
  */
17
17
  export const createClient = exp.createClient
package/src/types.ts CHANGED
@@ -64,7 +64,7 @@ export interface ClientConfig {
64
64
  /**
65
65
  * What perspective to use for the client. See {@link https://www.sanity.io/docs/perspectives|perspective documentation}
66
66
  * @remarks
67
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
67
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
68
68
  * @defaultValue 'published'
69
69
  */
70
70
  perspective?: ClientPerspective
@@ -72,7 +72,7 @@ export interface ClientConfig {
72
72
 
73
73
  /**
74
74
  @remarks
75
- * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog}
75
+ * As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog}
76
76
  */
77
77
  apiVersion?: string
78
78
  proxy?: string
@@ -944,7 +944,7 @@ export interface ListenOptions {
944
944
 
945
945
  /**
946
946
  * Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
947
- * for published documents will be included by default (see {@link https://www.sanity.io/changelog/e93a2d5a-9cee-4801-829e-8d3394bfed85|Changelog})
947
+ * for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
948
948
  * If you need events from drafts and versions, set this to `true`.
949
949
  * Note: Keep in mind that additional document variants may be introduced in the future, so it's
950
950
  * recommended to respond to events in a way that's tolerant of potential future variants, e.g. by