@telnyx/ai-agent-lib 0.4.0-beta.0 → 0.4.0
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/client.d.ts +0 -8
- package/dist/index.js +339 -343
- package/package.json +2 -2
package/dist/client.d.ts
CHANGED
|
@@ -76,14 +76,6 @@ export declare class TelnyxAIAgent extends EventEmitter<AIAgentEvents> {
|
|
|
76
76
|
* retrying after a "Login Incorrect" error caused by RMQ propagation lag.
|
|
77
77
|
*/
|
|
78
78
|
clearReconnectToken(): void;
|
|
79
|
-
/**
|
|
80
|
-
* Re-sends the login message on the existing WebSocket connection.
|
|
81
|
-
* Used by the widget to retry after a transient "Login Incorrect" error
|
|
82
|
-
* without closing and reopening the socket.
|
|
83
|
-
*
|
|
84
|
-
* @returns Promise that resolves when the re-login succeeds
|
|
85
|
-
*/
|
|
86
|
-
retryLogin(): Promise<void>;
|
|
87
79
|
/**
|
|
88
80
|
* Disconnects from the Telnyx WebRTC service and cleans up all event listeners.
|
|
89
81
|
* Emits an 'agent.disconnected' event before completing cleanup.
|