From 45b3e884f9ff912e4099c529817fe0a231324933 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 14 Jul 2023 11:18:05 -0400 Subject: [PATCH] fix; add syncDelay to client factory --- src/client/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/index.ts b/src/client/index.ts index 9950aba..3681032 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -11,6 +11,7 @@ function createDefaultClient( optimisticUpdateHandler: OptimisticUpdateCallback, loggerInfo: (...any) => void, loggerErr: (...any) => void, + syncDelay?: number, ): Client { return new Client({ prover: new Prover(proverHandler), @@ -20,6 +21,7 @@ function createDefaultClient( optimisticUpdateCallback: optimisticUpdateHandler, loggerInfo, loggerErr, + syncDelay, }); }