-
Notifications
You must be signed in to change notification settings - Fork 2
feat: Add support for user agents and wrapper names. #246
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
| @@ -0,0 +1,40 @@ | |||
| { | |||
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.
Added this information to js-core and then did a crawl for just these products.
|
|
||
| export const UserAgents: Record<string, UserAgent> = sdkUserAgents; | ||
|
|
||
| export namespace UserAgentHelpers { |
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.
This is a somewhat strange pattern, but it is what was done in this package already. Probably could just be top level functions.
This PR contains changes required to add unformation about user agents and wrapper names to the meta repository.
Updated
.sdk_metadata.jsonfile: https://github.com/launchdarkly/js-core/blob/main/.sdk_metadata.jsonFor those unfamiliar with this repo the primary purpose is to crawl SDK repositories, collect meta-data, and then put that meta-data into a usable form (A Go and JavaScript package).
Locally I have updated versions of ALL of the meta files to add to all of the repos. But I want to merge this PR before opening 22 more PRs.