@copart/ops-tool-kit 1.8.1-alpha.18 → 1.8.1-alpha.19
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/ops-tool-kit.js +4 -4
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
|
33
33
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$f = "@copart/ops-tool-kit";
|
|
36
|
-
const version$5 = "1.8.1-alpha.
|
|
36
|
+
const version$5 = "1.8.1-alpha.19";
|
|
37
37
|
const main$1 = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -39728,11 +39728,11 @@ function startWebSocketConnection(updateNotifications, updateAllNotificationsLis
|
|
|
39728
39728
|
|
|
39729
39729
|
var coreAppConfig = storage$1.getLocalItem('opsportal-core:config');
|
|
39730
39730
|
var webSocketURL = "".concat(coreAppConfig.webSocketURL, "/").concat((_storage$getSessionIt = storage$1.getSessionItem('dashboard')) === null || _storage$getSessionIt === void 0 ? void 0 : _storage$getSessionIt.selectedYard, ",").concat(storage$1.userEmail);
|
|
39731
|
+
var domain = window.location.hostname.slice(window.location.hostname.indexOf('.copart'));
|
|
39731
39732
|
browserCookies.set('notification_country', (_storage$getSessionIt2 = storage$1.getSessionItem('dashboard')) === null || _storage$getSessionIt2 === void 0 ? void 0 : _storage$getSessionIt2.selectedCountryA3code, {
|
|
39732
|
-
domain:
|
|
39733
|
+
domain: domain
|
|
39733
39734
|
});
|
|
39734
|
-
"
|
|
39735
|
-
document.cookie = "access_token=" + storage$1.accessToken + "; path=/;domain=.copart.com";
|
|
39735
|
+
document.cookie = "access_token=" + storage$1.accessToken + "; path=/;domain=" + domain;
|
|
39736
39736
|
|
|
39737
39737
|
try {
|
|
39738
39738
|
var client = new browser.w3cwebsocket(webSocketURL);
|