@copart/ops-tool-kit 1.13.0-beta.4 → 1.13.0-beta.5

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.
@@ -47,7 +47,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
47
47
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
48
48
 
49
49
  const name$1 = "@copart/ops-tool-kit";
50
- const version$3 = "1.13.0-beta.4";
50
+ const version$3 = "1.13.0-beta.5";
51
51
  const main$1 = "dist/ops-tool-kit.js";
52
52
  const style = "dist/ops-tool-kit.css";
53
53
  const files = [
@@ -68250,8 +68250,13 @@ function getInitialUri() {
68250
68250
  });
68251
68251
  }
68252
68252
 
68253
+ var _appName = null;
68254
+ function setAppName(name) {
68255
+ _appName = name;
68256
+ }
68253
68257
  function getAppName() {
68254
68258
  var _window$toolkitEnv;
68259
+ if (_appName) return _appName;
68255
68260
  return (_window$toolkitEnv = window.toolkitEnv) !== null && _window$toolkitEnv !== void 0 && _window$toolkitEnv.APP_NAME ? window.toolkitEnv.APP_NAME : typeof process !== 'undefined' && process.env && process.env.APP_NAME || 'test-app';
68256
68261
  }
68257
68262
  function getByPath(obj, path) {
@@ -69317,6 +69322,7 @@ var iframeFacade = {
69317
69322
  getInitialUri: getInitialUri,
69318
69323
  setInitCache: setInitCache,
69319
69324
  setExtraLocal: setExtraLocal,
69325
+ setAppName: setAppName,
69320
69326
  getInitDataForBootstrap: getInitDataForBootstrap,
69321
69327
  sendStorageGet: sendStorageGet
69322
69328
  }