From 9fb78cbbdaf72fa796cb2f5f6d10f3cda343ed58 Mon Sep 17 00:00:00 2001 From: nicholas Date: Mon, 19 Nov 2018 15:43:33 +0100 Subject: [PATCH] New version: 0_1_24 - can pass device fingerprint in to encrypt function --- README.md | 15 ++++++++++++++- adyen.encrypt.nodom.html | 2 +- adyen.encrypt.simple.html | 4 ++-- js/addOns/adyen.cardtype.css | 3 +++ js/addOns/adyen.cardtype.js | 7 ++++--- js/addOns/adyen.cardtype.min.js | 2 +- js/adyen.encrypt.js | 14 +++++++++----- js/adyen.encrypt.min.js | 6 +++--- js/adyen.encrypt.nodom.js | 12 ++++++++---- js/adyen.encrypt.nodom.min.js | 4 ++-- package.json | 2 +- 11 files changed, 48 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index b197f55..bb6e174 100644 --- a/README.md +++ b/README.md @@ -171,10 +171,23 @@ var cseInstance = adyenEncrypt.createEncryption(key, options); # Version History +JavaScript version 0_1_24 +------- + +* Now possible to send a device fingerprint value to the ```encrypt``` function: + +``` +var cseInstance = adyen.encrypt.createEncryption(key, options); +cseInstance.encrypt(cardData, dfValue); +``` + +This can be used in conjunction with the ```stopDeviceFingerprint``` boolean (from *version 0_1_23*) to prevent the CSE from performing device fingerprinting. +Instead it can be performed elsewhere and passed into the CSE. + JavaScript version 0_1_23 ------- -* Options object for createEncryption can contain a boolean: 'stopDeviceFingerprint'. If set to true then device fingerprinting will not happen. +* Options object for createEncryption can contain a boolean: ```stopDeviceFingerprint```. If set to ```true``` then device fingerprinting will ***not*** happen. JavaScript version 0_1_22 ------- diff --git a/adyen.encrypt.nodom.html b/adyen.encrypt.nodom.html index d40edf7..836e363 100644 --- a/adyen.encrypt.nodom.html +++ b/adyen.encrypt.nodom.html @@ -19,7 +19,7 @@ - + - + + - + + +