@capillarytech/creatives-library 8.0.50 → 8.0.51
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
|
@@ -53,6 +53,7 @@ import { v2InAppSagas } from '../InApp/sagas';
|
|
|
53
53
|
import { v2ViberSagas } from '../Viber/sagas';
|
|
54
54
|
import { v2FacebookSagas } from '../Facebook/sagas';
|
|
55
55
|
import createReducer from '../Line/Container/reducer';
|
|
56
|
+
import { v2ZaloSagas } from '../Zalo/saga';
|
|
56
57
|
|
|
57
58
|
const gtm = window.dataLayer || [];
|
|
58
59
|
const {
|
|
@@ -615,6 +616,7 @@ const withEbillSaga = injectSaga({ key: 'ebill', saga: v2EbillSagas });
|
|
|
615
616
|
const withEmailSaga = injectSaga({ key: 'email', saga: v2EmailDuplicateTemplateSaga });
|
|
616
617
|
const withLineContainerSaga = injectSaga({ key: 'lineCreate', saga: v2LineContainerSagas });
|
|
617
618
|
const withMobilePushCreateSaga = injectSaga({ key: 'mobileCreate', saga: v2MobilePushCreateSagas });
|
|
619
|
+
const withZaloSaga = injectSaga({ key: 'zalo', saga: v2ZaloSagas });
|
|
618
620
|
const withWechatMapTemplatesSaga = injectSaga({ key: 'weChatMapTemplate', saga: v2WechatMapTemplatesSagas });
|
|
619
621
|
const withRcsSaga = injectSaga({ key: 'rcs', saga: v2RcsSagas });
|
|
620
622
|
const withInAppSaga = injectSaga({ key: 'inapp', saga: v2InAppSagas });
|
|
@@ -630,6 +632,7 @@ export default compose(
|
|
|
630
632
|
withLineContainerSaga,
|
|
631
633
|
withMobilePushCreateSaga,
|
|
632
634
|
withWechatMapTemplatesSaga,
|
|
635
|
+
withZaloSaga,
|
|
633
636
|
withRcsSaga,
|
|
634
637
|
withInAppSaga,
|
|
635
638
|
withViberSaga,
|
|
@@ -53,6 +53,7 @@ import injectReducer from '../../utils/injectReducer';
|
|
|
53
53
|
import * as globalActions from '../Cap/actions';
|
|
54
54
|
import v2ZaloReducer from './reducer';
|
|
55
55
|
import { v2ZaloSagas } from './saga';
|
|
56
|
+
import { DAEMON } from '@capillarytech/vulcan-react-sdk/utils/sagaInjectorTypes';
|
|
56
57
|
|
|
57
58
|
export const Zalo = (props) => {
|
|
58
59
|
const {
|
|
@@ -506,7 +507,9 @@ const mapDispatchToProps = (dispatch) => ({
|
|
|
506
507
|
|
|
507
508
|
|
|
508
509
|
const withReducer = injectReducer({ key: 'zalo', reducer: v2ZaloReducer });
|
|
509
|
-
|
|
510
|
+
|
|
511
|
+
//DAEMON mode ensures that this saga is not injected twice
|
|
512
|
+
const withZaloSaga = injectSaga({ key: 'zalo', saga: v2ZaloSagas, mode: DAEMON });
|
|
510
513
|
|
|
511
514
|
export default withCreatives({
|
|
512
515
|
WrappedComponent: Zalo,
|