@remit/imap-worker 0.0.44 → 0.0.45

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.44",
3
+ "version": "0.0.45",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -16,6 +16,7 @@ import { afterEach, beforeEach, describe, it, mock } from "node:test";
16
16
  import { SQSClient } from "@aws-sdk/client-sqs";
17
17
  import { getClient, type RemitClient, setClient } from "@remit/backend/client";
18
18
  import type {
19
+ IAddressRepository,
19
20
  IMessageFlagPushRepository,
20
21
  IMessageFlagRepository,
21
22
  IMessagePlacementMoveRepository,
@@ -177,6 +178,9 @@ const buildHarness = (): Harness => {
177
178
  messageService,
178
179
  threadMessageService,
179
180
  markerService: placementMarkerService,
181
+ addressService: {
182
+ reconcileJunkOnlyForMessage: async () => {},
183
+ } as unknown as IAddressRepository,
180
184
  sqsQueueUrl: "https://sqs.eu-west-1.amazonaws.com/000/message-mgmt",
181
185
  });
182
186
 
@@ -178,6 +178,7 @@ export const syncMessageBody = async (
178
178
  messageService,
179
179
  threadMessageService,
180
180
  markerService,
181
+ addressService,
181
182
  sqsQueueUrl: placementMoveQueueUrl,
182
183
  })
183
184
  : undefined;