honeypot-run
Advanced tools
Comparing version 0.2.11 to 0.2.12
@@ -13,5 +13,5 @@ import { IFlow, IHoneypot } from "."; | ||
callbacks: Record<string, Function[]>; | ||
identify(id: string, props: Record<string, any>, type: string): Promise<void>; | ||
identify(id: string, props?: Record<string, any>, type?: string): Promise<void>; | ||
on(eventName: string, fn: Function): void; | ||
flow(flowId: string, instanceId: string): Promise<IFlow>; | ||
flow(flowId: string, instanceId?: string): Promise<IFlow>; | ||
track(eventType: string, eventProperties?: Record<string, any>): Promise<any>; | ||
@@ -18,0 +18,0 @@ init(): Promise<void>; |
import { honeypot } from "./Honeypot"; | ||
export interface IHoneypot { | ||
identify(id: string, props: Record<string, any>, type: string): Promise<void>; | ||
identify(id: string, props?: Record<string, any> | null, type?: string | null): Promise<void>; | ||
on(eventName: string, fn: Function): void; | ||
flow(flowId: string, instanceId: string): Promise<IFlow>; | ||
track(eventType: string, eventProperties?: Record<string, any>): Promise<any>; | ||
flow(flowId: string, instanceId?: string | null): Promise<IFlow>; | ||
track(eventType: string, eventProperties?: Record<string, any> | null): Promise<any>; | ||
get(): Promise<any>; | ||
@@ -8,0 +8,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"author": "https://honeypot.run", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"license": "BUSL-1.1", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6375