Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Releases: Ingenico-ePayments/connect-sdk-nodejs

4.2.1

25 Apr 17:40
Compare
Choose a tag to compare
  • Removed:
    • Removed method settlementdetails from interface ServicesClient, together with call services.settlementdetails.

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

17 Feb 07:56
Compare
Choose a tag to compare
  • Added:
    • Added property installmentPlanCode to interface Installments.
  • Changed:
    • Interfaces CashPaymentProduct1504SpecificInput, CashPaymentProduct1521SpecificInput, CashPaymentProduct1522SpecificInput, CashPaymentProduct1523SpecificInput, CashPaymentProduct1524SpecificInput and CashPaymentProduct1526SpecificInput now extend new interface CashPaymentProductWithRedirectSpecificInputBase.
  • Removed:
    • Removed properties paymentProduct1506SpecificInput, paymentProduct1508SpecificInput and paymentProduct1511SpecificInput from interface CashPaymentMethodSpecificInput.

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

25 Jan 15:46
Compare
Choose a tag to compare
  • Added:
    • Added properties paymentProduct1506SpecificInput, paymentProduct1508SpecificInput and paymentProduct1511SpecificInput to interface CashPaymentMethodSpecificInput.
    • Added method settlementdetails to interface ServicesClient. This is available as call services.settlementdetails.

4.0.0

06 Jan 14:46
Compare
Choose a tag to compare
  • Added:
    • Added property productSku to request type OrderLineDetails.
    • Added call captures.refund.
  • 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 type any. You can cast it to the right type using the as 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 or import statements for anything other than connect-sdk-nodejs need to have an additional lib 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 using require("connect-sdk-nodejs/lib/utils/versions").apiVersion or import { 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 named intergrator property is no longer supported.
    • Replaced dependency node-uuid with uuid.

3.20.0

23 Nov 12:11
Compare
Choose a tag to compare
  • Added:
    • Added property partialPin to request type Card.

3.19.0

08 Nov 15:47
Compare
Choose a tag to compare
  • Added:
    • Added call hostedcheckouts.remove.

3.18.0

07 Oct 08:44
Compare
Choose a tag to compare
  • Added:
    • Added property transactionRiskLevel to request types ThreeDSecure and ThreeDSecureBase.
    • Added property data to request type CustomerAccountAuthentication.

3.17.0

03 Aug 15:04
Compare
Choose a tag to compare
  • Changed:
    • Renamed properties vpa and merchantName of request type RedirectPaymentProduct4101SpecificInput to virtualPaymentAddress and displayName respectively.
  • Removed:
    • Removed property transactionNote of request type RedirectPaymentProduct4101SpecificInput. Use order.reference.descriptor instead.

All these changes are for the UPI payment product which is not yet in use.

3.16.0

20 Jul 11:29
Compare
Choose a tag to compare
  • Added:
    • Added property payoutDetails to request type CreatePayoutRequest.
    • Added property recipient to request type CardPayoutMethodSpecificInput.
  • Deprecated:
    • Deprecated properties amountOfMoney and references of request type CreatePayoutRequest in favor of new property payoutDetails. Previously deprecated property customer should now also be replaced by payoutDetails.
    • Deprecated property customer of request type BankTransferPayoutMethodSpecificInput in favor of new property payoutDetails of request type CreatePayoutRequest.

3.15.0

24 Jun 07:03
Compare
Choose a tag to compare
  • Added:
    • Added property sdkUiTypes to request type DeviceRenderOptions.
    • Added properties merchantName and transactionNote to request type RedirectPaymentProduct4101SpecificInput.
  • Deprecated:
    • Deprecated property sdkUiType of request type DeviceRenderOptions in favor of new property sdkUiTypes.