vite-plugin-localization-ai 1.1.2 → 1.1.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.
@@ -40,6 +40,6 @@ ${extraPromt || ""}
40
40
  config: config,
41
41
  });
42
42
  const translatedText = response.text?.trim() || "{}";
43
- console.debug("[gemini]: response", response);
43
+ console.debug("[gemini]: response", { response, translatedText });
44
44
  return JSON.parse(translatedText || "{}");
45
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-localization-ai",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Vite plugin to generate localization jsons using AI",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -54,6 +54,6 @@ ${extraPromt || ""}
54
54
  });
55
55
 
56
56
  const translatedText = response.text?.trim() || "{}";
57
- console.debug("[gemini]: response", response);
57
+ console.debug("[gemini]: response", { response, translatedText });
58
58
  return JSON.parse(translatedText || "{}");
59
59
  }