@remit/backend 0.0.85 → 0.0.87

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/backend",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "description": "Remit Mail Inspector API backend",
5
5
  "license": "MIT",
6
6
  "author": "",
@@ -330,6 +330,7 @@ export const createRemitClient = (deps: RemitClientDeps): RemitClient => {
330
330
  threadMessageService: repositories.threadMessage,
331
331
  markerService: repositories.placementMove,
332
332
  addressService: repositories.address,
333
+ mailboxSpecialUseService: repositories.mailboxSpecialUse,
333
334
  sqsQueueUrl: placementMoveQueueUrl,
334
335
  })
335
336
  : undefined;
@@ -594,6 +594,7 @@ export const buildOrganizeMoveService = (
594
594
  threadMessageService: client.threadMessage,
595
595
  markerService: client.placementMove,
596
596
  addressService: client.address,
597
+ mailboxSpecialUseService: client.mailboxSpecialUse,
597
598
  sqsQueueUrl: queueUrl,
598
599
  });
599
600
  };
@@ -24,10 +24,10 @@ interface TriggerAccountSyncInput {
24
24
  * this unset, and takes the freshness gate — see `mailboxNeedsSync` in
25
25
  * imap-worker's sync-mailboxes handler.
26
26
  *
27
- * The poll cannot use this to outrun the gate: its interval is floored at
28
- * the gate's own window (`MIN_POLL_INTERVAL_MS` in the client hook), so
29
- * however low `mailboxPollIntervalSeconds` is set, a timer never fans out
30
- * more often than the gate would have allowed anyway.
27
+ * How often a timer may do that is bounded on the client, by the poll's own
28
+ * floor (`MIN_POLL_INTERVAL_MS` in the client hook, 30s) rather than by the
29
+ * gate: `mailboxPollIntervalSeconds` can lengthen the interval, never
30
+ * shorten it past that.
31
31
  */
32
32
  explicitRequest?: boolean;
33
33
  /**