@capillarytech/creatives-library 8.0.177 → 8.0.178-beta.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": "8.0.177",
4
+ "version": "8.0.178-beta.0",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -7,8 +7,7 @@ import * as Api from '../../services/api';
7
7
  import * as types from './constants';
8
8
  import { saveCdnConfigs, removeAllCdnLocalStorageItems } from '../../utils/cdnTransformation';
9
9
  import { COPY_OF } from '../../constants/unified';
10
- import { ZALO_TEMPLATE_INFO_REQUEST } from '../Zalo/constants';
11
- import { getTemplateInfoById } from '../Zalo/saga';
10
+ // Removed Zalo imports - handled by Zalo component's own saga
12
11
  import { watchCreateTemplate } from '../MobilePushNew/sagas';
13
12
  // Individual exports for testing
14
13
  export function* getAllTemplates(channel, queryParams) {
@@ -227,9 +226,7 @@ export function* watchGetCdnTransformationConfig() {
227
226
  );
228
227
  }
229
228
 
230
- export function* watchForGetTemplateInfoById() {
231
- yield takeLatest(ZALO_TEMPLATE_INFO_REQUEST, getTemplateInfoById);
232
- }
229
+ // Removed watchForGetTemplateInfoById - handled by Zalo component's own saga
233
230
 
234
231
  // All sagas to be loaded
235
232
  export default [
@@ -255,7 +252,7 @@ export function* v2TemplateSaga() {
255
252
  watchGetCdnTransformationConfig(),
256
253
  watchFetchWeCrmAccounts(),
257
254
  watchGetSenderDetails(),
258
- watchForGetTemplateInfoById(),
255
+ // Removed watchForGetTemplateInfoById() - this is handled by Zalo component's own saga
259
256
  ]);
260
257
  }
261
258