tenjin-ui-kit 0.3.71 → 0.3.72

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.
Files changed (2) hide show
  1. package/http/index.js +1 -1
  2. package/package.json +2 -3
package/http/index.js CHANGED
@@ -125,7 +125,7 @@ const parseAxiosError = error => {
125
125
  parsedError = _objectSpread(_objectSpread({}, parsedError), {}, {
126
126
  status: error.response.status,
127
127
  statusText: error.response.statusText,
128
- message: error.response.status === 503 ? (_error$response$data$ = error.response.data.message) !== null && _error$response$data$ !== void 0 ? _error$response$data$ : "A network error occurred. Please try again" : error.response.status === 401 ? "Authentication Failed" : error.response.data ? error.response.data.message ? error.response.data.message : "An unexpected error occurred while processing your request. Please try again. If problem persists, please contact Tenjin support" : "An unexpected error occurred while processing your request. Please try again. If problem persists, please contact Tenjin support"
128
+ message: error.response.status === 503 ? (_error$response$data$ = error.response.data.message) !== null && _error$response$data$ !== void 0 ? _error$response$data$ : "A network error occurred. Please try again" : error.response.status === 401 ? "Authentication Failed" : error.response.data ? error.response.data.message || error.response.data.detail || "An unexpected error occurred while processing your request. Please try again. If problem persists, please contact Tenjin support" : "An unexpected error occurred while processing your request. Please try again. If problem persists, please contact Tenjin support"
129
129
  });
130
130
  }
131
131
  return parsedError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.3.71",
3
+ "version": "0.3.72",
4
4
  "repository": {
5
5
  "url": "git+https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },
@@ -107,8 +107,7 @@
107
107
  "react-dom": "^18.2.0",
108
108
  "react-router-dom": "^6.6.1",
109
109
  "rimraf": "^3.0.2",
110
- "webpack": "^5.75.0",
111
- "@mui/lab": "5.0.0-alpha.116"
110
+ "webpack": "^5.75.0"
112
111
  },
113
112
  "peerDependencies": {
114
113
  "@emotion/react": "^11.10.5",