@urso/core 0.7.48 → 0.7.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -182,11 +182,11 @@ class ModulesStatesManagerController {
|
|
|
182
182
|
|
|
183
183
|
checkStateGuard = (key) => {
|
|
184
184
|
//auto guard will check callLimit and return false, if limit is reached
|
|
185
|
-
const callLimit = this._configStates[
|
|
185
|
+
const callLimit = this._configStates[key].callLimit;
|
|
186
186
|
|
|
187
187
|
if (
|
|
188
188
|
callLimit &&
|
|
189
|
-
callLimit >= (this._statesCallStatistic[
|
|
189
|
+
callLimit >= (this._statesCallStatistic[key] || 0)
|
|
190
190
|
) { return false; }
|
|
191
191
|
|
|
192
192
|
const guardResult = this.statesGuards.checkGuard(key);
|