@smartbit4all/ng-client 3.1.46 → 3.1.47

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.
@@ -1555,7 +1555,9 @@ class ViewService {
1555
1555
  let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1556
1556
  if (localVarHttpHeaderAcceptSelected === undefined) {
1557
1557
  // to determine the Accept header
1558
- const httpHeaderAccepts = [];
1558
+ const httpHeaderAccepts = [
1559
+ 'application/json'
1560
+ ];
1559
1561
  localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
1560
1562
  }
1561
1563
  if (localVarHttpHeaderAcceptSelected !== undefined) {
@@ -2949,10 +2951,10 @@ class SmartViewContextService {
2949
2951
  return uuid;
2950
2952
  }
2951
2953
  async message(messageData, messageResult) {
2952
- await this.view
2954
+ return await this.handlePerformActionResponse(await this.view
2953
2955
  .message(messageData.viewUuid ?? '', messageData.uuid, messageResult)
2954
- .toPromise();
2955
- await this.getAndSyncViewContext();
2956
+ .toPromise());
2957
+ // in future use this.apiQueueService.addToQueue
2956
2958
  }
2957
2959
  async getSmartViewContextApiErrorByCode(code) {
2958
2960
  let buttonLabel;