resend 6.40.0 → 6.40.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.cjs CHANGED
@@ -57,7 +57,7 @@ const MOVE_THREAD_FOLDERS = [
57
57
  ];
58
58
  //#endregion
59
59
  //#region package.json
60
- var version = "6.40.0";
60
+ var version = "6.40.1";
61
61
  //#endregion
62
62
  //#region src/common/utils/build-pagination-query.ts
63
63
  function buildPaginationUrl(base, options) {
package/dist/index.d.cts CHANGED
@@ -1718,13 +1718,7 @@ export interface ListReceivingEmailsResponseSuccess {
1718
1718
  has_more: boolean;
1719
1719
  data: ListReceivingEmail[];
1720
1720
  }
1721
- export type ListReceivingEmailsResponse = {
1722
- data: ListReceivingEmailsResponseSuccess;
1723
- error: null;
1724
- } | {
1725
- data: null;
1726
- error: ErrorResponse;
1727
- };
1721
+ export type ListReceivingEmailsResponse = Response<ListReceivingEmailsResponseSuccess>;
1728
1722
  //#endregion
1729
1723
  //#region src/events/interfaces/event.d.ts
1730
1724
  export type EventSchemaType = 'string' | 'number' | 'boolean' | 'date';
package/dist/index.d.mts CHANGED
@@ -1718,13 +1718,7 @@ export interface ListReceivingEmailsResponseSuccess {
1718
1718
  has_more: boolean;
1719
1719
  data: ListReceivingEmail[];
1720
1720
  }
1721
- export type ListReceivingEmailsResponse = {
1722
- data: ListReceivingEmailsResponseSuccess;
1723
- error: null;
1724
- } | {
1725
- data: null;
1726
- error: ErrorResponse;
1727
- };
1721
+ export type ListReceivingEmailsResponse = Response<ListReceivingEmailsResponseSuccess>;
1728
1722
  //#endregion
1729
1723
  //#region src/events/interfaces/event.d.ts
1730
1724
  export type EventSchemaType = 'string' | 'number' | 'boolean' | 'date';
package/dist/index.mjs CHANGED
@@ -33,7 +33,7 @@ const MOVE_THREAD_FOLDERS = [
33
33
  ];
34
34
  //#endregion
35
35
  //#region package.json
36
- var version = "6.40.0";
36
+ var version = "6.40.1";
37
37
  //#endregion
38
38
  //#region src/common/utils/build-pagination-query.ts
39
39
  function buildPaginationUrl(base, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend",
3
- "version": "6.40.0",
3
+ "version": "6.40.1",
4
4
  "description": "Node.js library for the Resend API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",