centinela-sdk
v2.0.3
Published
``` npm i centinela-sdk ``` Install version 2.0.0 or higher
Downloads
7
Readme
Centinela Sdk
Installation
npm i centinela-sdk
Install version 2.0.0 or higher
How to use
- From centinale homepage generte an api token
- Init sdk
const centinelaSdk = require('centinela-sdk')
centinelaSdk.init(API_KEY, organizationId)
- Send errors
const centinelaSdk = require('centinela-sdk')
centinelaSdk.sendError(errorName,errorDescription, errorSeverity).catch(e => console.error(e))
Severity can go from 1 to 4