@capillarytech/creatives-library 3.0.7 → 3.0.8

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": "3.0.7",
4
+ "version": "3.0.8",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -49,7 +49,7 @@ function SlideBoxContent(props) {
49
49
  setIsLoadingContent,
50
50
  showTemplateName,
51
51
  onValidationFail,
52
- hideChannel,
52
+ channelsToHide,
53
53
  } = props;
54
54
  const type = messageDetails.type.toLowerCase(); // type is context in get tags values : outbound | dvs | referral | loyalty | coupons
55
55
  const query = { type: !isFullMode && 'embedded', module: isFullMode ? 'defualt' : 'library'};
@@ -96,7 +96,7 @@ function SlideBoxContent(props) {
96
96
  onChannelChange={onChannelChange}
97
97
  onCallTaskSubmit={onCallTaskSubmit}
98
98
  cap={cap}
99
- hideChannel={hideChannel}
99
+ channelsToHide={channelsToHide}
100
100
  />
101
101
  )}
102
102
  {isPreview && (
@@ -270,6 +270,6 @@ SlideBoxContent.propTypes = {
270
270
  mobilePushCreateMode: PropTypes.string,
271
271
  showTemplateName: PropTypes.func,
272
272
  onValidationFail: PropTypes.func,
273
- hideChannel: PropTypes.array,
273
+ channelsToHide: PropTypes.array,
274
274
  };
275
275
  export default SlideBoxContent;