tool · inferred from evidence
custom fetch implementation
A workaround involving a custom fetch implementation to bypass XMLHttpRequest in faunadb-js.
- ReferenceError: XMLHttpRequest is not defined using faunadb-js in Cloudflare Worker
The driver was using XMLHttpRequest which doesnt exist in the Workers runtime. The official fix landed in faunadb 2.11.2-beta, so upgrading past that is the answer. If youre stuck on the old driver, the verified workaround is to pass a cust