resend 6.6.0 → 6.7.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/dist/index.cjs +5 -5
- package/dist/index.d.cts +175 -7
- package/dist/index.d.mts +175 -7
- package/dist/index.mjs +5 -5
- package/package.json +12 -10
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
let svix = require("svix");
|
|
2
2
|
|
|
3
3
|
//#region package.json
|
|
4
|
-
var version = "6.
|
|
4
|
+
var version = "6.7.0";
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/common/utils/build-pagination-query.ts
|
|
@@ -476,7 +476,7 @@ var Domains = class {
|
|
|
476
476
|
|
|
477
477
|
//#endregion
|
|
478
478
|
//#region src/emails/attachments/attachments.ts
|
|
479
|
-
var Attachments = class {
|
|
479
|
+
var Attachments$1 = class {
|
|
480
480
|
constructor(resend) {
|
|
481
481
|
this.resend = resend;
|
|
482
482
|
}
|
|
@@ -494,7 +494,7 @@ var Attachments = class {
|
|
|
494
494
|
|
|
495
495
|
//#endregion
|
|
496
496
|
//#region src/emails/receiving/attachments/attachments.ts
|
|
497
|
-
var Attachments
|
|
497
|
+
var Attachments = class {
|
|
498
498
|
constructor(resend) {
|
|
499
499
|
this.resend = resend;
|
|
500
500
|
}
|
|
@@ -515,7 +515,7 @@ var Attachments$1 = class {
|
|
|
515
515
|
var Receiving = class {
|
|
516
516
|
constructor(resend) {
|
|
517
517
|
this.resend = resend;
|
|
518
|
-
this.attachments = new Attachments
|
|
518
|
+
this.attachments = new Attachments(resend);
|
|
519
519
|
}
|
|
520
520
|
async get(id) {
|
|
521
521
|
return await this.resend.get(`/emails/receiving/${id}`);
|
|
@@ -532,7 +532,7 @@ var Receiving = class {
|
|
|
532
532
|
var Emails = class {
|
|
533
533
|
constructor(resend) {
|
|
534
534
|
this.resend = resend;
|
|
535
|
-
this.attachments = new Attachments(resend);
|
|
535
|
+
this.attachments = new Attachments$1(resend);
|
|
536
536
|
this.receiving = new Receiving(resend);
|
|
537
537
|
}
|
|
538
538
|
async send(payload, options = {}) {
|
package/dist/index.d.cts
CHANGED
|
@@ -1061,7 +1061,7 @@ declare class Domains {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
//#endregion
|
|
1063
1063
|
//#region src/emails/attachments/attachments.d.ts
|
|
1064
|
-
declare class Attachments {
|
|
1064
|
+
declare class Attachments$1 {
|
|
1065
1065
|
private readonly resend;
|
|
1066
1066
|
constructor(resend: Resend);
|
|
1067
1067
|
get(options: GetAttachmentOptions): Promise<GetAttachmentResponse>;
|
|
@@ -1079,7 +1079,7 @@ type ListEmailsResponseSuccess = {
|
|
|
1079
1079
|
type ListEmailsResponse = Response<ListEmailsResponseSuccess>;
|
|
1080
1080
|
//#endregion
|
|
1081
1081
|
//#region src/emails/receiving/attachments/attachments.d.ts
|
|
1082
|
-
declare class Attachments
|
|
1082
|
+
declare class Attachments {
|
|
1083
1083
|
private readonly resend;
|
|
1084
1084
|
constructor(resend: Resend);
|
|
1085
1085
|
get(options: GetAttachmentOptions): Promise<GetAttachmentResponse>;
|
|
@@ -1089,7 +1089,7 @@ declare class Attachments$1 {
|
|
|
1089
1089
|
//#region src/emails/receiving/receiving.d.ts
|
|
1090
1090
|
declare class Receiving {
|
|
1091
1091
|
private readonly resend;
|
|
1092
|
-
readonly attachments: Attachments
|
|
1092
|
+
readonly attachments: Attachments;
|
|
1093
1093
|
constructor(resend: Resend);
|
|
1094
1094
|
get(id: string): Promise<GetReceivingEmailResponse>;
|
|
1095
1095
|
list(options?: ListReceivingEmailsOptions): Promise<ListReceivingEmailsResponse>;
|
|
@@ -1098,7 +1098,7 @@ declare class Receiving {
|
|
|
1098
1098
|
//#region src/emails/emails.d.ts
|
|
1099
1099
|
declare class Emails {
|
|
1100
1100
|
private readonly resend;
|
|
1101
|
-
readonly attachments: Attachments;
|
|
1101
|
+
readonly attachments: Attachments$1;
|
|
1102
1102
|
readonly receiving: Receiving;
|
|
1103
1103
|
constructor(resend: Resend);
|
|
1104
1104
|
send(payload: CreateEmailOptions, options?: CreateEmailRequestOptions): Promise<CreateEmailResponse>;
|
|
@@ -1331,7 +1331,175 @@ declare class Topics {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
//#endregion
|
|
1333
1333
|
//#region src/webhooks/interfaces/webhook-event.interface.d.ts
|
|
1334
|
-
type WebhookEvent = 'email.sent' | 'email.delivered' | 'email.delivery_delayed' | 'email.complained' | 'email.bounced' | 'email.opened' | 'email.clicked' | 'email.received' | 'email.failed' | 'contact.created' | 'contact.updated' | 'contact.deleted' | 'domain.created' | 'domain.updated' | 'domain.deleted';
|
|
1334
|
+
type WebhookEvent = 'email.sent' | 'email.scheduled' | 'email.delivered' | 'email.delivery_delayed' | 'email.complained' | 'email.bounced' | 'email.opened' | 'email.clicked' | 'email.received' | 'email.failed' | 'email.suppressed' | 'contact.created' | 'contact.updated' | 'contact.deleted' | 'domain.created' | 'domain.updated' | 'domain.deleted';
|
|
1335
|
+
interface BaseEmailEventData {
|
|
1336
|
+
broadcast_id?: string;
|
|
1337
|
+
created_at: string;
|
|
1338
|
+
email_id: string;
|
|
1339
|
+
from: string;
|
|
1340
|
+
to: string[];
|
|
1341
|
+
subject: string;
|
|
1342
|
+
template_id?: string;
|
|
1343
|
+
tags?: Record<string, string>;
|
|
1344
|
+
}
|
|
1345
|
+
interface EmailBounce {
|
|
1346
|
+
message: string;
|
|
1347
|
+
subType: string;
|
|
1348
|
+
type: string;
|
|
1349
|
+
}
|
|
1350
|
+
interface EmailClick {
|
|
1351
|
+
ipAddress: string;
|
|
1352
|
+
link: string;
|
|
1353
|
+
timestamp: string;
|
|
1354
|
+
userAgent: string;
|
|
1355
|
+
}
|
|
1356
|
+
interface EmailFailed {
|
|
1357
|
+
reason: string;
|
|
1358
|
+
}
|
|
1359
|
+
interface EmailSuppressed {
|
|
1360
|
+
message: string;
|
|
1361
|
+
type: string;
|
|
1362
|
+
}
|
|
1363
|
+
interface ReceivedEmailAttachment {
|
|
1364
|
+
id: string;
|
|
1365
|
+
filename: string;
|
|
1366
|
+
content_type: string;
|
|
1367
|
+
content_disposition: string;
|
|
1368
|
+
content_id?: string;
|
|
1369
|
+
}
|
|
1370
|
+
interface ReceivedEmailEventData {
|
|
1371
|
+
email_id: string;
|
|
1372
|
+
created_at: string;
|
|
1373
|
+
from: string;
|
|
1374
|
+
to: string[];
|
|
1375
|
+
bcc: string[];
|
|
1376
|
+
cc: string[];
|
|
1377
|
+
message_id: string;
|
|
1378
|
+
subject: string;
|
|
1379
|
+
attachments: ReceivedEmailAttachment[];
|
|
1380
|
+
}
|
|
1381
|
+
interface ContactEventData {
|
|
1382
|
+
id: string;
|
|
1383
|
+
audience_id: string;
|
|
1384
|
+
segment_ids: string[];
|
|
1385
|
+
created_at: string;
|
|
1386
|
+
updated_at: string;
|
|
1387
|
+
email: string;
|
|
1388
|
+
first_name?: string;
|
|
1389
|
+
last_name?: string;
|
|
1390
|
+
unsubscribed: boolean;
|
|
1391
|
+
}
|
|
1392
|
+
interface DomainRecord {
|
|
1393
|
+
record: string;
|
|
1394
|
+
name: string;
|
|
1395
|
+
type: string;
|
|
1396
|
+
ttl: string;
|
|
1397
|
+
status: string;
|
|
1398
|
+
value: string;
|
|
1399
|
+
priority?: number;
|
|
1400
|
+
}
|
|
1401
|
+
interface DomainEventData {
|
|
1402
|
+
id: string;
|
|
1403
|
+
name: string;
|
|
1404
|
+
status: string;
|
|
1405
|
+
created_at: string;
|
|
1406
|
+
region: string;
|
|
1407
|
+
records: DomainRecord[];
|
|
1408
|
+
}
|
|
1409
|
+
interface EmailSentEvent {
|
|
1410
|
+
type: 'email.sent';
|
|
1411
|
+
created_at: string;
|
|
1412
|
+
data: BaseEmailEventData;
|
|
1413
|
+
}
|
|
1414
|
+
interface EmailScheduledEvent {
|
|
1415
|
+
type: 'email.scheduled';
|
|
1416
|
+
created_at: string;
|
|
1417
|
+
data: BaseEmailEventData;
|
|
1418
|
+
}
|
|
1419
|
+
interface EmailDeliveredEvent {
|
|
1420
|
+
type: 'email.delivered';
|
|
1421
|
+
created_at: string;
|
|
1422
|
+
data: BaseEmailEventData;
|
|
1423
|
+
}
|
|
1424
|
+
interface EmailDeliveryDelayedEvent {
|
|
1425
|
+
type: 'email.delivery_delayed';
|
|
1426
|
+
created_at: string;
|
|
1427
|
+
data: BaseEmailEventData;
|
|
1428
|
+
}
|
|
1429
|
+
interface EmailComplainedEvent {
|
|
1430
|
+
type: 'email.complained';
|
|
1431
|
+
created_at: string;
|
|
1432
|
+
data: BaseEmailEventData;
|
|
1433
|
+
}
|
|
1434
|
+
interface EmailBouncedEvent {
|
|
1435
|
+
type: 'email.bounced';
|
|
1436
|
+
created_at: string;
|
|
1437
|
+
data: BaseEmailEventData & {
|
|
1438
|
+
bounce: EmailBounce;
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
interface EmailOpenedEvent {
|
|
1442
|
+
type: 'email.opened';
|
|
1443
|
+
created_at: string;
|
|
1444
|
+
data: BaseEmailEventData;
|
|
1445
|
+
}
|
|
1446
|
+
interface EmailClickedEvent {
|
|
1447
|
+
type: 'email.clicked';
|
|
1448
|
+
created_at: string;
|
|
1449
|
+
data: BaseEmailEventData & {
|
|
1450
|
+
click: EmailClick;
|
|
1451
|
+
};
|
|
1452
|
+
}
|
|
1453
|
+
interface EmailReceivedEvent {
|
|
1454
|
+
type: 'email.received';
|
|
1455
|
+
created_at: string;
|
|
1456
|
+
data: ReceivedEmailEventData;
|
|
1457
|
+
}
|
|
1458
|
+
interface EmailFailedEvent {
|
|
1459
|
+
type: 'email.failed';
|
|
1460
|
+
created_at: string;
|
|
1461
|
+
data: BaseEmailEventData & {
|
|
1462
|
+
failed: EmailFailed;
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
interface EmailSuppressedEvent {
|
|
1466
|
+
type: 'email.suppressed';
|
|
1467
|
+
created_at: string;
|
|
1468
|
+
data: BaseEmailEventData & {
|
|
1469
|
+
suppressed: EmailSuppressed;
|
|
1470
|
+
};
|
|
1471
|
+
}
|
|
1472
|
+
interface ContactCreatedEvent {
|
|
1473
|
+
type: 'contact.created';
|
|
1474
|
+
created_at: string;
|
|
1475
|
+
data: ContactEventData;
|
|
1476
|
+
}
|
|
1477
|
+
interface ContactUpdatedEvent {
|
|
1478
|
+
type: 'contact.updated';
|
|
1479
|
+
created_at: string;
|
|
1480
|
+
data: ContactEventData;
|
|
1481
|
+
}
|
|
1482
|
+
interface ContactDeletedEvent {
|
|
1483
|
+
type: 'contact.deleted';
|
|
1484
|
+
created_at: string;
|
|
1485
|
+
data: ContactEventData;
|
|
1486
|
+
}
|
|
1487
|
+
interface DomainCreatedEvent {
|
|
1488
|
+
type: 'domain.created';
|
|
1489
|
+
created_at: string;
|
|
1490
|
+
data: DomainEventData;
|
|
1491
|
+
}
|
|
1492
|
+
interface DomainUpdatedEvent {
|
|
1493
|
+
type: 'domain.updated';
|
|
1494
|
+
created_at: string;
|
|
1495
|
+
data: DomainEventData;
|
|
1496
|
+
}
|
|
1497
|
+
interface DomainDeletedEvent {
|
|
1498
|
+
type: 'domain.deleted';
|
|
1499
|
+
created_at: string;
|
|
1500
|
+
data: DomainEventData;
|
|
1501
|
+
}
|
|
1502
|
+
type WebhookEventPayload = EmailSentEvent | EmailScheduledEvent | EmailDeliveredEvent | EmailDeliveryDelayedEvent | EmailComplainedEvent | EmailBouncedEvent | EmailOpenedEvent | EmailClickedEvent | EmailReceivedEvent | EmailFailedEvent | EmailSuppressedEvent | ContactCreatedEvent | ContactUpdatedEvent | ContactDeletedEvent | DomainCreatedEvent | DomainUpdatedEvent | DomainDeletedEvent;
|
|
1335
1503
|
//#endregion
|
|
1336
1504
|
//#region src/webhooks/interfaces/create-webhook-options.interface.d.ts
|
|
1337
1505
|
interface CreateWebhookOptions {
|
|
@@ -1412,7 +1580,7 @@ declare class Webhooks {
|
|
|
1412
1580
|
list(options?: ListWebhooksOptions): Promise<ListWebhooksResponse>;
|
|
1413
1581
|
update(id: string, payload: UpdateWebhookOptions): Promise<UpdateWebhookResponse>;
|
|
1414
1582
|
remove(id: string): Promise<RemoveWebhookResponse>;
|
|
1415
|
-
verify(payload: VerifyWebhookOptions):
|
|
1583
|
+
verify(payload: VerifyWebhookOptions): WebhookEventPayload;
|
|
1416
1584
|
}
|
|
1417
1585
|
//#endregion
|
|
1418
1586
|
//#region src/resend.d.ts
|
|
@@ -1443,4 +1611,4 @@ declare class Resend {
|
|
|
1443
1611
|
delete<T>(path: string, query?: unknown): Promise<Response<T>>;
|
|
1444
1612
|
}
|
|
1445
1613
|
//#endregion
|
|
1446
|
-
export { ApiKey, Attachment, Broadcast, CancelEmailResponse, CancelEmailResponseSuccess, Contact, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactOptions, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainDkimRecord, DomainNameservers, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, EmailApiAttachment, EmailApiOptions, type ErrorResponse, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactOptions, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, IdempotentRequest, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsApiResponse, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, RequireAtLeastOne, Resend, type Response, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, Tag, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactResponse, UpdateContactResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, Webhook, WebhookEvent };
|
|
1614
|
+
export { ApiKey, Attachment, Broadcast, CancelEmailResponse, CancelEmailResponseSuccess, Contact, ContactCreatedEvent, ContactDeletedEvent, ContactUpdatedEvent, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactOptions, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainCreatedEvent, DomainDeletedEvent, DomainDkimRecord, DomainNameservers, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, DomainUpdatedEvent, EmailApiAttachment, EmailApiOptions, EmailBouncedEvent, EmailClickedEvent, EmailComplainedEvent, EmailDeliveredEvent, EmailDeliveryDelayedEvent, EmailFailedEvent, EmailOpenedEvent, EmailReceivedEvent, EmailScheduledEvent, EmailSentEvent, EmailSuppressedEvent, type ErrorResponse, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactOptions, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, IdempotentRequest, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsApiResponse, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, RequireAtLeastOne, Resend, type Response, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, Tag, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactResponse, UpdateContactResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, Webhook, WebhookEvent, WebhookEventPayload };
|
package/dist/index.d.mts
CHANGED
|
@@ -1061,7 +1061,7 @@ declare class Domains {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
//#endregion
|
|
1063
1063
|
//#region src/emails/attachments/attachments.d.ts
|
|
1064
|
-
declare class Attachments {
|
|
1064
|
+
declare class Attachments$1 {
|
|
1065
1065
|
private readonly resend;
|
|
1066
1066
|
constructor(resend: Resend);
|
|
1067
1067
|
get(options: GetAttachmentOptions): Promise<GetAttachmentResponse>;
|
|
@@ -1079,7 +1079,7 @@ type ListEmailsResponseSuccess = {
|
|
|
1079
1079
|
type ListEmailsResponse = Response<ListEmailsResponseSuccess>;
|
|
1080
1080
|
//#endregion
|
|
1081
1081
|
//#region src/emails/receiving/attachments/attachments.d.ts
|
|
1082
|
-
declare class Attachments
|
|
1082
|
+
declare class Attachments {
|
|
1083
1083
|
private readonly resend;
|
|
1084
1084
|
constructor(resend: Resend);
|
|
1085
1085
|
get(options: GetAttachmentOptions): Promise<GetAttachmentResponse>;
|
|
@@ -1089,7 +1089,7 @@ declare class Attachments$1 {
|
|
|
1089
1089
|
//#region src/emails/receiving/receiving.d.ts
|
|
1090
1090
|
declare class Receiving {
|
|
1091
1091
|
private readonly resend;
|
|
1092
|
-
readonly attachments: Attachments
|
|
1092
|
+
readonly attachments: Attachments;
|
|
1093
1093
|
constructor(resend: Resend);
|
|
1094
1094
|
get(id: string): Promise<GetReceivingEmailResponse>;
|
|
1095
1095
|
list(options?: ListReceivingEmailsOptions): Promise<ListReceivingEmailsResponse>;
|
|
@@ -1098,7 +1098,7 @@ declare class Receiving {
|
|
|
1098
1098
|
//#region src/emails/emails.d.ts
|
|
1099
1099
|
declare class Emails {
|
|
1100
1100
|
private readonly resend;
|
|
1101
|
-
readonly attachments: Attachments;
|
|
1101
|
+
readonly attachments: Attachments$1;
|
|
1102
1102
|
readonly receiving: Receiving;
|
|
1103
1103
|
constructor(resend: Resend);
|
|
1104
1104
|
send(payload: CreateEmailOptions, options?: CreateEmailRequestOptions): Promise<CreateEmailResponse>;
|
|
@@ -1331,7 +1331,175 @@ declare class Topics {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
//#endregion
|
|
1333
1333
|
//#region src/webhooks/interfaces/webhook-event.interface.d.ts
|
|
1334
|
-
type WebhookEvent = 'email.sent' | 'email.delivered' | 'email.delivery_delayed' | 'email.complained' | 'email.bounced' | 'email.opened' | 'email.clicked' | 'email.received' | 'email.failed' | 'contact.created' | 'contact.updated' | 'contact.deleted' | 'domain.created' | 'domain.updated' | 'domain.deleted';
|
|
1334
|
+
type WebhookEvent = 'email.sent' | 'email.scheduled' | 'email.delivered' | 'email.delivery_delayed' | 'email.complained' | 'email.bounced' | 'email.opened' | 'email.clicked' | 'email.received' | 'email.failed' | 'email.suppressed' | 'contact.created' | 'contact.updated' | 'contact.deleted' | 'domain.created' | 'domain.updated' | 'domain.deleted';
|
|
1335
|
+
interface BaseEmailEventData {
|
|
1336
|
+
broadcast_id?: string;
|
|
1337
|
+
created_at: string;
|
|
1338
|
+
email_id: string;
|
|
1339
|
+
from: string;
|
|
1340
|
+
to: string[];
|
|
1341
|
+
subject: string;
|
|
1342
|
+
template_id?: string;
|
|
1343
|
+
tags?: Record<string, string>;
|
|
1344
|
+
}
|
|
1345
|
+
interface EmailBounce {
|
|
1346
|
+
message: string;
|
|
1347
|
+
subType: string;
|
|
1348
|
+
type: string;
|
|
1349
|
+
}
|
|
1350
|
+
interface EmailClick {
|
|
1351
|
+
ipAddress: string;
|
|
1352
|
+
link: string;
|
|
1353
|
+
timestamp: string;
|
|
1354
|
+
userAgent: string;
|
|
1355
|
+
}
|
|
1356
|
+
interface EmailFailed {
|
|
1357
|
+
reason: string;
|
|
1358
|
+
}
|
|
1359
|
+
interface EmailSuppressed {
|
|
1360
|
+
message: string;
|
|
1361
|
+
type: string;
|
|
1362
|
+
}
|
|
1363
|
+
interface ReceivedEmailAttachment {
|
|
1364
|
+
id: string;
|
|
1365
|
+
filename: string;
|
|
1366
|
+
content_type: string;
|
|
1367
|
+
content_disposition: string;
|
|
1368
|
+
content_id?: string;
|
|
1369
|
+
}
|
|
1370
|
+
interface ReceivedEmailEventData {
|
|
1371
|
+
email_id: string;
|
|
1372
|
+
created_at: string;
|
|
1373
|
+
from: string;
|
|
1374
|
+
to: string[];
|
|
1375
|
+
bcc: string[];
|
|
1376
|
+
cc: string[];
|
|
1377
|
+
message_id: string;
|
|
1378
|
+
subject: string;
|
|
1379
|
+
attachments: ReceivedEmailAttachment[];
|
|
1380
|
+
}
|
|
1381
|
+
interface ContactEventData {
|
|
1382
|
+
id: string;
|
|
1383
|
+
audience_id: string;
|
|
1384
|
+
segment_ids: string[];
|
|
1385
|
+
created_at: string;
|
|
1386
|
+
updated_at: string;
|
|
1387
|
+
email: string;
|
|
1388
|
+
first_name?: string;
|
|
1389
|
+
last_name?: string;
|
|
1390
|
+
unsubscribed: boolean;
|
|
1391
|
+
}
|
|
1392
|
+
interface DomainRecord {
|
|
1393
|
+
record: string;
|
|
1394
|
+
name: string;
|
|
1395
|
+
type: string;
|
|
1396
|
+
ttl: string;
|
|
1397
|
+
status: string;
|
|
1398
|
+
value: string;
|
|
1399
|
+
priority?: number;
|
|
1400
|
+
}
|
|
1401
|
+
interface DomainEventData {
|
|
1402
|
+
id: string;
|
|
1403
|
+
name: string;
|
|
1404
|
+
status: string;
|
|
1405
|
+
created_at: string;
|
|
1406
|
+
region: string;
|
|
1407
|
+
records: DomainRecord[];
|
|
1408
|
+
}
|
|
1409
|
+
interface EmailSentEvent {
|
|
1410
|
+
type: 'email.sent';
|
|
1411
|
+
created_at: string;
|
|
1412
|
+
data: BaseEmailEventData;
|
|
1413
|
+
}
|
|
1414
|
+
interface EmailScheduledEvent {
|
|
1415
|
+
type: 'email.scheduled';
|
|
1416
|
+
created_at: string;
|
|
1417
|
+
data: BaseEmailEventData;
|
|
1418
|
+
}
|
|
1419
|
+
interface EmailDeliveredEvent {
|
|
1420
|
+
type: 'email.delivered';
|
|
1421
|
+
created_at: string;
|
|
1422
|
+
data: BaseEmailEventData;
|
|
1423
|
+
}
|
|
1424
|
+
interface EmailDeliveryDelayedEvent {
|
|
1425
|
+
type: 'email.delivery_delayed';
|
|
1426
|
+
created_at: string;
|
|
1427
|
+
data: BaseEmailEventData;
|
|
1428
|
+
}
|
|
1429
|
+
interface EmailComplainedEvent {
|
|
1430
|
+
type: 'email.complained';
|
|
1431
|
+
created_at: string;
|
|
1432
|
+
data: BaseEmailEventData;
|
|
1433
|
+
}
|
|
1434
|
+
interface EmailBouncedEvent {
|
|
1435
|
+
type: 'email.bounced';
|
|
1436
|
+
created_at: string;
|
|
1437
|
+
data: BaseEmailEventData & {
|
|
1438
|
+
bounce: EmailBounce;
|
|
1439
|
+
};
|
|
1440
|
+
}
|
|
1441
|
+
interface EmailOpenedEvent {
|
|
1442
|
+
type: 'email.opened';
|
|
1443
|
+
created_at: string;
|
|
1444
|
+
data: BaseEmailEventData;
|
|
1445
|
+
}
|
|
1446
|
+
interface EmailClickedEvent {
|
|
1447
|
+
type: 'email.clicked';
|
|
1448
|
+
created_at: string;
|
|
1449
|
+
data: BaseEmailEventData & {
|
|
1450
|
+
click: EmailClick;
|
|
1451
|
+
};
|
|
1452
|
+
}
|
|
1453
|
+
interface EmailReceivedEvent {
|
|
1454
|
+
type: 'email.received';
|
|
1455
|
+
created_at: string;
|
|
1456
|
+
data: ReceivedEmailEventData;
|
|
1457
|
+
}
|
|
1458
|
+
interface EmailFailedEvent {
|
|
1459
|
+
type: 'email.failed';
|
|
1460
|
+
created_at: string;
|
|
1461
|
+
data: BaseEmailEventData & {
|
|
1462
|
+
failed: EmailFailed;
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
interface EmailSuppressedEvent {
|
|
1466
|
+
type: 'email.suppressed';
|
|
1467
|
+
created_at: string;
|
|
1468
|
+
data: BaseEmailEventData & {
|
|
1469
|
+
suppressed: EmailSuppressed;
|
|
1470
|
+
};
|
|
1471
|
+
}
|
|
1472
|
+
interface ContactCreatedEvent {
|
|
1473
|
+
type: 'contact.created';
|
|
1474
|
+
created_at: string;
|
|
1475
|
+
data: ContactEventData;
|
|
1476
|
+
}
|
|
1477
|
+
interface ContactUpdatedEvent {
|
|
1478
|
+
type: 'contact.updated';
|
|
1479
|
+
created_at: string;
|
|
1480
|
+
data: ContactEventData;
|
|
1481
|
+
}
|
|
1482
|
+
interface ContactDeletedEvent {
|
|
1483
|
+
type: 'contact.deleted';
|
|
1484
|
+
created_at: string;
|
|
1485
|
+
data: ContactEventData;
|
|
1486
|
+
}
|
|
1487
|
+
interface DomainCreatedEvent {
|
|
1488
|
+
type: 'domain.created';
|
|
1489
|
+
created_at: string;
|
|
1490
|
+
data: DomainEventData;
|
|
1491
|
+
}
|
|
1492
|
+
interface DomainUpdatedEvent {
|
|
1493
|
+
type: 'domain.updated';
|
|
1494
|
+
created_at: string;
|
|
1495
|
+
data: DomainEventData;
|
|
1496
|
+
}
|
|
1497
|
+
interface DomainDeletedEvent {
|
|
1498
|
+
type: 'domain.deleted';
|
|
1499
|
+
created_at: string;
|
|
1500
|
+
data: DomainEventData;
|
|
1501
|
+
}
|
|
1502
|
+
type WebhookEventPayload = EmailSentEvent | EmailScheduledEvent | EmailDeliveredEvent | EmailDeliveryDelayedEvent | EmailComplainedEvent | EmailBouncedEvent | EmailOpenedEvent | EmailClickedEvent | EmailReceivedEvent | EmailFailedEvent | EmailSuppressedEvent | ContactCreatedEvent | ContactUpdatedEvent | ContactDeletedEvent | DomainCreatedEvent | DomainUpdatedEvent | DomainDeletedEvent;
|
|
1335
1503
|
//#endregion
|
|
1336
1504
|
//#region src/webhooks/interfaces/create-webhook-options.interface.d.ts
|
|
1337
1505
|
interface CreateWebhookOptions {
|
|
@@ -1412,7 +1580,7 @@ declare class Webhooks {
|
|
|
1412
1580
|
list(options?: ListWebhooksOptions): Promise<ListWebhooksResponse>;
|
|
1413
1581
|
update(id: string, payload: UpdateWebhookOptions): Promise<UpdateWebhookResponse>;
|
|
1414
1582
|
remove(id: string): Promise<RemoveWebhookResponse>;
|
|
1415
|
-
verify(payload: VerifyWebhookOptions):
|
|
1583
|
+
verify(payload: VerifyWebhookOptions): WebhookEventPayload;
|
|
1416
1584
|
}
|
|
1417
1585
|
//#endregion
|
|
1418
1586
|
//#region src/resend.d.ts
|
|
@@ -1443,4 +1611,4 @@ declare class Resend {
|
|
|
1443
1611
|
delete<T>(path: string, query?: unknown): Promise<Response<T>>;
|
|
1444
1612
|
}
|
|
1445
1613
|
//#endregion
|
|
1446
|
-
export { ApiKey, Attachment, Broadcast, CancelEmailResponse, CancelEmailResponseSuccess, Contact, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactOptions, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainDkimRecord, DomainNameservers, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, EmailApiAttachment, EmailApiOptions, type ErrorResponse, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactOptions, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, IdempotentRequest, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsApiResponse, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, RequireAtLeastOne, Resend, type Response, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, Tag, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactResponse, UpdateContactResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, Webhook, WebhookEvent };
|
|
1614
|
+
export { ApiKey, Attachment, Broadcast, CancelEmailResponse, CancelEmailResponseSuccess, Contact, ContactCreatedEvent, ContactDeletedEvent, ContactUpdatedEvent, CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateBroadcastOptions, CreateBroadcastRequestOptions, CreateBroadcastResponse, CreateBroadcastResponseSuccess, CreateContactOptions, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, CreateSegmentOptions, CreateSegmentRequestOptions, CreateSegmentResponse, CreateSegmentResponseSuccess, CreateWebhookOptions, CreateWebhookRequestOptions, CreateWebhookResponse, CreateWebhookResponseSuccess, Domain, DomainApiOptions, DomainCapabilities, DomainCapabilityStatus, DomainCreatedEvent, DomainDeletedEvent, DomainDkimRecord, DomainNameservers, DomainRecords, DomainRegion, DomainSpfRecord, DomainStatus, DomainUpdatedEvent, EmailApiAttachment, EmailApiOptions, EmailBouncedEvent, EmailClickedEvent, EmailComplainedEvent, EmailDeliveredEvent, EmailDeliveryDelayedEvent, EmailFailedEvent, EmailOpenedEvent, EmailReceivedEvent, EmailScheduledEvent, EmailSentEvent, EmailSuppressedEvent, type ErrorResponse, GetAttachmentOptions, GetAttachmentResponse, GetAttachmentResponseSuccess, GetBroadcastResponse, GetBroadcastResponseSuccess, GetContactOptions, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, GetOptions, GetReceivingEmailResponse, GetReceivingEmailResponseSuccess, GetSegmentResponse, GetSegmentResponseSuccess, GetWebhookResponse, GetWebhookResponseSuccess, IdempotentRequest, ListApiKeysOptions, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAttachmentsApiResponse, ListAttachmentsOptions, ListAttachmentsResponse, ListAttachmentsResponseSuccess, ListBroadcastsOptions, ListBroadcastsResponse, ListBroadcastsResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsOptions, ListDomainsResponse, ListDomainsResponseSuccess, ListReceivingEmail, ListReceivingEmailsOptions, ListReceivingEmailsResponse, ListReceivingEmailsResponseSuccess, ListSegmentsOptions, ListSegmentsResponse, ListSegmentsResponseSuccess, ListWebhooksOptions, ListWebhooksResponse, ListWebhooksResponseSuccess, PaginatedData, PaginationOptions, PatchOptions, PostOptions, PutOptions, ReceivingRecord, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveBroadcastResponse, RemoveBroadcastResponseSuccess, RemoveContactOptions, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, RemoveSegmentResponse, RemoveSegmentResponseSuccess, RemoveWebhookResponse, RemoveWebhookResponseSuccess, RequireAtLeastOne, Resend, type Response, Segment, SelectingField, SendBroadcastOptions, SendBroadcastRequestOptions, SendBroadcastResponse, SendBroadcastResponseSuccess, Tag, UpdateBroadcastOptions, UpdateBroadcastResponse, UpdateBroadcastResponseSuccess, UpdateContactOptions, UpdateContactResponse, UpdateContactResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, UpdateEmailOptions, UpdateEmailResponse, UpdateEmailResponseSuccess, UpdateWebhookOptions, UpdateWebhookResponse, UpdateWebhookResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess, Webhook, WebhookEvent, WebhookEventPayload };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Webhook } from "svix";
|
|
2
2
|
|
|
3
3
|
//#region package.json
|
|
4
|
-
var version = "6.
|
|
4
|
+
var version = "6.7.0";
|
|
5
5
|
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/common/utils/build-pagination-query.ts
|
|
@@ -476,7 +476,7 @@ var Domains = class {
|
|
|
476
476
|
|
|
477
477
|
//#endregion
|
|
478
478
|
//#region src/emails/attachments/attachments.ts
|
|
479
|
-
var Attachments = class {
|
|
479
|
+
var Attachments$1 = class {
|
|
480
480
|
constructor(resend) {
|
|
481
481
|
this.resend = resend;
|
|
482
482
|
}
|
|
@@ -494,7 +494,7 @@ var Attachments = class {
|
|
|
494
494
|
|
|
495
495
|
//#endregion
|
|
496
496
|
//#region src/emails/receiving/attachments/attachments.ts
|
|
497
|
-
var Attachments
|
|
497
|
+
var Attachments = class {
|
|
498
498
|
constructor(resend) {
|
|
499
499
|
this.resend = resend;
|
|
500
500
|
}
|
|
@@ -515,7 +515,7 @@ var Attachments$1 = class {
|
|
|
515
515
|
var Receiving = class {
|
|
516
516
|
constructor(resend) {
|
|
517
517
|
this.resend = resend;
|
|
518
|
-
this.attachments = new Attachments
|
|
518
|
+
this.attachments = new Attachments(resend);
|
|
519
519
|
}
|
|
520
520
|
async get(id) {
|
|
521
521
|
return await this.resend.get(`/emails/receiving/${id}`);
|
|
@@ -532,7 +532,7 @@ var Receiving = class {
|
|
|
532
532
|
var Emails = class {
|
|
533
533
|
constructor(resend) {
|
|
534
534
|
this.resend = resend;
|
|
535
|
-
this.attachments = new Attachments(resend);
|
|
535
|
+
this.attachments = new Attachments$1(resend);
|
|
536
536
|
this.receiving = new Receiving(resend);
|
|
537
537
|
}
|
|
538
538
|
async send(payload, options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "resend",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.7.0",
|
|
4
4
|
"description": "Node.js library for the Resend API",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -31,11 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsdown src/index.ts --format esm,cjs --dts",
|
|
34
|
+
"integration:nextjs": "cd ./integrations/nextjs && next build --turbopack",
|
|
34
35
|
"lint": "biome check .",
|
|
35
36
|
"lint:fix": "biome check . --write",
|
|
36
37
|
"prepublishOnly": "pnpm run build",
|
|
37
38
|
"test": "vitest run",
|
|
38
39
|
"test:dev": "cross-env TEST_MODE=dev vitest run",
|
|
40
|
+
"test:integrations": "vitest run integrations",
|
|
39
41
|
"test:record": "rimraf --glob \"**/__recordings__\" && cross-env TEST_MODE=record vitest run",
|
|
40
42
|
"test:watch": "vitest",
|
|
41
43
|
"typecheck": "tsc --noEmit"
|
|
@@ -51,7 +53,7 @@
|
|
|
51
53
|
},
|
|
52
54
|
"homepage": "https://github.com/resend/resend-node#readme",
|
|
53
55
|
"dependencies": {
|
|
54
|
-
"svix": "1.
|
|
56
|
+
"svix": "1.84.1"
|
|
55
57
|
},
|
|
56
58
|
"peerDependencies": {
|
|
57
59
|
"@react-email/render": "*"
|
|
@@ -62,20 +64,20 @@
|
|
|
62
64
|
}
|
|
63
65
|
},
|
|
64
66
|
"devDependencies": {
|
|
65
|
-
"@biomejs/biome": "2.
|
|
67
|
+
"@biomejs/biome": "2.3.11",
|
|
66
68
|
"@pollyjs/adapter-fetch": "6.0.7",
|
|
67
69
|
"@pollyjs/core": "6.0.6",
|
|
68
70
|
"@pollyjs/persister-fs": "6.0.6",
|
|
69
|
-
"@types/node": "24.10.
|
|
70
|
-
"@types/react": "19.2.
|
|
71
|
+
"@types/node": "24.10.4",
|
|
72
|
+
"@types/react": "19.2.7",
|
|
71
73
|
"cross-env": "10.1.0",
|
|
72
74
|
"dotenv": "17.2.3",
|
|
73
|
-
"pkg-pr-new": "0.0.
|
|
74
|
-
"rimraf": "6.1.
|
|
75
|
-
"tsdown": "0.
|
|
75
|
+
"pkg-pr-new": "0.0.62",
|
|
76
|
+
"rimraf": "6.1.2",
|
|
77
|
+
"tsdown": "0.18.4",
|
|
76
78
|
"typescript": "5.9.3",
|
|
77
|
-
"vitest": "
|
|
79
|
+
"vitest": "4.0.16",
|
|
78
80
|
"vitest-fetch-mock": "0.4.5"
|
|
79
81
|
},
|
|
80
|
-
"packageManager": "pnpm@10.
|
|
82
|
+
"packageManager": "pnpm@10.27.0"
|
|
81
83
|
}
|