Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apigratis-sdk-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apigratis-sdk-nodejs - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "apigratis-sdk-nodejs",
"version": "0.0.5",
"version": "0.0.6",
"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",

const axios = require("axios");
const SERVER = "https://cluster-01.apigratis.com/api/v1";
class WhatsApp {
static async request(data) {

@@ -11,7 +14,5 @@

const SERVER = "https://cluster-01.apigratis.com/api/v1/whatsapp/";
const config = {
method: "POST",
url: `${SERVER}${action || ""}`,
url: `${SERVER}/whatsapp/${action || ""}`,
headers: {

@@ -32,6 +33,9 @@ "Agent": "APIBRASIL/SDK-JS",

} catch (error) {
return {
status: "error",
message: error
error: error,
message: error.message,
};
}

@@ -38,0 +42,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc