Skip to content

Releases: Worldline-Global-Collect/connect-sdk-client-js

6.0.4

11 Oct 07:59
Compare
Choose a tag to compare

Changed:

  • Updated dependencies to latest stable versions.

Fixed:

  • Removed dependency vulnerabilities.

6.0.3

30 Aug 13:26
Compare
Choose a tag to compare

Changed:

  • Add proper stack traces for all custom error classes

Fixed:

  • Prevent throwing a runtime error for check ApplePaySession.canMakePayments() when does not satisfies the browser requirements of Apple Pay
  • Previously the Session.prototype.createApplePayPayment() was never resolved/rejected when the user cancelled the payment. It now throws a custom error ApplePayError with status cancelled.
  • Removed dependency vulnerabilities

6.0.2

22 Aug 13:43
Compare
Choose a tag to compare

Fix:

  • Fixed an issue where Google Pay would be incorrectly reported as not available.
  • Fixed an issue with Apple Pay domain validation.

6.0.1

25 Jun 07:35
Compare
Choose a tag to compare

Fix:
This release fixes an issue with 3DS payments, where the JavaEnabled property was no longer provided. The property has been added again.

6.0.0

21 May 12:59
Compare
Choose a tag to compare

Fixed

  • !BREAKING! A number of properties have been made optional. This fixes a potential issue with processing payments for Google Pay and Apple Pay. If you are using the SDK in combination with Google Pay or Apple Pay, please upgrade to this version!
Properties that have been made optional:
    • PaymentProductField.dataRestrictions
    • Tooltip.image
    • PaymentProductJSON.PaymentProductFieldJSON
    • PaymentProductFieldJSON.PaymentProductFieldDataRestrictionsJSON
    • PaymentProductFieldTooltipJSON.image
  • The SDK now exports the full API domain model as types.

5.0.0

19 Mar 10:33
Compare
Choose a tag to compare

This SDK is a rebranded and updated version of the SDK that was previously published under the Ingenico name. Next to renaming to Worldline, most deprecations have been removed. Please have a look at the release notes below to see what has changed and use the migration guide to upgrade from the previous version in a few easy steps. Previous versions and release notes of this SDK can be found here.

An overview of the changes:

Added:

  • The method getPrivacyPolicy was added to the Session instance to retrieve the policy for a paymentProductId and/or locale. Providing no paymentProductId will retrieve all available payment product policies.

Removed:

  • The method getCustomerDetails is removed from the Session instance since it is no longer supported by the payment engine.
    • The methods transformPaymentProductJSON and transformPaymentProductGroupJSON are removed from the Session instance, which are no longer used anymore.

Changed:

  • Polyfilled promises are replaced by native promises, see migration guide
  • Use https://developer.mozilla.org/en-US/docs/Web/API/fetch instead of XMLHttpRequest
  • Improve error handling (always throw an instance of Error), see migration guide
  • Improved refer entity by ID, see migration guide
  • Library exported as UMD, ES modules and CommonJS, see migration guide how to import into your application
  • Better TypeScript support
  • Smaller bundle size; build supports tree-shaking
  • When using AMD; does no longer support loading modules from Session object
  • Internal rewrite to modern standards using native browser API (Map, Set etc).
  • Remove critical vulnerabilities from external dependencies
  • Update typedoc generation