mario-core 2.9.117-beta → 2.9.120-role

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 CHANGED
@@ -2603,8 +2603,8 @@ var QUESTION_TYPES_OPTIONS = [{
2603
2603
  label: "Learning strategy",
2604
2604
  value: "LearningStrategy"
2605
2605
  }, {
2606
- label: "Dropdown",
2607
- value: "Dropdown"
2606
+ label: "DropDown",
2607
+ value: "DropDown"
2608
2608
  }];
2609
2609
  var QUESTION_TYPES = {
2610
2610
  SINGLE_CHOICE: "SingleChoice",
@@ -2618,7 +2618,7 @@ var QUESTION_TYPES = {
2618
2618
  SUMMARIZE: "Summarize",
2619
2619
  RATING: "Rating",
2620
2620
  LEARNING_STRATEGY: "LearningStrategy",
2621
- DROPDOWN: "Dropdown"
2621
+ DROPDOWN: "DropDown"
2622
2622
  };
2623
2623
  var STAR_OPTIONS = [{
2624
2624
  label: 2,
@@ -2898,6 +2898,9 @@ var useLogin = function useLogin() {
2898
2898
  includeUtm: false
2899
2899
  });
2900
2900
  var hostName = window.location.hostname;
2901
+ amplitude.getInstance().setUserProperties({
2902
+ 'domain': hostName
2903
+ });
2901
2904
  amplitude.getInstance().logEvent("general: session start", {
2902
2905
  user_id: data.email,
2903
2906
  domain: hostName,