@embedreach/components 0.2.2 → 0.2.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.
@@ -2834,6 +2834,10 @@ var AutomationTriggerType = /* @__PURE__ */ ((AutomationTriggerType2) => {
2834
2834
  AutomationTriggerType2["TRIGGER_BASED"] = "trigger_based";
2835
2835
  return AutomationTriggerType2;
2836
2836
  })(AutomationTriggerType || {});
2837
+ var ReachEventNamesEnum = /* @__PURE__ */ ((ReachEventNamesEnum2) => {
2838
+ ReachEventNamesEnum2["USER_ENTERS_SEGMENT"] = "USER_ENTERS_SEGMENT";
2839
+ return ReachEventNamesEnum2;
2840
+ })(ReachEventNamesEnum || {});
2837
2841
  var ActionType = /* @__PURE__ */ ((ActionType2) => {
2838
2842
  ActionType2["SEND_COMMUNICATION"] = "send_communication";
2839
2843
  ActionType2["WAIT_UNTIL_NEXT_FIXED_TIME"] = "wait_until_next_fixed_time";
@@ -79789,7 +79793,7 @@ const AutomationEditorTrigger = () => {
79789
79793
  const renderTriggerData = () => {
79790
79794
  switch (automation2.triggerType) {
79791
79795
  case AutomationTriggerType.TRIGGER_BASED: {
79792
- if (automation2.triggerMetadata.triggerType !== AutomationTriggerType.TRIGGER_BASED || automation2.triggerMetadata.eventName !== "USER_JOINED_SEGMENT" || !automation2.triggerMetadata.eventFilter.segment_id) {
79796
+ if (automation2.triggerMetadata.triggerType !== AutomationTriggerType.TRIGGER_BASED || automation2.triggerMetadata.eventName !== ReachEventNamesEnum.USER_ENTERS_SEGMENT || !automation2.triggerMetadata.eventFilter.segment_id) {
79793
79797
  return null;
79794
79798
  }
79795
79799
  const segmentId = automation2.triggerMetadata.eventFilter.segment_id;