remote-redux-devtools
Advanced tools
Comparing version 0.1.5 to 0.1.6
'use strict'; | ||
exports.__esModule = true; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
exports.default = devTools; | ||
@@ -20,9 +23,9 @@ | ||
var instanceName = undefined; | ||
var socket = undefined; | ||
var channel = undefined; | ||
var instanceName = void 0; | ||
var socket = void 0; | ||
var channel = void 0; | ||
var store = {}; | ||
var shouldInit = true; | ||
var lastAction = undefined; | ||
var filters = undefined; | ||
var lastAction = void 0; | ||
var filters = void 0; | ||
@@ -52,3 +55,5 @@ function isFiltered(action) { | ||
function handleMessages(message) { | ||
if (message.type === 'DISPATCH') { | ||
if (message.type === 'ACTION') { | ||
store.dispatch(message.action); | ||
}if (message.type === 'DISPATCH') { | ||
store.liftedStore.dispatch(message.action); | ||
@@ -80,3 +85,3 @@ } else if (message.type === 'UPDATE') { | ||
if (err) { | ||
console.error(err);return; | ||
console.warn(err);return; | ||
} | ||
@@ -115,3 +120,3 @@ channel = socket.subscribe(channelName); | ||
return Object.assign({}, state, { | ||
return _extends({}, state, { | ||
stagedActionIds: filteredStagedActionIds, | ||
@@ -118,0 +123,0 @@ computedStates: filteredComputedStates |
{ | ||
"name": "remote-redux-devtools", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Relay Redux actions to remote Redux DevTools.", | ||
@@ -54,3 +54,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"jsan": "^2.0.4", | ||
"jsan": "^3.1.2", | ||
"querystring": "^0.2.0", | ||
@@ -57,0 +57,0 @@ "redux-devtools": "^3.1.1", |
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
11717
144
+ Addedjsan@3.1.14(transitive)
- Removedjsan@2.0.4(transitive)
Updatedjsan@^3.1.2