@cadenza.io/service 2.17.39 → 2.17.40
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/browser/index.js +2 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +2 -2
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8697,10 +8697,10 @@ function buildSyncInsertQueryData(ctx, queryData = {}) {
|
|
|
8697
8697
|
};
|
|
8698
8698
|
const resolvedData = Object.prototype.hasOwnProperty.call(ctx, "data") || ctx.data !== void 0 ? ctx.data : getJoinedContextValue(ctx, "data");
|
|
8699
8699
|
const resolvedBatch = Object.prototype.hasOwnProperty.call(ctx, "batch") || ctx.batch !== void 0 ? ctx.batch : getJoinedContextValue(ctx, "batch");
|
|
8700
|
-
if (
|
|
8700
|
+
if (resolvedData !== void 0) {
|
|
8701
8701
|
nextQueryData.data = resolvedData && typeof resolvedData === "object" && !Array.isArray(resolvedData) ? { ...resolvedData } : resolvedData;
|
|
8702
8702
|
}
|
|
8703
|
-
if (
|
|
8703
|
+
if (resolvedBatch !== void 0) {
|
|
8704
8704
|
nextQueryData.batch = Array.isArray(resolvedBatch) ? resolvedBatch.map(
|
|
8705
8705
|
(row) => row && typeof row === "object" ? { ...row } : row
|
|
8706
8706
|
) : resolvedBatch;
|