@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 +2 -1
- package/index.js +2 -1
- package/package.json +1 -1
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?.();
|