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

Having onResponse defined breaks on Bun due to broken response.clone() #109

Open
hazelnutcloud opened this issue Jul 2, 2024 · 1 comment

Comments

@hazelnutcloud
Copy link
Contributor

When using treaty in sveltekit running on Bun, the call to response.clone() throws an error:

TypeError: Expected 'this' to be instanceof Response

Might be related: oven-sh/bun#6468

@LucHermkens
Copy link

Should be fixed now, when using the newest version of Bun: oven-sh/bun#13744

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

No branches or pull requests

2 participants