@ngxs/store 18.1.4 → 18.1.5-dev.master-4720c7c
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/internal-tokens.mjs +3 -3
- package/esm2022/internals/memoize.mjs +2 -15
- package/esm2022/src/actions/action-registry.mjs +1 -1
- package/esm2022/src/internal/provide-internal-tokens.mjs +20 -0
- package/esm2022/src/internal/state-factory.mjs +34 -11
- package/esm2022/src/private_api.mjs +2 -1
- package/esm2022/src/selectors/selector-utils.mjs +5 -4
- package/esm2022/src/standalone-features/root-providers.mjs +2 -11
- package/fesm2022/ngxs-store-internals.mjs +3 -16
- package/fesm2022/ngxs-store-internals.mjs.map +1 -1
- package/fesm2022/ngxs-store.mjs +55 -23
- package/fesm2022/ngxs-store.mjs.map +1 -1
- package/index.d.ts +4 -2
- package/internals/index.d.ts +1 -2
- package/package.json +8 -8
- package/schematics/src/utils/versions.json +1 -1
- package/experimental/package.json +0 -3
- package/internals/package.json +0 -3
- package/internals/testing/package.json +0 -3
- package/operators/package.json +0 -3
- package/plugins/package.json +0 -3
package/index.d.ts
CHANGED
|
@@ -337,7 +337,7 @@ declare class StateFactory implements OnDestroy {
|
|
|
337
337
|
/**
|
|
338
338
|
* Invoke actions on the states.
|
|
339
339
|
*/
|
|
340
|
-
invokeActions
|
|
340
|
+
private invokeActions;
|
|
341
341
|
private addToStatesMap;
|
|
342
342
|
private addRuntimeInfoToMeta;
|
|
343
343
|
private hasBeenMountedAndBootstrapped;
|
|
@@ -749,4 +749,6 @@ declare function createSelectMap<T extends SelectorMap>(selectorMap: T): { reado
|
|
|
749
749
|
type ActionMap = Record<string, ActionDef<any>>;
|
|
750
750
|
declare function createDispatchMap<T extends ActionMap>(actionMap: T): { readonly [K in keyof T]: (...args: ConstructorParameters<T[K]>) => Observable<void>; };
|
|
751
751
|
|
|
752
|
-
|
|
752
|
+
declare function ɵprovideNgxsInternalStateTokens(): i0.EnvironmentProviders;
|
|
753
|
+
|
|
754
|
+
export { Action, type ActionCompletion, type ActionContext, type ActionDef, type ActionMap, ActionStatus, type ActionType, Actions, type NgxsAfterBootstrap, NgxsConfig, NgxsDevelopmentModule, type NgxsDevelopmentOptions, type NgxsExecutionStrategy, NgxsModule, type NgxsModuleOptions, type NgxsOnChanges, type NgxsOnInit, NgxsSimpleChange, NgxsUnhandledActionsLogger, type NgxsUnhandledErrorContext, NgxsUnhandledErrorHandler, NoopNgxsExecutionStrategy, type PropertySelectors, Select, Selector, type SelectorMap, SelectorOptions, State, type StateContext, Store, type TypedSelector, createDispatchMap, createModelSelector, createPickSelector, createPropertySelectors, createSelectMap, createSelector, dispatch, ofAction, ofActionCanceled, ofActionCompleted, ofActionDispatched, ofActionErrored, ofActionSuccessful, provideStates, provideStore, select, withNgxsDevelopmentOptions, withNgxsPlugin, withNgxsPreboot, NgxsFeatureModule as ɵNgxsFeatureModule, NgxsRootModule as ɵNgxsRootModule, type ɵSelectorDef, type ɵSelectorFunc, type ɵSelectorReturnType, type ɵStateSelector, ɵprovideNgxsInternalStateTokens };
|
package/internals/index.d.ts
CHANGED
|
@@ -121,14 +121,13 @@ declare function ɵensureSelectorMetadata(target: Function): ɵSelectorMetaDataM
|
|
|
121
121
|
*/
|
|
122
122
|
declare function ɵgetSelectorMetadata(target: any): ɵSelectorMetaDataModel;
|
|
123
123
|
|
|
124
|
-
declare function defaultEqualityCheck(a: any, b: any): boolean;
|
|
125
124
|
/**
|
|
126
125
|
* Memoize a function on its last inputs only.
|
|
127
126
|
* Originally from: https://github.com/reduxjs/reselect/blob/master/src/index.js
|
|
128
127
|
*
|
|
129
128
|
* @ignore
|
|
130
129
|
*/
|
|
131
|
-
declare function ɵmemoize<T extends (...args: any[]) => any>(func: T, equalityCheck?:
|
|
130
|
+
declare function ɵmemoize<T extends (...args: any[]) => any>(func: T, equalityCheck?: (value1: any, value2: any) => boolean): T;
|
|
132
131
|
|
|
133
132
|
declare class ɵInitialState {
|
|
134
133
|
private static _value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngxs/store",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.5-dev.master-4720c7c",
|
|
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
|
-
"./plugins": {
|
|
36
|
-
"types": "./plugins/index.d.ts",
|
|
37
|
-
"esm2022": "./esm2022/plugins/ngxs-store-plugins.mjs",
|
|
38
|
-
"esm": "./esm2022/plugins/ngxs-store-plugins.mjs",
|
|
39
|
-
"default": "./fesm2022/ngxs-store-plugins.mjs"
|
|
40
|
-
},
|
|
41
35
|
"./operators": {
|
|
42
36
|
"types": "./operators/index.d.ts",
|
|
43
37
|
"esm2022": "./esm2022/operators/ngxs-store-operators.mjs",
|
|
44
38
|
"esm": "./esm2022/operators/ngxs-store-operators.mjs",
|
|
45
39
|
"default": "./fesm2022/ngxs-store-operators.mjs"
|
|
46
40
|
},
|
|
41
|
+
"./plugins": {
|
|
42
|
+
"types": "./plugins/index.d.ts",
|
|
43
|
+
"esm2022": "./esm2022/plugins/ngxs-store-plugins.mjs",
|
|
44
|
+
"esm": "./esm2022/plugins/ngxs-store-plugins.mjs",
|
|
45
|
+
"default": "./fesm2022/ngxs-store-plugins.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
|
+
}
|
package/internals/package.json
DELETED
package/operators/package.json
DELETED
package/plugins/package.json
DELETED