@remit/imap-worker 0.0.59 → 0.0.60

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.59",
3
+ "version": "0.0.60",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -158,6 +158,8 @@ export const syncMessageBody = async (
158
158
  mailboxSpecialUse: mailboxSpecialUseRepository,
159
159
  quarantine: quarantineRepository,
160
160
  flagQueue: flagQueueService,
161
+ calendarSuggestion: calendarSuggestionService,
162
+ calendarUnitOfWork,
161
163
  } = await getClient();
162
164
 
163
165
  const account = await accountService.get(accountId);
@@ -274,6 +276,9 @@ export const syncMessageBody = async (
274
276
  attempts: receiveCount,
275
277
  },
276
278
  { flagQueueService },
279
+ // An invitation becomes a card the first time the message is seen,
280
+ // alongside the filters that run on the same pass (issue #1033).
281
+ { calendarSuggestionService, calendarUnitOfWork, filterService },
277
282
  );
278
283
 
279
284
  // Guard at the openBox choke point (epic #1281 invariants 3 & 5). The