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

csob-payment-gateway

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csob-payment-gateway - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

dist/base-gateway.js

@@ -105,2 +105,4 @@ "use strict";

const dttm = this._createDttm();
const apiUrl = `${url}/api/${this.getVersion()}${endpoint}${createGetPath && method === 'get' ? this._createGetPath(Object.assign({ merchantId }, data), dttm) : ''}`;
console.log(apiUrl);
return new Promise((resolve, reject) => {

@@ -113,3 +115,3 @@ request[method]({

qs: method === 'get' ? data : undefined,
url: `${url}/api/${this.getVersion()}${endpoint}${createGetPath && method === 'get' ? this._createGetPath(Object.assign({ merchantId }, data), dttm) : ''}`,
url: apiUrl,
}, (err, res, body) => {

@@ -116,0 +118,0 @@ if (err) {

@@ -1,2 +0,3 @@

import Gateway from './v1.7';
import Gateway, { PaymentStatus } from './v1.7';
export { PaymentStatus, };
export default Gateway;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const v1_7_1 = require("./v1.7");
exports.PaymentStatus = v1_7_1.PaymentStatus;
exports.default = v1_7_1.default;
//# sourceMappingURL=index.js.map

@@ -1,3 +0,4 @@

import { ICartItem, IEchoResponse, IOneClickInitResponse, IOneClickStartResponse, IPaymentInitResponse, IPaymentRefundResponse, IPaymentStatusResponse } from '../__interfaces__';
import { ICartItem, IEchoResponse, IOneClickInitResponse, IOneClickStartResponse, IPaymentInitResponse, IPaymentRefundResponse, IPaymentStatusResponse, PaymentStatus } from '../__interfaces__';
import Base, { Currency, Language, PayOperation } from '../base-gateway';
export { PaymentStatus, };
export default class Gateway extends Base {

@@ -4,0 +5,0 @@ echo(): Promise<IEchoResponse>;

@@ -12,2 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const __interfaces__1 = require("../__interfaces__");
exports.PaymentStatus = __interfaces__1.PaymentStatus;
const base_gateway_1 = require("../base-gateway");

@@ -14,0 +16,0 @@ class Gateway extends base_gateway_1.default {

@@ -1,3 +0,4 @@

import { ICartItem, IEchoResponse, IOneClickEchoResponse, IOneClickInitResponse, IOneClickStartResponse, IPaymentInitResponse, IPaymentStatusResponse } from '../__interfaces__';
import { ICartItem, IEchoResponse, IOneClickEchoResponse, IOneClickInitResponse, IOneClickStartResponse, IPaymentInitResponse, IPaymentStatusResponse, PaymentStatus } from '../__interfaces__';
import Base, { Currency, Language, PayOperation } from '../base-gateway';
export { PaymentStatus, };
export default class Gateway extends Base {

@@ -4,0 +5,0 @@ echo(): Promise<IEchoResponse>;

@@ -12,2 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const __interfaces__1 = require("../__interfaces__");
exports.PaymentStatus = __interfaces__1.PaymentStatus;
const base_gateway_1 = require("../base-gateway");

@@ -14,0 +16,0 @@ class Gateway extends base_gateway_1.default {

{
"name": "csob-payment-gateway",
"version": "0.1.1",
"version": "0.1.2",
"description": "Node.js implementation of CSOB payment gateway.",
"main": "index.js",
"types": "./dist/index.d.ts",
"scripts": {

@@ -7,0 +8,0 @@ "create_index": "run-script-os",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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