@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.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
|
|
@@ -573,7 +573,7 @@ export declare type CreateAction = {
|
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* @remarks
|
|
576
|
-
* 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/
|
|
576
|
+
* 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}
|
|
577
577
|
* @public
|
|
578
578
|
*/
|
|
579
579
|
export declare const createClient: (config: ClientConfig) => SanityClient
|
|
@@ -968,7 +968,7 @@ export declare interface ListenOptions {
|
|
|
968
968
|
includePreviousRevision?: boolean
|
|
969
969
|
/**
|
|
970
970
|
* Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
|
|
971
|
-
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/
|
|
971
|
+
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
|
|
972
972
|
* If you need events from drafts and versions, set this to `true`.
|
|
973
973
|
* Note: Keep in mind that additional document variants may be introduced in the future, so it's
|
|
974
974
|
* recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
|
package/dist/index.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
|
|
@@ -573,7 +573,7 @@ export declare type CreateAction = {
|
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* @remarks
|
|
576
|
-
* 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/
|
|
576
|
+
* 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}
|
|
577
577
|
* @public
|
|
578
578
|
*/
|
|
579
579
|
export declare const createClient: (config: ClientConfig) => SanityClient
|
|
@@ -968,7 +968,7 @@ export declare interface ListenOptions {
|
|
|
968
968
|
includePreviousRevision?: boolean
|
|
969
969
|
/**
|
|
970
970
|
* Whether to include events for drafts and versions. As of API Version >= v2025-02-19, only events
|
|
971
|
-
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/
|
|
971
|
+
* for published documents will be included by default (see {@link https://www.sanity.io/changelog/676aaa9d-2da6-44fb-abe5-580f28047c10|Changelog})
|
|
972
972
|
* If you need events from drafts and versions, set this to `true`.
|
|
973
973
|
* Note: Keep in mind that additional document variants may be introduced in the future, so it's
|
|
974
974
|
* recommended to respond to events in a way that's tolerant of potential future variants, e.g. by
|
package/dist/index.js
CHANGED
|
@@ -1508,7 +1508,7 @@ function defineDeprecatedCreateClient(createClient2) {
|
|
|
1508
1508
|
return printNoDefaultExport(), createClient2(config);
|
|
1509
1509
|
};
|
|
1510
1510
|
}
|
|
1511
|
-
var name = "@sanity/client", version = "6.28.
|
|
1511
|
+
var name = "@sanity/client", version = "6.28.3";
|
|
1512
1512
|
const middleware = [
|
|
1513
1513
|
debug({ verbose: !0, namespace: "sanity:client" }),
|
|
1514
1514
|
headers({ "User-Agent": `${name} ${version}` }),
|