@ngxs/store 3.7.6-dev.master-1bdb8c0 → 3.7.6-dev.master-fb318b1
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/bundles/ngxs-store.umd.js +4 -4
- package/bundles/ngxs-store.umd.js.map +1 -1
- package/bundles/ngxs-store.umd.min.js +1 -1
- package/bundles/ngxs-store.umd.min.js.map +1 -1
- package/esm2015/src/dev-features/ngxs-unhandled-actions-logger.js +4 -2
- package/esm2015/src/dev-features/symbols.js +2 -4
- package/esm5/src/dev-features/ngxs-unhandled-actions-logger.js +4 -2
- package/esm5/src/dev-features/symbols.js +2 -4
- package/fesm2015/ngxs-store.js +4 -4
- package/fesm2015/ngxs-store.js.map +1 -1
- package/fesm5/ngxs-store.js +4 -4
- package/fesm5/ngxs-store.js.map +1 -1
- package/ngxs-store.metadata.json +1 -1
- package/package.json +1 -1
- package/src/dev-features/symbols.d.ts +1 -1
package/fesm5/ngxs-store.js
CHANGED
|
@@ -2635,9 +2635,7 @@ var NGXS_DEVELOPMENT_OPTIONS = new InjectionToken('NGXS_DEVELOPMENT_OPTIONS', {
|
|
|
2635
2635
|
factory: (/**
|
|
2636
2636
|
* @return {?}
|
|
2637
2637
|
*/
|
|
2638
|
-
function () { return ({
|
|
2639
|
-
warnOnUnhandledActions: { ignore: [] }
|
|
2640
|
-
}); })
|
|
2638
|
+
function () { return ({ warnOnUnhandledActions: true }); })
|
|
2641
2639
|
});
|
|
2642
2640
|
|
|
2643
2641
|
/**
|
|
@@ -2651,7 +2649,9 @@ var NgxsUnhandledActionsLogger = /** @class */ (function () {
|
|
|
2651
2649
|
* list in the future via the `ignoreActions` method.
|
|
2652
2650
|
*/
|
|
2653
2651
|
this._ignoredActions = new Set([InitState.type, UpdateState.type]);
|
|
2654
|
-
|
|
2652
|
+
if (typeof options.warnOnUnhandledActions === 'object') {
|
|
2653
|
+
this.ignoreActions.apply(this, __spread(options.warnOnUnhandledActions.ignore));
|
|
2654
|
+
}
|
|
2655
2655
|
}
|
|
2656
2656
|
/**
|
|
2657
2657
|
* Adds actions to the internal list of actions that should be ignored.
|