@opra/elastic 1.5.6 → 1.5.7

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.
@@ -215,7 +215,7 @@ class ElasticEntityService extends elastic_service_js_1.ElasticService {
215
215
  sort: options?.sort
216
216
  ? elastic_adapter_js_1.ElasticAdapter.prepareSort(options?.sort)
217
217
  : undefined,
218
- _source: elastic_adapter_js_1.ElasticAdapter.prepareProjection(this.dataType, options?.projection, this.scope),
218
+ _source: elastic_adapter_js_1.ElasticAdapter.prepareProjection(this.dataType, options?.projection, this._dataTypeScope),
219
219
  index: this.getIndexName(),
220
220
  ...options?.request,
221
221
  query,
@@ -212,7 +212,7 @@ export class ElasticEntityService extends ElasticService {
212
212
  sort: options?.sort
213
213
  ? ElasticAdapter.prepareSort(options?.sort)
214
214
  : undefined,
215
- _source: ElasticAdapter.prepareProjection(this.dataType, options?.projection, this.scope),
215
+ _source: ElasticAdapter.prepareProjection(this.dataType, options?.projection, this._dataTypeScope),
216
216
  index: this.getIndexName(),
217
217
  ...options?.request,
218
218
  query,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/elastic",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "Opra Elastic Search adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "peerDependencies": {
13
13
  "@elastic/elasticsearch": ">=8.7.0",
14
- "@opra/common": "^1.5.6",
15
- "@opra/core": "^1.5.6"
14
+ "@opra/common": "^1.5.7",
15
+ "@opra/core": "^1.5.7"
16
16
  },
17
17
  "type": "module",
18
18
  "exports": {