@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 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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@telnyx/ai-agent-lib",
3
3
  "private": false,
4
- "version": "0.4.0-beta.0",
4
+ "version": "0.4.0-beta.1",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",