Releases: magicbell/magicbell-js
@magicbell/react-headless@4.2.4
Patch Changes
-
#43
d9d2318
Thanks @rollacaster! - fix: initialize stores in an effect instead of lazy use-state.This solves an "cannot update component" warning that was thrown in development mode.
@magicbell/magicbell-react@10.3.5
Patch Changes
-
#46
017b0cd
Thanks @smeijer! - fix: wait formarkAsRead
before opening notificationaction_url
.This fixes a race-condition where the page reload and fetching new notifications is faster than marking the notification as read, which would result in showing the notification as 'unread' upon page (re)load.
-
Updated dependencies [
8d30258
]:- @magicbell/react-headless@4.2.4
@magicbell/embeddable@3.2.7
Patch Changes
- Updated dependencies [
017b0cd
]:- @magicbell/magicbell-react@10.3.5
magicbell@1.1.0
Minor Changes
-
#39
68b2fbd
Thanks @smeijer! - Add support for usage in browsers.-
Stop tracking
client-id
. Client id was a random token stored on the filesystem, so we could identify origins across session. -
Don't generate HMAC if no
api-secret
is provided, or if HMAC is already provided via request options. -
Export
createHmac
, a util that generates MagicBell compatible HMAC digests.import { createHmac } from 'magicbell'; createHmac(process.env.MAGICBELL_API_SECRET, user.email);
-
@magicbell/embeddable@3.2.6
magicbell@1.0.1
magicbell@1.0.0
@magicbell/react-headless@4.2.3
@magicbell/magicbell-react@10.3.4
@magicbell/embeddable@3.2.5
Patch Changes
- Updated dependencies [
2f295b0
]:- @magicbell/magicbell-react@10.3.4