Skip to main content

Config options

Pass these to init():

Detection callback

The onDetection callback fires every time the detection probability updates — which happens progressively as the SDK gathers more signals.
The callback receives a DetectionOutput object. See the detection page for how risk tiers work and the reference for the full type definition.

Debug mode

Enable debug: true to log detection results to the browser console. Useful during integration: