Detalhes do pacote

magicbell

magicbell61.3kSEE LICENSE IN LICENSEdepreciado4.5.0

deprecated, please read the docs for more info.

MagicBell API wrapper

magicbell, notifications, notification center, notification inbox

readme (leia-me)

magicbell

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',
+ });