UNPKG

@thumbmarkjs/thumbmarkjs

Version:

![GitHub package.json dynamic](https://img.shields.io/github/package-json/version/ilkkapeltola/thumbmarkjs) ![NPM Version](https://img.shields.io/npm/v/@thumbmarkjs/thumbmarkjs) ![NPM Downloads](https://img.shields.io/npm/dm/%40thumbmarkjs%2Fthumbmarkjs

28 lines (27 loc) 807 B
/** * This file is here to support legacy implementations. * Eventually, these functions will be removed to keep the library small. */ import { componentInterface } from '../factory'; /** * * @deprecated */ export declare function getFingerprintData(): Promise<componentInterface>; /** * * @param includeData boolean * @deprecated this function is going to be removed. use getThumbmark or Thumbmark class instead. */ export declare function getFingerprint(includeData?: false): Promise<string>; export declare function getFingerprint(includeData: true): Promise<{ hash: string; data: componentInterface; }>; /** * * @deprecated use Thumbmark or getThumbmark instead with options */ export declare function getFingerprintPerformance(): Promise<{ elapsed: Record<string, number>; }>;