Releases: binaryminds/react-native-sse
1.2.1
🛠️ Fix: Correctly dispatch close events (#43)
🛠️ Fix: Ensure text parsing works when double newline is missing at the end (#44)
🆕 Feature: Add support for alternative line endings to improve compatibility with sse-starlette (#45)
🌟 Improve: Add example demonstrating ChatGPT usage
Huge thanks to @EmilJunker for contributing! 🎉
1.2.0
🆕 (Feature): Add timeoutBeforeConnection
option 🕒 (See PR)
🆕 (Feature): Add withCredentials
option 🛡️ (See PR)
🆕 (Feature): Allow to override headers: Accept
, Cache-Control
, X-Requested-With
📑 (See Commit)
🌟 (Improve): Add human-readable xhr readyState
to debug logs 📝 (See Commit)
🌟 (Improve): Enhance TypeScript interfaces. Add a new EventSourceEvent
type 🦾 (See PR)
🛠️ (Fix): Fix closing of connection 🏁 (See PR)
🛠️ (Fix): Check if double newline in response before setting lastIndexProcessed 📊 (See PR)
🙏 Huge thanks to @Lenny4, @mbardauskas, @EmilJunker, @GilbertYoder for contributing! 🎉