@veloceapps/sdk 8.0.0-145 → 8.0.0-147
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 +4 -3
- package/esm2020/src/guards/flow.guard.mjs +8 -2
- package/esm2020/src/pages/record-not-found/record-not-found.component.mjs +6 -3
- package/esm2020/src/resolvers/flow.resolver.mjs +4 -2
- package/esm2020/src/resolvers/quote.resolver.mjs +4 -3
- package/esm2020/src/services/flow-router.service.mjs +6 -3
- package/fesm2015/veloceapps-sdk-core.mjs +4 -1
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs +22 -9
- 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 +22 -9
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
- package/src/pages/record-not-found/record-not-found.component.d.ts +2 -0
- package/src/services/flow-router.service.d.ts +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(() =>
|