diff --git a/src/components/fpjs-provider.tsx b/src/components/fpjs-provider.tsx index f0af4ab..7a7fa18 100644 --- a/src/components/fpjs-provider.tsx +++ b/src/components/fpjs-provider.tsx @@ -9,10 +9,10 @@ import type { EnvDetails } from '../env.types' const pkgName = packageInfo.name.split('/')[1] -interface CustomAgent { +export interface CustomAgent { load: (options: FingerprintJSPro.LoadOptions) => Promise } -interface FpjsProviderOptions extends FpjsClientOptions { +export interface FpjsProviderOptions extends FpjsClientOptions { /** * If set to `true`, will force FpjsClient to be rebuilt with the new options. Should be used with caution * since it can be triggered too often (e.g. on every render) and negatively affect performance of the JS agent.