@zeniai/client-epic-state 4.18.26 → 4.18.27

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.
@@ -33,8 +33,15 @@ const reportsResyncEpic = (actions$, _, zeniAPI) => actions$.pipe((0, operators_
33
33
  type: 'error',
34
34
  }),
35
35
  ]);
36
- }), (0, operators_1.catchError)((error) => (0, rxjs_1.of)((0, reportsResyncReducer_1.reportsResyncFailure)({
37
- error: (0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Resync API call errored out: ' + JSON.stringify(error)),
38
- }))));
36
+ }), (0, operators_1.catchError)((error) => (0, rxjs_1.from)([
37
+ (0, reportsResyncReducer_1.reportsResyncFailure)({
38
+ error: (0, responsePayload_1.createZeniAPIStatus)('Unexpected error', 'Resync API call errored out: ' + JSON.stringify(error)),
39
+ }),
40
+ (0, snackbarReducer_1.openSnackbar)({
41
+ messageSection: 'reports_resync',
42
+ messageText: 'failed',
43
+ type: 'error',
44
+ }),
45
+ ])));
39
46
  }));
40
47
  exports.reportsResyncEpic = reportsResyncEpic;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.18.26",
3
+ "version": "4.18.27",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",