Skip to content

Conversation

@YehoavR
Copy link
Contributor

@YehoavR YehoavR commented Jan 26, 2026

  • Updated the connection timeout from 60 seconds to 300 seconds to improve reliability during connection attempts.

Updated the connection timeout from 60 seconds to 300 seconds to improve reliability during connection attempts.
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 26, 2026

Open in StackBlitz

npm i https://pkg.pr.new/DecartAI/sdk/@decartai/sdk@71

commit: 7cc1d1b

YehoavR and others added 3 commits January 26, 2026 14:43
…tion

Introduced new event types for status and queue position in the RealTimeClient and WebRTCConnection. Updated message types to handle incoming status and queue position messages, enhancing real-time feedback capabilities.
…o RealTimeClient

Enhanced the RealTimeClient by introducing optional callback functions for handling status updates and queue position events. This allows users to respond to real-time changes more effectively.
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Adds configurable timeout support for sending reference images in
realtime flows.
> 
> - Extends `setImage` (client and manager) and `setImageBase64`
(connection) to accept `options.timeout` with default `15000ms`
> - Uses `options.timeout ?? AVATAR_SETUP_TIMEOUT_MS` for `set_image`
ack waiting; preserves existing behavior when not provided
> - Adds unit tests verifying custom and default timeout behavior;
updates test imports to use `vi` timers
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
014310a. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants