@veloceapps/sdk 8.0.0-146 → 8.0.0-148
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/core/services/flow-state.service.mjs +6 -3
- package/esm2020/src/guards/context.guard.mjs +1 -1
- package/esm2020/src/resolvers/flow.resolver.mjs +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +4 -1
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +4 -1
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
@@ -1089,7 +1089,10 @@ class FlowStateService {
|
|
1089
1089
|
};
|
1090
1090
|
this.statefulExecutionInProgress$.next(true);
|
1091
1091
|
return this.flowStateApiService.execute(this.stateId$.value, request);
|
1092
|
-
}), tap$1(({ stateId }) => this.stateId$.next(stateId)), share(), tap$1(() => this.statefulExecutionInProgress$.next(false))
|
1092
|
+
}), tap$1(({ stateId }) => this.stateId$.next(stateId)), share(), tap$1(() => this.statefulExecutionInProgress$.next(false)), catchError(e => {
|
1093
|
+
this.statefulExecutionInProgress$.next(false);
|
1094
|
+
return throwError(() => e);
|
1095
|
+
}));
|
1093
1096
|
}
|
1094
1097
|
executeStateful$(request) {
|
1095
1098
|
return this.statefulExecutionInProgress$.pipe(filter$1(inProgress => !inProgress), take$1(1), switchMap(() =>
|