@eo-sdk/client 7.16.9 → 7.16.10

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.
@@ -5481,13 +5481,13 @@
5481
5481
  return this.backend
5482
5482
  .post('/export', queryJson, this.backend.getSearchBase(), {
5483
5483
  observe: 'response',
5484
- responseType: 'text'
5484
+ responseType: 'blob'
5485
5485
  })
5486
5486
  .pipe(operators.tap(function (res) {
5487
5487
  var blob = new Blob([res.body], {
5488
- type: 'text/plain;charset=utf-8'
5488
+ type: 'text/csv;charset=utf-8'
5489
5489
  });
5490
- FileSaver.saveAs(blob, _this.getFileNameFromHttpResponse(res));
5490
+ FileSaver.saveAs(blob, _this.getFileNameFromHttpResponse(res), { autoBom: true });
5491
5491
  }));
5492
5492
  };
5493
5493
  SearchService.prototype.getFileNameFromHttpResponse = function (res) {