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

Commit

Permalink
Release 3.18.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments authored and jenkins committed Sep 23, 2020
1 parent 8ecefd8 commit 5545591
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 22 deletions.
2 changes: 1 addition & 1 deletion VERSION.TXT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.18.0
3.18.1
13 changes: 7 additions & 6 deletions dist/connectsdk.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/connectsdk.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/connectsdk.min.js.map

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions dist/connectsdk.noEncrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ define("connectsdk.Util", ["connectsdk.core"], function (connectsdk) {
return {
screenSize: window.innerWidth + "x" + window.innerHeight,
platformIdentifier: window.navigator.userAgent,
sdkIdentifier: ((document.GC && document.GC.rppEnabledPage) ? 'rpp-' : '') + 'JavaScriptClientSDK/v3.18.0',
sdkIdentifier: ((document.GC && document.GC.rppEnabledPage) ? 'rpp-' : '') + 'JavaScriptClientSDK/v3.18.1',
sdkCreator: 'Ingenico'
};
},
Expand Down Expand Up @@ -783,22 +783,23 @@ define("connectsdk.ApplePay", ["connectsdk.core", "connectsdk.promise", "connect
try {
applePaySession.completeMerchantValidation(JSON.parse(merchantSession.paymentProductSession302SpecificOutput.sessionObject));
} catch {
promise.reject({message: 'Error completing merchant validation'});
promise.reject({ message: 'Error completing merchant validation' });
applePaySession.abort();
}
}, function () {
promise.reject({message: 'Error completing merchant validation'});
promise.reject({ message: 'Error completing merchant validation' });
applePaySession.abort();
})
};

applePaySession.onpaymentauthorized = function (event) {
if (!event.payment.token) {
status = ApplePaySession.STATUS_FAILURE;
promise.reject({message: 'Error payment authorization'});
promise.reject({ message: 'Error payment authorization' });
applePaySession.completePayment(status);
} else {
status = ApplePaySession.STATUS_SUCCESS;
promise.resolve({message: 'Payment authorized', data: event.payment.token});
promise.resolve({ message: 'Payment authorized', data: event.payment.token });
applePaySession.completePayment(status);
}
};
Expand Down
2 changes: 1 addition & 1 deletion dist/connectsdk.noEncrypt.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/connectsdk.noEncrypt.min.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect-sdk-client-js",
"version": "3.18.0",
"version": "3.18.1",
"description": "The JavaScript based client SDK that can be used for client to server communication between you and the Ingenico ePayments platform",
"main": "gulpfile.js",
"devDependencies": {
Expand All @@ -11,7 +11,7 @@
"gulp-rimraf": "^0.2.2",
"gulp-sourcemaps": "^2.6.5",
"gulp-uglify-es": "^1.0.4",
"node-forge": "^0.8.4"
"node-forge": "^0.10.0"
},
"scripts": {
"watch": "gulp watch",
Expand Down

0 comments on commit 5545591

Please sign in to comment.