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