diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 4d75950..f743ae1 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -184,7 +184,7 @@ async function synthAudio(client, logger, stats, { account_sid, const synthPolly = async(logger, {credentials, stats, language, voice, engine, text}) => { try { - const polly = new PollyClient({credentials}); + const polly = new PollyClient({...credentials}); const opts = { Engine: engine, OutputFormat: 'mp3', diff --git a/package-lock.json b/package-lock.json index 1820bff..16521e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@jambonz/speech-utils", - "version": "0.0.4", + "version": "0.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@jambonz/speech-utils", - "version": "0.0.4", + "version": "0.0.5", "license": "MIT", "dependencies": { "@aws-sdk/client-polly": "^3.276.0", diff --git a/package.json b/package.json index 54c505b..4ff78df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jambonz/speech-utils", - "version": "0.0.4", + "version": "0.0.5", "description": "TTS-related speech utilities for jambonz", "main": "index.js", "author": "Dave Horton",