feat: Console SDK update for version 13.1.0#94
Conversation
Greptile SummaryThis PR updates the Console SDK to version 13.0.1, adding three new services (
Confidence Score: 4/5Safe to merge with the caveat that the socket-lifetime bug in Realtime can silently drop presence delivery after the last subscription is closed. The new Presences, Advisor, and Usage services follow established patterns and look correct. The Realtime changes are well-structured, but close() in subscribe() checks only activeSubscriptions.size === 0 when deciding whether to shut down the socket, bypassing the pendingPresence guard that createSocketLocked correctly enforces. A user who subscribes to a channel, calls upsertPresence, then closes that last subscription will have their socket torn down and reconnect silenced. The rest of the changes are clean. src/services/realtime.ts — specifically the close() closure inside subscribe() around line 608 Important Files Changed
|
| UsageRead = 'usage.read', | ||
| } No newline at end of file |
| GoogleImagine = 'googleImagine', | ||
| } No newline at end of file |
This PR contains updates to the Console SDK for version 13.1.0.