Skip to content

Releases: magicbell/magicbell-js

@magicbell/embeddable@3.2.12

19 Apr 07:38
bd20d65
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [7f9ecbc]:
    • @magicbell/magicbell-react@10.6.0

magicbell@1.5.0

17 Apr 19:15
e1b094f
Compare
Choose a tag to compare

Minor Changes

Note
The broadcasts methods are currently in preview. Enable them via feature flags.

  • #83 94cbb92 Thanks @smeijer! - feat: add broadcasts.list method to the client.

    const broadcasts = magicbell.broadcasts.list({ per_page: 10 });
    
    await broadcasts.forEach((broadcast) => {
      console.log(broadcast.id);
    });
  • #84 b0a809d Thanks @smeijer! - feat: add broadcasts.get method to the client.

    const broadcasts = await magicbell.broadcasts.get(broadcastId);
    console.log(broadcast.id);
  • #86 073e3f8 Thanks @smeijer! - feat: add broadcasts.notifications.list method to the client.

    const notifications = magicbell.broadcasts.notifications.list(broadcastId, { per_page: 10 });
    
    await notifications.forEach((notification) => {
      console.log(notification.id);
    });
  • #87 f0ec9a5 Thanks @smeijer! - Update schemas for broadcast methods.

    • dropped broadcast.recipients_count, use broadcast.status.summary.total instead.
    • broadcast notification status is now an enum string.
    • changed sent_at timestamps to be iso-strings.
    • added created_at to broadcast.
    • added title to broadcast notification

magicbell@1.4.4

13 Apr 10:59
2c9e7f7
Compare
Choose a tag to compare

Patch Changes

  • #76 fe450c8 Thanks @smeijer! - Feature flags are now typed, making it easier to enable beta features, and harder to forget removing flags when beta features turned stable.

  • #77 9f4be9a Thanks @smeijer! - return the full response data from users.push_subscriptions.list()

@magicbell/react-headless@4.2.6

13 Apr 16:59
04ef173
Compare
Choose a tag to compare

Patch Changes

@magicbell/magicbell-react@10.5.2

13 Apr 16:59
04ef173
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [fbbbae7]:
    • @magicbell/react-headless@4.2.6

@magicbell/embeddable@3.2.11

13 Apr 16:59
04ef173
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies []:
    • @magicbell/magicbell-react@10.5.2

@magicbell/core@5.0.4

13 Apr 16:59
04ef173
Compare
Choose a tag to compare

Patch Changes

magicbell@1.4.3

12 Apr 13:01
b5f4b68
Compare
Choose a tag to compare

Patch Changes

@magicbell/react-headless@4.2.5

12 Apr 13:01
b5f4b68
Compare
Choose a tag to compare

Patch Changes

@magicbell/magicbell-react@10.5.1

12 Apr 13:01
b5f4b68
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [6eb5705]:
    • @magicbell/react-headless@4.2.5