@sanity/assist 3.2.1 → 3.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/assist",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "You create the instructions; Sanity AI Assist does the rest.",
5
5
  "keywords": [
6
6
  "sanity",
package/src/plugin.tsx CHANGED
@@ -46,7 +46,9 @@ export const assist = definePlugin<AssistPluginConfig | void>((config) => {
46
46
 
47
47
  return {
48
48
  name: packageName,
49
-
49
+ // the addition of global references broke auto updating studios
50
+ // new versions of studio know to look for this prop on assist plugin, and filter + console.warn if it is missing
51
+ ...({handlesGDR: true} as any),
50
52
  schema: {
51
53
  types: schemaTypes,
52
54
  },