@nattyjs/orm 0.0.1-beta.51 → 0.0.1-beta.53

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.cjs CHANGED
@@ -859,12 +859,14 @@ class DbSet {
859
859
  );
860
860
  }
861
861
  async update(entity) {
862
+ const properties = this.getProperties();
862
863
  this.changeTracker.addItem(
863
864
  {
864
865
  tableName: this.getTableName(this.type.name),
865
866
  entity,
866
867
  primaryKeys: this.getPrimaryKeys(this.type.name),
867
- propsDbConfig: this.getPropsDbConfig(entity)
868
+ propsDbConfig: this.getPropsDbConfig(entity),
869
+ properties
868
870
  },
869
871
  EntityState.updated
870
872
  );
package/dist/index.mjs CHANGED
@@ -842,12 +842,14 @@ class DbSet {
842
842
  );
843
843
  }
844
844
  async update(entity) {
845
+ const properties = this.getProperties();
845
846
  this.changeTracker.addItem(
846
847
  {
847
848
  tableName: this.getTableName(this.type.name),
848
849
  entity,
849
850
  primaryKeys: this.getPrimaryKeys(this.type.name),
850
- propsDbConfig: this.getPropsDbConfig(entity)
851
+ propsDbConfig: this.getPropsDbConfig(entity),
852
+ properties
851
853
  },
852
854
  EntityState.updated
853
855
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattyjs/orm",
3
- "version": "0.0.1-beta.51",
3
+ "version": "0.0.1-beta.53",
4
4
  "description": "",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.cjs",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "pg": "8.16.0",
21
21
  "mssql": "^9.1.1",
22
- "@nattyjs/core": "0.0.1-beta.51",
23
- "@nattyjs/common": "0.0.1-beta.51",
24
- "@nattyjs/entity": "0.0.1-beta.51",
25
- "@nattyjs/types": "0.0.1-beta.51"
22
+ "@nattyjs/core": "0.0.1-beta.53",
23
+ "@nattyjs/common": "0.0.1-beta.53",
24
+ "@nattyjs/entity": "0.0.1-beta.53",
25
+ "@nattyjs/types": "0.0.1-beta.53"
26
26
  }
27
27
  }