@ultimat3/mail 31.26.0 → 31.27.0
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 +7 -7
- package/src/inbound-types.ts +4 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/mail",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.27.0",
|
|
4
4
|
"description": "Transactional email as data: one template renders HTML and text, sent through a job.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ultimate",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test": "bun test"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@ultimat3/core": "31.
|
|
48
|
-
"@ultimat3/i18n": "31.
|
|
49
|
-
"@ultimat3/jobs": "31.
|
|
50
|
-
"@ultimat3/schema": "31.
|
|
51
|
-
"@ultimat3/storage": "31.
|
|
52
|
-
"@ultimat3/time": "31.
|
|
47
|
+
"@ultimat3/core": "31.27.0",
|
|
48
|
+
"@ultimat3/i18n": "31.27.0",
|
|
49
|
+
"@ultimat3/jobs": "31.27.0",
|
|
50
|
+
"@ultimat3/schema": "31.27.0",
|
|
51
|
+
"@ultimat3/storage": "31.27.0",
|
|
52
|
+
"@ultimat3/time": "31.27.0"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/src/inbound-types.ts
CHANGED
|
@@ -3,15 +3,14 @@
|
|
|
3
3
|
// the declaration. Apart from the factory so each file keeps one job.
|
|
4
4
|
|
|
5
5
|
import type { Ctx } from '@ultimat3/core';
|
|
6
|
-
import type { WebhookReceiverDefinition } from '@ultimat3/jobs';
|
|
6
|
+
import type { WebhookHandleArgs, WebhookInbound, WebhookReceiverDefinition } from '@ultimat3/jobs';
|
|
7
7
|
import type { StorageDriver, UploadPolicy } from '@ultimat3/storage';
|
|
8
8
|
import type { MimeLimits } from './mime-parse';
|
|
9
9
|
import type { InboundAddress } from './mime-parse-address';
|
|
10
10
|
import type { HeaderField } from './mime-parse-headers';
|
|
11
11
|
|
|
12
|
-
/** What jobs' `verify` is handed
|
|
13
|
-
export type WebhookInbound
|
|
14
|
-
type HandleArgs = Parameters<WebhookReceiverDefinition['handle']>[0];
|
|
12
|
+
/** What jobs' `verify` is handed: the request's exact bytes and headers. */
|
|
13
|
+
export type { WebhookInbound };
|
|
15
14
|
|
|
16
15
|
export type InboundProviderName = 'ses' | 'resend';
|
|
17
16
|
|
|
@@ -121,7 +120,7 @@ export interface InboundHandleArgs {
|
|
|
121
120
|
readonly message: InboundMessage;
|
|
122
121
|
readonly orgId: string | undefined;
|
|
123
122
|
readonly ctx: Ctx;
|
|
124
|
-
readonly step:
|
|
123
|
+
readonly step: WebhookHandleArgs['step'];
|
|
125
124
|
readonly attempt: number;
|
|
126
125
|
}
|
|
127
126
|
|