fix; add syncDelay to client factory
This commit is contained in:
parent
a901ee76f4
commit
45b3e884f9
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue