This repository was 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
settlementdetailsfrom 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
installmentPlanCodeto interfaceInstallments.
- Added property
- Changed:
- Interfaces
CashPaymentProduct1504SpecificInput,CashPaymentProduct1521SpecificInput,CashPaymentProduct1522SpecificInput,CashPaymentProduct1523SpecificInput,CashPaymentProduct1524SpecificInputandCashPaymentProduct1526SpecificInputnow extend new interfaceCashPaymentProductWithRedirectSpecificInputBase.
- Interfaces
- Removed:
- Removed properties
paymentProduct1506SpecificInput,paymentProduct1508SpecificInputandpaymentProduct1511SpecificInputfrom 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,paymentProduct1508SpecificInputandpaymentProduct1511SpecificInputto interfaceCashPaymentMethodSpecificInput. - Added method
settlementdetailsto interfaceServicesClient. This is available as callservices.settlementdetails.
- Added properties
4.0.0
- Added:
- Added property
productSkuto 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 theaskeyword 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:requireorimportstatements for anything other thanconnect-sdk-nodejsneed to have an additionallibadded. 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").apiVersionorimport { 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 namedintergratorproperty is no longer supported. - Replaced dependency
node-uuidwithuuid.
- 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
partialPinto request typeCard.
- Added property
3.19.0
- Added:
- Added call
hostedcheckouts.remove.
- Added call
3.18.0
- Added:
- Added property
transactionRiskLevelto request typesThreeDSecureandThreeDSecureBase. - Added property
datato request typeCustomerAccountAuthentication.
- Added property
3.17.0
- Changed:
- Renamed properties
vpaandmerchantNameof request typeRedirectPaymentProduct4101SpecificInputtovirtualPaymentAddressanddisplayNamerespectively.
- Renamed properties
- Removed:
- Removed property
transactionNoteof request typeRedirectPaymentProduct4101SpecificInput. Useorder.reference.descriptorinstead.
- Removed property
All these changes are for the UPI payment product which is not yet in use.
3.16.0
- Added:
- Added property
payoutDetailsto request typeCreatePayoutRequest. - Added property
recipientto request typeCardPayoutMethodSpecificInput.
- Added property
- Deprecated:
- Deprecated properties
amountOfMoneyandreferencesof request typeCreatePayoutRequestin favor of new propertypayoutDetails. Previously deprecated propertycustomershould now also be replaced bypayoutDetails. - Deprecated property
customerof request typeBankTransferPayoutMethodSpecificInputin favor of new propertypayoutDetailsof request typeCreatePayoutRequest.
- Deprecated properties
3.15.0
- Added:
- Added property
sdkUiTypesto request typeDeviceRenderOptions. - Added properties
merchantNameandtransactionNoteto request typeRedirectPaymentProduct4101SpecificInput.
- Added property
- Deprecated:
- Deprecated property
sdkUiTypeof request typeDeviceRenderOptionsin favor of new propertysdkUiTypes.
- Deprecated property