@elliemae/pui-app-sdk 2.15.0 → 2.16.1-beta.1
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/cjs/analytics/appdynamics.js +1 -1
- package/dist/cjs/analytics/web-analytics.js +1 -0
- package/dist/cjs/utils/micro-frontend/guest.js +12 -13
- package/dist/cjs/utils/micro-frontend/host.js +6 -5
- package/dist/es/analytics/appdynamics.js +1 -1
- package/dist/es/analytics/web-analytics.js +1 -0
- package/dist/es/typings/styled.d.js +0 -1
- package/dist/es/utils/micro-frontend/guest.js +12 -13
- package/dist/es/utils/micro-frontend/host.js +5 -5
- package/dist/types/analytics/appdynamics.d.ts +1 -1
- package/dist/types/analytics/web-analytics.d.ts +1 -0
- package/dist/types/utils/window.d.ts +1 -1
- package/package.json +8 -8
|
@@ -163,21 +163,20 @@ class CMicroAppGuest {
|
|
|
163
163
|
|
|
164
164
|
__webpack_public_path__ = __webpack_public_path__.replace(/\/?$/, '/');
|
|
165
165
|
return (0, _index.loadAppConfig)(__webpack_public_path__).then(() => {
|
|
166
|
+
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
167
|
+
const userId = this.getSessionStorageItem('userId') || '';
|
|
168
|
+
(0, _webAnalytics.updateBAEventParameters)({
|
|
169
|
+
appId: this.appId,
|
|
170
|
+
instanceId,
|
|
171
|
+
userId
|
|
172
|
+
});
|
|
173
|
+
(0, _appdynamics.setAppDynamicsUserData)({
|
|
174
|
+
appId: this.appId,
|
|
175
|
+
instanceId,
|
|
176
|
+
userId
|
|
177
|
+
});
|
|
166
178
|
if (this.onInit) this.onInit(this.props);
|
|
167
179
|
});
|
|
168
|
-
/* eslint-enable camelcase, no-undef */
|
|
169
|
-
|
|
170
|
-
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
171
|
-
const userId = this.getSessionStorageItem('userId') || '';
|
|
172
|
-
(0, _webAnalytics.updateBAEventParameters)({
|
|
173
|
-
instanceId,
|
|
174
|
-
userId
|
|
175
|
-
});
|
|
176
|
-
(0, _appdynamics.setAppDynamicsUserData)({
|
|
177
|
-
subAppId: this.appId,
|
|
178
|
-
instanceId,
|
|
179
|
-
userId
|
|
180
|
-
});
|
|
181
180
|
}
|
|
182
181
|
|
|
183
182
|
mount(options = {
|
|
@@ -39,6 +39,8 @@ var _index3 = require("../../analytics/index.js");
|
|
|
39
39
|
|
|
40
40
|
var _appdynamics = require("../../analytics/appdynamics.js");
|
|
41
41
|
|
|
42
|
+
var _webAnalytics = require("../../analytics/web-analytics.js");
|
|
43
|
+
|
|
42
44
|
class CMicroAppHost {
|
|
43
45
|
constructor(params) {
|
|
44
46
|
(0, _defineProperty2.default)(this, "logger", void 0);
|
|
@@ -68,12 +70,11 @@ class CMicroAppHost {
|
|
|
68
70
|
(0, _index2.loadAppConfig)(__webpack_public_path__).then(() => {
|
|
69
71
|
if (this.onInit) this.onInit(this.props);
|
|
70
72
|
}).catch(() => {});
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
(0, _webAnalytics.updateBAEventParameters)({
|
|
74
|
+
appId: this.appId
|
|
75
|
+
});
|
|
73
76
|
(0, _appdynamics.setAppDynamicsUserData)({
|
|
74
|
-
|
|
75
|
-
instanceId: '',
|
|
76
|
-
userId: ''
|
|
77
|
+
appId: this.appId
|
|
77
78
|
});
|
|
78
79
|
}
|
|
79
80
|
|
|
@@ -149,21 +149,20 @@ export class CMicroAppGuest {
|
|
|
149
149
|
|
|
150
150
|
__webpack_public_path__ = __webpack_public_path__.replace(/\/?$/, '/');
|
|
151
151
|
return loadAppConfig(__webpack_public_path__).then(() => {
|
|
152
|
+
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
153
|
+
const userId = this.getSessionStorageItem('userId') || '';
|
|
154
|
+
updateBAEventParameters({
|
|
155
|
+
appId: this.appId,
|
|
156
|
+
instanceId,
|
|
157
|
+
userId
|
|
158
|
+
});
|
|
159
|
+
setAppDynamicsUserData({
|
|
160
|
+
appId: this.appId,
|
|
161
|
+
instanceId,
|
|
162
|
+
userId
|
|
163
|
+
});
|
|
152
164
|
if (this.onInit) this.onInit(this.props);
|
|
153
165
|
});
|
|
154
|
-
/* eslint-enable camelcase, no-undef */
|
|
155
|
-
|
|
156
|
-
const instanceId = this.getSessionStorageItem('instanceId') || '';
|
|
157
|
-
const userId = this.getSessionStorageItem('userId') || '';
|
|
158
|
-
updateBAEventParameters({
|
|
159
|
-
instanceId,
|
|
160
|
-
userId
|
|
161
|
-
});
|
|
162
|
-
setAppDynamicsUserData({
|
|
163
|
-
subAppId: this.appId,
|
|
164
|
-
instanceId,
|
|
165
|
-
userId
|
|
166
|
-
});
|
|
167
166
|
}
|
|
168
167
|
|
|
169
168
|
mount(options = {
|
|
@@ -14,6 +14,7 @@ import { HOST_WINDOW_RESIZED, HOST_WINDOW_BREAKPOINT_CHANGED } from "../constant
|
|
|
14
14
|
import { getCurrentBreakpoint, getViewportSize as getWindowViewportSize } from "../window.js";
|
|
15
15
|
import { sendBAEvent } from "../../analytics/index.js";
|
|
16
16
|
import { setAppDynamicsUserData } from "../../analytics/appdynamics.js";
|
|
17
|
+
import { updateBAEventParameters } from "../../analytics/web-analytics.js";
|
|
17
18
|
export class CMicroAppHost {
|
|
18
19
|
constructor(params) {
|
|
19
20
|
_defineProperty(this, "logger", void 0);
|
|
@@ -49,12 +50,11 @@ export class CMicroAppHost {
|
|
|
49
50
|
loadAppConfig(__webpack_public_path__).then(() => {
|
|
50
51
|
if (this.onInit) this.onInit(this.props);
|
|
51
52
|
}).catch(() => {});
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
updateBAEventParameters({
|
|
54
|
+
appId: this.appId
|
|
55
|
+
});
|
|
54
56
|
setAppDynamicsUserData({
|
|
55
|
-
|
|
56
|
-
instanceId: '',
|
|
57
|
-
userId: ''
|
|
57
|
+
appId: this.appId
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-app-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.16.1-beta.1",
|
|
4
4
|
"description": "ICE MT UI Platform Application SDK ",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
@@ -102,16 +102,16 @@
|
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@elliemae/app-react-dependencies": "~2.10.0",
|
|
104
104
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.2.1",
|
|
105
|
-
"@elliemae/ds-basic": "~1.59.
|
|
106
|
-
"@elliemae/ds-date-picker": "~1.59.
|
|
107
|
-
"@elliemae/ds-modal": "~1.59.
|
|
108
|
-
"@elliemae/ds-popperjs": "~1.59.
|
|
105
|
+
"@elliemae/ds-basic": "~1.59.6",
|
|
106
|
+
"@elliemae/ds-date-picker": "~1.59.6",
|
|
107
|
+
"@elliemae/ds-modal": "~1.59.6",
|
|
108
|
+
"@elliemae/ds-popperjs": "~1.59.6",
|
|
109
109
|
"@elliemae/em-ssf-guest": "~1.11.1",
|
|
110
|
-
"@elliemae/pui-cli": "~5.
|
|
110
|
+
"@elliemae/pui-cli": "~5.17.0",
|
|
111
111
|
"@elliemae/pui-diagnostics": "~2.7.1",
|
|
112
112
|
"@elliemae/pui-e2e-test-sdk": "~6.6.0",
|
|
113
113
|
"@elliemae/pui-micro-frontend-base": "~1.9.0",
|
|
114
|
-
"@elliemae/pui-theme": "~2.2.
|
|
115
|
-
"@elliemae/pui-user-monitoring": "~1.
|
|
114
|
+
"@elliemae/pui-theme": "~2.2.6",
|
|
115
|
+
"@elliemae/pui-user-monitoring": "~1.11.1"
|
|
116
116
|
}
|
|
117
117
|
}
|