ttp-agent-sdk 2.3.19 → 2.3.21
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.
- package/dist/agent-widget.js +1 -1
- package/dist/agent-widget.js.map +1 -1
- package/dist/index.html +9 -23
- package/package.json +1 -1
package/dist/index.html
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<img src="https://talktopc.com/logo192.png" alt="TTP Logo" style="width: 40px; height: 40px; border-radius: 8px;">
|
|
24
24
|
<div>
|
|
25
25
|
<h1 style="margin: 0; font-size: 1.4rem;">TTP Agent SDK</h1>
|
|
26
|
-
<p class="version" style="margin: 0;">v2.3.
|
|
26
|
+
<p class="version" style="margin: 0;">v2.3.19</p>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
@@ -133,19 +133,19 @@
|
|
|
133
133
|
<span class="quick-link-arrow">→</span>
|
|
134
134
|
</a>
|
|
135
135
|
|
|
136
|
-
<a href="#text-to-speech" class="quick-link-card">
|
|
137
|
-
<div class="quick-link-icon">🔊</div>
|
|
138
|
-
<h3>Text To Speech</h3>
|
|
139
|
-
<p>REST API for voice synthesis</p>
|
|
140
|
-
<span class="quick-link-arrow">→</span>
|
|
141
|
-
</a>
|
|
142
|
-
|
|
143
136
|
<a href="#java-sdk" class="quick-link-card">
|
|
144
137
|
<div class="quick-link-icon">☕</div>
|
|
145
138
|
<h3>Java SDK</h3>
|
|
146
139
|
<p>Backend SDK for server-side TTS</p>
|
|
147
140
|
<span class="quick-link-arrow">→</span>
|
|
148
141
|
</a>
|
|
142
|
+
|
|
143
|
+
<a href="#text-to-speech" class="quick-link-card">
|
|
144
|
+
<div class="quick-link-icon">🔊</div>
|
|
145
|
+
<h3>Text To Speech</h3>
|
|
146
|
+
<p>REST API for voice synthesis</p>
|
|
147
|
+
<span class="quick-link-arrow">→</span>
|
|
148
|
+
</a>
|
|
149
149
|
</div>
|
|
150
150
|
</div>
|
|
151
151
|
|
|
@@ -3404,20 +3404,6 @@ app.post('/api/generate-speech', async (req, res) => {
|
|
|
3404
3404
|
</dependency>
|
|
3405
3405
|
</dependencies></code></pre>
|
|
3406
3406
|
|
|
3407
|
-
<div class="warning-box">
|
|
3408
|
-
<strong>⚠️ GitHub Packages Authentication:</strong>
|
|
3409
|
-
<p>You'll need to authenticate with GitHub Packages. Add credentials to your <code>~/.m2/settings.xml</code>:</p>
|
|
3410
|
-
<pre><code><settings>
|
|
3411
|
-
<servers>
|
|
3412
|
-
<server>
|
|
3413
|
-
<id>github</id>
|
|
3414
|
-
<username>YOUR_GITHUB_USERNAME</username>
|
|
3415
|
-
<password>YOUR_GITHUB_TOKEN</password>
|
|
3416
|
-
</server>
|
|
3417
|
-
</servers>
|
|
3418
|
-
</settings></code></pre>
|
|
3419
|
-
</div>
|
|
3420
|
-
|
|
3421
3407
|
<h3>Gradle</h3>
|
|
3422
3408
|
<pre><code>repositories {
|
|
3423
3409
|
maven {
|
|
@@ -3443,7 +3429,6 @@ String apiKey = System.getenv("TALKTOPC_API_KEY");
|
|
|
3443
3429
|
|
|
3444
3430
|
VoiceSDK sdk = VoiceSDK.builder()
|
|
3445
3431
|
.apiKey(apiKey)
|
|
3446
|
-
.baseUrl("https://api.talktopc.com") // Optional
|
|
3447
3432
|
.build();</code></pre>
|
|
3448
3433
|
|
|
3449
3434
|
<h3>2. Simple TTS (Blocking)</h3>
|
|
@@ -3873,3 +3858,4 @@ Files.write(Paths.get("output.wav"), response.getAudio());</code></pre>
|
|
|
3873
3858
|
</html>
|
|
3874
3859
|
|
|
3875
3860
|
|
|
3861
|
+
<!-- Cloudflare Pages rebuild trigger -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ttp-agent-sdk",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.21",
|
|
4
4
|
"description": "Comprehensive Voice Agent SDK with Enhanced Customizable Widget - Real-time audio, WebSocket communication, React components, and extensive customization options",
|
|
5
5
|
"main": "dist/agent-widget.js",
|
|
6
6
|
"module": "dist/agent-widget.js",
|