mario-core 2.9.371-release → 2.9.372-release
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/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38968,7 +38968,9 @@ var useLogin = function useLogin() {
|
|
|
38968
38968
|
if (data !== null && data !== void 0 && data.email && !roles.includes("Admin")) {
|
|
38969
38969
|
var _data$roles;
|
|
38970
38970
|
|
|
38971
|
-
amplitude.init(!isLocalhost ? INIT_AMPLITUDE_KEY_PROD : INIT_AMPLITUDE_KEY_STAGE, data.email
|
|
38971
|
+
amplitude.init(!isLocalhost ? INIT_AMPLITUDE_KEY_PROD : INIT_AMPLITUDE_KEY_STAGE, data.email, {
|
|
38972
|
+
defaultTracking: false
|
|
38973
|
+
});
|
|
38972
38974
|
var hostName = window.location.hostname;
|
|
38973
38975
|
var identify = new amplitude.Identify();
|
|
38974
38976
|
identify.set("domain", hostName);
|