@bigbinary/neeto-commons-frontend 2.0.111 → 2.0.113

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/utils.js CHANGED
@@ -9,8 +9,6 @@ import relativeTime from 'dayjs/plugin/relativeTime';
9
9
  import updateLocale from 'dayjs/plugin/updateLocale';
10
10
 
11
11
  var HEADERS_KEYS = {
12
- xAuthEmail: "X-Auth-Email",
13
- xAuthToken: "X-Auth-Token",
14
12
  xCsrfToken: "X-CSRF-TOKEN",
15
13
  contentType: "Content-Type",
16
14
  accept: "Accept"
@@ -3199,11 +3197,9 @@ function getConfig(name) {
3199
3197
  }
3200
3198
 
3201
3199
  var getWebsocketURL = function getWebsocketURL() {
3202
- var _document$querySelect, _globalProps$user, _globalProps$user2;
3200
+ var _document$querySelect;
3203
3201
  var websocketURL = (_document$querySelect = document.querySelector('meta[name="action-cable-url"]')) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.content;
3204
3202
  return buildUrl(websocketURL, {
3205
- auth_token: (_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.authenticationToken,
3206
- email: (_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.email,
3207
3203
  subdomain: globalProps.organization.subdomain
3208
3204
  });
3209
3205
  };