bugfix: AWS polly

This commit is contained in:
Dave Horton
2023-03-20 15:33:00 -04:00
parent 46127bb763
commit 7c7be6bbb1
3 changed files with 4 additions and 4 deletions

View File

@@ -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',

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@jambonz/speech-utils",
"version": "0.0.3",
"version": "0.0.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@jambonz/speech-utils",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-polly": "^3.276.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@jambonz/speech-utils",
"version": "0.0.3",
"version": "0.0.4",
"description": "TTS-related speech utilities for jambonz",
"main": "index.js",
"author": "Dave Horton",