electron-redux
Advanced tools
Comparing version 2.0.0-alpha.3 to 2.0.0-alpha.4
@@ -108,4 +108,4 @@ import { ipcMain, webContents, ipcRenderer } from 'electron'; | ||
webContents.getAllWebContents().forEach(contents => { | ||
// Ignore the renderer that sent the action | ||
if (contents.id !== event.sender.id) { | ||
// Ignore the renderer that sent the action and chromium devtools | ||
if (contents.id !== event.sender.id && !contents.getURL().startsWith('devtools://')) { | ||
contents.send('electron-redux.ACTION', localAction); | ||
@@ -118,2 +118,4 @@ } | ||
webContents.getAllWebContents().forEach(contents => { | ||
// Ignore chromium devtools | ||
if (contents.getURL().startsWith('devtools://')) return; | ||
contents.send('electron-redux.ACTION', action); | ||
@@ -120,0 +122,0 @@ }); |
@@ -117,4 +117,4 @@ 'use strict'; | ||
electron.webContents.getAllWebContents().forEach(contents => { | ||
// Ignore the renderer that sent the action | ||
if (contents.id !== event.sender.id) { | ||
// Ignore the renderer that sent the action and chromium devtools | ||
if (contents.id !== event.sender.id && !contents.getURL().startsWith('devtools://')) { | ||
contents.send('electron-redux.ACTION', localAction); | ||
@@ -127,2 +127,4 @@ } | ||
electron.webContents.getAllWebContents().forEach(contents => { | ||
// Ignore chromium devtools | ||
if (contents.getURL().startsWith('devtools://')) return; | ||
contents.send('electron-redux.ACTION', action); | ||
@@ -129,0 +131,0 @@ }); |
{ | ||
"name": "electron-redux", | ||
"version": "2.0.0-alpha.3", | ||
"version": "2.0.0-alpha.4", | ||
"description": "Redux & Electron: Make sure all your stores are on the same page", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/klarna/electron-redux.git", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22405
453
0