UNPKG

@honeypot-run/core

Version:

Patented threat analytics and fingerprinting library. Requires a honeypot.run account

9 lines (8 loc) 491 B
import { AmplitudePluginConfig, IdentityType } from '../types'; import { BeforePlugin } from '@amplitude/analytics-types'; export declare abstract class HoneypotBase { abstract get(force?: boolean): Promise<any>; abstract identify(id: string, props?: Record<string, any>, type?: IdentityType): Promise<void>; abstract track(eventType: string, eventProperties?: Record<string, any> | null): Promise<any>; amplitudePlugin(pluginConfig?: AmplitudePluginConfig): BeforePlugin; }