@capillarytech/creatives-library 8.0.39 → 8.0.40
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
|
@@ -51,6 +51,7 @@ import {
|
|
|
51
51
|
CapStatus,
|
|
52
52
|
CapColoredTag,
|
|
53
53
|
} from '@capillarytech/cap-ui-library';
|
|
54
|
+
import injectSaga from '../../utils/injectSaga';
|
|
54
55
|
import { makeSelectTemplates, makeSelectTemplatesResponse } from './selectors';
|
|
55
56
|
import { makeSelectCreate as makeSelectCreateSms} from '../Sms/Create/selectors';
|
|
56
57
|
import { makeSelectCreate as makeSelectCreateMobilePush } from '../MobilePush/Create/selectors';
|
|
@@ -135,6 +136,7 @@ import { GA } from '@capillarytech/cap-ui-utils';
|
|
|
135
136
|
import { MAPP_SDK } from '../InApp/constants';
|
|
136
137
|
import injectReducer from '../../utils/injectReducer';
|
|
137
138
|
import v2TemplateReducer from './reducer';
|
|
139
|
+
import { v2ZaloSagas } from '../Zalo/saga';
|
|
138
140
|
import { compose } from 'redux';
|
|
139
141
|
|
|
140
142
|
const { timeTracker } = GA;
|
|
@@ -3236,6 +3238,7 @@ const withReducer = injectReducer({ key: 'templates', reducer: v2TemplateReducer
|
|
|
3236
3238
|
const withConnect = connect(mapStateToProps, mapDispatchToProps);
|
|
3237
3239
|
|
|
3238
3240
|
export default compose(
|
|
3241
|
+
injectSaga({ key: 'zalo', saga: v2ZaloSagas }),
|
|
3239
3242
|
UserIsAuthenticated,
|
|
3240
3243
|
withReducer,
|
|
3241
3244
|
withConnect,
|
|
@@ -52,7 +52,6 @@ import injectSaga from '../../utils/injectSaga';
|
|
|
52
52
|
import injectReducer from '../../utils/injectReducer';
|
|
53
53
|
import * as globalActions from '../Cap/actions';
|
|
54
54
|
import v2ZaloReducer from './reducer';
|
|
55
|
-
import { v2ZaloSagas } from './saga';
|
|
56
55
|
|
|
57
56
|
export const Zalo = (props) => {
|
|
58
57
|
const {
|
|
@@ -506,7 +505,6 @@ const mapDispatchToProps = (dispatch) => ({
|
|
|
506
505
|
|
|
507
506
|
|
|
508
507
|
const withReducer = injectReducer({ key: 'zalo', reducer: v2ZaloReducer });
|
|
509
|
-
const withZaloSaga = injectSaga({ key: 'zalo', saga: v2ZaloSagas });
|
|
510
508
|
|
|
511
509
|
export default withCreatives({
|
|
512
510
|
WrappedComponent: Zalo,
|
|
@@ -514,5 +512,4 @@ export default withCreatives({
|
|
|
514
512
|
mapDispatchToProps,
|
|
515
513
|
userAuth: true,
|
|
516
514
|
reducers: [withReducer],
|
|
517
|
-
sagas: [withZaloSaga],
|
|
518
515
|
});
|