@remit/imap-worker 0.0.24 → 0.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/imap-worker",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -129,8 +129,8 @@ if (cluster.isPrimary) {
129
129
  isShuttingDown = true;
130
130
  });
131
131
 
132
- // Minimal Lambda Context: `withTelemetry` only reads `functionName` and adds
133
- // it to the logger; the prod handler never touches the rest.
132
+ // Minimal Lambda Context: `withTelemetry` only reads `functionName`, for the
133
+ // line it logs per invocation; the prod handler never touches the rest.
134
134
  const lambdaContext = {
135
135
  functionName: `e2e-imap-worker-${queueName}`,
136
136
  } as Context;
@@ -157,6 +157,7 @@ export const syncMessageBody = async (
157
157
  secrets,
158
158
  mailboxSpecialUse: mailboxSpecialUseRepository,
159
159
  quarantine: quarantineRepository,
160
+ flagQueue: flagQueueService,
160
161
  } = await getClient();
161
162
 
162
163
  const account = await accountService.get(accountId);
@@ -270,6 +271,7 @@ export const syncMessageBody = async (
270
271
  uidValidity: mailbox.uidValidity ?? 0,
271
272
  attempts: receiveCount,
272
273
  },
274
+ { flagQueueService },
273
275
  );
274
276
 
275
277
  // Guard at the openBox choke point (epic #1281 invariants 3 & 5). The