@ngxs/store 18.1.0 → 18.1.1-dev.master-502466d

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.
@@ -0,0 +1,2 @@
1
+ import { MonoTypeOperatorFunction } from 'rxjs';
2
+ export declare function ɵwrapObserverCalls<TValue>(invokeFn: (fn: () => void) => void): MonoTypeOperatorFunction<TValue>;
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngxs/store",
3
- "version": "18.1.0",
3
+ "version": "18.1.1-dev.master-502466d",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -32,18 +32,18 @@
32
32
  "esm": "./esm2022/internals/ngxs-store-internals.mjs",
33
33
  "default": "./fesm2022/ngxs-store-internals.mjs"
34
34
  },
35
- "./operators": {
36
- "types": "./operators/index.d.ts",
37
- "esm2022": "./esm2022/operators/ngxs-store-operators.mjs",
38
- "esm": "./esm2022/operators/ngxs-store-operators.mjs",
39
- "default": "./fesm2022/ngxs-store-operators.mjs"
40
- },
41
35
  "./plugins": {
42
36
  "types": "./plugins/index.d.ts",
43
37
  "esm2022": "./esm2022/plugins/ngxs-store-plugins.mjs",
44
38
  "esm": "./esm2022/plugins/ngxs-store-plugins.mjs",
45
39
  "default": "./fesm2022/ngxs-store-plugins.mjs"
46
40
  },
41
+ "./operators": {
42
+ "types": "./operators/index.d.ts",
43
+ "esm2022": "./esm2022/operators/ngxs-store-operators.mjs",
44
+ "esm": "./esm2022/operators/ngxs-store-operators.mjs",
45
+ "default": "./fesm2022/ngxs-store-operators.mjs"
46
+ },
47
47
  "./internals/testing": {
48
48
  "types": "./internals/testing/index.d.ts",
49
49
  "esm2022": "./esm2022/internals/testing/ngxs-store-internals-testing.mjs",
@@ -97,4 +97,4 @@
97
97
  "type": "opencollective",
98
98
  "url": "https://opencollective.com/ngxs"
99
99
  }
100
- }
100
+ }
@@ -1,3 +1,3 @@
1
1
  {
2
- "@ngxs/store": "18.1.0"
2
+ "@ngxs/store": "18.1.1"
3
3
  }
@@ -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
@@ -40,7 +40,6 @@ export declare class Store {
40
40
  * Select a signal from the state.
41
41
  */
42
42
  selectSignal<T>(selector: TypedSelector<T>): Signal<T>;
43
- private selectFromStateStream;
44
43
  /**
45
44
  * Allow the user to subscribe to the root of the state
46
45
  */