@copart/ops-tool-kit 1.10.20-alpha.5 → 1.10.20-alpha.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.
@@ -33,7 +33,7 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
33
33
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
34
34
 
35
35
  const name$r = "@copart/ops-tool-kit";
36
- const version$5 = "1.10.20-alpha.5";
36
+ const version$5 = "1.10.20-alpha.6";
37
37
  const main$1 = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -9481,14 +9481,14 @@ fetcher.getCoreAppPermissions = getCoreAppPermissions;
9481
9481
  fetcher.getInnovationHubToken = getInnovationHubToken;
9482
9482
  fetcher.getUserScopes = getUserScopes;
9483
9483
 
9484
- var getRouteName$1 = function getRouteName() {
9484
+ var getRouteName = function getRouteName() {
9485
9485
  return window.location.pathname.split('/').splice(1)[0];
9486
9486
  };
9487
9487
  var regexCountry = /\.co\.([a-z]{2})/;
9488
9488
  var regexCobaltCountry = /\.copart\.([a-z]{2})/;
9489
- var isLogoutRoute = ['logout'].includes(getRouteName$1());
9490
- var isAuthRoute = ['login', 'logout', ''].includes(getRouteName$1());
9491
- var isCoreRoute = ['settings', 'home', 'webChat', 'embedded', ''].includes(getRouteName$1());
9489
+ var isLogoutRoute = ['logout'].includes(getRouteName());
9490
+ var isAuthRoute = ['login', 'logout', ''].includes(getRouteName());
9491
+ var isCoreRoute = ['settings', 'home', 'webChat', 'embedded', ''].includes(getRouteName());
9492
9492
  var getDomain = function getDomain(url) {
9493
9493
  var country = url.match(regexCountry);
9494
9494
  var countryCode = (country && country.length > 1 && country[1] || 'US').toUpperCase();