browser-redux-bg
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -12,3 +12,3 @@ 'use strict'; | ||
function extension(state, action) { | ||
if (state === undefined) state = { command: null, status: null }; | ||
if (state === undefined) state = { fN: null, status: null }; | ||
@@ -15,0 +15,0 @@ if (action.key === 'extension' && action.payload.fN && action.payload.status === 'sent') { |
{ | ||
"name": "browser-redux-bg", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Messaging library for Cross-browser extensions and Chrome apps. Calls actions from the background script.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1,2 +0,2 @@ | ||
export default function extension(state = { command: null, status: null }, action) { | ||
export default function extension(state = { fN: null, status: null }, action) { | ||
if (action.key === 'extension' && action.payload.fN && action.payload.status === 'sent') { | ||
@@ -3,0 +3,0 @@ console.info('Received action', action); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
41649
29