react-native-davoice-tts 1.0.257 → 1.0.258

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.
@@ -2,7 +2,7 @@ require 'json'
2
2
 
3
3
  Pod::Spec.new do |s|
4
4
  s.name = "TTSRNBridge"
5
- s.version = "1.0.130" # Update to your package version
5
+ s.version = "1.0.131" # Update to your package version
6
6
  s.summary = "TTS for React Native."
7
7
  s.description = <<-DESC
8
8
  A React Native module for tts .
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-davoice-tts",
3
- "version": "1.0.257",
3
+ "version": "1.0.258",
4
4
  "description": "tts library for React Native",
5
5
  "main": "tts/index.js",
6
6
  "types": "tts/index.d.ts",
package/speech/index.ts CHANGED
@@ -558,7 +558,7 @@ class Speech {
558
558
  private wavChain: Promise<void> = Promise.resolve();
559
559
 
560
560
  // ADD helper (minimal, uses existing onFinishedSpeaking event)
561
- private _playWavAndWait(realPath: string, markAsLast: boolean, timeoutMs = 10000) {
561
+ private _playWavAndWait(realPath: string, markAsLast: boolean, timeoutMs = 15000) {
562
562
  return new Promise<void>((resolve, reject) => {
563
563
  this.ttsPendingResolve = resolve; // reuse existing resolver + event
564
564
  this.ttsPendingTimeout = setTimeout(() => {