@omegup/msync 0.0.24 → 0.0.25

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
@@ -1264,7 +1264,7 @@ const executes$1 = (view, input, streamName) => {
1264
1264
  method: m,
1265
1265
  params: p,
1266
1266
  };
1267
- await actions[method](collection, params);
1267
+ await Promise.all([snapshotCollection.drop(), actions[method](collection, params)]);
1268
1268
  };
1269
1269
  if (exists && !same)
1270
1270
  await handleTeardown(exists);
package/index.js CHANGED
@@ -1266,7 +1266,7 @@ const executes$1 = (view, input, streamName) => {
1266
1266
  method: m,
1267
1267
  params: p,
1268
1268
  };
1269
- await actions[method](collection, params);
1269
+ await Promise.all([snapshotCollection.drop(), actions[method](collection, params)]);
1270
1270
  };
1271
1271
  if (exists && !same)
1272
1272
  await handleTeardown(exists);
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.24",
6
+ "version": "0.0.25",
7
7
  "dependencies": {
8
8
  "dayjs": "^1.11.9",
9
9
  "dotenv": "^16.3.1",