@capgo/capacitor-speech-synthesis 8.0.3 → 8.0.4
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.
|
@@ -23,7 +23,7 @@ import org.json.JSONException;
|
|
|
23
23
|
@CapacitorPlugin(name = "SpeechSynthesis")
|
|
24
24
|
public class SpeechSynthesisPlugin extends Plugin {
|
|
25
25
|
|
|
26
|
-
private final String pluginVersion = "8.0.
|
|
26
|
+
private final String pluginVersion = "8.0.4";
|
|
27
27
|
private TextToSpeech tts;
|
|
28
28
|
private int utteranceIdCounter = 0;
|
|
29
29
|
private boolean ttsInitialized = false;
|
|
@@ -7,7 +7,7 @@ import AVFoundation
|
|
|
7
7
|
*/
|
|
8
8
|
@objc(SpeechSynthesisPlugin)
|
|
9
9
|
public class SpeechSynthesisPlugin: CAPPlugin, CAPBridgedPlugin, AVSpeechSynthesizerDelegate {
|
|
10
|
-
private let pluginVersion: String = "8.0.
|
|
10
|
+
private let pluginVersion: String = "8.0.4"
|
|
11
11
|
public let identifier = "SpeechSynthesisPlugin"
|
|
12
12
|
public let jsName = "SpeechSynthesis"
|
|
13
13
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-speech-synthesis",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"description": "Synthesize speech from text with full control over language, voice, pitch, rate, and volume.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
45
45
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
46
46
|
"eslint": "eslint . --ext ts",
|
|
47
|
-
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
47
|
+
"prettier": "prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
48
48
|
"swiftlint": "node-swiftlint",
|
|
49
49
|
"docgen": "docgen --api SpeechSynthesisPlugin --output-readme README.md --output-json dist/docs.json",
|
|
50
50
|
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
"rimraf": "^6.1.0",
|
|
69
69
|
"rollup": "^4.53.2",
|
|
70
70
|
"swiftlint": "^2.0.0",
|
|
71
|
-
"typescript": "^5.9.3"
|
|
71
|
+
"typescript": "^5.9.3",
|
|
72
|
+
"prettier-pretty-check": "^0.2.0"
|
|
72
73
|
},
|
|
73
74
|
"peerDependencies": {
|
|
74
75
|
"@capacitor/core": ">=8.0.0"
|