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

Forward duplex option on fetchWithAgentSelection #13

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

giovannibenussi
Copy link
Contributor

Currently, we get the following error when making requests on the libsql/hrana-client-ts repository:

TypeError: RequestInit: duplex option is required when sending a body.

According to this issue, this option is required and, following the recommendation from this Chrome for Developers' article, we're setting its value to duplex: half as its default value if not provided because it was the only available value at least a year ago so makes sense to use as the default value too.

@penberg penberg merged commit 391b592 into libsql:main Aug 10, 2024
@khuezy
Copy link

khuezy commented Aug 10, 2024

Thanks, I was getting this too.

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