@mulingai-npm/redis 3.18.5 → 3.19.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.
@@ -96,7 +96,9 @@ class MulingstreamChunkManager {
96
96
  sttProviders.forEach((p) => (stt[p.service] = { transcription: '', model: p.model, status: 'INIT' }));
97
97
  const translation = {};
98
98
  const tts = {};
99
- shortCodeTargetLanguages.forEach((l) => {
99
+ // Use ISO codes (targetLanguages) for translation/tts keys, NOT short codes
100
+ // This ensures consistency throughout the pipeline - we can always derive short codes from ISO codes when needed
101
+ targetLanguages.forEach((l) => {
100
102
  translation[l] = { translation: '', status: 'INIT' };
101
103
  tts[l] = { ttsAudioPath: '', status: 'INIT', isEmitted: false };
102
104
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mulingai-npm/redis",
3
- "version": "3.18.5",
3
+ "version": "3.19.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": {