Skip to content

v0.1.2

Choose a tag to compare

@stewartjarod stewartjarod released this 28 Jul 18:31
· 42 commits to main since this release
Immutable release. Only release title and notes can be modified.
6e304e1

Fixed

  • Unhandled rejection from background inbox refreshes (#1). The mount refresh, the unread-count poll, and the window-focus refresh each fired with void, discarding the promise. The better-auth transport rejects rather than resolving to { data, error } when a request never reaches the server, so an offline or backgrounded tab turned every failed poll into an unhandled rejection in the consumer's app. Those three failures now land in the useInbox hook's existing error state, and the initial load ends in a finally so mounting while offline no longer spins forever.

Full changelog: v0.1.1...v0.1.2