@capillarytech/creatives-library 8.0.76 → 8.0.78

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": "8.0.76",
4
+ "version": "8.0.78",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -227,6 +227,8 @@ export class EmailWrapper extends React.Component { // eslint-disable-line react
227
227
  moduleType,
228
228
  showLiquidErrorInFooter,
229
229
  eventContextTags,
230
+ // Flag to enable loyalty module specific features in the email editor
231
+ isLoyaltyModule,
230
232
  } = this.props;
231
233
  const {
232
234
  templateName,
@@ -300,6 +302,7 @@ export class EmailWrapper extends React.Component { // eslint-disable-line react
300
302
  editor={editor}
301
303
  moduleType={moduleType}
302
304
  eventContextTags={eventContextTags}
305
+ isLoyaltyModule={isLoyaltyModule}
303
306
  />}
304
307
  {!isShowEmailCreate && (
305
308
  <CmsTemplatesComponent
@@ -346,6 +349,7 @@ EmailWrapper.propTypes = {
346
349
  onEnterTemplateName: PropTypes.func,
347
350
  onRemoveTemplateName: PropTypes.func,
348
351
  eventContextTags: PropTypes.array,
352
+ isLoyaltyModule: PropTypes.bool,
349
353
  };
350
354
 
351
355
  const mapStateToProps = createStructuredSelector({