@ngrx/store-devtools 14.3.2 → 15.0.0-beta.1
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/esm2020/src/devtools-dispatcher.mjs +3 -3
- package/esm2020/src/devtools.mjs +3 -3
- package/esm2020/src/extension.mjs +3 -3
- package/esm2020/src/instrument.mjs +6 -6
- package/esm2020/src/provide-store-devtools.mjs +36 -38
- package/fesm2015/ngrx-store-devtools.mjs +48 -50
- package/fesm2015/ngrx-store-devtools.mjs.map +1 -1
- package/fesm2020/ngrx-store-devtools.mjs +48 -50
- package/fesm2020/ngrx-store-devtools.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +2 -5
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics-core/index.js +1 -3
- package/schematics-core/index.js.map +1 -1
- package/schematics-core/utility/libs-version.js +1 -1
- package/schematics-core/utility/libs-version.js.map +1 -1
- package/schematics-core/utility/visitors.js +1 -2
- package/schematics-core/utility/visitors.js.map +1 -1
- package/src/provide-store-devtools.d.ts +2 -3
- package/schematics-core/utility/decorators.js +0 -15
- package/schematics-core/utility/decorators.js.map +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { EnvironmentProviders, InjectionToken } from '@angular/core';
|
|
2
2
|
import { ReduxDevtoolsExtension } from './extension';
|
|
3
3
|
import { StoreDevtoolsConfig, StoreDevtoolsOptions } from './config';
|
|
4
|
-
import { EnvironmentProviders } from '@ngrx/store';
|
|
5
4
|
export declare const IS_EXTENSION_OR_MONITOR_PRESENT: InjectionToken<boolean>;
|
|
6
5
|
export declare function createIsExtensionOrMonitorPresent(extension: ReduxDevtoolsExtension | null, config: StoreDevtoolsConfig): boolean;
|
|
7
6
|
export declare function createReduxDevtoolsExtension(): any;
|
|
@@ -15,7 +14,7 @@ export declare function createReduxDevtoolsExtension(): any;
|
|
|
15
14
|
* providers: [
|
|
16
15
|
* provideStoreDevtools({
|
|
17
16
|
* maxAge: 25,
|
|
18
|
-
* logOnly:
|
|
17
|
+
* logOnly: !isDevMode(),
|
|
19
18
|
* }),
|
|
20
19
|
* ],
|
|
21
20
|
* });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.getNodeDecorators = void 0;
|
|
4
|
-
var ts = require("typescript");
|
|
5
|
-
/**
|
|
6
|
-
* In TS 4.8 the `decorators` are combined with the `modifiers` array.
|
|
7
|
-
* Once we drop support for older versions, we can remove this function
|
|
8
|
-
* and use `ts.getDecorators` directly.
|
|
9
|
-
*/
|
|
10
|
-
function getNodeDecorators(node) {
|
|
11
|
-
var _a, _b;
|
|
12
|
-
return ((_b = (_a = ts).getDecorators) === null || _b === void 0 ? void 0 : _b.call(_a, node)) || node.decorators;
|
|
13
|
-
}
|
|
14
|
-
exports.getNodeDecorators = getNodeDecorators;
|
|
15
|
-
//# sourceMappingURL=decorators.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../../../../modules/store-devtools/schematics-core/utility/decorators.ts"],"names":[],"mappings":";;;AAAA,+BAAiC;AAEjC;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,IAAa;;IAC7C,OAAO,CAAA,MAAA,MAAC,EAAU,EAAC,aAAa,mDAAG,IAAI,CAAC,KAAI,IAAI,CAAC,UAAU,CAAC;AAC9D,CAAC;AAFD,8CAEC","sourcesContent":["import * as ts from 'typescript';\n\n/**\n * In TS 4.8 the `decorators` are combined with the `modifiers` array.\n * Once we drop support for older versions, we can remove this function\n * and use `ts.getDecorators` directly.\n */\nexport function getNodeDecorators(node: ts.Node): ts.Decorator[] | undefined {\n return (ts as any).getDecorators?.(node) || node.decorators;\n}\n"]}
|