@widergy/mobile-ui 1.26.1 → 1.26.3
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/CHANGELOG.md +14 -0
- package/lib/index.js +1 -0
- package/lib/utils/analyticsUtils/index.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.26.3](https://github.com/widergy/mobile-ui/compare/v1.26.2...v1.26.3) (2024-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* mixpanel utility id ([#364](https://github.com/widergy/mobile-ui/issues/364)) ([bf59559](https://github.com/widergy/mobile-ui/commit/bf59559b108f847dc010b5a5c180610cecb3f3b7))
|
|
7
|
+
|
|
8
|
+
## [1.26.2](https://github.com/widergy/mobile-ui/compare/v1.26.1...v1.26.2) (2024-09-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* export utbanner ([#366](https://github.com/widergy/mobile-ui/issues/366)) ([83289d5](https://github.com/widergy/mobile-ui/commit/83289d5a5bcee030f74751fd16ba560a27650b2c))
|
|
14
|
+
|
|
1
15
|
## [1.26.1](https://github.com/widergy/mobile-ui/compare/v1.26.0...v1.26.1) (2024-09-26)
|
|
2
16
|
|
|
3
17
|
|
package/lib/index.js
CHANGED
|
@@ -67,6 +67,7 @@ export { default as UTTooltip } from './components/UTTooltip';
|
|
|
67
67
|
export { default as UTTracker } from './components/UTTracker';
|
|
68
68
|
export { default as UTValidation } from './components/UTValidation';
|
|
69
69
|
export { default as UTWorkflowContainer } from './components/UTWorkflowContainer';
|
|
70
|
+
export { default as UTBanner } from './components/UTBanner';
|
|
70
71
|
|
|
71
72
|
// Theming
|
|
72
73
|
export * from './theming';
|
|
@@ -67,13 +67,13 @@ export const multiTracking = trackerArgumentsArray =>
|
|
|
67
67
|
createAnalyticsMiddleware(trackerArguments.eventsMapper, trackerArguments.analytics)
|
|
68
68
|
);
|
|
69
69
|
|
|
70
|
-
export const mixpanelUserIdentify = mixpanelInstance => userProfileProperties => {
|
|
71
|
-
const { id, externalId = '' } = userProfileProperties;
|
|
70
|
+
export const mixpanelUserIdentify = mixpanelInstance => (userProfileProperties, utilityId) => {
|
|
71
|
+
const { id, externalId = '', email } = userProfileProperties;
|
|
72
72
|
if (mixpanelInstance) {
|
|
73
|
-
mixpanelInstance.identify(`${id}${externalId}`);
|
|
73
|
+
mixpanelInstance.identify(`${utilityId}${id}${externalId}`);
|
|
74
74
|
mixpanelInstance.getPeople().set({
|
|
75
|
-
$name: `${id}${externalId}`,
|
|
76
|
-
$email: null,
|
|
75
|
+
$name: `${utilityId}${id}${externalId}`,
|
|
76
|
+
$email: email ?? null,
|
|
77
77
|
...userProfileProperties
|
|
78
78
|
});
|
|
79
79
|
}
|
package/package.json
CHANGED