mario-core 2.9.37-beta → 2.9.38-admin

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/i18n.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export default i18n;
2
+ import i18n from "i18next";
package/dist/index.js CHANGED
@@ -305,10 +305,12 @@ var apiUpload = axios.create({
305
305
  if (!key.includes('learning-plan')) delete localStorage[key];
306
306
  });
307
307
  var userEmail = localStorage.getItem("USER_EMAIL");
308
+ var hostName = window.location.hostname;
308
309
 
309
310
  if (userEmail) {
310
311
  amplitude.getInstance().logEvent("general: session end", {
311
- user_id: userEmail
312
+ user_id: userEmail,
313
+ domain: hostName
312
314
  });
313
315
  amplitude.getInstance().resetSessionId();
314
316
  }