@jambonz/speech-utils 0.0.4 → 0.0.6

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.
@@ -184,7 +184,14 @@ 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 {region, accessKeyId, secretAccessKey} = credentials;
188
+ const polly = new PollyClient({
189
+ region,
190
+ credentials: {
191
+ accessKeyId,
192
+ secretAccessKey
193
+ }
194
+ });
188
195
  const opts = {
189
196
  Engine: engine,
190
197
  OutputFormat: 'mp3',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",