@capillarytech/creatives-library 7.10.69 → 7.10.71

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.10.69",
4
+ "version": "7.10.71",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -12,7 +12,6 @@
12
12
  },
13
13
  "license": "LicenseRef-LICENSE",
14
14
  "dependencies": {
15
- "@babel/polyfill": "7.4.3",
16
15
  "@bugsnag/js": "^7.2.1",
17
16
  "@bugsnag/plugin-react": "^7.2.1",
18
17
  "@capillarytech/cap-ui-utils": "1.4.2",
@@ -718,6 +718,9 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
718
718
  }
719
719
  }
720
720
  }
721
+ if ((this.state.channel || '').toLowerCase() === "sms" && isTraiDltFeature) {
722
+ queryParams.traiEnable = true;
723
+ }
721
724
 
722
725
  this.setState({page, templatesCount}, () => {
723
726
  queryParams.page = page;
@@ -2560,7 +2563,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
2560
2563
 
2561
2564
  {
2562
2565
  channel.toLowerCase() === WHATSAPP_LOWERCASE && !isFullMode ? (
2563
- <CapInfoNote message={messages.whatsappOnlyApprovedTemplates} />
2566
+ <CapInfoNote message={formatMessage(messages.whatsappOnlyApprovedTemplates)} />
2564
2567
  ) : null
2565
2568
  }
2566
2569