ngrx-store-logger
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -21,3 +21,4 @@ "use strict"; | ||
logBuffer.forEach(function (logEntry, key) { | ||
var started = logEntry.started, startedTime = logEntry.startedTime, action = logEntry.action, prevState = logEntry.prevState, error = logEntry.error; | ||
var started = logEntry.started, startedTime = logEntry.startedTime, action = logEntry.action, error = logEntry.error; | ||
var prevState = logEntry.prevState.nextState ? logEntry.prevState.nextState : '(Empty)'; | ||
var took = logEntry.took, nextState = logEntry.nextState; | ||
@@ -103,3 +104,3 @@ var nextEntry = logBuffer[key + 1]; | ||
collapsed: false, | ||
duration: false, | ||
duration: true, | ||
timestamp: true, | ||
@@ -106,0 +107,0 @@ stateTransformer: function (state) { return state; }, |
{ | ||
"name": "ngrx-store-logger", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Advanced logging middleware for @ngrx/store", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -25,3 +25,4 @@ declare var console; | ||
logBuffer.forEach((logEntry, key) => { | ||
const { started, startedTime, action, prevState, error } = logEntry; | ||
const { started, startedTime, action, error } = logEntry; | ||
const prevState = logEntry.prevState.nextState ? logEntry.prevState.nextState : '(Empty)'; | ||
let { took, nextState } = logEntry; | ||
@@ -102,3 +103,3 @@ const nextEntry = logBuffer[key + 1]; | ||
collapsed : false, | ||
duration : false, | ||
duration : true, | ||
timestamp : true, | ||
@@ -142,2 +143,2 @@ stateTransformer : state => state, | ||
} | ||
}; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17864
284