@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/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/plugin.tsx +3 -1
package/package.json
CHANGED
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
|
},
|