resend 5.0.0 → 6.0.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/dist/index.d.mts CHANGED
@@ -280,7 +280,7 @@ interface Attachment {
280
280
  * Optional content ID for the attachment, to be used as a reference in the HTML content.
281
281
  * If set, this attachment will be sent as an inline attachment and you can reference it in the HTML content using the `cid:` prefix.
282
282
  */
283
- inlineContentId?: string;
283
+ contentId?: string;
284
284
  }
285
285
  type Tag = {
286
286
  /**
@@ -773,6 +773,10 @@ interface GetEmailResponseSuccess {
773
773
  reply_to: string[] | null;
774
774
  subject: string;
775
775
  text: string | null;
776
+ tags?: {
777
+ name: string;
778
+ value: string;
779
+ }[];
776
780
  to: string[];
777
781
  scheduled_at: string | null;
778
782
  object: 'email';
package/dist/index.d.ts CHANGED
@@ -280,7 +280,7 @@ interface Attachment {
280
280
  * Optional content ID for the attachment, to be used as a reference in the HTML content.
281
281
  * If set, this attachment will be sent as an inline attachment and you can reference it in the HTML content using the `cid:` prefix.
282
282
  */
283
- inlineContentId?: string;
283
+ contentId?: string;
284
284
  }
285
285
  type Tag = {
286
286
  /**
@@ -773,6 +773,10 @@ interface GetEmailResponseSuccess {
773
773
  reply_to: string[] | null;
774
774
  subject: string;
775
775
  text: string | null;
776
+ tags?: {
777
+ name: string;
778
+ value: string;
779
+ }[];
776
780
  to: string[];
777
781
  scheduled_at: string | null;
778
782
  object: 'email';
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ __export(src_exports, {
72
72
  module.exports = __toCommonJS(src_exports);
73
73
 
74
74
  // package.json
75
- var version = "5.0.0";
75
+ var version = "6.0.1";
76
76
 
77
77
  // src/api-keys/api-keys.ts
78
78
  var ApiKeys = class {
@@ -151,7 +151,7 @@ function parseAttachments(attachments) {
151
151
  filename: attachment.filename,
152
152
  path: attachment.path,
153
153
  content_type: attachment.contentType,
154
- inline_content_id: attachment.inlineContentId
154
+ content_id: attachment.contentId
155
155
  }));
156
156
  }
157
157
  function parseEmailToApiOptions(email) {
package/dist/index.mjs CHANGED
@@ -39,7 +39,7 @@ var __async = (__this, __arguments, generator) => {
39
39
  };
40
40
 
41
41
  // package.json
42
- var version = "5.0.0";
42
+ var version = "6.0.1";
43
43
 
44
44
  // src/api-keys/api-keys.ts
45
45
  var ApiKeys = class {
@@ -118,7 +118,7 @@ function parseAttachments(attachments) {
118
118
  filename: attachment.filename,
119
119
  path: attachment.path,
120
120
  content_type: attachment.contentType,
121
- inline_content_id: attachment.inlineContentId
121
+ content_id: attachment.contentId
122
122
  }));
123
123
  }
124
124
  function parseEmailToApiOptions(email) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend",
3
- "version": "5.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Node.js library for the Resend API",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -61,5 +61,5 @@
61
61
  "tsup": "7.2.0",
62
62
  "typescript": "5.8.3"
63
63
  },
64
- "packageManager": "pnpm@10.11.1"
64
+ "packageManager": "pnpm@10.14.0"
65
65
  }