@capillarytech/creatives-library 7.17.71 → 7.17.73-alpha.0

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.71",
4
+ "version": "7.17.73-alpha.0",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -33,7 +33,7 @@ import * as globalActions from '../../containers/Cap/actions';
33
33
  import { TagList } from '../TagList';
34
34
  import { NO_COMMUNICATION, CREATE, EDIT, PREVIEW } from '../App/constants';
35
35
  import { getTreeStructuredTags } from '../../utils/common';
36
- import { transformInjectedTags, checkIfSupportedTag } from '../../utils/tagValidations';
36
+ import { transformInjectedTags, checkIfSupportedTag, skipTags } from '../../utils/tagValidations';
37
37
 
38
38
  const UIView = {
39
39
  serverSelection: 'serverSelection',
@@ -258,6 +258,10 @@ export class FTP extends React.Component {
258
258
  let ifSupported = !!flatTags.find((t) => t === tag[0]);
259
259
  const tagValue = tag[0].substring(this.indexOfEnd(tag[0], '{{'), tag[0].indexOf('}}'));
260
260
  ifSupported = ifSupported || checkIfSupportedTag(tagValue, injectedTags);
261
+ const ifSkipped = skipTags(tagValue);
262
+ if (ifSkipped) {
263
+ ifSupported = true;
264
+ }
261
265
  if (!ifSupported) {
262
266
  response.unsupportedTags.push(tagValue);
263
267
  response.valid = false;
@@ -590,7 +590,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
590
590
  name: this.state.searchText,
591
591
  sortBy: this.state.sortBy,
592
592
  };
593
- }
593
+ }
594
594
 
595
595
  const {name, sourceAccountIdentifier, configs } = weCrmAccountsList?.[0] || {};
596
596
  const {