@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.
@@ -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 QuoteDraft changes and call executeRequest so that
500
- all subscriptions get their updates according to updated QuoteDraft
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 'QuoteDraft is not initialized';
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]) => {