@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/README.md +21 -15
- package/dist/_chunks-cjs/stegaEncodeSourceMap.cjs +29 -2
- package/dist/_chunks-cjs/stegaEncodeSourceMap.cjs.map +1 -1
- package/dist/_chunks-es/stegaEncodeSourceMap.js +29 -2
- package/dist/_chunks-es/stegaEncodeSourceMap.js.map +1 -1
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.cts +18 -0
- package/dist/index.browser.d.ts +18 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/stega.browser.d.cts +2 -0
- package/dist/stega.browser.d.ts +2 -0
- package/dist/stega.d.cts +2 -0
- package/dist/stega.d.ts +2 -0
- package/package.json +1 -1
- package/src/agent/actions/commonTypes.ts +3 -0
- package/src/stega/filterDefault.ts +30 -2
- package/src/types.ts +1 -0
- package/umd/sanityClient.js +29 -2
- package/umd/sanityClient.min.js +2 -2
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}` }),
|