bruce-models 1.1.5 → 1.1.6

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.
@@ -74,7 +74,8 @@ var Api;
74
74
  EEnv["UAT"] = "UAT";
75
75
  EEnv["PROD"] = "PROD";
76
76
  })(EEnv = Api.EEnv || (Api.EEnv = {}));
77
- Api.DEFAULT_CACHE_STATE = true;
77
+ // False = cache is enabled by default for req-params.
78
+ Api.DEFAULT_NO_CACHE = false;
78
79
  /**
79
80
  * Prepares a string to be included in a url.
80
81
  * @param str
@@ -463,7 +464,7 @@ class AbstractApi {
463
464
  GetCacheItem(key, reqParams) {
464
465
  let noCache = reqParams === null || reqParams === void 0 ? void 0 : reqParams.noCache;
465
466
  if (noCache == null) {
466
- noCache = Api.DEFAULT_CACHE_STATE;
467
+ noCache = Api.DEFAULT_NO_CACHE;
467
468
  }
468
469
  if (noCache) {
469
470
  return null;