Releases: magicbell/magicbell-js
Releases · magicbell/magicbell-js
@magicbell/embeddable@3.2.10
Patch Changes
- Updated dependencies []:
- @magicbell/magicbell-react@10.5.1
magicbell@1.4.2
magicbell@1.4.1
magicbell@1.4.0
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
- remove beta flag from
magicbell@1.3.0
Minor Changes
-
#64
1676fd3
Thanks @smeijer! - feat: support custom request headersCustom 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
Minor Changes
- #62
2d96a3d
Thanks @pianomansam! - feat: don't open action-url when notification click handler returns false
@magicbell/embeddable@3.2.9
Patch Changes
- Updated dependencies [
2d96a3d
]:- @magicbell/magicbell-react@10.5.0
magicbell@1.2.0
@magicbell/magicbell-react@10.4.0
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
Patch Changes
- Updated dependencies [
4347cf3
]:- @magicbell/magicbell-react@10.4.0