fix: It's impossible to set an endpoint that is relative to the current domain in the FingerprintJS.load() function. For example, the following code didn't work:
Warning. If you set the endpoint option to something like metrics.example.com, it will break because this is not an expected behavior. Change the endpoint to https://metrics.example.com.
The installation methods have been unified so that they have same options and same usage methods. Also we've added a couple new ways to install.
Result and error handling has been simplified. A single value type is returned (resolved) and a single value type is thrown (rejected). The agent throws error only when a visitor identification fails due to incorrect agent setup or network issues; special kinds of visitors don't cause errors.