@ccgp/i18n-ai 0.0.2 → 0.0.4

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.
Files changed (2) hide show
  1. package/README.md +1 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -55,8 +55,6 @@ Create a `.env` file:
55
55
 
56
56
  ```env
57
57
  OPENROUTER_API_KEY=your_api_key
58
- # or
59
- AI_API_KEY=your_api_key
60
58
  ```
61
59
 
62
60
  ## Programmatic Usage
@@ -72,7 +70,7 @@ const service = new TranslationService({
72
70
  defaultLocale: 'en',
73
71
  messagesDir: resolve(process.cwd(), 'messages'),
74
72
  lockFilePath: resolve(process.cwd(), 'translation-lock.json'),
75
- apiKey: process.env.AI_API_KEY
73
+ apiKey: process.env.OPENROUTER_API_KEY
76
74
  });
77
75
 
78
76
  await service.sync();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccgp/i18n-ai",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "AI-powered i18n translation and synchronization library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",