v3.5.6
over 2 years ago by Sergey Mostsevenko
- Rename the
token
option of theload
method of JS agent toapiKey
. Thetoken
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_INVALID
→ERROR_API_KEY_INVALID
ERROR_TOKEN_EXPIRED
→ERROR_API_KEY_EXPIRED
- fix: JavaScript agent triggers a console error message unless the page's Content Security Policy allows
unsafe-inline
forstyle-src