@elliemae/pui-logrocket 1.0.1 → 1.0.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.
@@ -70,7 +70,9 @@ const defaultOptions = {
70
70
  },
71
71
  release: process?.env?.APP_VERSION,
72
72
  // app sdk based applications use this env variable to specify the app code version
73
- rootHostname: ".ice.com"
73
+ rootHostname: window.emui?.logRocketConfig?.rootHostname ?? ".ice.com",
74
+ childDomains: window.emui?.logRocketConfig?.childDomains ?? null,
75
+ parentDomain: window.emui?.logRocketConfig?.parentDomain ?? null
74
76
  };
75
77
  const initLogRocket = (id, options) => {
76
78
  const { isReact = true, ...rest } = options ?? {};
@@ -36,7 +36,9 @@ const defaultOptions = {
36
36
  },
37
37
  release: process?.env?.APP_VERSION,
38
38
  // app sdk based applications use this env variable to specify the app code version
39
- rootHostname: ".ice.com"
39
+ rootHostname: window.emui?.logRocketConfig?.rootHostname ?? ".ice.com",
40
+ childDomains: window.emui?.logRocketConfig?.childDomains ?? null,
41
+ parentDomain: window.emui?.logRocketConfig?.parentDomain ?? null
40
42
  };
41
43
  const initLogRocket = (id, options) => {
42
44
  const { isReact = true, ...rest } = options ?? {};
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Library Boilerplate</title><script defer="defer" src="js/emuiLogrocket.39770f624a74bf9d8e47.js"></script></head><body></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Library Boilerplate</title><script defer="defer" src="js/emuiLogrocket.86ccf84c21fc8954ce9e.js"></script></head><body></body></html>