langie 1.13.1 → 2.0.1

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.
@@ -0,0 +1,8 @@
1
+ export type Transliterate = (input: string) => string;
2
+ /**
3
+ * `transliteration` ships a ~200 KB charmap — a third of a consumer's entry
4
+ * chunk — but it is only needed once somebody types a non-Latin query, so it is
5
+ * pulled on demand instead of at import time. The promise is cached, so the
6
+ * charmap is fetched once per session no matter how many pickers ask for it.
7
+ */
8
+ export declare function loadTransliterate(): Promise<Transliterate>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langie",
3
- "version": "1.13.1",
3
+ "version": "2.0.1",
4
4
  "description": "Lightweight translation SDK for Vue.js applications with smart interface language selection and limit monitoring",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.33.2",
@@ -67,7 +67,7 @@
67
67
  "node": ">=18.0.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "vue": "^3.2.0",
70
+ "vue": "^3.5.0",
71
71
  "nuxt": "^3.0.0"
72
72
  },
73
73
  "devDependencies": {
@@ -87,7 +87,7 @@
87
87
  "vite": "^5.0.0",
88
88
  "vue-tsc": "^3.0.0",
89
89
  "vitest": "^3.2.4",
90
- "vue": "^3.4.0"
90
+ "vue": "^3.5.0"
91
91
  },
92
92
  "dependencies": {
93
93
  "@vueform/multiselect": "^2.6.11",