redux-promise-mutex
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -44,3 +44,3 @@ 'use strict'; | ||
return function (action) { | ||
var uuid = String(action.uuid || action.name); | ||
var uuid = String(action.uuid || action.name || ''); | ||
if (typeof action === 'function' && uuid) { | ||
@@ -47,0 +47,0 @@ //如果记录了lock信息,中断action调用 |
{ | ||
"name": "redux-promise-mutex", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "add mutex for redux-thunk", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -20,3 +20,3 @@ 'use strict'; | ||
return store => next => action => { | ||
const uuid = String(action.uuid || action.name); | ||
const uuid = String(action.uuid || action.name || ''); | ||
if (typeof action === 'function' && uuid) { | ||
@@ -23,0 +23,0 @@ //如果记录了lock信息,中断action调用 |
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
7499