resend 3.4.0 → 3.5.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.d.mts CHANGED
@@ -143,21 +143,21 @@ interface EmailRenderOptions {
143
143
  *
144
144
  * @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
145
145
  */
146
- react?: React.ReactElement | React.ReactNode | null;
146
+ react: React.ReactNode;
147
147
  /**
148
148
  * The HTML version of the message.
149
149
  *
150
150
  * @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
151
151
  */
152
- html?: string;
152
+ html: string;
153
153
  /**
154
154
  * The plain text version of the message.
155
155
  *
156
156
  * @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
157
157
  */
158
- text?: string;
158
+ text: string;
159
159
  }
160
- interface CreateEmailBaseOptions extends EmailRenderOptions {
160
+ interface CreateEmailBaseOptions {
161
161
  /**
162
162
  * Filename and content of attachments (max 40mb per email)
163
163
  *
@@ -543,4 +543,4 @@ declare class Resend {
543
543
  }>;
544
544
  }
545
545
 
546
- export { ErrorResponse, Resend };
546
+ export { CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateAudienceOptions, CreateAudienceRequestOptions, CreateAudienceResponse, CreateAudienceResponseSuccess, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateContactOptions, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, ErrorResponse, GetAudienceResponse, GetAudienceResponseSuccess, GetContactOptions, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAudiencesResponse, ListAudiencesResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsResponse, ListDomainsResponseSuccess, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveAudiencesResponse, RemoveAudiencesResponseSuccess, RemoveContactOptions, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, Resend, Tag, UpdateContactOptions, UpdateContactResponse, UpdateContactResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess };
package/dist/index.d.ts CHANGED
@@ -143,21 +143,21 @@ interface EmailRenderOptions {
143
143
  *
144
144
  * @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
145
145
  */
146
- react?: React.ReactElement | React.ReactNode | null;
146
+ react: React.ReactNode;
147
147
  /**
148
148
  * The HTML version of the message.
149
149
  *
150
150
  * @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
151
151
  */
152
- html?: string;
152
+ html: string;
153
153
  /**
154
154
  * The plain text version of the message.
155
155
  *
156
156
  * @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
157
157
  */
158
- text?: string;
158
+ text: string;
159
159
  }
160
- interface CreateEmailBaseOptions extends EmailRenderOptions {
160
+ interface CreateEmailBaseOptions {
161
161
  /**
162
162
  * Filename and content of attachments (max 40mb per email)
163
163
  *
@@ -543,4 +543,4 @@ declare class Resend {
543
543
  }>;
544
544
  }
545
545
 
546
- export { ErrorResponse, Resend };
546
+ export { CreateApiKeyOptions, CreateApiKeyRequestOptions, CreateApiKeyResponse, CreateApiKeyResponseSuccess, CreateAudienceOptions, CreateAudienceRequestOptions, CreateAudienceResponse, CreateAudienceResponseSuccess, CreateBatchOptions, CreateBatchRequestOptions, CreateBatchResponse, CreateBatchSuccessResponse, CreateContactOptions, CreateContactRequestOptions, CreateContactResponse, CreateContactResponseSuccess, CreateDomainOptions, CreateDomainRequestOptions, CreateDomainResponse, CreateDomainResponseSuccess, CreateEmailOptions, CreateEmailRequestOptions, CreateEmailResponse, CreateEmailResponseSuccess, ErrorResponse, GetAudienceResponse, GetAudienceResponseSuccess, GetContactOptions, GetContactResponse, GetContactResponseSuccess, GetDomainResponse, GetDomainResponseSuccess, GetEmailResponse, GetEmailResponseSuccess, ListApiKeysResponse, ListApiKeysResponseSuccess, ListAudiencesResponse, ListAudiencesResponseSuccess, ListContactsOptions, ListContactsResponse, ListContactsResponseSuccess, ListDomainsResponse, ListDomainsResponseSuccess, RemoveApiKeyResponse, RemoveApiKeyResponseSuccess, RemoveAudiencesResponse, RemoveAudiencesResponseSuccess, RemoveContactOptions, RemoveContactsResponse, RemoveContactsResponseSuccess, RemoveDomainsResponse, RemoveDomainsResponseSuccess, Resend, Tag, UpdateContactOptions, UpdateContactResponse, UpdateContactResponseSuccess, UpdateDomainsOptions, UpdateDomainsResponse, UpdateDomainsResponseSuccess, VerifyDomainsResponse, VerifyDomainsResponseSuccess };
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ __export(src_exports, {
62
62
  module.exports = __toCommonJS(src_exports);
63
63
 
64
64
  // package.json
65
- var version = "3.4.0";
65
+ var version = "3.5.0";
66
66
 
67
67
  // src/api-keys/api-keys.ts
68
68
  var ApiKeys = class {
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 = "3.4.0";
42
+ var version = "3.5.0";
43
43
 
44
44
  // src/api-keys/api-keys.ts
45
45
  var ApiKeys = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "Node.js library for the Resend API",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "homepage": "https://github.com/resendlabs/resend-node#readme",
44
44
  "dependencies": {
45
- "@react-email/render": "0.0.15"
45
+ "@react-email/render": "0.0.16"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@biomejs/biome": "1.8.1",
@@ -56,5 +56,5 @@
56
56
  "tsup": "7.2.0",
57
57
  "typescript": "5.4.5"
58
58
  },
59
- "packageManager": "pnpm@9.3.0"
59
+ "packageManager": "pnpm@9.5.0"
60
60
  }