@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.
- package/dist/index.browser.d.cts +3 -3
- package/dist/index.browser.d.ts +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/stega.browser.d.cts +3 -3
- package/dist/stega.browser.d.ts +3 -3
- package/dist/stega.d.cts +3 -3
- package/dist/stega.d.ts +3 -3
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/types.ts +3 -3
package/dist/stega.browser.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/
|
|
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/
|
|
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/
|
|
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.browser.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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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
|