New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gn-api-sdk-node

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gn-api-sdk-node - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.0.4
- Correção na função req
# 2.0.3

@@ -2,0 +6,0 @@

4

lib/gn-endpoints.js

@@ -68,3 +68,3 @@ 'use strict';

GnEndpoints.prototype.req = function (callback) {
GnEndpoints.prototype.req = async function (callback) {
let req = this.getParams.call(this, this.endpoint.route);

@@ -74,5 +74,7 @@ req['method'] = this.endpoint.method;

.then((res) => {
callback(res);
console.log(res.data)
})
.catch((error) => {
callback(error);
console.log(error.response.data);

@@ -79,0 +81,0 @@ });

{
"name": "gn-api-sdk-node",
"description": "Module for integration with Gerencianet API",
"version": "2.0.3",
"version": "2.0.4",
"author": "Gerencianet - Consultoria Tecnica | João Vitor Oliveira | Francisco Carvalho",

@@ -6,0 +6,0 @@ "license": "MIT",

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