Agent object that can get visitor identifier

interface Agent {
    collect(options?): Promise<string>;
    get(options?): Promise<GetResult>;
}

Methods

Methods

  • Collects on demand fingerprint data.

    Parameters

    Returns Promise<string>

  • Gets the visitor identifier. See the ERROR_... constants for expected error messages. When an error is emitted by the backend, it gets a event_id field, same as in successful result.

    Parameters

    Returns Promise<GetResult>

Generated using TypeDoc