@docbrasil/api-systemmanager 1.1.50 → 1.1.51
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/api/dispatch.js +2 -2
- package/dist/bundle.cjs +2 -2
- package/dist/bundle.mjs +1 -1
- package/package.json +1 -1
package/api/dispatch.js
CHANGED
|
@@ -11,9 +11,9 @@ class Dispatch {
|
|
|
11
11
|
Joi.assert(options.parent, Joi.object().required());
|
|
12
12
|
|
|
13
13
|
const self = this;
|
|
14
|
+
self._cache = options.parent.options.cache;
|
|
15
|
+
self._forceCache = options.parent.options.forceCache;
|
|
14
16
|
self.parent = options.parent;
|
|
15
|
-
self._cache = self.parent.options.cache;
|
|
16
|
-
self._forceCache = self.parent.options.forceCache;
|
|
17
17
|
self._client = Axios.create({baseURL: self.parent.options.uri, withCredentials: true});
|
|
18
18
|
|
|
19
19
|
// Add request interceptor for offline handling
|
package/dist/bundle.cjs
CHANGED
|
@@ -23,9 +23,9 @@ class Dispatch {
|
|
|
23
23
|
Joi__default["default"].assert(options.parent, Joi__default["default"].object().required());
|
|
24
24
|
|
|
25
25
|
const self = this;
|
|
26
|
+
self._cache = options.parent.options.cache;
|
|
27
|
+
self._forceCache = options.parent.options.forceCache;
|
|
26
28
|
self.parent = options.parent;
|
|
27
|
-
self._cache = self.parent.options.cache;
|
|
28
|
-
self._forceCache = self.parent.options.forceCache;
|
|
29
29
|
self._client = Axios__default["default"].create({baseURL: self.parent.options.uri, withCredentials: true});
|
|
30
30
|
|
|
31
31
|
// Add request interceptor for offline handling
|