Releases: jaikoo/bloop-react-native
Releases · jaikoo/bloop-react-native
v0.3.0
Bug Fix
Fix silent auth failure — Switches dependency from the old unscoped bloop-sdk (which was missing the X-Project-Key header) to @dthink/bloop-sdk@^0.5.2 (which sends it correctly).
Without X-Project-Key, the bloop server falls back to legacy auth mode and rejects requests with a silent 401.
Changes
- Dependency:
bloop-sdk@^0.3.0→@dthink/bloop-sdk@^0.5.2 - Adapts wrapper to the new SDK API (same RN-facing interface)
- Adds
.gitignore
Upgrade
npm install bloop-react-native@0.3.0No API changes for error tracking. LLM tracing startTrace() continues to work as before.
v0.2.0
What's New
installAppStateHandler()— Flushes events when app transitions tobackgroundorinactive. Critical on iOS where backgrounded apps are killed without notice.installPromiseRejectionHandler()— Hooksglobal.onunhandledrejectionfor unhandled promise rejections in React Native.useBloophook upgrade — Now auto-installs all three handlers (installGlobalHandler,installAppStateHandler,installPromiseRejectionHandler) on mount.- Clean shutdown —
shutdown()removes AppState subscription, restores original promise rejection handler, and cleans up global error handler.