Skip to content

fix: improve headers parsing #243

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 7 commits into from
Jan 31, 2025
Merged

fix: improve headers parsing #243

merged 7 commits into from
Jan 31, 2025

Conversation

Tymek
Copy link
Member

@Tymek Tymek commented Jan 30, 2025

About the changes

Predictable and testable headers parsing for both getting features and sending metrics.

@Tymek Tymek marked this pull request as ready for review January 30, 2025 15:53
@@ -650,7 +650,7 @@ test('Should abort previous request', async () => {
client.updateContext({ userId: '456' }); // abort 2
await client.updateContext({ userId: '789' });

expect(abortSpy).toBeCalledTimes(2);
Copy link
Contributor

Choose a reason for hiding this comment

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

how are they different?

Copy link
Member Author

Choose a reason for hiding this comment

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

one is deprecated. just a rename in a library - no real difference

@Tymek Tymek changed the title fix: imprive headers parsing fix: improve headers parsing Jan 31, 2025
@Tymek Tymek merged commit 80af67f into main Jan 31, 2025
3 checks passed
@Tymek Tymek deleted the fix/headers branch January 31, 2025 08:18
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