av6-core 1.4.4 → 1.4.5

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
@@ -942,7 +942,7 @@ var buildRelationWrite = (rel, op, env) => {
942
942
  if (Number.isFinite(pkNum)) incomingIds.push(pkNum);
943
943
  updateItems.push({
944
944
  where: { [itemPrimaryKey]: pkNum },
945
- update: omitUndefined(dataUpdate)
945
+ data: omitUndefined(dataUpdate)
946
946
  });
947
947
  }
948
948
  const payload = {};
package/dist/index.mjs CHANGED
@@ -892,7 +892,7 @@ var buildRelationWrite = (rel, op, env) => {
892
892
  if (Number.isFinite(pkNum)) incomingIds.push(pkNum);
893
893
  updateItems.push({
894
894
  where: { [itemPrimaryKey]: pkNum },
895
- update: omitUndefined(dataUpdate)
895
+ data: omitUndefined(dataUpdate)
896
896
  });
897
897
  }
898
898
  const payload = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "av6-core",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",