Skip to content

Releases: magicbell/magicbell-js

magicbell-js@1.3.0

27 Aug 12:19
b4e0256
Compare
Choose a tag to compare

Minor Changes

magicbell-js@1.2.0

25 Jul 13:32
b137e90
Compare
Choose a tag to compare

Minor Changes

  • #560 d83c331 Thanks @moxley01! - feat!: rename Socket class to Realtime for better discoverability, and add documentation

magicbell-js@1.1.1

14 Jul 12:50
567ec8b
Compare
Choose a tag to compare

Patch Changes

magicbell-js@1.1.0

10 Jul 09:55
ff12ab5
Compare
Choose a tag to compare

Minor Changes

magicbell@4.5.0

02 Jul 13:04
ca47359
Compare
Choose a tag to compare

Minor Changes

  • #549 f710971 Thanks @smeijer! - This package is deprecated. Please use magicbell-js instead.

    Project Client

    - import { ProjectClient } from 'magicbell/project-client';
    + import { Client } from 'magicbell-js/project-client';
    
    - const magicbell = new ProjectClient({
    -  apiKey: 'your-api-key',
    -  apiSecret: 'your-api-secret',
    - });
    
    + const client = new Client({
    +   token: 'your-access-token',
    + });

    User Client

    - import { Userclient } from 'magicbell/user-client';
    + import { Client } from 'magicbell-js/project-client';
    
    - const magicbell = new Userclient({
    -  apiKey: 'your-api-key',
    -  apiSecret: 'your-api-secret',
    - });
    
    + const client = new Client({
    +   token: 'your-user-jwt',
    + });

magicbell-js@1.0.0

02 Jul 13:04
ca47359
Compare
Choose a tag to compare

Major Changes

Minor Changes

@magicbell/webpush@2.2.0

02 Jul 13:03
ca47359
Compare
Choose a tag to compare

Minor Changes

@magicbell/react-headless@5.5.0

02 Jul 13:03
ca47359
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Updated dependencies [f710971]:
    • magicbell@4.5.0

@magicbell/magicbell-react@11.5.0

02 Jul 13:04
ca47359
Compare
Choose a tag to compare

Minor Changes

  • #549 f710971 Thanks @smeijer! - This package is deprecated. Please use @magicbell/react instead.

    - import MagicBell, { FloatingNotificationInbox } from '@magicbell/magicbell-react';
    + import Provider from "@magicbell/react/context-provider";
    + import FloatingInbox from "@magicbell/react/floating-inbox";
    
    function App(props: any) {
      return (
    -   <MagicBell apiKey={MAGICBELL_API_KEY} userEmail="john@example.com">
    -     {(props) => <FloatingNotificationInbox height={300} {...props} />}
    -   </MagicBell>,
    +   <Provider token="abc123">
    +     <FloatingInbox height={500} />
    +   </Provider>
      );
    }

Patch Changes

  • Updated dependencies [f710971, f710971]:
    • @magicbell/react-headless@5.5.0
    • @magicbell/webpush@2.2.0

@magicbell/embeddable@3.5.0

02 Jul 13:04
ca47359
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Updated dependencies [f710971]:
    • @magicbell/magicbell-react@11.5.0