パッケージの詳細

magicbell

magicbell55.9kSEE LICENSE IN LICENSE非推奨4.5.0

deprecated, please read the docs for more info.

MagicBell API wrapper

magicbell, notifications, notification center, notification inbox

readme

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