@remit/imap-worker 0.0.4 → 0.0.6
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.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|
|
57
|
-
"url": "git+https://github.com/remit-mail/
|
|
57
|
+
"url": "git+https://github.com/remit-mail/reader.git",
|
|
58
58
|
"directory": "packages/imap-worker"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -2,17 +2,10 @@ import assert from "node:assert";
|
|
|
2
2
|
import { afterEach, before, describe, mock, test } from "node:test";
|
|
3
3
|
import { SendMessageCommand, SQSClient } from "@aws-sdk/client-sqs";
|
|
4
4
|
import { GetParameterCommand, SSMClient } from "@aws-sdk/client-ssm";
|
|
5
|
-
import {
|
|
6
|
-
getClient,
|
|
7
|
-
type RemitClient,
|
|
8
|
-
setClient,
|
|
9
|
-
} from "@remit/backend/client";
|
|
5
|
+
import { getClient, type RemitClient, setClient } from "@remit/backend/client";
|
|
10
6
|
import type { AccountItem, MailboxItem } from "@remit/data-ports";
|
|
11
7
|
import type { Logger } from "@remit/logger-lambda";
|
|
12
|
-
import {
|
|
13
|
-
BodySyncService,
|
|
14
|
-
type SyncedMessage,
|
|
15
|
-
} from "@remit/mailbox-service";
|
|
8
|
+
import { BodySyncService, type SyncedMessage } from "@remit/mailbox-service";
|
|
16
9
|
import { mockClient } from "aws-sdk-client-mock";
|
|
17
10
|
import { resetBodySyncGateCache } from "../body-sync-gate.js";
|
|
18
11
|
import { __warmPoolSizeForTest } from "../connection-scope.js";
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import assert from "node:assert/strict";
|
|
2
2
|
import { describe, it } from "node:test";
|
|
3
3
|
import type { SendMessageCommand, SQSClient } from "@aws-sdk/client-sqs";
|
|
4
|
-
import type {
|
|
5
|
-
AccountItem,
|
|
6
|
-
AccountSchedulerPage,
|
|
7
|
-
} from "@remit/data-ports";
|
|
4
|
+
import type { AccountItem, AccountSchedulerPage } from "@remit/data-ports";
|
|
8
5
|
import type { Logger } from "@remit/logger-lambda";
|
|
9
6
|
import { runSchedulerTick } from "./run-tick.js";
|
|
10
7
|
|