@jambonz/speech-utils 0.2.13 → 0.2.15

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/lib/config.js +1 -1
  2. package/package.json +2 -2
package/lib/config.js CHANGED
@@ -9,7 +9,7 @@ const JAMBONES_HTTP_PROXY_PORT = process.env.JAMBONES_HTTP_PROXY_PORT;
9
9
  const JAMBONES_TTS_CACHE_DURATION_MINS =
10
10
  (parseInt(process.env.JAMBONES_TTS_CACHE_DURATION_MINS) || 4 * 60) * 60; // cache tts for 4 hours
11
11
 
12
- const TMP_FOLDER = '/tmp';
12
+ const TMP_FOLDER = process.env.JAMBONES_TMP_FOLDER || '/tmp';
13
13
 
14
14
  const HTTP_TIMEOUT = 5000;
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",
@@ -37,7 +37,7 @@
37
37
  "debug": "^4.3.4",
38
38
  "form-urlencoded": "^6.1.4",
39
39
  "google-protobuf": "^3.21.2",
40
- "ibm-watson": "^8.0.0",
40
+ "ibm-watson": "^11.0.0",
41
41
  "microsoft-cognitiveservices-speech-sdk": "1.38.0",
42
42
  "openai": "^4.98.0",
43
43
  "undici": "^7.5.0"