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.
- package/dist/bruce-models.es5.js +3 -2
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +3 -2
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/api/abstract-api.js +1 -1
- package/dist/lib/api/abstract-api.js.map +1 -1
- package/dist/lib/api/api.js +2 -1
- package/dist/lib/api/api.js.map +1 -1
- package/dist/types/api/api.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -74,7 +74,8 @@ var Api;
|
|
|
74
74
|
EEnv["UAT"] = "UAT";
|
|
75
75
|
EEnv["PROD"] = "PROD";
|
|
76
76
|
})(EEnv = Api.EEnv || (Api.EEnv = {}));
|
|
77
|
-
|
|
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.
|
|
467
|
+
noCache = Api.DEFAULT_NO_CACHE;
|
|
467
468
|
}
|
|
468
469
|
if (noCache) {
|
|
469
470
|
return null;
|