Skip to content

Commit

Permalink
Release 5.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldlineConnect committed Jun 4, 2024
1 parent badbb1c commit 154c01e
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 46 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Worldlline Connect Node.js SDK
# Worldline Connect Node.js SDK

## Introduction

Expand All @@ -22,7 +22,7 @@ This repository consists out of three main components:

## Requirements

Node.js 8 or higher is required.
Node.js 12 or higher is required.

## Installation

Expand Down
50 changes: 9 additions & 41 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-nodejs",
"version": "5.1.0",
"version": "5.2.0",
"description": "SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API",
"homepage": "https://github.com/Worldline-Global-Collect/connect-sdk-nodejs#readme",
"bugs": {
Expand Down Expand Up @@ -52,7 +52,7 @@
"@typescript-eslint/parser": "^2.34.0",
"body-parser": "^1.20.2",
"eslint": "^7.32.0",
"express": "^4.18.2",
"express": "^4.19.2",
"husky": "^4.3.8",
"jest": "^28.1.3",
"jest-junit": "^16.0.0",
Expand Down
6 changes: 6 additions & 0 deletions schemas/v1/CompletePaymentRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,9 @@
"type" : "integer",
"maximum" : 9223372036854775807
},
"naicsCommodityCode" : {
"type" : "string"
},
"productCategory" : {
"type" : "string"
},
Expand Down Expand Up @@ -1163,6 +1166,9 @@
"isFirstUsage" : {
"type" : "boolean"
},
"shippedFromZip" : {
"type" : "string"
},
"trackingNumber" : {
"type" : "string"
},
Expand Down
6 changes: 6 additions & 0 deletions schemas/v1/CreateHostedCheckoutRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,9 @@
"type" : "integer",
"maximum" : 9223372036854775807
},
"naicsCommodityCode" : {
"type" : "string"
},
"productCategory" : {
"type" : "string"
},
Expand Down Expand Up @@ -1775,6 +1778,9 @@
"isFirstUsage" : {
"type" : "boolean"
},
"shippedFromZip" : {
"type" : "string"
},
"trackingNumber" : {
"type" : "string"
},
Expand Down
6 changes: 6 additions & 0 deletions schemas/v1/CreatePaymentRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1673,6 +1673,9 @@
"type" : "integer",
"maximum" : 9223372036854775807
},
"naicsCommodityCode" : {
"type" : "string"
},
"productCategory" : {
"type" : "string"
},
Expand Down Expand Up @@ -2140,6 +2143,9 @@
"isFirstUsage" : {
"type" : "boolean"
},
"shippedFromZip" : {
"type" : "string"
},
"trackingNumber" : {
"type" : "string"
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface ServerMetaInfo {
export function serverMetaInfo(sdkContext: SdkContext): Header {
const info: ServerMetaInfo = {
sdkCreator: "Worldline",
sdkIdentifier: "NodejsServerSDK/v5.1.0",
sdkIdentifier: "NodejsServerSDK/v5.2.0",
platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node,
integrator: sdkContext.getIntegrator()
};
Expand Down
3 changes: 3 additions & 0 deletions src/v1/model/domain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ export interface CardPaymentMethodSpecificOutput extends AbstractPaymentMethodSp
card?: CardEssentials | null;
fraudResults?: CardFraudResults | null;
initialSchemeTransactionId?: string | null;
networkTokenUsed?: boolean | null;
schemeTransactionId?: string | null;
threeDSecureResults?: ThreeDSecureResults | null;
token?: string | null;
Expand Down Expand Up @@ -1685,6 +1686,7 @@ export interface OrderLineDetails {
discountAmount?: number | null;
googleProductCategoryId?: number | null;
lineAmountTotal?: number | null;
naicsCommodityCode?: string | null;
productCategory?: string | null;
productCode?: string | null;
productName?: string | null;
Expand Down Expand Up @@ -2423,6 +2425,7 @@ export interface Shipping {
emailAddress?: string | null;
firstUsageDate?: string | null;
isFirstUsage?: boolean | null;
shippedFromZip?: string | null;
trackingNumber?: string | null;
type?: string | null;
}
Expand Down

0 comments on commit 154c01e

Please sign in to comment.