Build esm (& add x-rxjs package) (#2942)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/api-derive authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { of, timer } from 'rxjs';
|
||||
import { of, timer } from '@polkadot/x-rxjs';
|
||||
|
||||
import { drr } from '.';
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
// Copyright 2017-2020 @polkadot/rpc-core authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
|
||||
import { catchError, distinctUntilChanged, publishReplay, refCount, tap } from 'rxjs/operators';
|
||||
import type { Observable } from '@polkadot/x-rxjs';
|
||||
|
||||
import { logger } from '@polkadot/util';
|
||||
import { catchError, distinctUntilChanged, publishReplay, refCount, tap } from '@polkadot/x-rxjs/operators';
|
||||
|
||||
import { refCountDelay } from './refCountDelay';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2020 @polkadot/rpc-core authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { asapScheduler, ConnectableObservable, MonoTypeOperatorFunction, Observable, Subscription, TeardownLogic } from 'rxjs';
|
||||
import { asapScheduler, ConnectableObservable, MonoTypeOperatorFunction, Observable, Subscription, TeardownLogic } from '@polkadot/x-rxjs';
|
||||
|
||||
/** @internal */
|
||||
export function refCountDelay <T> (delay = 1750): MonoTypeOperatorFunction<T> {
|
||||
|
||||
Reference in New Issue
Block a user