@i18n-micro/types 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.
package/dist/index.d.cts CHANGED
@@ -60,7 +60,8 @@ export interface Locale {
60
60
  iso?: string;
61
61
  /**
62
62
  * Open Graph locale for `og:locale` / `og:locale:alternate` meta `content` (e.g. `ar_AE`).
63
- * If omitted or empty, `iso` is used (then `code`).
63
+ * When omitted, `iso` is converted to OG format when possible (`en-US` → `en_US`).
64
+ * If conversion is not possible, `og:locale` tags are not emitted (dev warning when `missingWarn` is enabled).
64
65
  */
65
66
  og?: string;
66
67
  /**
package/dist/index.d.ts CHANGED
@@ -60,7 +60,8 @@ export interface Locale {
60
60
  iso?: string;
61
61
  /**
62
62
  * Open Graph locale for `og:locale` / `og:locale:alternate` meta `content` (e.g. `ar_AE`).
63
- * If omitted or empty, `iso` is used (then `code`).
63
+ * When omitted, `iso` is converted to OG format when possible (`en-US` → `en_US`).
64
+ * If conversion is not possible, `og:locale` tags are not emitted (dev warning when `missingWarn` is enabled).
64
65
  */
65
66
  og?: string;
66
67
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i18n-micro/types",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "TypeScript definitions for the Nuxt I18n Micro ecosystem.",
5
5
  "keywords": [
6
6
  "i18n",