@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "2.0.111",
3
+ "version": "2.0.113",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
package/utils.cjs.js CHANGED
@@ -22,8 +22,6 @@ var relativeTime__default = /*#__PURE__*/_interopDefaultLegacy(relativeTime);
22
22
  var updateLocale__default = /*#__PURE__*/_interopDefaultLegacy(updateLocale);
23
23
 
24
24
  var HEADERS_KEYS = {
25
- xAuthEmail: "X-Auth-Email",
26
- xAuthToken: "X-Auth-Token",
27
25
  xCsrfToken: "X-CSRF-TOKEN",
28
26
  contentType: "Content-Type",
29
27
  accept: "Accept"
@@ -3212,11 +3210,9 @@ function getConfig(name) {
3212
3210
  }
3213
3211
 
3214
3212
  var getWebsocketURL = function getWebsocketURL() {
3215
- var _document$querySelect, _globalProps$user, _globalProps$user2;
3213
+ var _document$querySelect;
3216
3214
  var websocketURL = (_document$querySelect = document.querySelector('meta[name="action-cable-url"]')) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.content;
3217
3215
  return buildUrl(websocketURL, {
3218
- auth_token: (_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.authenticationToken,
3219
- email: (_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.email,
3220
3216
  subdomain: globalProps.organization.subdomain
3221
3217
  });
3222
3218
  };