@veloceapps/sdk 11.0.0-18 → 11.0.0-19
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/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
@@ -496,8 +496,8 @@ class FlowStateService {
|
|
496
496
|
this.cleanup$ = new Subject();
|
497
497
|
this.statefulExecutionRequest$ = this.initBufferedRequest$();
|
498
498
|
/*
|
499
|
-
In stateless mode watch
|
500
|
-
all subscriptions get their updates according to updated
|
499
|
+
In stateless mode watch State changes and call executeRequest so that
|
500
|
+
all subscriptions get their updates according to updated State
|
501
501
|
*/
|
502
502
|
this.isInitialized$()
|
503
503
|
.pipe(filter(Boolean), filter(() => !this.flowInfoService.flow.properties.stateful), switchMap(() => this.flowConfiguration.updated$), switchMap(() => this.executeRequest$({}, true)))
|
@@ -793,7 +793,7 @@ class FlowStateService {
|
|
793
793
|
executeStatelessSelectors(request) {
|
794
794
|
var _a;
|
795
795
|
if (!this.salesTransactionService.state) {
|
796
|
-
throw '
|
796
|
+
throw 'State is not initialized';
|
797
797
|
}
|
798
798
|
const flowState = this.salesTransactionService.state;
|
799
799
|
return EntityUtil.entries((_a = request.selectors) !== null && _a !== void 0 ? _a : {}).reduce((result, [key, selector]) => {
|