@jambonz/speech-utils 0.0.23 → 0.0.24

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.
@@ -258,7 +258,7 @@ const synthGoogle = async(logger, {credentials, stats, language, voice, gender,
258
258
  const opts = {
259
259
  voice: {
260
260
  ...(typeof voice === 'string' && {name: voice}),
261
- ...(typeof voice === 'object' && {custom_voice: voice}),
261
+ ...(typeof voice === 'object' && {customVoice: voice}),
262
262
  languageCode: language,
263
263
  ssmlGender: gender || 'SSML_VOICE_GENDER_UNSPECIFIED'
264
264
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",