v3.5.6

  • Rename the token option of the load method of JS agent to apiKey. The token option keeps working for backward compatibility. Also rename some error constants (the old names work too):
    • ERROR_TOKEN_MISSING ERROR_API_KEY_MISSING
    • ERROR_TOKEN_INVALIDERROR_API_KEY_INVALID
    • ERROR_TOKEN_EXPIREDERROR_API_KEY_EXPIRED
  • fix: JavaScript agent triggers a console error message unless the page's Content Security Policy allows unsafe-inline for style-src