resend 6.12.2 → 6.12.3

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
@@ -25,7 +25,7 @@ let postal_mime = require("postal-mime");
25
25
  postal_mime = __toESM(postal_mime);
26
26
  let svix = require("svix");
27
27
  //#region package.json
28
- var version = "6.12.2";
28
+ var version = "6.12.3";
29
29
  //#endregion
30
30
  //#region src/common/utils/build-pagination-query.ts
31
31
  /**
package/dist/index.d.cts CHANGED
@@ -1253,7 +1253,7 @@ interface GetEmailResponseSuccess {
1253
1253
  from: string;
1254
1254
  html: string | null;
1255
1255
  id: string;
1256
- last_event: 'bounced' | 'canceled' | 'clicked' | 'complained' | 'delivered' | 'delivery_delayed' | 'failed' | 'opened' | 'queued' | 'scheduled' | 'sent';
1256
+ last_event: 'bounced' | 'canceled' | 'clicked' | 'complained' | 'delivered' | 'delivery_delayed' | 'failed' | 'opened' | 'queued' | 'scheduled' | 'sent' | 'suppressed';
1257
1257
  reply_to: string[] | null;
1258
1258
  subject: string;
1259
1259
  text: string | null;
@@ -1547,8 +1547,8 @@ declare class Contacts {
1547
1547
  readonly topics: ContactTopics;
1548
1548
  readonly segments: ContactSegments;
1549
1549
  constructor(resend: Resend);
1550
- create(paylaod: CreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1551
- create(paylaod: LegacyCreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1550
+ create(payload: CreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1551
+ create(payload: LegacyCreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1552
1552
  list(options?: ListContactsOptions): Promise<ListContactsResponse>;
1553
1553
  get(options: GetContactOptions): Promise<GetContactResponse>;
1554
1554
  update(options: UpdateContactOptions): Promise<UpdateContactResponse>;
package/dist/index.d.mts CHANGED
@@ -1253,7 +1253,7 @@ interface GetEmailResponseSuccess {
1253
1253
  from: string;
1254
1254
  html: string | null;
1255
1255
  id: string;
1256
- last_event: 'bounced' | 'canceled' | 'clicked' | 'complained' | 'delivered' | 'delivery_delayed' | 'failed' | 'opened' | 'queued' | 'scheduled' | 'sent';
1256
+ last_event: 'bounced' | 'canceled' | 'clicked' | 'complained' | 'delivered' | 'delivery_delayed' | 'failed' | 'opened' | 'queued' | 'scheduled' | 'sent' | 'suppressed';
1257
1257
  reply_to: string[] | null;
1258
1258
  subject: string;
1259
1259
  text: string | null;
@@ -1547,8 +1547,8 @@ declare class Contacts {
1547
1547
  readonly topics: ContactTopics;
1548
1548
  readonly segments: ContactSegments;
1549
1549
  constructor(resend: Resend);
1550
- create(paylaod: CreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1551
- create(paylaod: LegacyCreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1550
+ create(payload: CreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1551
+ create(payload: LegacyCreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
1552
1552
  list(options?: ListContactsOptions): Promise<ListContactsResponse>;
1553
1553
  get(options: GetContactOptions): Promise<GetContactResponse>;
1554
1554
  update(options: UpdateContactOptions): Promise<UpdateContactResponse>;
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import PostalMime from "postal-mime";
2
2
  import { Webhook } from "svix";
3
3
  //#region package.json
4
- var version = "6.12.2";
4
+ var version = "6.12.3";
5
5
  //#endregion
6
6
  //#region src/common/utils/build-pagination-query.ts
7
7
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resend",
3
- "version": "6.12.2",
3
+ "version": "6.12.3",
4
4
  "description": "Node.js library for the Resend API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -29,19 +29,6 @@
29
29
  }
30
30
  }
31
31
  },
32
- "scripts": {
33
- "build": "tsdown src/index.ts --format esm,cjs --dts",
34
- "integration:nextjs": "cd ./e2e/nextjs && next build --turbopack",
35
- "lint": "biome check .",
36
- "lint:fix": "biome check . --write",
37
- "prepublishOnly": "pnpm run build",
38
- "test": "vitest run --exclude e2e",
39
- "test:dev": "cross-env TEST_MODE=dev vitest run --exclude e2e",
40
- "test:e2e": "vitest run e2e",
41
- "test:record": "rimraf --glob \"**/__recordings__\" && cross-env TEST_MODE=record vitest run --exclude e2e",
42
- "test:watch": "vitest --exclude e2e",
43
- "typecheck": "tsc --noEmit"
44
- },
45
32
  "repository": {
46
33
  "type": "git",
47
34
  "url": "git+https://github.com/resend/resend-node.git"
@@ -54,7 +41,7 @@
54
41
  "homepage": "https://github.com/resend/resend-node#readme",
55
42
  "dependencies": {
56
43
  "postal-mime": "2.7.4",
57
- "svix": "1.90.0"
44
+ "svix": "1.92.2"
58
45
  },
59
46
  "peerDependencies": {
60
47
  "@react-email/render": "*"
@@ -65,7 +52,7 @@
65
52
  }
66
53
  },
67
54
  "devDependencies": {
68
- "@biomejs/biome": "2.4.12",
55
+ "@biomejs/biome": "2.4.14",
69
56
  "@pollyjs/adapter-fetch": "6.0.7",
70
57
  "@pollyjs/core": "6.0.6",
71
58
  "@pollyjs/persister-fs": "6.0.6",
@@ -78,10 +65,21 @@
78
65
  "react": "19.2.5",
79
66
  "react-dom": "19.2.5",
80
67
  "rimraf": "6.1.3",
81
- "tsdown": "0.21.4",
68
+ "tsdown": "0.21.10",
82
69
  "typescript": "6.0.3",
83
70
  "vitest": "4.1.4",
84
71
  "vitest-fetch-mock": "0.4.5"
85
72
  },
86
- "packageManager": "pnpm@10.33.0"
87
- }
73
+ "scripts": {
74
+ "build": "tsdown src/index.ts --format esm,cjs --dts",
75
+ "integration:nextjs": "cd ./e2e/nextjs && next build --turbopack",
76
+ "lint": "biome check .",
77
+ "lint:fix": "biome check . --write",
78
+ "test": "vitest run --exclude e2e",
79
+ "test:dev": "cross-env TEST_MODE=dev vitest run --exclude e2e",
80
+ "test:e2e": "vitest run e2e",
81
+ "test:record": "rimraf --glob \"**/__recordings__\" && cross-env TEST_MODE=record vitest run --exclude e2e",
82
+ "test:watch": "vitest --exclude e2e",
83
+ "typecheck": "tsc --noEmit"
84
+ }
85
+ }