@sanity/client 7.11.2 → 7.12.1

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.
@@ -786,6 +786,10 @@ export declare interface ClientConfig {
786
786
  * Options for how, if enabled, Content Source Maps are encoded into query results using steganography
787
787
  */
788
788
  stega?: StegaConfig | boolean
789
+ /**
790
+ * Lineage token for recursion control
791
+ */
792
+ lineage?: string
789
793
  }
790
794
 
791
795
  declare type ClientConfigResource =
@@ -3285,7 +3289,7 @@ export declare class ObservableSanityClient {
3285
3289
  createVersion(
3286
3290
  args: {
3287
3291
  baseId: string
3288
- releaseId: string
3292
+ releaseId?: string
3289
3293
  publishedId: string
3290
3294
  ifBaseRevisionId?: string
3291
3295
  },
@@ -5098,7 +5102,7 @@ export declare class SanityClient {
5098
5102
  args: {
5099
5103
  publishedId: string
5100
5104
  baseId: string
5101
- releaseId: string
5105
+ releaseId?: string
5102
5106
  ifBaseRevisionId?: string
5103
5107
  },
5104
5108
  options?: BaseActionOptions,
@@ -786,6 +786,10 @@ export declare interface ClientConfig {
786
786
  * Options for how, if enabled, Content Source Maps are encoded into query results using steganography
787
787
  */
788
788
  stega?: StegaConfig | boolean
789
+ /**
790
+ * Lineage token for recursion control
791
+ */
792
+ lineage?: string
789
793
  }
790
794
 
791
795
  declare type ClientConfigResource =
@@ -3285,7 +3289,7 @@ export declare class ObservableSanityClient {
3285
3289
  createVersion(
3286
3290
  args: {
3287
3291
  baseId: string
3288
- releaseId: string
3292
+ releaseId?: string
3289
3293
  publishedId: string
3290
3294
  ifBaseRevisionId?: string
3291
3295
  },
@@ -5098,7 +5102,7 @@ export declare class SanityClient {
5098
5102
  args: {
5099
5103
  publishedId: string
5100
5104
  baseId: string
5101
- releaseId: string
5105
+ releaseId?: string
5102
5106
  ifBaseRevisionId?: string
5103
5107
  },
5104
5108
  options?: BaseActionOptions,
@@ -2827,6 +2827,7 @@ function defineCreateClientExports(envMiddleware2, ClassConstructor) {
2827
2827
  maxRedirects: 0,
2828
2828
  maxRetries: config.maxRetries,
2829
2829
  retryDelay: config.retryDelay,
2830
+ lineage: config.lineage,
2830
2831
  ...options
2831
2832
  }),
2832
2833
  config