@capillarytech/creatives-library 8.0.4 → 8.0.5
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
|
@@ -40,7 +40,7 @@ import RenderRoute from '../../v2Components/RenderRoute';
|
|
|
40
40
|
import injectReducer from '../../utils/injectReducer';
|
|
41
41
|
import injectSaga from '../../utils/injectSaga';
|
|
42
42
|
import reducer from './reducer';
|
|
43
|
-
import {
|
|
43
|
+
import { v2CapSagas } from './sagas';
|
|
44
44
|
import { v2SmsCreateSagas } from '../Sms/Create/sagas';
|
|
45
45
|
import { v2EbillSagas } from '../Ebill/sagas';
|
|
46
46
|
import { v2EmailSagas } from '../Email/sagas';
|
|
@@ -606,7 +606,7 @@ function mapDispatchToProps(dispatch) {
|
|
|
606
606
|
|
|
607
607
|
const withConnect = connect(mapStateToProps, mapDispatchToProps);
|
|
608
608
|
const withReducer = injectReducer({ key: 'cap', reducer });
|
|
609
|
-
const withSaga = injectSaga({ key: 'cap', saga:
|
|
609
|
+
const withSaga = injectSaga({ key: 'cap', saga: v2CapSagas });
|
|
610
610
|
const withSmsCreateSaga = injectSaga({ key: 'create', saga: v2SmsCreateSagas });
|
|
611
611
|
const withEbillSaga = injectSaga({ key: 'ebill', saga: v2EbillSagas });
|
|
612
612
|
const withEmailSaga = injectSaga({ key: 'email', saga: v2EmailSagas });
|
|
@@ -229,19 +229,13 @@ export default [
|
|
|
229
229
|
];
|
|
230
230
|
|
|
231
231
|
|
|
232
|
-
export function*
|
|
232
|
+
export function* capSagaForFetchSchemaForEntity() {
|
|
233
233
|
yield all([
|
|
234
|
-
loginFlow(),
|
|
235
|
-
watchForOrgChange(),
|
|
236
|
-
watchForLogoutFlow(),
|
|
237
|
-
watchForFetchUserInfo(),
|
|
238
234
|
watchFetchSchemaForEntity(),
|
|
239
|
-
watchGetTopbarMenuData(),
|
|
240
|
-
watchForGetVideosConfig(),
|
|
241
235
|
])
|
|
242
236
|
}
|
|
243
237
|
|
|
244
|
-
export function*
|
|
238
|
+
export function* v2CapSagas() {
|
|
245
239
|
yield all([
|
|
246
240
|
loginFlow(),
|
|
247
241
|
watchForOrgChange(),
|
|
@@ -45,7 +45,7 @@ import injectReducer from '../../utils/injectReducer'
|
|
|
45
45
|
import injectSaga from '../../utils/injectSaga';
|
|
46
46
|
import creativesContainerReducer from './reducer';
|
|
47
47
|
import { compose } from 'redux';
|
|
48
|
-
import {
|
|
48
|
+
import { capSagaForFetchSchemaForEntity } from '../Cap/sagas';
|
|
49
49
|
|
|
50
50
|
const classPrefix = 'add-creatives-section';
|
|
51
51
|
const CREATIVES_CONTAINER = 'creativesContainer';
|
|
@@ -1355,6 +1355,6 @@ function mapDispatchToProps(dispatch) {
|
|
|
1355
1355
|
|
|
1356
1356
|
const withConnect = connect(mapStatesToProps, mapDispatchToProps);
|
|
1357
1357
|
const withReducer = injectReducer({ key: 'creativesContainer', reducer: creativesContainerReducer });
|
|
1358
|
-
const withSaga = injectSaga({ key: 'cap', saga:
|
|
1358
|
+
const withSaga = injectSaga({ key: 'cap', saga: capSagaForFetchSchemaForEntity });
|
|
1359
1359
|
|
|
1360
1360
|
export default compose(withSaga, withReducer, withConnect)(injectIntl(Creatives));
|