sales-frontend-utils 0.0.23 → 0.0.24

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/index.cjs CHANGED
@@ -105,6 +105,9 @@ var isStorybookEnv = () => {
105
105
  return false;
106
106
  }
107
107
  };
108
+ var getBusinessWorkDivisionCode = () => {
109
+ return location.pathname.split("/")[1] ?? "";
110
+ };
108
111
 
109
112
  // src/utils/user-agent-utils.ts
110
113
  var getDspExecutionEnvironment = () => {
@@ -738,6 +741,7 @@ exports.fileToBase64 = fileToBase64;
738
741
  exports.getApiHostNameFromEnvironment = getApiHostNameFromEnvironment;
739
742
  exports.getBrowserName = getBrowserName;
740
743
  exports.getBrowserVersion = getBrowserVersion;
744
+ exports.getBusinessWorkDivisionCode = getBusinessWorkDivisionCode;
741
745
  exports.getCdnHostNameFromEnvironment = getCdnHostNameFromEnvironment;
742
746
  exports.getCookie = getCookie;
743
747
  exports.getCurrentBrowserName = getCurrentBrowserName;