swellstores / swell-js

JS library for building storefronts and checkouts with Swell ecommerce.
https://swell.is
MIT License
138 stars 29 forks source link

BUG: The 'credentials' field on 'RequestInitializerDict' is not implemented. #149

Open wpplumber opened 8 months ago

wpplumber commented 8 months ago

I'm using Astro build project using SSR and it works ok locally but when I use wrangler to prepare for Cloudflare it gives the following error:

The 'credentials' field on 'RequestInitializerDict' is not implemented.

The important is the issue is when using swell-js it gives this error but when using fetch and a public endpoint it works both locally and in wrangler.