@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/index.browser.d.cts
CHANGED
|
@@ -342,14 +342,14 @@ export declare interface ClientConfig {
|
|
|
342
342
|
/**
|
|
343
343
|
* What perspective to use for the client. See {@link https://www.sanity.io/docs/perspectives|perspective documentation}
|
|
344
344
|
* @remarks
|
|
345
|
-
* As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/
|
|
345
|
+
* 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}
|
|
346
346
|
* @defaultValue 'published'
|
|
347
347
|
*/
|
|
348
348
|
perspective?: ClientPerspective
|
|
349
349
|
apiHost?: string
|
|
350
350
|
/**
|
|
351
351
|
@remarks
|
|
352
|
-
* As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/
|
|
352
|
+
* 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}
|
|
353
353
|
*/
|
|
354
354
|
apiVersion?: string
|
|
355
355
|
proxy?: string
|
|
@@ -964,7 +964,7 @@ export declare interface ListenOptions {
|
|
|
964
964
|
includePreviousRevision?: boolean
|
|
965
965
|
/**
|
|
966
966
|
* Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
|
|
967
|
-
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/
|
|
967
|
+
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
|
|
968
968
|
* If you need events from drafts and versions, set this to `true`.
|
|
969
969
|
* Note: Keep in mind that additional document variants may be introduced in the future, so it's
|
|
970
970
|
* recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
|
package/dist/index.browser.d.ts
CHANGED
|
@@ -342,14 +342,14 @@ export declare interface ClientConfig {
|
|
|
342
342
|
/**
|
|
343
343
|
* What perspective to use for the client. See {@link https://www.sanity.io/docs/perspectives|perspective documentation}
|
|
344
344
|
* @remarks
|
|
345
|
-
* As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/
|
|
345
|
+
* 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}
|
|
346
346
|
* @defaultValue 'published'
|
|
347
347
|
*/
|
|
348
348
|
perspective?: ClientPerspective
|
|
349
349
|
apiHost?: string
|
|
350
350
|
/**
|
|
351
351
|
@remarks
|
|
352
|
-
* As of API version `v2025-02-19`, the default perspective has changed from `raw` to `published`. {@link https://www.sanity.io/changelog/
|
|
352
|
+
* 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}
|
|
353
353
|
*/
|
|
354
354
|
apiVersion?: string
|
|
355
355
|
proxy?: string
|
|
@@ -964,7 +964,7 @@ export declare interface ListenOptions {
|
|
|
964
964
|
includePreviousRevision?: boolean
|
|
965
965
|
/**
|
|
966
966
|
* Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
|
|
967
|
-
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/
|
|
967
|
+
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
|
|
968
968
|
* If you need events from drafts and versions, set this to `true`.
|
|
969
969
|
* Note: Keep in mind that additional document variants may be introduced in the future, so it's
|
|
970
970
|
* recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
|
package/dist/index.cjs
CHANGED
|
@@ -1525,7 +1525,7 @@ function defineDeprecatedCreateClient(createClient2) {
|
|
|
1525
1525
|
return config.printNoDefaultExport(), createClient2(config$1);
|
|
1526
1526
|
};
|
|
1527
1527
|
}
|
|
1528
|
-
var name = "@sanity/client", version = "6.28.
|
|
1528
|
+
var name = "@sanity/client", version = "6.28.3";
|
|
1529
1529
|
const middleware = [
|
|
1530
1530
|
middleware$1.debug({ verbose: !0, namespace: "sanity:client" }),
|
|
1531
1531
|
middleware$1.headers({ "User-Agent": `${name} ${version}` }),
|