@trudb/tru-common-lib 0.0.505 → 0.0.506

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.
@@ -2016,11 +2016,11 @@ class TruDataChangeParser {
2016
2016
  this.dataChanged$ = new Subject();
2017
2017
  this.findEntityInCache = (change) => {
2018
2018
  var entityAccessor = this.dataContext.entityAccess(change.tableName);
2019
- return entityAccessor.searchByRefCacheOnly(this.entity, parseInt(change.tableRef, 10), true)[0];
2019
+ return entityAccessor.searchByRefCacheOnly(this.entity, parseInt(change.tableRef, 10), true);
2020
2020
  };
2021
2021
  this.findEntityInGlobalCache = (change) => {
2022
2022
  var entityAccessor = this.globalDataContext.entityAccess(change.tableName);
2023
- return entityAccessor.getByRefCacheOnly(parseInt(change.tableRef, 10), true)[0];
2023
+ return entityAccessor.getByRefCacheOnly(parseInt(change.tableRef, 10), true);
2024
2024
  };
2025
2025
  this.checkIfDateTime = (newValue, currentValue, typeName) => {
2026
2026
  if (typeName === 'date-time' || typeName === 'date') {