@omegup/msync 0.0.95 → 0.0.97

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
@@ -386,7 +386,7 @@ const filter = ({ as, cond, expr, limit, }) => asExpr({
386
386
  input: expr.raw(f).get(),
387
387
  as,
388
388
  cond: cond.raw(f).get(),
389
- limit: limit?.raw(f).get(),
389
+ limit: limit?.raw(f).get() ?? null,
390
390
  },
391
391
  }),
392
392
  });
@@ -1700,6 +1700,7 @@ const executes$2 = (view, input, streamName, skip = false, after) => {
1700
1700
  log('teardown done', `db['${snapshotCollection.collectionName}'].drop()`, ...out);
1701
1701
  };
1702
1702
  if (!same) {
1703
+ log('not same, new data', data);
1703
1704
  await handleTeardown(exists ?? { data });
1704
1705
  }
1705
1706
  await after?.();
package/index.js CHANGED
@@ -388,7 +388,7 @@ const filter = ({ as, cond, expr, limit, }) => asExpr({
388
388
  input: expr.raw(f).get(),
389
389
  as,
390
390
  cond: cond.raw(f).get(),
391
- limit: limit?.raw(f).get(),
391
+ limit: limit?.raw(f).get() ?? null,
392
392
  },
393
393
  }),
394
394
  });
@@ -1702,6 +1702,7 @@ const executes$2 = (view, input, streamName, skip = false, after) => {
1702
1702
  log('teardown done', `db['${snapshotCollection.collectionName}'].drop()`, ...out);
1703
1703
  };
1704
1704
  if (!same) {
1705
+ log('not same, new data', data);
1705
1706
  await handleTeardown(exists ?? { data });
1706
1707
  }
1707
1708
  await after?.();
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.95",
6
+ "version": "0.0.97",
7
7
  "dependencies": {
8
8
  "dayjs": "^1.11.9",
9
9
  "dotenv": "^16.3.1",