Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Fix mistral client when using recent node version #42

Closed
wants to merge 1 commit into from

Conversation

HenriJ
Copy link

@HenriJ HenriJ commented Jan 17, 2024

"fetch" variable needs to be declared before being assigned, otherwise you get a "Uncaught ReferenceError" error

"fetch" variable needs to be declared before being assigned, otherwise you get a "Uncaught ReferenceError" error
@flore2003
Copy link
Contributor

This actually also fixes #44 by preventing the overwriting the global fetch. Can this be merged and published soon? It is breaking other libraries that rely on the built in fetch implementation. 🙏

hverlind added a commit to yello-xyz/mistral-client-js that referenced this pull request Mar 5, 2024
@baptisteArno
Copy link

Yes please, it breaks all other fetch-based libraries

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants