@novu/js@v3.19.2

novuhq/novu@novu/js@v3.19.2Sep 7, 2026by github-actions[bot]

AI Summary

This release introduces new socket event emissions and API methods for managing conversations, while also fixing several issues related to agent cards and message delivery.

Key Highlights

  • Emits socket disconnect events to allow consumers to display drops.
  • Added `listConversations` method to stop clients from scraping the subscriber JWT.
  • Fixed type definitions for `AgentCardPart.card` to use `AgentCardElement`.
  • Fixed MCP connect cards merging logic during history runs.

New Features

  • Emit socket disconnect events.
  • Add `listConversations` method.

Full Release Notes

### 🚀 Features
- **js:** emit socket disconnect events so consumers can show drops fixes NV-8747 ([#12536](https://github.com/novuhq/novu/pull/12536))
- **js:** add listConversations so clients stop scraping the subscriber JWT fixes NV-8746 ([#12534](https://github.com/novuhq/novu/pull/12534))
### 🩹 Fixes
- **js:** carry sourceMessageId on card parts so sendAction can use the part alone fixes NV-8749 ([#12537](https://github.com/novuhq/novu/pull/12537))
- **js:** type AgentCardPart.card as AgentCardElement fixes NV-8745 ([#12525](https://github.com/novuhq/novu/pull/12525))
- **js:** stop MCP connect cards merging on history runId fixes NV-8752 ([#12521](https://github.com/novuhq/novu/pull/12521))
- **js:** deliver run-error to web chat subscribers fixes NV-8741 ([#12519](https://github.com/novuhq/novu/pull/12519))
### ❤️ Thank You
- Adam Chmara @ChmaraX