@embedreach/components 0.1.83 → 0.1.84

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.
@@ -47076,7 +47076,6 @@ const StripoWrapper = ({
47076
47076
  console.error("Failed to compile email:", error2);
47077
47077
  return;
47078
47078
  }
47079
- console.log("updating email html body", html);
47080
47079
  updateCommunicationGroup2({
47081
47080
  groupId: template2.communicationGroupId,
47082
47081
  params: {
@@ -47266,7 +47265,6 @@ const EmailPreview = ({
47266
47265
  setIsUpdating(true);
47267
47266
  const updateGroup = async () => {
47268
47267
  try {
47269
- console.log("updating email channel sender id", fromEmail);
47270
47268
  updateCommunicationGroup2({
47271
47269
  groupId: communicationGroup.id,
47272
47270
  params: {
@@ -47316,7 +47314,6 @@ const EmailPreview = ({
47316
47314
  if (allEmailSenders[0]) {
47317
47315
  const channelSender = allEmailSenders[0];
47318
47316
  setFromEmail(channelSender.id);
47319
- console.log("updating email channel sender id", channelSender.id);
47320
47317
  updateCommunicationGroup2({
47321
47318
  groupId: communicationGroup.id,
47322
47319
  params: {
@@ -47874,7 +47871,6 @@ const SMSPreview = ({ automation: automation2, iconDefinitions, mergeFieldsRespo
47874
47871
  setIsUpdating(true);
47875
47872
  const communicationGroupId = _getCommunicationGroupFromAutomation();
47876
47873
  if (communicationGroupId) {
47877
- console.log("updating sms channel sender id", debouncedFromNumber);
47878
47874
  updateCommunicationGroup2({
47879
47875
  groupId: communicationGroupId,
47880
47876
  params: {
@@ -47919,7 +47915,6 @@ const SMSPreview = ({ automation: automation2, iconDefinitions, mergeFieldsRespo
47919
47915
  if (smsChannelSenders2?.[0]) {
47920
47916
  setFromNumber(smsChannelSenders2[0].id);
47921
47917
  if (communicationGroup?.id) {
47922
- console.log("updating sms channel sender id to something newww");
47923
47918
  updateCommunicationGroup2({
47924
47919
  groupId: communicationGroup.id,
47925
47920
  params: { sms_channel_sender_id: smsChannelSenders2[0].id }
@@ -48092,7 +48087,6 @@ const EditCampaignContent = ({
48092
48087
  return;
48093
48088
  }
48094
48089
  if (!selectedChannels.includes("email") && communicationGroup?.email_channel_sender_id !== null) {
48095
- console.log("updating email channel sender id to null");
48096
48090
  updateCommunicationGroup2({
48097
48091
  groupId: finalCommunicationGroupId,
48098
48092
  params: {
@@ -48101,7 +48095,6 @@ const EditCampaignContent = ({
48101
48095
  });
48102
48096
  }
48103
48097
  if (!selectedChannels.includes("sms") && communicationGroup?.sms_channel_sender_id !== null) {
48104
- console.log("updating sms channel sender id to null");
48105
48098
  updateCommunicationGroup2({
48106
48099
  groupId: finalCommunicationGroupId,
48107
48100
  params: {
@@ -48167,7 +48160,6 @@ const EditCampaignContent = ({
48167
48160
  variant: "destructive"
48168
48161
  });
48169
48162
  }
48170
- console.log("updating extra merge fields");
48171
48163
  updateCommunicationGroup2({
48172
48164
  groupId: communicationGroup?.id,
48173
48165
  params: { extra_merge_fields: extraFields }
@@ -48250,7 +48242,6 @@ const EditCampaignContent = ({
48250
48242
  });
48251
48243
  } else {
48252
48244
  if (communicationGroup?.id && communicationGroup.extra_merge_fields !== null) {
48253
- console.log("updating extra merge fields to null");
48254
48245
  updateCommunicationGroup2({
48255
48246
  groupId: communicationGroup?.id,
48256
48247
  params: { extra_merge_fields: null }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embedreach/components",
3
- "version": "0.1.83",
3
+ "version": "0.1.84",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",