@sanity/document-internationalization 3.3.1 → 3.3.3

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 CHANGED
@@ -148,7 +148,7 @@ export const defineConfig({
148
148
  // Optional
149
149
  // Define API Version for all queries
150
150
  // https://www.sanity.io/docs/api-versioning
151
- apiVersion: '2023-05-22',
151
+ apiVersion: '2025-02-19',
152
152
 
153
153
  // Optional
154
154
  // Enable "manage translations" button without creating a translated version. Helpful if you have
package/dist/index.esm.js CHANGED
@@ -14,7 +14,7 @@ function DocumentPreview(props) {
14
14
  const schemaType = useSchema().get(props.type);
15
15
  return schemaType ? /* @__PURE__ */ jsx(Preview, { value: props.value, schemaType }) : /* @__PURE__ */ jsx(Feedback, { tone: "critical", title: "Schema type not found" });
16
16
  }
17
- const METADATA_SCHEMA_NAME = "translation.metadata", TRANSLATIONS_ARRAY_NAME = "translations", API_VERSION = "2023-05-22", DEFAULT_CONFIG = {
17
+ const METADATA_SCHEMA_NAME = "translation.metadata", TRANSLATIONS_ARRAY_NAME = "translations", API_VERSION = "2025-02-19", DEFAULT_CONFIG = {
18
18
  supportedLanguages: [],
19
19
  schemaTypes: [],
20
20
  languageField: "language",