diff --git a/lib/tasks/say.js b/lib/tasks/say.js index 5502d5eb..0e932599 100644 --- a/lib/tasks/say.js +++ b/lib/tasks/say.js @@ -149,7 +149,7 @@ class TaskSay extends TtsTask { credentials, options: this.options, disableTtsCache : this.disableTtsCache, - preCache + renderForCaching: preCache }); if (!filePath.startsWith('say:')) { this.logger.debug(`Say: file ${filePath}, served from cache ${servedFromCache}`); diff --git a/package-lock.json b/package-lock.json index 234d59ac..6a663072 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@jambonz/http-health-check": "^0.0.1", "@jambonz/mw-registrar": "^0.2.7", "@jambonz/realtimedb-helpers": "^0.8.8", - "@jambonz/speech-utils": "^0.1.13", + "@jambonz/speech-utils": "^0.1.15", "@jambonz/stats-collector": "^0.1.10", "@jambonz/time-series": "^0.2.9", "@jambonz/verb-specifications": "^0.0.76", @@ -1536,9 +1536,9 @@ } }, "node_modules/@jambonz/speech-utils": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.1.13.tgz", - "integrity": "sha512-QeVmNFLtJGPGQfmp7jXpy742AyJIv2EteelDmNTqWGFEwTBj88q8GLP51hUsIR2ZbE5n/ZmZb/ytT6Y6LIQSDg==", + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.1.15.tgz", + "integrity": "sha512-TICSKVqFqjc1Ty08Wr+byMQv1g/Piku0x/4cuw25JB3nrOolW/sLABRxoPOUUpbY5EGjXhaVT52FpazCopiIxg==", "license": "MIT", "dependencies": { "@aws-sdk/client-polly": "^3.496.0", @@ -10501,9 +10501,9 @@ } }, "@jambonz/speech-utils": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.1.13.tgz", - "integrity": "sha512-QeVmNFLtJGPGQfmp7jXpy742AyJIv2EteelDmNTqWGFEwTBj88q8GLP51hUsIR2ZbE5n/ZmZb/ytT6Y6LIQSDg==", + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/@jambonz/speech-utils/-/speech-utils-0.1.15.tgz", + "integrity": "sha512-TICSKVqFqjc1Ty08Wr+byMQv1g/Piku0x/4cuw25JB3nrOolW/sLABRxoPOUUpbY5EGjXhaVT52FpazCopiIxg==", "requires": { "@aws-sdk/client-polly": "^3.496.0", "@aws-sdk/client-sts": "^3.496.0", diff --git a/package.json b/package.json index 00c137b1..286bdb4f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@jambonz/http-health-check": "^0.0.1", "@jambonz/mw-registrar": "^0.2.7", "@jambonz/realtimedb-helpers": "^0.8.8", - "@jambonz/speech-utils": "^0.1.13", + "@jambonz/speech-utils": "^0.1.15", "@jambonz/stats-collector": "^0.1.10", "@jambonz/time-series": "^0.2.9", "@jambonz/verb-specifications": "^0.0.76",