@tripo3d/fingerprint / Source
Type Alias: Source<TOptions, TValue>
ts
type Source<TOptions, TValue> = (options) => MaybePromise<TValue | (() => MaybePromise<TValue>)>;Defined in: utils/entropy_source.ts:11
A functions that returns data with entropy to identify visitor.
See https://github.com/fingerprintjs/fingerprintjs/blob/master/contributing.md#how-to-add-an-entropy-source to learn how entropy source works and how to make your own.
Type Parameters
| Type Parameter |
|---|
TOptions |
TValue |
Parameters
| Parameter | Type |
|---|---|
options | TOptions |
Returns
MaybePromise<TValue | (() => MaybePromise<TValue>)>