@omegup/msync 0.0.91 → 0.0.93
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 +1 -5
- package/index.js +1 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1545,6 +1545,7 @@ const makeWatchStream = (db, { collection, projection: p, hardMatch: m }, startA
|
|
|
1545
1545
|
});
|
|
1546
1546
|
pipeline.push({
|
|
1547
1547
|
$match: {
|
|
1548
|
+
clusterTime: { $gte: startAt },
|
|
1548
1549
|
$or: [
|
|
1549
1550
|
{
|
|
1550
1551
|
$expr: {
|
|
@@ -1558,11 +1559,6 @@ const makeWatchStream = (db, { collection, projection: p, hardMatch: m }, startA
|
|
|
1558
1559
|
],
|
|
1559
1560
|
},
|
|
1560
1561
|
});
|
|
1561
|
-
pipeline.push({
|
|
1562
|
-
$project: {
|
|
1563
|
-
_id: 1,
|
|
1564
|
-
},
|
|
1565
|
-
});
|
|
1566
1562
|
const stream = db.collection(collection.collectionName).watch(pipeline, {
|
|
1567
1563
|
fullDocument: 'required',
|
|
1568
1564
|
fullDocumentBeforeChange: 'required',
|
package/index.js
CHANGED
|
@@ -1547,6 +1547,7 @@ const makeWatchStream = (db, { collection, projection: p, hardMatch: m }, startA
|
|
|
1547
1547
|
});
|
|
1548
1548
|
pipeline.push({
|
|
1549
1549
|
$match: {
|
|
1550
|
+
clusterTime: { $gte: startAt },
|
|
1550
1551
|
$or: [
|
|
1551
1552
|
{
|
|
1552
1553
|
$expr: {
|
|
@@ -1560,11 +1561,6 @@ const makeWatchStream = (db, { collection, projection: p, hardMatch: m }, startA
|
|
|
1560
1561
|
],
|
|
1561
1562
|
},
|
|
1562
1563
|
});
|
|
1563
|
-
pipeline.push({
|
|
1564
|
-
$project: {
|
|
1565
|
-
_id: 1,
|
|
1566
|
-
},
|
|
1567
|
-
});
|
|
1568
1564
|
const stream = db.collection(collection.collectionName).watch(pipeline, {
|
|
1569
1565
|
fullDocument: 'required',
|
|
1570
1566
|
fullDocumentBeforeChange: 'required',
|