ai-sub-translator 1.2.0 → 1.2.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.
@@ -1,6 +1,6 @@
1
1
  import { parseSrt, formatSrt } from './srt-parser.js';
2
2
  import { callGemini } from './gemini-client.js';
3
- const DEFAULT_MODEL = 'gemini-2.0-flash';
3
+ const DEFAULT_MODEL = 'gemini-2.5-flash';
4
4
  const DEFAULT_BATCH_SIZE = 50;
5
5
  const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
6
6
  async function translateBatch(entries, language, context, model, apiKey, sourceLanguage) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-sub-translator",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "AI-powered subtitle translator using Google Gemini. Translates SRT subtitles to any language.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",