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

trailpack-proxy-generics

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trailpack-proxy-generics - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

26

api/services/PaymentGenericService.js

@@ -20,3 +20,3 @@ 'use strict'

/**
*
* authorization is the reserving of money that the customer has agreed to pay.
* @param transaction

@@ -26,5 +26,4 @@ * @param adapter

*/
// authorization is the reserving of money that the customer has agreed to pay.
authorize(transaction, adapter){
return lib.Validator.paymentProvider.authorize(transaction)
return lib.Validator.validatePaymentProvider.authorize(transaction)
.then(values => {

@@ -35,4 +34,5 @@ adapter = this._init(adapter)

}
/**
*
* capture is the transfer of the money that was reserved during the authorization stage.
* @param transaction

@@ -42,5 +42,4 @@ * @param adapter

*/
// capture is the transfer of the money that was reserved during the authorization stage.
capture(transaction, adapter){
return lib.Validator.paymentProvider.capture(transaction)
return lib.Validator.validatePaymentProvider.capture(transaction)
.then(values => {

@@ -53,3 +52,3 @@ adapter = this._init(adapter)

/**
*
* sale is a combination of authorization and capture, performed in one step.
* @param transaction

@@ -59,5 +58,4 @@ * @param adapter

*/
// sale is a combination of authorization and capture, performed in one step.
sale(transaction, adapter){
return lib.Validator.paymentProvider.sale(transaction)
return lib.Validator.validatePaymentProvider.sale(transaction)
.then(values => {

@@ -69,3 +67,3 @@ adapter = this._init(adapter)

/**
*
* void is the cancellation of a pending authorization or capture.
* @param transaction

@@ -75,5 +73,4 @@ * @param adapter

*/
// void is the cancellation of a pending authorization or capture.
void(transaction, adapter){
return lib.Validator.paymentProvider.void(transaction)
return lib.Validator.validatePaymentProvider.void(transaction)
.then(values => {

@@ -85,3 +82,3 @@ adapter = this._init(adapter)

/**
*
* refund is the partial or full refund of the captured money to the sale.
* @param transaction

@@ -91,5 +88,4 @@ * @param adapter

*/
// refund is the partial or full refund of the captured money to the sale.
refund(transaction, adapter){
return lib.Validator.paymentProvider.refund(transaction)
return lib.Validator.validatePaymentProvider.refund(transaction)
.then(values => {

@@ -96,0 +92,0 @@ adapter = this._init(adapter)

{
"name": "trailpack-proxy-generics",
"version": "0.0.3",
"version": "0.0.4",
"description": "Generics - Trailpack for Proxy Engine",

@@ -5,0 +5,0 @@ "homepage": "https://cali-style.com",

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