@jambonz/speech-utils 0.0.3 → 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.
- package/lib/synth-audio.js +1 -1
- package/package.json +1 -1
package/lib/synth-audio.js
CHANGED
|
@@ -184,7 +184,7 @@ async function synthAudio(client, logger, stats, { account_sid,
|
|
|
184
184
|
|
|
185
185
|
const synthPolly = async(logger, {credentials, stats, language, voice, engine, text}) => {
|
|
186
186
|
try {
|
|
187
|
-
const polly = new PollyClient(credentials);
|
|
187
|
+
const polly = new PollyClient({credentials});
|
|
188
188
|
const opts = {
|
|
189
189
|
Engine: engine,
|
|
190
190
|
OutputFormat: 'mp3',
|