@workers-community/workers-types 4.20260518.1 → 4.20260519.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/index.d.ts +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -12684,11 +12684,11 @@ interface SendEmail {
|
|
|
12684
12684
|
send(message: EmailMessage): Promise<EmailSendResult>;
|
|
12685
12685
|
send(builder: {
|
|
12686
12686
|
from: string | EmailAddress;
|
|
12687
|
-
to: string | string[];
|
|
12687
|
+
to: string | EmailAddress | (string | EmailAddress)[];
|
|
12688
12688
|
subject: string;
|
|
12689
12689
|
replyTo?: string | EmailAddress;
|
|
12690
|
-
cc?: string | string[];
|
|
12691
|
-
bcc?: string | string[];
|
|
12690
|
+
cc?: string | EmailAddress | (string | EmailAddress)[];
|
|
12691
|
+
bcc?: string | EmailAddress | (string | EmailAddress)[];
|
|
12692
12692
|
headers?: Record<string, string>;
|
|
12693
12693
|
text?: string;
|
|
12694
12694
|
html?: string;
|
package/index.ts
CHANGED
|
@@ -12708,11 +12708,11 @@ export interface SendEmail {
|
|
|
12708
12708
|
send(message: EmailMessage): Promise<EmailSendResult>;
|
|
12709
12709
|
send(builder: {
|
|
12710
12710
|
from: string | EmailAddress;
|
|
12711
|
-
to: string | string[];
|
|
12711
|
+
to: string | EmailAddress | (string | EmailAddress)[];
|
|
12712
12712
|
subject: string;
|
|
12713
12713
|
replyTo?: string | EmailAddress;
|
|
12714
|
-
cc?: string | string[];
|
|
12715
|
-
bcc?: string | string[];
|
|
12714
|
+
cc?: string | EmailAddress | (string | EmailAddress)[];
|
|
12715
|
+
bcc?: string | EmailAddress | (string | EmailAddress)[];
|
|
12716
12716
|
headers?: Record<string, string>;
|
|
12717
12717
|
text?: string;
|
|
12718
12718
|
html?: string;
|