@coderafiki/connectycube-ts
TypeScript icon, indicating that this package has built-in type declarations

0.0.30 • Public • Published

connectyCube-ts

connectycube typescript wrapper

// usage

import {ConnectyCube} from '@coderafiki/connectycube-ts'


const {
  APPLICATION_KEY,
  AUTHENTICATION_KEY,
  APP_ID,
  AUTHENTICATION_SECRET,
} = process.env;




const connectyCube = new ConnectyCube(
     APPLICATION_KEY, AUTHENTICATION_KEY, APP_ID, AUTHENTICATION_SECRET)


// functions 
// signup
connectyCube.signup({
      // login
      password: 'password',
      login: 'login',
      fullName: `fullname`,
      // phone: patient.mobileNumber,
      email: 'email',
    });
    
    
// login
connectyCube.login({
      // login
      password: 'password',
      login: 'login',
    });
   
    
// send push notification
connectyCube.sendPushNotification({
      // login
      password: 'password',
      login: 'login',
      notification: 'string'
    });
    
// create session
connectyCube.createSession({
      // login
      password: 'password',
      login: 'login',
    });

Readme

Keywords

none

Package Sidebar

Install

npm i @coderafiki/connectycube-ts

Weekly Downloads

1

Version

0.0.30

License

ISC

Unpacked Size

49.9 kB

Total Files

20

Last publish

Collaborators

  • teapot418