- added optional client hint headers
- updated dependencies
- fixed request parameter
- improved error handling
- upgraded to TypeScript 5
- updated dependencies
- fixed axios request parameters
- improved
PirschApiError
- updated dependencies
- fix trustedProxyHeaders
- updated dependencies
- added support for batch inserts (page views, events, sessions)
- updated dependencies
- fixed build
- add title, screen_width and screen_height parameters
- fix trustedProxyHeaders behavior
- remove deprecated cf_connecting_ip, x_forwarded_for, forwarded and x_real_ip fields
- updated dependencies
- added support for browsers
- general improvements of the package interface
- updated dependencies
- added single access token that don't require to query an access token using oAuth
- added hourly visitor statistics, listing events, os and browser versions
- added filter options
- updated return types with new and modified fields
- updated dependencies
- fixed domain method returning an object instead of an array
- added new hourly visitor statistics
- fixed promise not being rejected in case the token cannot be refreshed
- added endpoint for total visitor statistics
- fixed copy-paste error
- fixed error handling
- added endpoint to extend sessions
- added entry page statistics
- added exit page statistics
- added number of sessions to referrer statistics
- added city statistics
- added entry page, exit page, city, and referrer name to filter
- added method to send events
- added reading event statistics
- fixed filter parameters to read statistics
- fixed build
- added
source
andutm_source
to referrers - added methods to read statistics
- updated dependencies
- fixed retry on 401
- added missing DNT (do not track) header
Initial release.