@ngxs/store 18.1.0-dev.master-5177673 → 18.1.0-dev.master-d917fba
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/esm2022/internals/custom-rxjs-operators.mjs +19 -0
- package/esm2022/internals/index.mjs +2 -1
- package/esm2022/internals/state-stream.mjs +8 -2
- package/esm2022/src/operators/leave-ngxs.mjs +3 -17
- package/esm2022/src/store.mjs +12 -31
- package/fesm2022/ngxs-store-internals.mjs +26 -3
- package/fesm2022/ngxs-store-internals.mjs.map +1 -1
- package/fesm2022/ngxs-store.mjs +13 -46
- package/fesm2022/ngxs-store.mjs.map +1 -1
- package/internals/custom-rxjs-operators.d.ts +2 -0
- package/internals/index.d.ts +1 -0
- package/internals/state-stream.d.ts +3 -2
- package/package.json +1 -1
- package/src/operators/leave-ngxs.d.ts +1 -2
- package/src/store.d.ts +0 -1
package/internals/index.d.ts
CHANGED
|
@@ -6,4 +6,5 @@ export { ɵINITIAL_STATE_TOKEN, ɵInitialState } from './initial-state';
|
|
|
6
6
|
export { ɵNgxsAppBootstrappedState } from './ngxs-app-bootstrapped-state';
|
|
7
7
|
export { ɵNGXS_STATE_CONTEXT_FACTORY, ɵNGXS_STATE_FACTORY } from './internal-tokens';
|
|
8
8
|
export { ɵOrderedSubject, ɵOrderedBehaviorSubject } from './custom-rxjs-subjects';
|
|
9
|
+
export { ɵwrapObserverCalls } from './custom-rxjs-operators';
|
|
9
10
|
export { ɵStateStream } from './state-stream';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { ɵPlainObject } from './symbols';
|
|
1
|
+
import { OnDestroy, Signal } from '@angular/core';
|
|
3
2
|
import { ɵOrderedBehaviorSubject } from './custom-rxjs-subjects';
|
|
3
|
+
import { ɵPlainObject } from './symbols';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* BehaviorSubject of the entire state.
|
|
7
7
|
* @ignore
|
|
8
8
|
*/
|
|
9
9
|
export declare class ɵStateStream extends ɵOrderedBehaviorSubject<ɵPlainObject> implements OnDestroy {
|
|
10
|
+
readonly state: Signal<ɵPlainObject>;
|
|
10
11
|
constructor();
|
|
11
12
|
ngOnDestroy(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ɵStateStream, never>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { MonoTypeOperatorFunction } from 'rxjs';
|
|
2
1
|
import { NgxsExecutionStrategy } from '../execution/symbols';
|
|
3
2
|
/**
|
|
4
3
|
* Returns operator that will run
|
|
5
4
|
* `subscribe` outside of the ngxs execution context
|
|
6
5
|
*/
|
|
7
|
-
export declare function leaveNgxs<T>(ngxsExecutionStrategy: NgxsExecutionStrategy): MonoTypeOperatorFunction<T>;
|
|
6
|
+
export declare function leaveNgxs<T>(ngxsExecutionStrategy: NgxsExecutionStrategy): import("rxjs").MonoTypeOperatorFunction<T>;
|
package/src/store.d.ts
CHANGED