fix; add syncDelay to client factory

This commit is contained in:
Derrick Hammer 2023-07-14 11:18:05 -04:00
parent a901ee76f4
commit 45b3e884f9
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ function createDefaultClient(
optimisticUpdateHandler: OptimisticUpdateCallback, optimisticUpdateHandler: OptimisticUpdateCallback,
loggerInfo: (...any) => void, loggerInfo: (...any) => void,
loggerErr: (...any) => void, loggerErr: (...any) => void,
syncDelay?: number,
): Client { ): Client {
return new Client({ return new Client({
prover: new Prover(proverHandler), prover: new Prover(proverHandler),
@ -20,6 +21,7 @@ function createDefaultClient(
optimisticUpdateCallback: optimisticUpdateHandler, optimisticUpdateCallback: optimisticUpdateHandler,
loggerInfo, loggerInfo,
loggerErr, loggerErr,
syncDelay,
}); });
} }