Skip to content

Releases: magicbell/magicbell-js

@magicbell/embeddable@3.2.10

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

Patch Changes

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

magicbell@1.4.2

07 Apr 13:59
4fdf937
Compare
Choose a tag to compare

Patch Changes

magicbell@1.4.1

07 Apr 07:59
2c3b23e
Compare
Choose a tag to compare

Patch Changes

  • #68 8ae8b38 Thanks @smeijer! - fix typescript issue that showed arguments in camelCase vs snake_case.

magicbell@1.4.0

05 Apr 09:46
99812c2
Compare
Choose a tag to compare

Minor Changes

  • #59 6d7e434 Thanks @unamashana!
    • remove beta flag from pushSubscriptions
    • move imports method behind feature flag
    • add users.list method to list all users
    • add users.fetch method to fetch a single user
    • add users.pushSubscriptions resource to manage users push subscriptions
    • add users.pushSubscriptions.list method to list all push subscriptions for a user
    • add users.pushSubscriptions.delete method to delete a single push subscription for a user

magicbell@1.3.0

26 Mar 12:48
fe79bfa
Compare
Choose a tag to compare

Minor Changes

  • #64 1676fd3 Thanks @smeijer! - feat: support custom request headers

    Custom request headers can be used to decorate requests for logs and metrics or for example to instruct proxy servers.

    import MagicBell from 'magicbell';
    
    const magicbell = new MagicBell({
      apiKey: 'my-api-key',
      headers: {
        'X-Custom-Header': 'foo',
      },
    });

@magicbell/magicbell-react@10.5.0

26 Mar 12:48
fe79bfa
Compare
Choose a tag to compare

Minor Changes

  • #62 2d96a3d Thanks @pianomansam! - feat: don't open action-url when notification click handler returns false

@magicbell/embeddable@3.2.9

26 Mar 12:48
fe79bfa
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [2d96a3d]:
    • @magicbell/magicbell-react@10.5.0

magicbell@1.2.0

17 Feb 16:37
3dad516
Compare
Choose a tag to compare

Minor Changes

  • #56 8139792 Thanks @smeijer! - feat: add close method to realtime listener

    const listener = magicbell.listen();
    
    listener.forEach((notification) => {
      console.log(notification.data.id);
    });
    
    // stop listening after 5 seconds
    setTimeout(() => {
      listener.close();
    }, 5_000);

@magicbell/magicbell-react@10.4.0

07 Feb 12:30
6ec5187
Compare
Choose a tag to compare

Minor Changes

  • 4347cf3 Thanks @smeijer! - feat: category labels in the preferences pane are now translatable.

    const customLocale = {
      name: 'en',
      translations: {
        preferences: {
          categories: { // mapping from slug > label
            billing: 'My Billing',
          },
        },
      },
    };
    
    function MyComponent() {
      return (
        <MagicBell locale={customLocale} apiKey={MAGICBELL_API_KEY} userEmail="john@example.com" />
          {(props) => <FloatingNotificationInbox height={450} {...props} />}
        </MagicBell>
      );
    }

@magicbell/embeddable@3.2.8

07 Feb 12:30
6ec5187
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [4347cf3]:
    • @magicbell/magicbell-react@10.4.0