Skip to content

Releases: magicbell/magicbell-js

@magicbell/embeddable@3.2.14

27 Apr 12:41
f105abd
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [eb256a1]:
    • @magicbell/magicbell-react@10.7.1

@magicbell/embeddable@3.2.13

27 Apr 08:03
97a6ee3
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [e83a694]:
    • @magicbell/magicbell-react@10.7.0

magicbell@1.7.1

26 Apr 16:50
ae52b66
Compare
Choose a tag to compare

Patch Changes

  • #97 9af0890 Thanks @smeijer! - fix: correct response type for users.list() by renaming user prop to users.

magicbell@1.7.0

26 Apr 15:38
ed5de9d
Compare
Choose a tag to compare

Minor Changes

  • #95 87b781b Thanks @smeijer! - The total and total_pages props are removed from the following method return types:

    • magicbell.broadcasts.list()
    • magicbell.broadcasts.notifications.list()
    • magicbell.users.list()

    The auto pagination methods are updated to support the paginated responses that do not have those fields. Thereby, pagination helpers like .list().forEach(), .list().toArray() and the iterator in for await (const node of method.list()) keep working as before.

@magicbell/webpush@0.1.3

26 Apr 21:46
3ac5f79
Compare
Choose a tag to compare

Patch Changes

@magicbell/webpush@0.1.2

26 Apr 18:55
4381c24
Compare
Choose a tag to compare

Patch Changes

@magicbell/webpush@0.1.1

26 Apr 18:05
b8826de
Compare
Choose a tag to compare

Patch Changes

@magicbell/webpush@0.1.0

25 Apr 12:06
d5a715d
Compare
Choose a tag to compare

Minor Changes

  • #93 5eeee58 Thanks @smeijer! - Publish @magicbell/webpush, this package provides a convenient interface to subscribe to browser/web push notifications using MagicBell.

    import { subscribe } from '@magicbell/webpush';
    
    subscribe({
      token: 'jwt-token',
    });

magicbell@1.6.0

20 Apr 19:46
824fdc0
Compare
Choose a tag to compare

Minor Changes

  • #90 ea0a9ca Thanks @smeijer! - update broadcast > notification response schema to include the fields:

    • created_at; datetime when notification was created
    • updated_at; datetime when notification was last updated
    • seen_at; datetime when notification was first seen
    • read_at; datetime when notification was first read
    • status; enum showing current state, current values: unseen, unread, read, archived

    Further changes are:

    • recipient; is marked as non-nullable
    • deliveries; is marked as non-nullable
  • #92 530476e Thanks @smeijer! - Rename users.fetch to users.get. Tho it's in theory a breaking change, the users api is relatively new, and the convention in this sdk is to use get for single entity retrieval, and not fetch. So we're going with a minor instead to get this fixed.

@magicbell/magicbell-react@10.6.0

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

Minor Changes

  • #88 7f9ecbc Thanks @TD-4242! - feat: support css variables as theme color value

    import MagicBell, { NotificationInbox } from '@magicbell/magicbell-react';
    
    const customTheme = {
      icon: {
        borderColor: 'var(--magicbell-icon-border-color)',
      },
    };
    
    <MagicBell theme={customTheme} apiKey={...} userEmail={...}>
        {() => <NotificationInbox height={500} />}
    </MagicBell>