SDK release notes v2.0.3

Custom error takeover for ImpactPay Page Takeover, with optional redirect on SDK errors. Also standardises error handling. No security, CSP, sandbox, or dependency changes.

@ekko-earth/ekko-js 2.0.3

What’s new

  • Error takeover: if an SDK error occurs (e.g. iframe timeout or init error) and a redirect_url is set, the component logs the error (to DataDog) and redirects to that URL
  • Error handling: standardised via ErrorCode and handleSdkError; ERROR events now include { code, message } payloads

Behaviour

  • ImpactPay Page Takeover will redirect on SDK errors if redirect_url is provided
  • No breaking API changes – behaviour change applies only to ImpactPay Page Takeover when redirect_url is set

Install

npm install @ekko-earth/[email protected]
ℹ️

v2.0.2 remains safe to use if integrating ImpactPay Embedded