koztv-blog-tools 1.0.1 → 1.0.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/dist/index.js CHANGED
@@ -310,7 +310,7 @@ function trackServiceClick(service) {
310
310
 
311
311
  // src/translate.ts
312
312
  async function translateWithGLM(text, options) {
313
- const model = options.model || "glm-4-flash";
313
+ const model = options.model || "glm-4.7-flash";
314
314
  const targetLang = options.targetLang || "en";
315
315
  const sourceLang = options.sourceLang || "ru";
316
316
  const messages = [
package/dist/index.mjs CHANGED
@@ -257,7 +257,7 @@ function trackServiceClick(service) {
257
257
 
258
258
  // src/translate.ts
259
259
  async function translateWithGLM(text, options) {
260
- const model = options.model || "glm-4-flash";
260
+ const model = options.model || "glm-4.7-flash";
261
261
  const targetLang = options.targetLang || "en";
262
262
  const sourceLang = options.sourceLang || "ru";
263
263
  const messages = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koztv-blog-tools",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Shared utilities for Telegram-based blog sites",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",