From 98de4064ee9d3a0aa060aa24f6798ecbf554eb87 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 11 Nov 2018 17:45:15 +0100 Subject: [PATCH] fix(core): update --- ts/sl.classes.smartlogreceiver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;