Skip to content

Commit

Permalink
Release 5.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldlineConnect committed Jan 21, 2025
1 parent 5a47a4e commit 986ce99
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connect-sdk-nodejs",
"version": "5.3.0",
"version": "5.4.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
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.3.0",
sdkIdentifier: "NodejsServerSDK/v5.4.0",
platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
integrator: sdkContext.getIntegrator()
};
Expand Down
9 changes: 9 additions & 0 deletions src/v1/model/domain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,13 @@ export interface CustomerTokenWithContactDetails extends CustomerToken {
contactDetails?: ContactDetailsToken | null;
}

export interface CybersourceDecisionManager {
clauseName?: string | null;
fraudScore?: number | null;
policyApplied?: string | null;
reasonCodes?: string[] | null;
}

export interface Debtor {
additionalAddressInfo?: string | null;
city?: string | null;
Expand Down Expand Up @@ -1155,6 +1162,7 @@ export interface FraudFieldsShippingDetails {
}

export interface FraudResults {
cybersourceDecisionManager?: CybersourceDecisionManager | null;
fraudServiceResult?: string | null;
inAuth?: InAuth | null;
microsoftFraudProtection?: MicrosoftFraudResults | null;
Expand Down Expand Up @@ -1559,6 +1567,7 @@ export interface MicrosoftFraudResults {
deviceId?: string | null;
fraudScore?: number | null;
policyApplied?: string | null;
reasonCodes?: string[] | null;
trueIpAddress?: string | null;
userDeviceType?: string | null;
}
Expand Down

0 comments on commit 986ce99

Please sign in to comment.