Skip to content

requestId, improved types, caching and error handling

Choose a tag to compare

@ilkkapeltola ilkkapeltola released this 28 Jan 15:06
· 97 commits to main since this release
  • improved error handling in different environments (doesn't error out in Node, or headless browsers)
  • Added typing for the main get function
  • always returns visitorId even if API request times out (if it finds it)
  • added requestId to the response object