@visulima/email 4.1.0 → 4.2.1
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/CHANGELOG.md +18 -0
- package/README.md +17 -0
- package/dist/crypto/index.d.ts +2 -2
- package/dist/deliverability/index.d.ts +1 -1
- package/dist/inbound/index.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/middleware/index.d.ts +4 -4
- package/dist/packem_chunks/index.js +1 -1
- package/dist/packem_shared/{DraftMailMessage-B0gwf8n_.js → DraftMailMessage-zkKTOxQ8.js} +1 -1
- package/dist/packem_shared/Mail-DtpXUSIl.js +1 -0
- package/dist/packem_shared/MailMessage-Aw0vVAh-.js +1 -0
- package/dist/packem_shared/{createTestEmail-DWimjf0F.js → createTestEmail-B2Fz-Ifb.js} +1 -1
- package/dist/packem_shared/{mail.d-BdyyyQO5.d.ts → mail.d-2u-30lWz.d.ts} +12 -4
- package/dist/packem_shared/{provider.d-Cx5YQJdP.d.ts → provider.d-BLLbEuQ8.d.ts} +1 -1
- package/dist/packem_shared/resendProvider-BaIZCvph.js +1 -0
- package/dist/packem_shared/{tracer.d-sb5yrt_n.d.ts → tracer.d-B103E-TW.d.ts} +84 -32
- package/dist/packem_shared/{types.d-Cb5fls_X.d.ts → types.d-A1Eea-p_.d.ts} +1 -1
- package/dist/packem_shared/{types.d-kHO4kX9q.d.ts → types.d-B5iH_mgb.d.ts} +1 -1
- package/dist/packem_shared/{types.d-GKqPNk0I.d.ts → types.d-Chhzb-48.d.ts} +1 -1
- package/dist/packem_shared/{types.d-B9295M4_.d.ts → types.d-CyiC9uRC.d.ts} +10 -0
- package/dist/packem_shared/{types.d-C5geVKes.d.ts → types.d-V_yuAOrx.d.ts} +1 -1
- package/dist/providers/ahasend/index.d.ts +3 -3
- package/dist/providers/autosend/index.d.ts +3 -3
- package/dist/providers/aws-ses/index.d.ts +3 -3
- package/dist/providers/azure/index.d.ts +3 -3
- package/dist/providers/brevo/index.d.ts +3 -3
- package/dist/providers/cloudflare-email/index.d.ts +4 -4
- package/dist/providers/failover/index.d.ts +3 -3
- package/dist/providers/file/index.d.ts +3 -3
- package/dist/providers/http/index.d.ts +3 -3
- package/dist/providers/infobip/index.d.ts +3 -3
- package/dist/providers/loops/index.d.ts +3 -3
- package/dist/providers/mailchannels/index.d.ts +3 -3
- package/dist/providers/mailcrab/index.d.ts +3 -3
- package/dist/providers/mailersend/index.d.ts +3 -3
- package/dist/providers/mailgun/index.d.ts +3 -3
- package/dist/providers/mailjet/index.d.ts +3 -3
- package/dist/providers/mailomat/index.d.ts +3 -3
- package/dist/providers/mailpace/index.d.ts +3 -3
- package/dist/providers/mailtrap/index.d.ts +3 -3
- package/dist/providers/mandrill/index.d.ts +3 -3
- package/dist/providers/mock/index.d.ts +5 -5
- package/dist/providers/netcore/index.d.ts +3 -3
- package/dist/providers/nodemailer/index.d.ts +3 -3
- package/dist/providers/opentelemetry/index.d.ts +3 -3
- package/dist/providers/outlook365/index.d.ts +3 -3
- package/dist/providers/plunk/index.d.ts +3 -3
- package/dist/providers/postal/index.d.ts +3 -3
- package/dist/providers/postmark/index.d.ts +3 -3
- package/dist/providers/resend/index.d.ts +3 -3
- package/dist/providers/resend/index.js +1 -1
- package/dist/providers/roundrobin/index.d.ts +3 -3
- package/dist/providers/scaleway/index.d.ts +3 -3
- package/dist/providers/sendgrid/index.d.ts +3 -3
- package/dist/providers/smtp/index.d.ts +4 -4
- package/dist/providers/sparkpost/index.d.ts +3 -3
- package/dist/providers/sweego/index.d.ts +3 -3
- package/dist/providers/zeptomail/index.d.ts +3 -3
- package/dist/queue/bullmq-queue.d.ts +2 -2
- package/dist/queue/index.d.ts +2 -2
- package/dist/queue/pg-boss-queue.d.ts +2 -2
- package/dist/queue/sqs-queue.d.ts +2 -2
- package/dist/queue/unstorage-queue.d.ts +2 -2
- package/dist/test/index.d.ts +6 -6
- package/dist/test/index.js +1 -1
- package/dist/utils/format-email-address.d.ts +1 -1
- package/dist/utils/parse-address.d.ts +1 -1
- package/dist/utils/parse-eml.d.ts +1 -1
- package/dist/utils/result.d.ts +1 -1
- package/dist/utils/validation/check-feature-support.d.ts +1 -1
- package/dist/utils/validation/check-feature-support.js +1 -1
- package/package.json +5 -5
- package/dist/packem_shared/Mail-0cxS6jre.js +0 -1
- package/dist/packem_shared/MailMessage-DmmaNHHc.js +0 -1
- package/dist/packem_shared/resendProvider-DC7Op5Gr.js +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/context/types.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* @since 1.0.0
|
|
3
4
|
*/
|
|
@@ -24,24 +25,76 @@ interface Context {
|
|
|
24
25
|
*/
|
|
25
26
|
deleteValue(key: symbol): Context;
|
|
26
27
|
}
|
|
28
|
+
//#region src/common/AnyValue.d.ts
|
|
27
29
|
/**
|
|
28
|
-
*
|
|
30
|
+
* AnyValue can be:
|
|
31
|
+
* - a string, number, boolean value
|
|
32
|
+
* - a byte array (Uint8Array)
|
|
33
|
+
* - array of any value
|
|
34
|
+
* - map from string to any value (a plain Object)
|
|
35
|
+
* - null (an empty value)
|
|
29
36
|
*
|
|
30
|
-
*
|
|
37
|
+
* https://opentelemetry.io/docs/specs/otel/common/#anyvalue
|
|
31
38
|
*
|
|
32
|
-
*
|
|
39
|
+
* Notable JavaScript types that are excluded:
|
|
40
|
+
* - `undefined` - Excluding this means the common practice in instrumentations,
|
|
41
|
+
* using `undefined` to mean "no value for this optional attribute", can
|
|
42
|
+
* remain supported.
|
|
43
|
+
* - `BigInt`
|
|
44
|
+
* - TypedArrays other than `Uint8Array`
|
|
45
|
+
* - subclasses of Object, e.g. Date, Error
|
|
46
|
+
*
|
|
47
|
+
* The TypeScript type `unknown` is used for `AnyValue`. This has some
|
|
48
|
+
* implications:
|
|
49
|
+
* - Callers of `@opentelemetry/api` APIs using `AnyValue` can pass in
|
|
50
|
+
* whatever type. This was always the case for (untyped) JavaScript usage.
|
|
51
|
+
* - SDK implementations of `@opentelemetry/api` need to document if/when they
|
|
52
|
+
* support a subset of AnyValue types.
|
|
53
|
+
* - Using `unknown` allows future changes to support more types (e.g. BigInt).
|
|
54
|
+
*
|
|
55
|
+
* @since 1.10.0
|
|
56
|
+
*/
|
|
57
|
+
type AnyValue = unknown;
|
|
58
|
+
//#region src/common/Attributes.d.ts
|
|
59
|
+
/**
|
|
60
|
+
* Attributes is a mapping from string to attribute values.
|
|
61
|
+
* https://opentelemetry.io/docs/specs/otel/common/#attribute-collections
|
|
62
|
+
*
|
|
63
|
+
* @since 1.1.0
|
|
33
64
|
*/
|
|
34
65
|
interface Attributes {
|
|
35
|
-
[attributeKey: string]:
|
|
66
|
+
[attributeKey: string]: AnyValue;
|
|
36
67
|
}
|
|
37
68
|
/**
|
|
38
|
-
*
|
|
69
|
+
* @since 1.1.0
|
|
70
|
+
* @deprecated use AnyValue
|
|
71
|
+
*/
|
|
72
|
+
type AttributeValue = AnyValue;
|
|
73
|
+
//#region src/common/Time.d.ts
|
|
74
|
+
/**
|
|
75
|
+
* Defines High-Resolution Time.
|
|
76
|
+
*
|
|
77
|
+
* The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.
|
|
78
|
+
* The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.
|
|
79
|
+
* For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.
|
|
80
|
+
* The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:
|
|
81
|
+
* HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.
|
|
82
|
+
* The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:
|
|
83
|
+
* HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
|
|
84
|
+
* This is represented in HrTime format as [1609504210, 150000000].
|
|
85
|
+
*
|
|
86
|
+
* @since 1.0.0
|
|
87
|
+
*/
|
|
88
|
+
type HrTime = [number, number];
|
|
89
|
+
/**
|
|
90
|
+
* Defines TimeInput.
|
|
39
91
|
*
|
|
40
|
-
*
|
|
92
|
+
* hrtime, epoch milliseconds, performance.now() or Date
|
|
41
93
|
*
|
|
42
|
-
* @since 1.
|
|
94
|
+
* @since 1.0.0
|
|
43
95
|
*/
|
|
44
|
-
type
|
|
96
|
+
type TimeInput = HrTime | number | Date;
|
|
97
|
+
//#region src/common/Exception.d.ts
|
|
45
98
|
interface ExceptionWithCode {
|
|
46
99
|
code: string | number;
|
|
47
100
|
name?: string;
|
|
@@ -68,29 +121,7 @@ interface ExceptionWithName {
|
|
|
68
121
|
* @since 1.0.0
|
|
69
122
|
*/
|
|
70
123
|
type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
|
|
71
|
-
|
|
72
|
-
* Defines High-Resolution Time.
|
|
73
|
-
*
|
|
74
|
-
* The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.
|
|
75
|
-
* The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.
|
|
76
|
-
* For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.
|
|
77
|
-
* The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:
|
|
78
|
-
* HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.
|
|
79
|
-
* The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:
|
|
80
|
-
* HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.
|
|
81
|
-
* This is represented in HrTime format as [1609504210, 150000000].
|
|
82
|
-
*
|
|
83
|
-
* @since 1.0.0
|
|
84
|
-
*/
|
|
85
|
-
type HrTime = [number, number];
|
|
86
|
-
/**
|
|
87
|
-
* Defines TimeInput.
|
|
88
|
-
*
|
|
89
|
-
* hrtime, epoch milliseconds, performance.now() or Date
|
|
90
|
-
*
|
|
91
|
-
* @since 1.0.0
|
|
92
|
-
*/
|
|
93
|
-
type TimeInput = HrTime | number | Date;
|
|
124
|
+
//#region src/trace/attributes.d.ts
|
|
94
125
|
/**
|
|
95
126
|
* @deprecated please use {@link Attributes}
|
|
96
127
|
* @since 1.0.0
|
|
@@ -101,6 +132,7 @@ type SpanAttributes = Attributes;
|
|
|
101
132
|
* @since 1.0.0
|
|
102
133
|
*/
|
|
103
134
|
type SpanAttributeValue = AttributeValue;
|
|
135
|
+
//#region src/trace/trace_state.d.ts
|
|
104
136
|
/**
|
|
105
137
|
* @since 1.0.0
|
|
106
138
|
*/
|
|
@@ -141,6 +173,7 @@ interface TraceState {
|
|
|
141
173
|
*/
|
|
142
174
|
serialize(): string;
|
|
143
175
|
}
|
|
176
|
+
//#region src/trace/span_context.d.ts
|
|
144
177
|
/**
|
|
145
178
|
* A SpanContext represents the portion of a {@link Span} which must be
|
|
146
179
|
* serialized and propagated along side of a {@link Baggage}.
|
|
@@ -194,6 +227,7 @@ interface SpanContext {
|
|
|
194
227
|
*/
|
|
195
228
|
traceState?: TraceState;
|
|
196
229
|
}
|
|
230
|
+
//#region src/trace/status.d.ts
|
|
197
231
|
/**
|
|
198
232
|
* @since 1.0.0
|
|
199
233
|
*/
|
|
@@ -223,6 +257,7 @@ declare enum SpanStatusCode {
|
|
|
223
257
|
*/
|
|
224
258
|
ERROR = 2
|
|
225
259
|
}
|
|
260
|
+
//#region src/trace/link.d.ts
|
|
226
261
|
/**
|
|
227
262
|
* A pointer from the current {@link Span} to another span in the same trace or
|
|
228
263
|
* in a different trace.
|
|
@@ -245,9 +280,14 @@ interface Link {
|
|
|
245
280
|
context: SpanContext;
|
|
246
281
|
/** A set of {@link SpanAttributes} on the link. */
|
|
247
282
|
attributes?: SpanAttributes;
|
|
248
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* Count of attributes of the link that were dropped due to collection limits
|
|
285
|
+
*
|
|
286
|
+
* @since 1.4.1
|
|
287
|
+
*/
|
|
249
288
|
droppedAttributesCount?: number;
|
|
250
289
|
}
|
|
290
|
+
//#region src/trace/span.d.ts
|
|
251
291
|
/**
|
|
252
292
|
* An interface that represents a span. A span represents a single operation
|
|
253
293
|
* within a trace. Examples of span might include remote procedure calls or a
|
|
@@ -305,6 +345,8 @@ interface Span {
|
|
|
305
345
|
* It is preferred span links be added at span creation.
|
|
306
346
|
*
|
|
307
347
|
* @param link the link to add.
|
|
348
|
+
*
|
|
349
|
+
* @since 1.9.0
|
|
308
350
|
*/
|
|
309
351
|
addLink(link: Link): this;
|
|
310
352
|
/**
|
|
@@ -314,6 +356,8 @@ interface Span {
|
|
|
314
356
|
* It is preferred span links be added at span creation.
|
|
315
357
|
*
|
|
316
358
|
* @param links the links to add.
|
|
359
|
+
*
|
|
360
|
+
* @since 1.9.0
|
|
317
361
|
*/
|
|
318
362
|
addLinks(links: Link[]): this;
|
|
319
363
|
/**
|
|
@@ -373,6 +417,7 @@ interface Span {
|
|
|
373
417
|
*/
|
|
374
418
|
recordException(exception: Exception, time?: TimeInput): void;
|
|
375
419
|
}
|
|
420
|
+
//#region src/trace/span_kind.d.ts
|
|
376
421
|
/**
|
|
377
422
|
* @since 1.0.0
|
|
378
423
|
*/
|
|
@@ -402,6 +447,7 @@ declare enum SpanKind {
|
|
|
402
447
|
*/
|
|
403
448
|
CONSUMER = 4
|
|
404
449
|
}
|
|
450
|
+
//#region src/trace/SpanOptions.d.ts
|
|
405
451
|
/**
|
|
406
452
|
* Options needed for span creation
|
|
407
453
|
*
|
|
@@ -422,6 +468,7 @@ interface SpanOptions {
|
|
|
422
468
|
/** The new span should be a root span. (Ignore parent from context). */
|
|
423
469
|
root?: boolean;
|
|
424
470
|
}
|
|
471
|
+
//#region src/trace/tracer.d.ts
|
|
425
472
|
/**
|
|
426
473
|
* Tracer provides an interface for creating {@link Span}s.
|
|
427
474
|
*
|
|
@@ -449,6 +496,11 @@ interface Tracer {
|
|
|
449
496
|
* Additionally the new span gets set in context and this context is activated
|
|
450
497
|
* for the duration of the function call.
|
|
451
498
|
*
|
|
499
|
+
* **Important**: The callback function is responsible for calling `span.end()`
|
|
500
|
+
* to finish the span. Unlike some other OpenTelemetry implementations, the span
|
|
501
|
+
* is NOT automatically ended when the callback returns. If `span.end()` is not
|
|
502
|
+
* called, the span will never be exported and will be silently lost.
|
|
503
|
+
*
|
|
452
504
|
* @param name The name of the span
|
|
453
505
|
* @param [options] SpanOptions used for span creation
|
|
454
506
|
* @param [context] Context to use to extract parent
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EmailOptions, a as EmailResult, R as Result } from "./types.d-
|
|
1
|
+
import { E as EmailOptions, a as EmailResult, R as Result } from "./types.d-CyiC9uRC.js";
|
|
2
2
|
/**
|
|
3
3
|
* The terminal send function a middleware wraps — ultimately the provider's `sendEmail`.
|
|
4
4
|
*/
|
|
@@ -11,6 +11,10 @@ interface FeatureFlags {
|
|
|
11
11
|
batchSending?: boolean;
|
|
12
12
|
customHeaders?: boolean;
|
|
13
13
|
html?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The provider sends `idempotencyKey` upstream, so a repeated send with the same key is not duplicated.
|
|
16
|
+
*/
|
|
17
|
+
idempotency?: boolean;
|
|
14
18
|
replyTo?: boolean;
|
|
15
19
|
scheduling?: boolean;
|
|
16
20
|
tagging?: boolean;
|
|
@@ -137,6 +141,12 @@ interface EmailOptions {
|
|
|
137
141
|
href?: string;
|
|
138
142
|
path?: string;
|
|
139
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* Caller-chosen key that lets the provider recognise a repeated send of the same message, so a
|
|
146
|
+
* retry after an ambiguous failure does not deliver twice. Only providers that declare
|
|
147
|
+
* `features.idempotency` act on it; it is never written into the message headers or the MIME body.
|
|
148
|
+
*/
|
|
149
|
+
idempotencyKey?: string;
|
|
140
150
|
priority?: Priority;
|
|
141
151
|
replyTo?: EmailAddress;
|
|
142
152
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* AhaSend configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* AutoSend configuration.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* AWS SES configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Azure Communication Services configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions, c as EmailAddress } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions, c as EmailAddress } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Brevo configuration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { D as DkimOptions } from "../../packem_shared/types.d-
|
|
4
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { D as DkimOptions } from "../../packem_shared/types.d-A1Eea-p_.js";
|
|
4
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
5
5
|
import 'node:buffer';
|
|
6
6
|
/**
|
|
7
7
|
* Cloudflare Email Workers configuration.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Failover configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* File provider configuration.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* HTTP email configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Infobip configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Loops configuration.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* MailChannels configuration.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* MailCrab configuration (for local development/testing)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* MailerSend configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Mailgun configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Mailjet configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Mailomat configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* MailPace configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Mailtrap configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Mandrill configuration
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { M as MockConfig, a as MockEmailEntry } from "../../packem_shared/types.d-
|
|
4
|
-
export type { b as MockEmailOptions, R as RandomDelayRange } from "../../packem_shared/types.d-
|
|
5
|
-
import "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { M as MockConfig, a as MockEmailEntry } from "../../packem_shared/types.d-V_yuAOrx.js";
|
|
4
|
+
export type { b as MockEmailOptions, R as RandomDelayRange } from "../../packem_shared/types.d-V_yuAOrx.js";
|
|
5
|
+
import "../../packem_shared/types.d-CyiC9uRC.js";
|
|
6
6
|
import 'node:buffer';
|
|
7
7
|
/**
|
|
8
8
|
* Mock Provider for testing emails without actually sending them
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Netcore (Pepipost) configuration.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { c as EmailAddress, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { c as EmailAddress, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Nodemailer configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Provider, P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { a as Provider, P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
import { T as Tracer } from "../../packem_shared/tracer.d-B103E-TW.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* OpenTelemetry configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { M as MaybePromise, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { M as MaybePromise, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Which OAuth2 flow a config resolves to.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Plunk configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Postal configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Postmark configuration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions, d as EmailTag } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions, d as EmailTag } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Resend configuration
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as d}from"../../packem_shared/resendProvider-
|
|
1
|
+
import{default as d}from"../../packem_shared/resendProvider-BaIZCvph.js";export{d as resendProvider};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as ProviderFactory } from "../../packem_shared/provider.d-
|
|
2
|
-
export type { a as Provider } from "../../packem_shared/provider.d-
|
|
3
|
-
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-
|
|
1
|
+
import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
2
|
+
export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
|
|
3
|
+
import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
|
|
4
4
|
import 'node:buffer';
|
|
5
5
|
/**
|
|
6
6
|
* Round Robin configuration
|