@capillarytech/creatives-library 7.17.69-alpha.0 → 7.17.69-alpha.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.69-alpha.0",
4
+ "version": "7.17.69-alpha.1",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -105,7 +105,7 @@ const indexOfEnd = (targetString, string) => {
105
105
  }
106
106
 
107
107
  const skipTags = (tag) => {
108
- const regexGroups = ["dynamic_expiry_date_after_\\d+_days.FORMAT_\\d", "unsubscribe\\(#[a-zA-Z\\d]{6}\\)","Link_to_[a-zA-z]","SURVEY.*.TOKEN", "^[A-Za-z].*\\([a-zA-Z\\d]*\\)"];
108
+ const regexGroups = ["dynamic_expiry_date_after_\\d+_days.FORMAT_\\d", "unsubscribe\\(#[a-zA-Z\\d]{6}\\)","Link_to_[a-zA-z]","SURVEY.*.TOKEN","^[A-Za-z].*\\([\\d]*\\)"];
109
109
  let skipped = false;
110
110
  lodashForEach(regexGroups, (group) => {
111
111
  const groupRegex = new RegExp(group, "g");
@@ -744,6 +744,7 @@ export function SlideBoxContent(props) {
744
744
  getFormSubscriptionData={getFormData}
745
745
  onShowTemplates={onShowTemplates}
746
746
  templateData={templateData}
747
+ selectedOfferDetails={selectedOfferDetails}
747
748
  createNew/>
748
749
  )}
749
750
 
@@ -759,6 +760,7 @@ export function SlideBoxContent(props) {
759
760
  getFormSubscriptionData={getFormData}
760
761
  onShowTemplates={onShowTemplates}
761
762
  templateData={templateData}
763
+ selectedOfferDetails={selectedOfferDetails}
762
764
  createNew/> }
763
765
 
764
766
  {isCreateWhatsapp && (<Whatsapp
@@ -77,6 +77,7 @@ const Viber = (props) => {
77
77
  viber = {},
78
78
  getFormSubscriptionData,
79
79
  viberData = {},
80
+ selectedOfferDetails = [],
80
81
  } = props || {};
81
82
 
82
83
  const { formatMessage } = intl;
@@ -287,6 +288,7 @@ const Viber = (props) => {
287
288
  injectedTags={injectedTags || {}}
288
289
  id={'viber_tags'}
289
290
  userLocale={localStorage.getItem('jlocale') || 'en'}
291
+ selectedOfferDetails={selectedOfferDetails}
290
292
  />
291
293
  </>);
292
294