@veloceapps/sdk 11.0.0-18 → 11.0.0-19
Sign up to get free protection for your applications and to get access to all the features.
- package/cms/cms.actions.d.ts +0 -13
- package/esm2020/cms/cms.actions.mjs +1 -13
- package/esm2020/core/services/flow-state.service.mjs +4 -4
- package/fesm2015/veloceapps-sdk-cms.mjs +0 -12
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +3 -3
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +0 -12
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +3 -3
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/package.json +1 -1
@@ -620,8 +620,8 @@ class FlowStateService {
|
|
620
620
|
this.cleanup$ = new Subject();
|
621
621
|
this.statefulExecutionRequest$ = this.initBufferedRequest$();
|
622
622
|
/*
|
623
|
-
In stateless mode watch
|
624
|
-
all subscriptions get their updates according to updated
|
623
|
+
In stateless mode watch State changes and call executeRequest so that
|
624
|
+
all subscriptions get their updates according to updated State
|
625
625
|
*/
|
626
626
|
this.isInitialized$()
|
627
627
|
.pipe(filter$1(Boolean), filter$1(() => !this.flowInfoService.flow.properties.stateful), switchMap(() => this.flowConfiguration.updated$), switchMap(() => this.executeRequest$({}, true)))
|
@@ -906,7 +906,7 @@ class FlowStateService {
|
|
906
906
|
}
|
907
907
|
executeStatelessSelectors(request) {
|
908
908
|
if (!this.salesTransactionService.state) {
|
909
|
-
throw '
|
909
|
+
throw 'State is not initialized';
|
910
910
|
}
|
911
911
|
const flowState = this.salesTransactionService.state;
|
912
912
|
return EntityUtil.entries(request.selectors ?? {}).reduce((result, [key, selector]) => {
|