FingerprintJS SDK for Single Page Applications

Constructors

  • Parameters

    • Optional options: FpjsSpaOptions

    Returns FpjsClient

Properties

cacheLocation?: CacheLocation

Methods

  • Clears visitor data from cache regardless of the cache implementation

    Returns Promise<void>

  • Returns cached visitor data based on the request options, or undefined if the data is not present in cache

    Type Parameters

    • TExtended extends boolean

    Parameters

    Returns Promise<undefined | FpjsSpaResponse<VisitorData<TExtended>>>

  • Checks if request matching given options is present in cache

    Parameters

    Returns Promise<boolean>

  • Makes a CacheKey object from GetOptions

    Type Parameters

    • TExtended extends boolean

    Parameters

    Returns CacheKey<TExtended>

Generated using TypeDoc