resend 6.2.0 → 6.2.2

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
@@ -32,10 +32,11 @@ declare const RESEND_ERROR_CODES_BY_KEY: {
32
32
  readonly internal_server_error: 500;
33
33
  };
34
34
  type RESEND_ERROR_CODE_KEY = keyof typeof RESEND_ERROR_CODES_BY_KEY;
35
- interface ErrorResponse {
35
+ type ErrorResponse = {
36
36
  message: string;
37
+ statusCode: number | null;
37
38
  name: RESEND_ERROR_CODE_KEY;
38
- }
39
+ };
39
40
  type Tag$1 = {
40
41
  name: string;
41
42
  value: string;
package/dist/index.d.ts CHANGED
@@ -32,10 +32,11 @@ declare const RESEND_ERROR_CODES_BY_KEY: {
32
32
  readonly internal_server_error: 500;
33
33
  };
34
34
  type RESEND_ERROR_CODE_KEY = keyof typeof RESEND_ERROR_CODES_BY_KEY;
35
- interface ErrorResponse {
35
+ type ErrorResponse = {
36
36
  message: string;
37
+ statusCode: number | null;
37
38
  name: RESEND_ERROR_CODE_KEY;
38
- }
39
+ };
39
40
  type Tag$1 = {
40
41
  name: string;
41
42
  value: string;