@sanity/client 6.21.0 → 6.21.2

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.d.cts CHANGED
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
-
3
1
  import type {ContentSourceMapDocuments as ContentSourceMapDocuments_2} from '@sanity/client/csm'
4
2
  import {ContentSourceMapParsedPath} from '@sanity/client/csm'
5
3
  import {ContentSourceMapParsedPathKeyedSegment} from '@sanity/client/csm'
@@ -859,6 +857,12 @@ export declare interface ListenOptions {
859
857
  * @defaultValue `true`
860
858
  */
861
859
  includeResult?: boolean
860
+ /**
861
+ * Whether or not to include the mutations that was performed.
862
+ * If you do not need the mutations, set this to `false` to reduce bandwidth usage.
863
+ * @defaultValue `true`
864
+ */
865
+ includeMutations?: boolean
862
866
  /**
863
867
  * Whether or not to include the document as it looked before the mutation event.
864
868
  * The previous revision will be available on the `.previous` property of the events,
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
-
3
1
  import type {ContentSourceMapDocuments as ContentSourceMapDocuments_2} from '@sanity/client/csm'
4
2
  import {ContentSourceMapParsedPath} from '@sanity/client/csm'
5
3
  import {ContentSourceMapParsedPathKeyedSegment} from '@sanity/client/csm'
@@ -859,6 +857,12 @@ export declare interface ListenOptions {
859
857
  * @defaultValue `true`
860
858
  */
861
859
  includeResult?: boolean
860
+ /**
861
+ * Whether or not to include the mutations that was performed.
862
+ * If you do not need the mutations, set this to `false` to reduce bandwidth usage.
863
+ * @defaultValue `true`
864
+ */
865
+ includeMutations?: boolean
862
866
  /**
863
867
  * Whether or not to include the document as it looked before the mutation event.
864
868
  * The previous revision will be available on the `.previous` property of the events,