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