react-native-davoice-tts 1.0.387 → 1.0.389

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.
Files changed (16) hide show
  1. package/TTSRNBridge.podspec +1 -1
  2. package/ios/SpeechBridge/SpeechBridge.m +252 -47
  3. package/ios/TTSRNBridge/DavoiceTTS.xcframework/Info.plist +5 -5
  4. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/DavoiceTTS +0 -0
  5. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.abi.json +325 -283
  6. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  7. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/DavoiceTTS +0 -0
  8. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json +325 -283
  9. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  10. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json +325 -283
  11. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  12. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeDirectory +0 -0
  13. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeRequirements-1 +0 -0
  14. package/ios/TTSRNBridge/DavoiceTTS.xcframework/ios-arm64_x86_64-simulator/DavoiceTTS.framework/_CodeSignature/CodeResources +18 -18
  15. package/package.json +1 -1
  16. package/speech/index.ts +10 -0
@@ -14,7 +14,7 @@
14
14
  </data>
15
15
  <key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
16
16
  <data>
17
- gP4oYpK5s8HvAiw04vjFBzb+aW0=
17
+ CGnATx4Fn9KAQ3AFzNHrsY59PdY=
18
18
  </data>
19
19
  <key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
20
20
  <data>
@@ -22,7 +22,7 @@
22
22
  </data>
23
23
  <key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
24
24
  <data>
25
- uFvcY2IAeVYmsi5sNhSbR8My9RU=
25
+ NnWiKcZTVqMMNfaMZA500n7ALOM=
26
26
  </data>
27
27
  <key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
28
28
  <data>
@@ -30,11 +30,11 @@
30
30
  </data>
31
31
  <key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
32
32
  <data>
33
- rgGNm+/NpZ1zVcL9ncmgwZ82pRU=
33
+ D3CGeLogk6S+70wtcOA2w416ZXo=
34
34
  </data>
35
35
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
36
36
  <data>
37
- gP4oYpK5s8HvAiw04vjFBzb+aW0=
37
+ CGnATx4Fn9KAQ3AFzNHrsY59PdY=
38
38
  </data>
39
39
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
40
40
  <data>
@@ -42,7 +42,7 @@
42
42
  </data>
43
43
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
44
44
  <data>
45
- y3QngIe9umm9xk5+rAOEk851jsY=
45
+ U1wZAHRgleCc753FxtnxzIbD7HE=
46
46
  </data>
47
47
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
48
48
  <data>
@@ -50,7 +50,7 @@
50
50
  </data>
51
51
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
52
52
  <data>
53
- AamT+gLEPXl7+6/iKChEBP0M7AI=
53
+ cUzHIo9qgflYHgoAMsCu+Mx4x/Q=
54
54
  </data>
55
55
  <key>Modules/module.modulemap</key>
56
56
  <data>
@@ -78,11 +78,11 @@
78
78
  <dict>
79
79
  <key>hash</key>
80
80
  <data>
81
- gP4oYpK5s8HvAiw04vjFBzb+aW0=
81
+ CGnATx4Fn9KAQ3AFzNHrsY59PdY=
82
82
  </data>
83
83
  <key>hash2</key>
84
84
  <data>
85
- M8gkiPB2mZ0TYui/nNgMwqtHuRpiJJCa57JLF3HhE5Y=
85
+ GFyntVshbAo7bORROwxhC0qOcQQaqnY4/I7hP/XtgwA=
86
86
  </data>
87
87
  </dict>
88
88
  <key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
@@ -100,11 +100,11 @@
100
100
  <dict>
101
101
  <key>hash</key>
102
102
  <data>
103
- uFvcY2IAeVYmsi5sNhSbR8My9RU=
103
+ NnWiKcZTVqMMNfaMZA500n7ALOM=
104
104
  </data>
105
105
  <key>hash2</key>
106
106
  <data>
107
- l9Qox9nSqHz81v3z2jBHmscs21jTUVBAJTDrHONOBtE=
107
+ ntu1tShvqEORQx69S5CxWuoOmpNuV6XAvPWfgeaXF94=
108
108
  </data>
109
109
  </dict>
110
110
  <key>Modules/DavoiceTTS.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
@@ -122,22 +122,22 @@
122
122
  <dict>
123
123
  <key>hash</key>
124
124
  <data>
125
- rgGNm+/NpZ1zVcL9ncmgwZ82pRU=
125
+ D3CGeLogk6S+70wtcOA2w416ZXo=
126
126
  </data>
127
127
  <key>hash2</key>
128
128
  <data>
129
- 3T6rPo5tNMIe3iLVa6E6oTtiQJ73ufqs0wh1rmRo1B0=
129
+ GUkrBwC3yO1P/p0fx8NxdZnNbnYHaWTGvbxMchQNXF8=
130
130
  </data>
131
131
  </dict>
132
132
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
133
133
  <dict>
134
134
  <key>hash</key>
135
135
  <data>
136
- gP4oYpK5s8HvAiw04vjFBzb+aW0=
136
+ CGnATx4Fn9KAQ3AFzNHrsY59PdY=
137
137
  </data>
138
138
  <key>hash2</key>
139
139
  <data>
140
- M8gkiPB2mZ0TYui/nNgMwqtHuRpiJJCa57JLF3HhE5Y=
140
+ GFyntVshbAo7bORROwxhC0qOcQQaqnY4/I7hP/XtgwA=
141
141
  </data>
142
142
  </dict>
143
143
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
@@ -155,11 +155,11 @@
155
155
  <dict>
156
156
  <key>hash</key>
157
157
  <data>
158
- y3QngIe9umm9xk5+rAOEk851jsY=
158
+ U1wZAHRgleCc753FxtnxzIbD7HE=
159
159
  </data>
160
160
  <key>hash2</key>
161
161
  <data>
162
- Hk5RUVQ8oV1bgJufqJSq7pXd0mwPzGpOY4BHjeNjAI0=
162
+ s2sylFklyuQXLIUb/f37GR/EeNyoYs96lsAE5GtaGas=
163
163
  </data>
164
164
  </dict>
165
165
  <key>Modules/DavoiceTTS.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
@@ -177,11 +177,11 @@
177
177
  <dict>
178
178
  <key>hash</key>
179
179
  <data>
180
- AamT+gLEPXl7+6/iKChEBP0M7AI=
180
+ cUzHIo9qgflYHgoAMsCu+Mx4x/Q=
181
181
  </data>
182
182
  <key>hash2</key>
183
183
  <data>
184
- qn+S7YFzRi+GoUCyGeMg2f4PunnIYH/Cf+T3C1tnmSQ=
184
+ huC0Oiu7JeNbpdQmc1Up+H0zwD+tr0rwqehGtZ7yI0I=
185
185
  </data>
186
186
  </dict>
187
187
  <key>Modules/module.modulemap</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-davoice-tts",
3
- "version": "1.0.387",
3
+ "version": "1.0.389",
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
@@ -1113,6 +1113,16 @@ class Speech {
1113
1113
  return Promise.resolve(0);
1114
1114
  }
1115
1115
 
1116
+ /** Read-only diagnostics: iOS only, resolves null if unavailable. */
1117
+ async sttHealthSnapshot(): Promise<Record<string, any> | null> {
1118
+ if (Platform.OS !== 'ios' || typeof NativeSpeech?.sttHealthSnapshot !== 'function') return null;
1119
+ try {
1120
+ return await NativeSpeech.sttHealthSnapshot();
1121
+ } catch (e) {
1122
+ return { error: String(e) };
1123
+ }
1124
+ }
1125
+
1116
1126
  async hasIOSMicPermissions(): Promise<boolean> {
1117
1127
  if (Platform.OS !== 'ios') return false;
1118
1128
  if (!NativeSpeech?.hasMicPermissions) return false;