honeypot-run
Version:
Patented threat analytics and fingerprinting library. Requires a honeypot.run account
24 lines (23 loc) • 718 B
TypeScript
import { IFlow, IHoneypot } from ".";
declare global {
interface Window {
honeypot: any;
}
}
declare class Honeypot implements IHoneypot {
honey: any;
id: any;
q: any[];
didInit: boolean;
callbacks: Record<string, Function[]>;
identify(id: string, props?: Record<string, any>, type?: string): Promise<void>;
on(eventName: string, fn: Function): void;
flow(flowId: string, instanceId?: string): Promise<IFlow>;
track(eventType: string, eventProperties?: Record<string, any>): Promise<any>;
init(): Promise<void>;
load(url: string): Promise<IHoneypot>;
get(): Promise<any>;
}
declare const honeypot: Honeypot;
export { honeypot };
export default honeypot;