redux-devtools
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -211,2 +211,3 @@ 'use strict'; | ||
function unliftStore(liftedStore, reducer) { | ||
var lastDefinedState = undefined; | ||
return _extends({}, liftedStore, { | ||
@@ -219,3 +220,7 @@ devToolsStore: liftedStore, | ||
getState: function getState() { | ||
return unliftState(liftedStore.getState()); | ||
var state = unliftState(liftedStore.getState()); | ||
if (state !== undefined) { | ||
lastDefinedState = state; | ||
} | ||
return lastDefinedState; | ||
}, | ||
@@ -222,0 +227,0 @@ getReducer: function getReducer() { |
@@ -80,3 +80,3 @@ 'use strict'; | ||
} catch (e) { | ||
console.warn('Could not write debug session from localStorage:', e); | ||
console.warn('Could not write debug session to localStorage:', e); | ||
} | ||
@@ -83,0 +83,0 @@ |
@@ -243,3 +243,4 @@ 'use strict'; | ||
select: _react.PropTypes.func.isRequired, | ||
visibleOnLoad: _react.PropTypes.bool | ||
visibleOnLoad: _react.PropTypes.bool, | ||
theme: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.string]) | ||
}, | ||
@@ -246,0 +247,0 @@ enumerable: true |
{ | ||
"name": "redux-devtools", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Redux DevTools with hot reloading and time travel", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -7,2 +7,8 @@ Redux DevTools | ||
[![build status](https://img.shields.io/travis/gaearon/redux-devtools/master.svg?style=flat-square)](https://travis-ci.org/gaearon/redux-devtools) | ||
[![npm version](https://img.shields.io/npm/v/redux-devtools.svg?style=flat-square)](https://www.npmjs.com/package/redux-devtools) | ||
[![npm downloads](https://img.shields.io/npm/dm/redux-devtools.svg?style=flat-square)](https://www.npmjs.com/package/redux-devtools) | ||
[![redux channel on slack](https://img.shields.io/badge/slack-redux@reactiflux-61DAFB.svg?style=flat-square)](http://www.reactiflux.com) | ||
![](http://i.imgur.com/J4GeW0M.gif) | ||
@@ -9,0 +15,0 @@ |
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
75108
1899
137