EventSource / eventsource

EventSource client for Node.js and Browser (polyfill)
MIT License
908 stars 252 forks source link

Fix: `dispatchEvent` wrong implementation #289

Closed Akwd22 closed 2 years ago

Akwd22 commented 2 years ago

Fixes #288

The function now emits the entire Event object and not only CustomEvent.detail as described in W3C specs (see issue). It is a breaking change for projects that use the current wrong implementation.