@ngxs/store 3.8.1-dev.master-07536db → 3.8.1-dev.master-db96f65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2020/ngxs-store.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, NgZone, PLATFORM_ID, Inject, InjectionToken, inject, INJECTOR, ɵglobal, ErrorHandler, Optional, SkipSelf, ENVIRONMENT_INITIALIZER, NgModule, APP_BOOTSTRAP_LISTENER, makeEnvironmentProviders } from '@angular/core';
|
|
3
|
-
import { Observable, Subject, BehaviorSubject, of, forkJoin, throwError, EMPTY, from, isObservable } from 'rxjs';
|
|
3
|
+
import { Observable, Subject, BehaviorSubject, of, forkJoin, throwError, EMPTY, from, isObservable, ReplaySubject } from 'rxjs';
|
|
4
4
|
import { share, shareReplay, filter, take, exhaustMap, map, mergeMap, defaultIfEmpty, catchError, takeUntil, distinctUntilChanged, tap, startWith, pairwise } from 'rxjs/operators';
|
|
5
5
|
import * as i5 from '@ngxs/store/internals';
|
|
6
6
|
import { memoize, INITIAL_STATE_TOKEN, NgxsBootstrapper, ɵNGXS_STATE_CONTEXT_FACTORY, ɵNGXS_STATE_FACTORY } from '@ngxs/store/internals';
|
|
@@ -1777,7 +1777,7 @@ class LifecycleStateManager {
|
|
|
1777
1777
|
this._internalStateOperations = _internalStateOperations;
|
|
1778
1778
|
this._stateContextFactory = _stateContextFactory;
|
|
1779
1779
|
this._bootstrapper = _bootstrapper;
|
|
1780
|
-
this._destroy$ = new
|
|
1780
|
+
this._destroy$ = new ReplaySubject(1);
|
|
1781
1781
|
}
|
|
1782
1782
|
ngOnDestroy() {
|
|
1783
1783
|
this._destroy$.next();
|