All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Authentication lifecycle events and APIs for authenticate customer flow block
- fix message receipts getting disabled if custom throttleTime is passed
- add
disableCSM
to custom typings file index.d.ts.
- add custom typings file index.d.ts instead of auto-generating typings.
- Prevent overriding connect global namespace when initialized
- Update jest to fix security issues with old version.
- Added new callback onChatRehydrted callbacks whenever websocket fires
.rehydrated
event.
- onDeepHeartBeatFailure is undefined, updated websocketManager library file to fix the bug.
- .onConnectionEstablished() is fired twice after invoking .connect(); closes #124
- enable message receipts by default; closes #132
- expose deep heartbeat success/failure callback to clients
- reject send callbacks instead of returning null
- Updated README to include important note about ConnAck migration
- Fix sendMessageReceipts to only send receipts if chat has not ended
- Updated amazon-connect-websocket-manager.js library to enable Deep Heartbeat change for Chat widget users.
- The DescribeView API
- Error message if API call is made before invoking session.connect(); #129
- sendEvent contentType README documentation
- delivered receipt logic causing deadlock promise; #131
- Browser Refresh and Persistent Chat documentation
- More details to chatSession.sendAttachment README documentation
- Improved ReactNativeSupport documentation
- Exclude src folder when publishing code to npm
- Remove hardcoded usage of console.* methods; addresses #127
- Expose connectionDetails value; addresses #154
- Initial TypeScript migration: auto-generate
*.d.ts
files in dist folder. - Delete and gitignore
dist
folder - Add CDN link to README
- Fix typo for setting messageReceipts?.throttleTime in updateThrottleTime
- updaing generating mapping file in dist folder.
- support React Native applications with latest WebSocketManager fix
- Migrate critical connectionAcknowledge event to CreateParticipantConnection API, and keep sendEvent API for non-critical events like typing/read/delivered.
- Adding chatSession.onConnectionLost method which subscribes to the CHAT_EVENTS.CONNECTION_LOST event.
- Throttle typing event. Throttle wait time is set to 10 seconds.
- add interactiveMessageResponse as a supported ContentType.
- fix unsafe-eval usage in code by updating webpack config.
- do not load CSM bundle if CSM is disabled.
- add application/json as a supported ContentType.
- fix csm initialization to add try-catch to prevent csm webworker initialization failures from affecting the main application.
- Add message receipt. Message Receipts allow the sender of a chat message to view when their message has been delivered and read (seen) by the recipient.
- Add browser and OS usage client side metric to enhance the proactive identify issues.
- fix global declaration.
- Add client side metric service in order to enhance the customer experience and proactively identify issues. Detail: README.md.
- Update
.babelrc
file to fix the error ofReferenceError: regeneratorRuntime is not defined
.
- fix WebSocketManager logger so its instance is tied to WebsocketManager instance. Fixes the case where multiple connections are initiated in 1 browser session.
- update log message to contain logLevel and logMetaData
- enabled logs for WebSocketManager
- add advanced_log level to Logger for customers to identify critical logs needed for WebSocket production debugging.
- add ability to re-connect to web socket after connection has ended.
- remove websocket ended check for GetTranscript to allow GetTranscript after web socket has ended.
- updated package-lock lockfileVersion to 2
- This CHANGELOG file to serve as an evolving example of a standardized open source project CHANGELOG.
- Support for concurrent customer sessions and an agent session. Concurrent agent sessions are unsupported in Streams and remain unsupported in ChatJS.
- Ability to configure a customized logger and other logging updates.
- Upgrade babel, jest, and webpack-dev-server dependencies.
- Minor code refactorings.
- Fix ChatJS connections breaking when Streams is terminated and re-initialized.
- Improve code coverage.
1.1.11 - 2022-05-20
- Upgrade async, minimist, node-forge dependencies.
1.1.10 - 2022-03-10
- Bumped webpack, babel, eslint, and jest