Releases: amazon-connect/amazon-connect-chatjs
Releases · amazon-connect/amazon-connect-chatjs
v5.0.0
Added
- Lex streaming support with partial message stitching for bot responses
transcriptUpdatedevent for real-time transcript trackingonTranscriptUpdatedcallback in chatSession- Auto-fetch transcript on connection when
transcriptUpdateEnabledis set - Agent metrics for
getConnectionTokenandcreateParticipantConnectionerrors MessageProcessingStatusTypeScript type (PROCESSING, FAILED, REJECTED)workflowCanceledcontent type for handling workflow cancellation events
@saipreetham16
v4.0.0
- Enhanced End Chat flow to support disconnect flow experiences
- Modified
disconnectParticipant()to defer connection termination until server sendschatEndedevent - Moved cleanup operations from
disconnectParticipant()to_handleIncomingMessage()for server-driven termination - Added callback pattern in
_forwardChatEvent()to ensure proper event ordering during chat termination - Enables post-disconnect messaging (surveys, confirmations) while ensuring proper cleanup
v3.1.5
3.1.4
3.1.3
[3.1.3]
Added
- Update
index.d.tsfor sendMessage() and sendEvent idempotency key
3.1.2
3.1.1
3.1.0
What's Changed
- feat: expose ChatJS npm version via window.connect.ChatJS.version by @spenlep-amzn in #271
- fix: missing typescript declarations and replace
anyusage by @spenlep-amzn in #268
Added
- Expose ChatJS version to global
window.connect.ChatJS.version - Add missing typescript declarations to
index.d.ts - Updating
ChatGlobalConfiginterface inindex.d.tsfor React NativewebSocketManagerConfig
Full Changelog: 3.0.6...3.1.0