@sanity/client 7.8.0 → 7.8.1-agent-action-perspective.0

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,3 +1,4 @@
1
+ import type {ClientPerspective as ClientPerspective_2} from '@sanity/client'
1
2
  import type {ContentSourceMapDocuments as ContentSourceMapDocuments_2} from '@sanity/client/csm'
2
3
  import {ContentSourceMapParsedPath} from '@sanity/client/csm'
3
4
  import {ContentSourceMapParsedPathKeyedSegment} from '@sanity/client/csm'
@@ -1040,6 +1041,7 @@ export declare interface CurrentSanityUser {
1040
1041
  email: string
1041
1042
  profileImage: string | null
1042
1043
  role: string
1044
+ provider: string
1043
1045
  }
1044
1046
 
1045
1047
  /** @public */
@@ -1748,6 +1750,7 @@ export declare interface GroqAgentActionParam {
1748
1750
  type: 'groq'
1749
1751
  query: string
1750
1752
  params?: Record<string, string>
1753
+ perspective?: ClientPerspective_2
1751
1754
  }
1752
1755
 
1753
1756
  /**
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import type {ClientPerspective as ClientPerspective_2} from '@sanity/client'
1
2
  import type {ContentSourceMapDocuments as ContentSourceMapDocuments_2} from '@sanity/client/csm'
2
3
  import {ContentSourceMapParsedPath} from '@sanity/client/csm'
3
4
  import {ContentSourceMapParsedPathKeyedSegment} from '@sanity/client/csm'
@@ -1040,6 +1041,7 @@ export declare interface CurrentSanityUser {
1040
1041
  email: string
1041
1042
  profileImage: string | null
1042
1043
  role: string
1044
+ provider: string
1043
1045
  }
1044
1046
 
1045
1047
  /** @public */
@@ -1748,6 +1750,7 @@ export declare interface GroqAgentActionParam {
1748
1750
  type: 'groq'
1749
1751
  query: string
1750
1752
  params?: Record<string, string>
1753
+ perspective?: ClientPerspective_2
1751
1754
  }
1752
1755
 
1753
1756
  /**
package/dist/index.js CHANGED
@@ -2560,7 +2560,7 @@ function defineDeprecatedCreateClient(createClient2) {
2560
2560
  return printNoDefaultExport(), createClient2(config);
2561
2561
  };
2562
2562
  }
2563
- var name = "@sanity/client", version = "7.8.0";
2563
+ var name = "@sanity/client", version = "7.8.1-agent-action-perspective.0";
2564
2564
  const middleware = [
2565
2565
  debug({ verbose: !0, namespace: "sanity:client" }),
2566
2566
  headers({ "User-Agent": `${name} ${version}` }),