redux-devtools-instrument
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -105,3 +105,3 @@ 'use strict'; | ||
nextError = err.toString(); | ||
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && typeof window.chrome !== 'undefined') { | ||
if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && (typeof window.chrome !== 'undefined' || typeof window.process !== 'undefined' && window.process.type === 'renderer')) { | ||
// In Chrome, rethrowing provides better source map support | ||
@@ -360,2 +360,3 @@ setTimeout(function () { | ||
computedStates = []; | ||
committedState = liftedAction.preloadedState; | ||
minInvalidatedStateIndex = 0; | ||
@@ -362,0 +363,0 @@ // iterate through actions |
{ | ||
"name": "redux-devtools-instrument", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Redux DevTools instrumentation", | ||
@@ -5,0 +5,0 @@ "main": "lib/instrument.js", |
@@ -89,3 +89,8 @@ import difference from 'lodash/difference'; | ||
nextError = err.toString(); | ||
if (typeof window === 'object' && typeof window.chrome !== 'undefined') { | ||
if ( | ||
typeof window === 'object' && ( | ||
typeof window.chrome !== 'undefined' || | ||
typeof window.process !== 'undefined' && | ||
window.process.type === 'renderer' | ||
)) { | ||
// In Chrome, rethrowing provides better source map support | ||
@@ -334,2 +339,3 @@ setTimeout(() => { throw err; }); | ||
computedStates = []; | ||
committedState = liftedAction.preloadedState; | ||
minInvalidatedStateIndex = 0; | ||
@@ -336,0 +342,0 @@ // iterate through actions |
39012
926