npm.io
4.5.1 • Published 3 months ago

magicbell

Licence
SEE LICENSE IN LICENSE
Version
4.5.1
Deps
6
Size
926 kB
Vulns
0
Weekly
0
Stars
31

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

Keywords