oo-redux-utils
Advanced tools
Comparing version 1.11.4 to 1.11.5
@@ -65,3 +65,3 @@ "use strict"; | ||
this.diContainer = diContainer; | ||
this.stateNamespace = stateNamespace.split('$')[0]; | ||
this.stateNamespace = stateNamespace; | ||
} | ||
@@ -68,0 +68,0 @@ |
@@ -38,3 +38,3 @@ "use strict"; | ||
var action = arguments.length > 1 ? arguments[1] : undefined; | ||
return action.type instanceof actionBaseClass && action.type.getStateNamespace() === stateNamespace ? action.type.performActionAndReturnNewState(currentState) : currentState; | ||
return action.type instanceof actionBaseClass && action.type.getStateNamespace().startsWith(stateNamespace) ? action.type.performActionAndReturnNewState(currentState) : currentState; | ||
}; | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "oo-redux-utils", | ||
"version": "1.11.4", | ||
"version": "1.11.5", | ||
"description": "Utility functions for Object-oriented Redux", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
Sorry, the diff of this file is not supported yet
63904