Socket
Socket
Sign inDemoInstall

apigratis-sdk-nodejs

Package Overview
Dependencies
2
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "apigratis-sdk-nodejs",
"version": "0.0.6",
"version": "0.0.7",
"description": "A ideia desse SDK é otimizar o tempo de código dos usuários auxiliando na integração com a plataforma",

@@ -5,0 +5,0 @@ "homepage": "https://apigratis.com.br",

@@ -17,4 +17,5 @@ const axios = require("axios");

url: `${SERVER}/whatsapp/${action || ""}`,
maxBodyLength: Infinity,
headers: {
"Agent": "APIBRASIL/SDK-JS",
"User-Agent": "APIBRASIL/SDK-JS",
"Content-Type": "application/json",

@@ -29,3 +30,3 @@ "SecretKey": credentials.SecretKey,

const response = await axios(config);
const response = await axios.request(config);
return response.data;

@@ -32,0 +33,0 @@

@@ -12,6 +12,6 @@ const APIGratis = require('apigratis-sdk-nodejs');

credentials: {
SecretKey: "SEU_SECRET_KEY",
PublicToken: "SEU_PUBLIC_TOKEN",
DeviceToken: "SEU_DEVICE_TOKEN",
BearerToken: "SEU_BEARER_TOKEN",
SecretKey: "747bc316-1bbf-4e5e-9e88-f5c78e1425a7",
PublicToken: "0abfbc1b-c827-4ff7-a534-6fd057a80804",
DeviceToken: "157e8312-ecf1-4ffe-a6d7-844b1259ad17",
BearerToken: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3BsYXRhZm9ybWEuYXBpYnJhc2lsLmNvbS5ici9hdXRoL2xvZ2luIiwiaWF0IjoxNjc2MzA0NjgxLCJleHAiOjE3MDc4NDA2ODEsIm5iZiI6MTY3NjMwNDY4MSwianRpIjoiNEVBWDBubWFPUDVaazN0UiIsInN1YiI6IjIiLCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.vwT4CM5BTl8_OmnKw8dIxi3qe1WPKcfTL3x6KhcwVaY",
},

@@ -18,0 +18,0 @@ body: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc