diff --git a/ts/sl.classes.smartlogreceiver.ts b/ts/sl.classes.smartlogreceiver.ts index b8c3df9..e2d7135 100644 --- a/ts/sl.classes.smartlogreceiver.ts +++ b/ts/sl.classes.smartlogreceiver.ts @@ -2,7 +2,7 @@ import * as plugins from './sl.receiver.plugins'; import { ILogPackage, ILogPackageAuthenticated, ILogDestination } from '@pushrocks/smartlog-interfaces'; -export type TValidatorFunction = () => boolean; +export type TValidatorFunction = (logPackage: ILogPackage) => boolean; export interface ISmartlogReceiverOptions { smartlogInstance: plugins.smartlog.Smartlog;