connect-sdk-nodejs 5.4.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/utils/headers.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.date = date;
|
|
|
9
9
|
function serverMetaInfo(sdkContext) {
|
|
10
10
|
const info = {
|
|
11
11
|
sdkCreator: "Worldline",
|
|
12
|
-
sdkIdentifier: "NodejsServerSDK/v5.
|
|
12
|
+
sdkIdentifier: "NodejsServerSDK/v5.5.0",
|
|
13
13
|
platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
|
|
14
14
|
integrator: sdkContext.getIntegrator()
|
|
15
15
|
};
|
|
@@ -412,7 +412,9 @@ export interface CardPaymentMethodSpecificOutput extends AbstractPaymentMethodSp
|
|
|
412
412
|
card?: CardEssentials | null;
|
|
413
413
|
fraudResults?: CardFraudResults | null;
|
|
414
414
|
initialSchemeTransactionId?: string | null;
|
|
415
|
+
networkTokenData?: NetworkTokenData | null;
|
|
415
416
|
networkTokenUsed?: boolean | null;
|
|
417
|
+
paymentAccountReference?: string | null;
|
|
416
418
|
schemeTransactionId?: string | null;
|
|
417
419
|
threeDSecureResults?: ThreeDSecureResults | null;
|
|
418
420
|
token?: string | null;
|
|
@@ -1405,6 +1407,11 @@ export interface MobileThreeDSecureChallengeParameters {
|
|
|
1405
1407
|
acsTransactionId?: string | null;
|
|
1406
1408
|
threeDServerTransactionId?: string | null;
|
|
1407
1409
|
}
|
|
1410
|
+
export interface NetworkTokenData {
|
|
1411
|
+
networkToken?: string | null;
|
|
1412
|
+
tokenExpiryDate?: string | null;
|
|
1413
|
+
tokenReferenceId?: string | null;
|
|
1414
|
+
}
|
|
1408
1415
|
export interface NonSepaDirectDebitPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
|
|
1409
1416
|
dateCollect?: string | null;
|
|
1410
1417
|
directDebitText?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connect-sdk-nodejs",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API",
|
|
5
5
|
"homepage": "https://github.com/Worldline-Global-Collect/connect-sdk-nodejs#readme",
|
|
6
6
|
"bugs": {
|