@omegup/msync 0.1.31 → 0.1.32
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 -0
- package/index.js +1 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1660,6 +1660,7 @@ async function* tailOplog(db) {
|
|
|
1660
1660
|
try {
|
|
1661
1661
|
for await (const docs of cursor) {
|
|
1662
1662
|
for (const doc of docs.op === 'c' ? docs.o['applyOps'] : [docs]) {
|
|
1663
|
+
doc.ts = docs.ts;
|
|
1663
1664
|
if (doc.op === 'i' || '_id' in doc.o) {
|
|
1664
1665
|
const fields = new Set(Object.keys(doc.o));
|
|
1665
1666
|
fields.delete('_id');
|
package/index.js
CHANGED
|
@@ -1662,6 +1662,7 @@ async function* tailOplog(db) {
|
|
|
1662
1662
|
try {
|
|
1663
1663
|
for await (const docs of cursor) {
|
|
1664
1664
|
for (const doc of docs.op === 'c' ? docs.o['applyOps'] : [docs]) {
|
|
1665
|
+
doc.ts = docs.ts;
|
|
1665
1666
|
if (doc.op === 'i' || '_id' in doc.o) {
|
|
1666
1667
|
const fields = new Set(Object.keys(doc.o));
|
|
1667
1668
|
fields.delete('_id');
|