Skip to content

Releases: amazon-connect/amazon-connect-chatjs

2.1.0

26 Sep 20:51
bb64c47
Compare
Choose a tag to compare

2.0.2

21 Sep 22:25
07fef97
Compare
Choose a tag to compare

Added

  • Error message if API call is made before invoking session.connect(); #129

Fixed

  • sendEvent contentType README documentation
  • delivered receipt logic causing deadlock promise; #131

2.0.1

09 Aug 19:21
1c9ee48
Compare
Choose a tag to compare

Added

  • Browser Refresh and Persistent Chat documentation
  • More details to chatSession.sendAttachment README documentation
  • Improved ReactNativeSupport documentation

Fixed

  • Exclude src folder when publishing code to npm
  • Remove hardcoded usage of console.* methods; addresses #127
  • Expose connectionDetails value; addresses #154

2.0.0

18 Jul 22:03
1f6b741
Compare
Choose a tag to compare

Added

  • 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
  • expose connectionDetails value; addresses #154

1.5.1

04 Apr 15:27
Compare
Choose a tag to compare

updating outdated mapping file in dist folder and publish new readMe.

1.5.0

30 Mar 22:40
c6bb84a
Compare
Choose a tag to compare

Added

  • support React Native applications with latest WebSocketManager fix

1.4.0

09 Mar 00:00
075835a
Compare
Choose a tag to compare

Added

  • 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.

1.3.4

23 Feb 20:57
d85c517
Compare
Choose a tag to compare

Added:

  • Throttle typing event. Throttle wait time is set to 10 seconds.
  • add interactiveMessageResponse as a supported ContentType.

1.3.3

22 Feb 18:38
c2248bc
Compare
Choose a tag to compare

Fix :
unsafe-eval is causing CORS issue which blocks from importing chatJs in the web application.

1.3.2

10 Feb 00:24
6b2ee92
Compare
Choose a tag to compare

Description of changes:
AWS Connect has started to support application/json.

However, the CONTENT_TYPE constant doesn't have it as a valid value. Thus, the ChatControllerArgsValidator.validateContentType() method throws an IllegalArgumentException.

This change adds application/json to be a valid ContentType.