@jambonz/speech-utils 0.2.16 → 0.2.17

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.
@@ -1295,7 +1295,7 @@ const synthCartesia = async(logger, {
1295
1295
  const synthResemble = async(logger, {
1296
1296
  credentials, options, stats, voice, text, renderForCaching, disableTtsStreaming
1297
1297
  }) => {
1298
- const {api_key, resemble_tts_uri} = credentials;
1298
+ const {api_key, resemble_tts_uri, resemble_tts_use_tls} = credentials;
1299
1299
  const {project_uuid, use_hd} = options || {};
1300
1300
 
1301
1301
  /* default to using the streaming interface, unless disabled by env var OR we want just a cache file */
@@ -1308,6 +1308,7 @@ const synthResemble = async(logger, {
1308
1308
  if (project_uuid) params += `,project_uuid=${project_uuid}`;
1309
1309
  if (use_hd) params += `,use_hd=${use_hd}`;
1310
1310
  if (resemble_tts_uri) params += `,endpoint=${resemble_tts_uri}`;
1311
+ if (resemble_tts_use_tls) params += `,use_tls=${resemble_tts_use_tls}`;
1311
1312
 
1312
1313
  params += '}';
1313
1314
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",