-
Notifications
You must be signed in to change notification settings - Fork 60
adding end customer authentication apis and events #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
chatSession.onAuthenticationInitiated(event => { | ||
const eventDetails = data?.data; | ||
try { | ||
content = JSON.parse(eventDetails?.Content); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QQ. Why we did not parse the response within ChatJs and exposed a type ?
* Subscribes an event handler that triggers when the session is lost. | ||
* @param handler The event handler. | ||
*/ | ||
onConnectionLost(handler: (event: ChatTypingEvent) => void): void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed duplicate conflicting event handler https://github.com/amazon-connect/amazon-connect-chatjs/blob/master/src/index.d.ts#L267
@@ -903,14 +1043,6 @@ declare namespace connect { | |||
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED"; | |||
} | |||
|
|||
/** Enumerates the log levels. */ | |||
interface ChatLogLevel { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description of changes:
Adding end customer authentication API and lifecycle events. Upgrading aws sdk v2 to v3