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

aguas-kapital

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aguas-kapital - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -11,6 +11,4 @@ var Client = require('./lib')

module.exports = {
createCems: createCems
}

30

lib/index.js

@@ -14,3 +14,5 @@ let axios = require('axios')

this.consultaPagoRango = this.options.consultaPagoRango
this.consultaPago = this.options.consultaPago
this.consultaPago = this.options.consultaPago
this.consultaCupon = this.options.consultaCupon
this.pagoCupon = this.options.pagoCupon
this.usuario = this.options.usuario

@@ -54,3 +56,3 @@ this.clave =this.options.clave

Client.prototype.getConsultaPago = function(data,callback){
Client.prototype.getConsultaPago = function(data,callback) {
let datos = {}

@@ -109,5 +111,2 @@ datos.contrato = data.contrato

datos.clave = this.clave
this._requestAxios(datos,this.consultaPago, callback)

@@ -117,3 +116,24 @@ }

/**6).CONSULTA POR CUPON */
Client.prototype.getConsultaCoupon = function(data,callback){
let datos = {}
datos.cupon = data.cupon
datos.usuario = this.usuario
datos.clave = this.clave
this._requestAxios(datos,this.consultaCupon, callback)
}
/**7).PAGAR X CUPON */
Client.prototype.getPagarByCoupon = function(data,callback){
let datos = {}
datos.cupon = data.cupon
datos.usuario = this.usuario
datos.clave = this.clave
this._requestAxiosPOST(datos,this.pagoCupon, callback)
}
module.exports = Client
{
"name": "aguas-kapital",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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