@sanity/assist 1.2.4 → 1.2.5

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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -242,6 +242,9 @@ defineField({
242
242
  This will add a "Generate caption" action to the configured field.
243
243
  "Generate caption" action will automatically run whenever the image changes.
244
244
 
245
+ `captionField` can be a nested field, if the image has object field, ie `captionField: 'wrapper.caption'`.
246
+ Fields within array items are not supported.
247
+
245
248
  ## Third party sub-processors
246
249
 
247
250
  This version of the feature uses OpenAI.com as a third-party sub-processor. Their security posture has been vetted by Sanity's security team, and approved for use.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/assist",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "sanity",