Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 94e4054

Browse files
IngenicoEPaymentsjenkins
authored andcommitted
Release 3.19.0.
1 parent 95095ff commit 94e4054

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

hostedcheckouts/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ modules['create'] = require('./create');
99
// console.log(`Added create to module space`);
1010
modules['get'] = require('./get');
1111
// console.log(`Added get to module space`);
12+
modules['remove'] = require('./remove');
13+
// console.log(`Added remove to module space`);
1214

1315
module.exports = modules;

hostedcheckouts/remove.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"use strict";
2+
/*
3+
* This file was auto-generated from the API references found at
4+
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
5+
*/
6+
var communicator = require('../utils/communicator');
7+
8+
var myModule = function (merchantId, hostedCheckoutId, paymentContext, cb) {
9+
communicator.json({
10+
method: 'DELETE',
11+
modulePath: '/v1/' + merchantId + '/hostedcheckouts/' + hostedCheckoutId,
12+
body: null,
13+
paymentContext: paymentContext,
14+
cb: cb
15+
});
16+
}
17+
18+
module.exports = myModule;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "connect-sdk-nodejs",
3-
"version": "3.18.0",
3+
"version": "3.19.0",
44
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
55
"dependencies": {
66
"dateformat": "^4.5.1",

utils/headers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var serverMetaInfo = function (sdkContext) {
99
key: "X-GCS-ServerMetaInfo",
1010
value: {
1111
'sdkCreator': 'Ingenico',
12-
'sdkIdentifier': 'NodejsServerSDK/v3.18.0',
12+
'sdkIdentifier': 'NodejsServerSDK/v3.19.0',
1313
'platformIdentifier': process.env['OS'] + ' Node.js/' + process.versions.node
1414
}
1515
};

0 commit comments

Comments
 (0)