@capillarytech/creatives-library 2.0.19 → 2.0.20

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.
@@ -50,3 +50,9 @@ export function fetchSchemaForEntity(queryParams) {
50
50
  type: types.GET_SCHEMA_FOR_ENTITY_REQUEST, queryParams,
51
51
  };
52
52
  }
53
+
54
+ export function clearMetaEntities() {
55
+ return {
56
+ type: types.CLEAR_META_ENTITIES,
57
+ };
58
+ }
@@ -349,6 +349,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
349
349
  console.log('removed listener templates');
350
350
  window.removeEventListener("message", this.handleFrameTasks);
351
351
  this.props.actions.resetTemplateStoreData();
352
+ this.props.globalActions.clearMetaEntities();
352
353
  // this.setState({defaultAccount: false});
353
354
  }
354
355
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "2.0.19",
4
+ "version": "2.0.20",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",