@tmlmobilidade/utils 20260617.2256.18 → 20260618.421.40

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.
@@ -67,7 +67,7 @@ export async function replicate({ countDestinationDbFn, countSourceDbFn, deleteD
67
67
  // as they are not present in the source database.
68
68
  const deleteStepTimer = new Timer();
69
69
  if (extraDocumentIds.length > 0 && deleteDestinationDbFn) {
70
- performInChunks(extraDocumentIds, async (chunk) => {
70
+ await performInChunks(extraDocumentIds, async (chunk) => {
71
71
  await deleteDestinationDbFn(chunk);
72
72
  }, 1_000);
73
73
  console.info(`Deleted ${extraDocumentIds.length} extra documents in the Destination database. (${deleteStepTimer.get()})`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/utils",
3
- "version": "20260617.2256.18",
3
+ "version": "20260618.421.40",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"