@dexteel/mesf-core 3.11.4 → 3.11.5

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/index.esm.js CHANGED
@@ -4707,6 +4707,7 @@ var Configuration$1 = /** @class */ (function () {
4707
4707
  return Configuration;
4708
4708
  }());
4709
4709
 
4710
+ var _a;
4710
4711
  var base$2 = document.getElementsByTagName('base')[0].getAttribute('href') || '/';
4711
4712
  function renewToken() {
4712
4713
  return __awaiter(this, void 0, void 0, function () {
@@ -4748,7 +4749,7 @@ function isUnauthorizedError(error) {
4748
4749
  }
4749
4750
  var axiosInstance = axios.create({
4750
4751
  headers: {
4751
- Authorization: "Bearer ".concat(getTokenFromLS())
4752
+ Authorization: "Bearer ".concat((_a = localStorage.getItem('token')) !== null && _a !== void 0 ? _a : '')
4752
4753
  }
4753
4754
  });
4754
4755
  var refreshingFunc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexteel/mesf-core",
3
- "version": "3.11.4",
3
+ "version": "3.11.5",
4
4
  "author": "Dexteel Team",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",