@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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/constants.ts +1 -1
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: '
|
|
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 = "
|
|
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",
|