Bump deps (#861)
* Bump deps * Align with published common * Fix rxjs to 6.4.0 (false deprecations on 6.5.1)
This commit is contained in:
@@ -13,11 +13,11 @@ import { drr } from '../util/drr';
|
||||
|
||||
export function sessionProgress (api: ApiInterface$Rx) {
|
||||
return (): Observable<BN> =>
|
||||
combineLatest(
|
||||
combineLatest([
|
||||
bestNumber(api)(),
|
||||
api.query.session.sessionLength(),
|
||||
api.query.session.lastLengthChange()
|
||||
).pipe(
|
||||
]).pipe(
|
||||
map(
|
||||
([bestNumber, sessionLength, lastLengthChange]) =>
|
||||
(bestNumber || new BN(0))
|
||||
|
||||
Reference in New Issue
Block a user