Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

thomasheartman
Copy link
Contributor

This PR adds client identification headers to the feature and metrics calls that the client makes to Unleash. The headers are:

  • x-unleash-appname: the name of the application that is using the client
  • x-unleash-connection-id: a unique identifier for the current instance of the client
  • x-unleash-sdk: sdk information in the format unleash-js@<version>

Discussion points:

What should we call the client here? Is unleash-js correct? Should it be unleash-browser? unleash-proxy-client?

Second: should the client be possible to override? This package is also what powers our React, Svelte, and Vue SDKs. Should they be able to override it (so you'd get unleash-react@<version>)? I think that would be useful

@thomasheartman thomasheartman merged commit 3615f15 into main Jan 8, 2025
3 checks passed
@thomasheartman thomasheartman deleted the feat(1-3223)/add-client-identification-headers branch January 8, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants