Shopify JS Buy SDK suddenly leads to CORS error when fetching products or collections

Update: The issue seems to have been quietly resolved on Shopify’s end. Regardless I would have expected to find at least some information on this issue.