Releases: magicbell/magicbell-js
@magicbell/embeddable@3.2.14
Patch Changes
- Updated dependencies [
eb256a1
]:- @magicbell/magicbell-react@10.7.1
@magicbell/embeddable@3.2.13
Patch Changes
- Updated dependencies [
e83a694
]:- @magicbell/magicbell-react@10.7.0
magicbell@1.7.1
magicbell@1.7.0
Minor Changes
-
#95
87b781b
Thanks @smeijer! - Thetotal
andtotal_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 infor await (const node of method.list())
keep working as before.
@magicbell/webpush@0.1.3
@magicbell/webpush@0.1.2
@magicbell/webpush@0.1.1
@magicbell/webpush@0.1.0
magicbell@1.6.0
Minor Changes
-
#90
ea0a9ca
Thanks @smeijer! - update broadcast > notification response schema to include the fields:created_at
; datetime when notification was createdupdated_at
; datetime when notification was last updatedseen_at
; datetime when notification was first seenread_at
; datetime when notification was first readstatus
; enum showing current state, current values:unseen
,unread
,read
,archived
Further changes are:
recipient
; is marked as non-nullabledeliveries
; is marked as non-nullable
-
#92
530476e
Thanks @smeijer! - Renameusers.fetch
tousers.get
. Tho it's in theory a breaking change, the users api is relatively new, and the convention in this sdk is to useget
for single entity retrieval, and notfetch
. So we're going with aminor
instead to get this fixed.
@magicbell/magicbell-react@10.6.0
Minor Changes
-
#88
7f9ecbc
Thanks @TD-4242! - feat: support css variables as theme color valueimport MagicBell, { NotificationInbox } from '@magicbell/magicbell-react'; const customTheme = { icon: { borderColor: 'var(--magicbell-icon-border-color)', }, }; <MagicBell theme={customTheme} apiKey={...} userEmail={...}> {() => <NotificationInbox height={500} />} </MagicBell>