@ruiapp/rapid-core 0.1.16 → 0.1.17

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.
package/dist/index.js CHANGED
@@ -2262,7 +2262,7 @@ class EntityManager {
2262
2262
  return await findEntity(this.#server, this.#dataAccessor, options);
2263
2263
  }
2264
2264
  async findById(id, keepNonPropertyFields = false) {
2265
- return await findById(this.#server, this.#dataAccessor, id);
2265
+ return await findById(this.#server, this.#dataAccessor, id, keepNonPropertyFields);
2266
2266
  }
2267
2267
  async createEntity(options, plugin) {
2268
2268
  const model = this.getModel();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruiapp/rapid-core",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "keywords": [],
@@ -719,7 +719,7 @@ export default class EntityManager<TEntity=any> {
719
719
  }
720
720
 
721
721
  async findById(id: any, keepNonPropertyFields: boolean = false): Promise<TEntity | null> {
722
- return await findById(this.#server, this.#dataAccessor, id);
722
+ return await findById(this.#server, this.#dataAccessor, id, keepNonPropertyFields);
723
723
  }
724
724
 
725
725
  async createEntity(options: CreateEntityOptions, plugin: RapidPlugin): Promise<TEntity> {