Skip to content

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

Merged
merged 2 commits into from
Jan 2, 2025
Merged

Conversation

xiajon
Copy link
Contributor

@xiajon xiajon commented Dec 31, 2024

Description of changes:

Adding end customer authentication API and lifecycle events. Upgrading aws sdk v2 to v3

@xiajon xiajon requested a review from a team as a code owner December 31, 2024 21:34
@xiajon xiajon requested review from doreechi, sainapra and mhiaror and removed request for a team December 31, 2024 21:34
chatSession.onAuthenticationInitiated(event => {
const eventDetails = data?.data;
try {
content = JSON.parse(eventDetails?.Content);
Copy link
Contributor

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;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -903,14 +1043,6 @@ declare namespace connect {
readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
}

/** Enumerates the log levels. */
interface ChatLogLevel {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xiajon xiajon merged commit 5ef96eb into master Jan 2, 2025
3 checks passed
@xiajon xiajon deleted the xiajon-auth-chat branch January 2, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants