@dexteel/mesf-core 3.11.4 → 3.11.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/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;
@@ -5901,7 +5902,7 @@ var LoginWithWindowsAuthentication = function () {
5901
5902
  return [3 /*break*/, 4];
5902
5903
  case 3:
5903
5904
  e_1 = _a.sent();
5904
- setError(e_1);
5905
+ setError(e_1.toString());
5905
5906
  return [3 /*break*/, 4];
5906
5907
  case 4: return [2 /*return*/];
5907
5908
  }
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.6",
4
4
  "author": "Dexteel Team",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/index.d.ts",