@elliemae/pui-app-sdk 5.5.0 → 5.5.2

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.
@@ -28,6 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
  var app_config_exports = {};
30
30
  __export(app_config_exports, {
31
+ getAppConfigValue: () => import_config2.getAppConfigValue,
31
32
  loadAppConfig: () => loadAppConfig
32
33
  });
33
34
  module.exports = __toCommonJS(app_config_exports);
@@ -36,6 +37,7 @@ var import_config = require("./config.js");
36
37
  var import_appdynamics = require("../../analytics/appdynamics.js");
37
38
  var import_web_analytics = require("../../analytics/web-analytics.js");
38
39
  var import_window = require("../window.js");
40
+ var import_config2 = require("./config.js");
39
41
  const parseAppConfig = (data) => {
40
42
  const { activeEnv } = data;
41
43
  const activeEnvConfig = data.env[activeEnv] || {};
@@ -32,7 +32,9 @@ const baseConfig = {
32
32
  },
33
33
  reactOptions: {
34
34
  fastRefresh: true,
35
- strictMode: true
35
+ strictMode: true,
36
+ // react v17. remove this after upgrading storybook to v7
37
+ legacyRootApi: true
36
38
  },
37
39
  typescript: {
38
40
  check: false,
@@ -3,6 +3,7 @@ import { setAppConfig } from "./config.js";
3
3
  import { setAppDynamicsUserData } from "../../analytics/appdynamics.js";
4
4
  import { updateBAEventParameters } from "../../analytics/web-analytics.js";
5
5
  import { getAssetPath } from "../window.js";
6
+ import { getAppConfigValue } from "./config.js";
6
7
  const parseAppConfig = (data) => {
7
8
  const { activeEnv } = data;
8
9
  const activeEnvConfig = data.env[activeEnv] || {};
@@ -41,5 +42,6 @@ const loadAppConfig = async (configPath = getAssetPath()) => {
41
42
  }
42
43
  };
43
44
  export {
45
+ getAppConfigValue,
44
46
  loadAppConfig
45
47
  };
@@ -1 +1,2 @@
1
+ export { getAppConfigValue } from './config.js';
1
2
  export declare const loadAppConfig: (configPath?: string) => Promise<void>;
@@ -22,6 +22,7 @@ declare function _exports(viteBuilder?: boolean): {
22
22
  reactOptions: {
23
23
  fastRefresh: boolean;
24
24
  strictMode: boolean;
25
+ legacyRootApi: boolean;
25
26
  };
26
27
  typescript: {
27
28
  check: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "5.5.0",
3
+ "version": "5.5.2",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",
@@ -153,9 +153,9 @@
153
153
  "@elliemae/ds-toast": "~3.21.2",
154
154
  "@elliemae/ds-utilities": "~3.21.2",
155
155
  "@elliemae/em-ssf-guest": "~1.11.3",
156
- "@elliemae/pui-cli": "~8.17.1",
156
+ "@elliemae/pui-cli": "~8.17.3",
157
157
  "@elliemae/pui-diagnostics": "~3.4.1",
158
- "@elliemae/pui-doc-gen": "~1.7.1",
158
+ "@elliemae/pui-doc-gen": "~1.8.0",
159
159
  "@elliemae/pui-e2e-test-sdk": "~8.1.4",
160
160
  "@elliemae/pui-micro-frontend-base": "~1.14.0",
161
161
  "@elliemae/pui-scripting-object": "~1.29.0",