@telnyx/ai-agent-lib 0.4.0-beta.0 → 0.4.0-beta.1
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 +0 -10
- package/package.json +1 -1
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.
|
package/dist/index.js
CHANGED
|
@@ -3925,16 +3925,6 @@ class Qt extends Ct {
|
|
|
3925
3925
|
clearReconnectToken() {
|
|
3926
3926
|
this.telnyxRTC.clearReconnectToken?.();
|
|
3927
3927
|
}
|
|
3928
|
-
/**
|
|
3929
|
-
* Re-sends the login message on the existing WebSocket connection.
|
|
3930
|
-
* Used by the widget to retry after a transient "Login Incorrect" error
|
|
3931
|
-
* without closing and reopening the socket.
|
|
3932
|
-
*
|
|
3933
|
-
* @returns Promise that resolves when the re-login succeeds
|
|
3934
|
-
*/
|
|
3935
|
-
async retryLogin() {
|
|
3936
|
-
return this.telnyxRTC.relogin?.();
|
|
3937
|
-
}
|
|
3938
3928
|
/**
|
|
3939
3929
|
* Disconnects from the Telnyx WebRTC service and cleans up all event listeners.
|
|
3940
3930
|
* Emits an 'agent.disconnected' event before completing cleanup.
|