v2.8.0
almost 4 years ago by Sergey Mostsevenko
- Increased stability of the audio fingerprint component on iPhone
- Made JS agent use a TLS server located in Europe when the region is set to EU, for example:
import { FP } from '@fp-pro/client';
FP.load({
client: 'your-token',
region: 'eu'
})
<head>
<script>
window.fpLayer = window.fpLayer || [];
function fp() { fpLayer.push(arguments); }
fp('config', 'client', 'your-token');
fp('config', 'region', 'eu');
</script>
<script async src="https://cdn.fpjs.io/@2/fp.js"></script>
</head>
- Added an option to set a custom TLS endpoint:
import { FP } from '@fp-pro/client';
FP.load({
client: 'your-token',
tlsEndpoint: 'https://mytls.example.com'
})
<head>
<script>
window.fpLayer = window.fpLayer || [];
function fp() { fpLayer.push(arguments); }
fp('config', 'client', 'your-token');
fp('config', 'tlsEndpoint', 'https://mytls.example.com');
</script>
<script async src="https://cdn.fpjs.io/@2/fp.js"></script>
</head>