@jambonz/speech-utils 0.0.38 → 0.0.39

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.
@@ -625,7 +625,7 @@ const synthElevenlabs = async(logger, {credentials, options, stats, language, vo
625
625
  params += '}';
626
626
 
627
627
  return {
628
- filePath: `say:${params}${text.replace(/\n/g, ' ')}`,
628
+ filePath: `say:${params}${text.replace(/\n/g, ' ').replace(/\r/g, ' ')}`,
629
629
  servedFromCache: false,
630
630
  rtt: 0
631
631
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",