@omegup/msync 0.0.69 → 0.0.70

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/index.esm.js CHANGED
@@ -1019,7 +1019,7 @@ const $unwindDelta = (k1, k2, k, includeNull) => {
1019
1019
  then: {
1020
1020
  $cond: {
1021
1021
  if: { $eq: [`$after.${k2}`, []] },
1022
- then: [],
1022
+ then: [{ before: {}, after: {} }],
1023
1023
  else: [{ before: {}, after: null }],
1024
1024
  },
1025
1025
  },
package/index.js CHANGED
@@ -1021,7 +1021,7 @@ const $unwindDelta = (k1, k2, k, includeNull) => {
1021
1021
  then: {
1022
1022
  $cond: {
1023
1023
  if: { $eq: [`$after.${k2}`, []] },
1024
- then: [],
1024
+ then: [{ before: {}, after: {} }],
1025
1025
  else: [{ before: {}, after: null }],
1026
1026
  },
1027
1027
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "index.esm.js",
4
4
  "typings": "index.d.ts",
5
5
  "name": "@omegup/msync",
6
- "version": "0.0.69",
6
+ "version": "0.0.70",
7
7
  "dependencies": {
8
8
  "dayjs": "^1.11.9",
9
9
  "dotenv": "^16.3.1",