Skip to content

Releases: magicbell/magicbell-js

@magicbell/react-headless@4.2.4

16 Jan 14:41
c80a3b3
Compare
Choose a tag to compare

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

16 Jan 14:41
c80a3b3
Compare
Choose a tag to compare

Patch Changes

  • #46 017b0cd Thanks @smeijer! - fix: wait for markAsRead before opening notification action_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

16 Jan 14:41
c80a3b3
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [017b0cd]:
    • @magicbell/magicbell-react@10.3.5

magicbell@1.1.0

19 Dec 08:40
2188278
Compare
Choose a tag to compare

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

12 Dec 10:40
29f49b9
Compare
Choose a tag to compare

Patch Changes

magicbell@1.0.1

02 Dec 14:33
2642fc4
Compare
Choose a tag to compare

Patch Changes

magicbell@1.0.0

01 Dec 09:08
bdc98d6
Compare
Choose a tag to compare

Major Changes

  • #27 c698320 Thanks @smeijer! - improve types for notifications, push-subscriptions, imports and users resources.

@magicbell/react-headless@4.2.3

01 Dec 09:08
bdc98d6
Compare
Choose a tag to compare

Patch Changes

  • #26 2f295b0 Thanks @smeijer! - Remove react-dom from peer-dependencies, so we don't cause trouble in react-native projects.

@magicbell/magicbell-react@10.3.4

01 Dec 09:08
bdc98d6
Compare
Choose a tag to compare

Patch Changes

  • #26 2f295b0 Thanks @smeijer! - Remove react-dom from peer-dependencies, so we don't cause trouble in react-native projects.

  • Updated dependencies [2f295b0]:

    • @magicbell/react-headless@4.2.3

@magicbell/embeddable@3.2.5

01 Dec 09:08
bdc98d6
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [2f295b0]:
    • @magicbell/magicbell-react@10.3.4