Skip to content

Releases: webiny/wts

v2.0.0

30 Sep 04:10
6229153

Choose a tag to compare

2.0.0 (2025-09-30)

BREAKING CHANGES

  • The package is now ESM-only and no longer supports CommonJS imports.

v1.0.1

27 Jun 11:25

Choose a tag to compare

1.0.1 (2024-06-27)

Bug Fixes

  • build code into dist and only publish that to NPM (e000042)

v1.0.0

27 Jun 09:55

Choose a tag to compare

1.0.0 (2024-06-27)

Bug Fixes

  • class capitalization (a85ed0e)
  • find callbacks to the window object (814b426)
  • return promise from _apiCall / trackEvent methods (0ff7d32)
  • use node-fetch in tests (ab8cfa0)

2.2.0

07 Mar 09:30
51fd5a8

Choose a tag to compare

First, it ensures the promise created in the _apiCall is returned to the caller, which also enables the trackEvent method to do the same. This way, the caller of the trackEvent method can decide whether they want to wait for the promise to resolve or not. This can be useful if the user wants to e.g. terminate the process only after the event has been sent, not before.

With that, we also ensure that, in the Admin version of the WTS class, the provided fetch and btoa callbacks are bound to the window object. Without this step, the bindings change internally (because the callbacks are called via this.), which causes trackEvent calls to fail.

2.1.0

03 Jan 15:11

Choose a tag to compare

Introduced a new IP API

2.0.1

18 May 14:21

Choose a tag to compare

Corrected the package version

1.0.2

03 Sep 13:44

Choose a tag to compare

JS synax update

1.0.1

03 Sep 13:28

Choose a tag to compare

Corrected main path

1.0.0

03 Sep 13:22

Choose a tag to compare

Initial commit