This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
Releases: Ingenico-ePayments/connect-sdk-nodejs
Releases · Ingenico-ePayments/connect-sdk-nodejs
4.2.1
- Removed:
- Removed method
settlementdetails
from interfaceServicesClient
, together with callservices.settlementdetails
.
- Removed method
The removed method and call should not have been used yet. Therefore, you shouldn't have any problems upgrading to this version.
4.2.0
- Added:
- Added property
installmentPlanCode
to interfaceInstallments
.
- Added property
- Changed:
- Interfaces
CashPaymentProduct1504SpecificInput
,CashPaymentProduct1521SpecificInput
,CashPaymentProduct1522SpecificInput
,CashPaymentProduct1523SpecificInput
,CashPaymentProduct1524SpecificInput
andCashPaymentProduct1526SpecificInput
now extend new interfaceCashPaymentProductWithRedirectSpecificInputBase
.
- Interfaces
- Removed:
- Removed properties
paymentProduct1506SpecificInput
,paymentProduct1508SpecificInput
andpaymentProduct1511SpecificInput
from interfaceCashPaymentMethodSpecificInput
.
- Removed properties
The removed properties were added as part of the previous release for payment products that have not yet been in use. Therefore, you shouldn't have any problems upgrading to this version.
4.1.0
- Added:
- Added properties
paymentProduct1506SpecificInput
,paymentProduct1508SpecificInput
andpaymentProduct1511SpecificInput
to interfaceCashPaymentMethodSpecificInput
. - Added method
settlementdetails
to interfaceServicesClient
. This is available as callservices.settlementdetails
.
- Added properties
4.0.0
- Added:
- Added property
productSku
to request typeOrderLineDetails
. - Added call
captures.refund
.
- Added property
- Changed:
- Rewrote the SDK in TypeScript. This adds types to parameters and response values. For domain objects, all properties are marked as optional. This is done to prevent issues like #5.
The rewrite is almost fully backward compatible, even if you're already using TypeScript. For this reason, the response body has typeany
. You can cast it to the right type using theas
keyword if necessary. Since all properties are marked as optional, this may require using the!
or?
operators, depending on your TypeScript settings. For instance:paymentResponse.payment!.id!
.
Despite our attempts to prevent any breaking changes, the following changes are still breaking:require
orimport
statements for anything other thanconnect-sdk-nodejs
need to have an additionallib
added. For instance,require("connect-sdk-nodejs/lib/utils/context")
. The same objects are exported; export assignments are used instead of default exports.- The API version is no longer available on the context or webhooks helper as property
API_VERSION
, as it was intended for internal use only. If this is still needed, it can be imported usingrequire("connect-sdk-nodejs/lib/utils/versions").apiVersion
orimport { apiVersion } from "connect-sdk-nodejs/lib/utils/versions"
.
- The integrator has been made required when initializing the SDK. This must be done using property
integrator
, which could already be used; the old incorrectly namedintergrator
property is no longer supported. - Replaced dependency
node-uuid
withuuid
.
- Rewrote the SDK in TypeScript. This adds types to parameters and response values. For domain objects, all properties are marked as optional. This is done to prevent issues like #5.
3.20.0
- Added:
- Added property
partialPin
to request typeCard
.
- Added property
3.19.0
- Added:
- Added call
hostedcheckouts.remove
.
- Added call
3.18.0
- Added:
- Added property
transactionRiskLevel
to request typesThreeDSecure
andThreeDSecureBase
. - Added property
data
to request typeCustomerAccountAuthentication
.
- Added property
3.17.0
- Changed:
- Renamed properties
vpa
andmerchantName
of request typeRedirectPaymentProduct4101SpecificInput
tovirtualPaymentAddress
anddisplayName
respectively.
- Renamed properties
- Removed:
- Removed property
transactionNote
of request typeRedirectPaymentProduct4101SpecificInput
. Useorder.reference.descriptor
instead.
- Removed property
All these changes are for the UPI payment product which is not yet in use.
3.16.0
- Added:
- Added property
payoutDetails
to request typeCreatePayoutRequest
. - Added property
recipient
to request typeCardPayoutMethodSpecificInput
.
- Added property
- Deprecated:
- Deprecated properties
amountOfMoney
andreferences
of request typeCreatePayoutRequest
in favor of new propertypayoutDetails
. Previously deprecated propertycustomer
should now also be replaced bypayoutDetails
. - Deprecated property
customer
of request typeBankTransferPayoutMethodSpecificInput
in favor of new propertypayoutDetails
of request typeCreatePayoutRequest
.
- Deprecated properties
3.15.0
- Added:
- Added property
sdkUiTypes
to request typeDeviceRenderOptions
. - Added properties
merchantName
andtransactionNote
to request typeRedirectPaymentProduct4101SpecificInput
.
- Added property
- Deprecated:
- Deprecated property
sdkUiType
of request typeDeviceRenderOptions
in favor of new propertysdkUiTypes
.
- Deprecated property