Skip to content

v1.2.14

Choose a tag to compare

@daniesy daniesy released this 16 Jun 21:35
· 17 commits to master since this release

What's Changed

  • Added frontend client IP collection to browser event data.
  • Included data.ip before data.ua in event payloads when IP lookup succeeds.
  • Switched IP lookup to https://ipinfo.io/ip since only the IP value is needed.
  • Added a 1500ms abort timeout and no-referrer policy for the IP lookup.
  • Preserved event delivery when IP lookup fails or times out.
  • Cached browser info lookup in Manager while keeping listener registration and subscriptions synchronous.
  • Fixed the package main entrypoint to point to dist/bundle.js.
  • Cleaned up lint-blocking TypeScript declarations and formatting.
  • Regenerated dist/bundle.js and dist/bundle.min.js.
  • Updated the local test page for the current event testing flow.

Compatibility Notes

  • Public ATSEvents.listen() and trigger() behavior is unchanged.
  • Events still send without data.ip if ipinfo.io is blocked, unavailable, or times out.
  • Existing browser, OS, device, CPU, screen size, and UA fields remain in payload.data.

Validation

  • TypeScript check passed.
  • Production bundle build passed.