Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remote-redux-devtools

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remote-redux-devtools - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

21

lib/devTools.js
'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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc