Skip to content
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

[JS] feat: add user agent override and internalize BotAdapter #1142

Merged
merged 32 commits into from
Jan 16, 2024
Merged

Conversation

aacebo
Copy link
Collaborator

@aacebo aacebo commented Jan 9, 2024

Linked issues

closes: #454

Details

In order to configure the User-Agent header for telemetry, I have added the class TeamsBotFrameworkAuthentication which will allow us to control the headers while still giving the devs implementation flexibility:

  • we can control how the bot adapter is initialized and provide overrides when necessary.
  • we can add an error handler on the Application class.
  • we can cut down on botbuilder boilerplate necessary for users to use our library.

@aacebo aacebo changed the title feat: add user agent override and internalize BotAdapter [JS] feat: add user agent override and internalize BotAdapter Jan 9, 2024
Copy link
Collaborator

@corinagum corinagum left a comment

Choose a reason for hiding this comment

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

LGTM!

Just a couple comments, will approve immediately after. Thanks Alex!

@aacebo aacebo merged commit 2d43f5c into main Jan 16, 2024
10 checks passed
@aacebo aacebo deleted the aacebo/1130 branch January 16, 2024 16:48
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.

Telemetry Headers
4 participants