react-native-sse

Event Source implementation for React Native. Server-Sent Events (SSE) for iOS and Android 🚀

MIT License

Downloads
166K
Stars
205

Bot releases are visible (Hide)

react-native-sse - 1.2.1 Latest Release

Published by wojciechkrol 8 months ago

🛠️ 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! 🎉

react-native-sse - 1.2.0

Published by wojciechkrol 12 months ago

🆕 (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! 🎉