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

checkout-sdk-node

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

checkout-sdk-node - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

5

dist/api/apm-specific/baloto.js

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/apms/baloto/payments/${id}/succeed`,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/apms/boleto/payments/${id}/succeed`,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'put',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/fawry/payments/${reference}/approval`,

@@ -43,6 +43,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'get',

@@ -49,0 +46,0 @@ url: `${_this.config.host}/giropay/eps/banks`,

@@ -43,6 +43,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'get',

@@ -49,0 +46,0 @@ url: `${_this.config.host}/ideal-external`,

@@ -45,6 +45,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -51,0 +48,0 @@ url,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/apms/oxxo/payments/${id}/succeed`,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/apms/pagofacil/payments/${id}/succeed`,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/apms/rapipago/payments/${id}/succeed`,

@@ -45,6 +45,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'get',

@@ -51,0 +48,0 @@ url,

@@ -45,6 +45,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'patch',

@@ -51,0 +48,0 @@ url: `${_this.config.host}/customers/${id}`,

@@ -54,6 +54,3 @@ "use strict";

const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'get',

@@ -60,0 +57,0 @@ url,

@@ -51,6 +51,3 @@ "use strict";

const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'get',

@@ -57,0 +54,0 @@ url,

12

dist/api/files/files.js

@@ -16,2 +16,8 @@ "use strict";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

@@ -62,7 +68,5 @@

form.append('purpose', 'dispute_evidence');
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent,
const response = yield (0, _http.default)(_nodeFetch.default, _objectSpread(_objectSpread({}, _this.config), {}, {
formData: true
}, {
}), {
method: 'post',

@@ -69,0 +73,0 @@ url: `${_this.config.host}/files`,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/hosted-payments`,

@@ -49,6 +49,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -55,0 +52,0 @@ url: `${_this.config.host}/instruments`,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/payment-links `,

@@ -132,6 +132,3 @@ "use strict";

(0, _validation.validatePayment)(body);
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -138,0 +135,0 @@ url: `${_this.config.host}/payments`,

@@ -57,6 +57,3 @@ "use strict";

const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'get',

@@ -63,0 +60,0 @@ url,

@@ -49,6 +49,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -55,0 +52,0 @@ url: `${_this.config.host}/sources`,

@@ -49,6 +49,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'post',

@@ -55,0 +52,0 @@ url: `${_this.config.host}/tokens`,

@@ -44,6 +44,3 @@ "use strict";

try {
const response = yield (0, _http.default)(_nodeFetch.default, {
timeout: _this.config.timeout,
agent: _this.config.agent
}, {
const response = yield (0, _http.default)(_nodeFetch.default, _this.config, {
method: 'get',

@@ -50,0 +47,0 @@ url: `${_this.config.host}/webhooks`,

@@ -36,2 +36,3 @@

agent?: http.Agent;
headers?: Record<string, string>;
};

@@ -43,2 +44,3 @@

agent?: http.Agent;
headers?: Record<string, string>;
};

@@ -45,0 +47,0 @@

@@ -59,3 +59,4 @@ "use strict";

timeout: options && options.timeout ? options.timeout : _config.DEFAULT_TIMEOUT,
agent: options && options.agent ? options.agent : undefined
agent: options && options.agent ? options.agent : undefined,
headers: options && options.headers ? options.headers : {}
};

@@ -62,0 +63,0 @@ this.payments = new _index.Payments(this.config);

@@ -24,3 +24,3 @@ "use strict";

var _ref = _asyncToGenerator(function* (fetch, config, request) {
const headers = _objectSpread(_objectSpread({}, request.headers), {}, {
const headers = _objectSpread(_objectSpread(_objectSpread({}, config.headers), request.headers), {}, {
'Content-Type': config.csv ? 'text/csv' : 'application/json',

@@ -27,0 +27,0 @@ 'Cache-Control': 'no-cache',

{
"name": "checkout-sdk-node",
"version": "1.0.29",
"version": "1.0.30",
"description": "",

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

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

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

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

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

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

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