dodopayments 2.33.0 → 2.35.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/CHANGELOG.md CHANGED
@@ -1,17 +1,46 @@
1
1
  # Changelog
2
2
 
3
- ## [2.33.0](https://github.com/dodopayments/dodopayments-typescript/compare/v2.32.2...v2.33.0) (2026-06-01)
3
+ ## [2.35.0](https://github.com/dodopayments/dodopayments-typescript/compare/v2.34.0...v2.35.0) (2026-06-02)
4
4
 
5
5
 
6
6
  ### Features
7
7
 
8
- * **api:** regenerate SDK from latest OpenAPI spec (1.101.0) ([6a865c9](https://github.com/dodopayments/dodopayments-typescript/commit/6a865c947a7ee664b02a88998c829dbafd1b440b))
8
+ * **mcp:** Dodo-brand the consent + landing pages, drop webhook field ([f690b67](https://github.com/dodopayments/dodopayments-typescript/commit/f690b679c6cc98b7bf7906bd696c043cc08ae0f5))
9
+ * **mcp:** self-host execute tool via Cloudflare Worker Loader ([f0681cb](https://github.com/dodopayments/dodopayments-typescript/commit/f0681cb9a2b8dbf5e9972466a60f06ccfc77f924))
10
+ * **mcp:** validate API key against environment on consent page ([ac7966b](https://github.com/dodopayments/dodopayments-typescript/commit/ac7966bd284f8c62f12da18f2cff4d25b36fe585))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **mcp:** address PR review on self-hosted execute ([3f6641c](https://github.com/dodopayments/dodopayments-typescript/commit/3f6641cf7d7654777cbe0642ee23adb6d5093d06))
16
+ * **mcp:** address review — throttle /approve probe, harden + UI polish ([f41c872](https://github.com/dodopayments/dodopayments-typescript/commit/f41c87226c7cefb68a7511d295e6d1f63be01155))
17
+ * **mcp:** eliminate reflected XSS in consent redirect ([8e59b49](https://github.com/dodopayments/dodopayments-typescript/commit/8e59b49b3d96c0ca211d248566eb7475b65cbee3))
18
+ * **mcp:** remove file-system race in build-isolate placeholder ([d433bdc](https://github.com/dodopayments/dodopayments-typescript/commit/d433bdc871651e17bedbc0661f9a2eb013bb31d0))
19
+ * **mcp:** restore CF worker execute & search_docs tools ([5bcbb32](https://github.com/dodopayments/dodopayments-typescript/commit/5bcbb32a962fa841d0b239412e2495ac535918d3))
9
20
 
10
21
 
11
22
  ### Chores
12
23
 
13
- * re-seal custom code for 1.101.0 spec (python/go/typescript/kotlin/ruby/php) ([a48da50](https://github.com/dodopayments/dodopayments-typescript/commit/a48da50e42829241f23e9772fb38e0dd672a4e0e))
14
- * release 2.33.0 ([6e0b513](https://github.com/dodopayments/dodopayments-typescript/commit/6e0b513db906489eb70a52908babb73bcd5a4102))
24
+ * **mcp:** track latest dodopayments-mcp in cloudflare-worker ([97befe8](https://github.com/dodopayments/dodopayments-typescript/commit/97befe8a4fb75ee0fd3ad5aa3396c19282e0a674))
25
+
26
+
27
+ ### Documentation
28
+
29
+ * **mcp:** correct deno stub comment to reference Worker Loader isolate ([c2a66ef](https://github.com/dodopayments/dodopayments-typescript/commit/c2a66ef830c656d126e153e6252a3b85eeae514d))
30
+ * **mcp:** note rate-limit is best-effort, not a hard control ([2d92db2](https://github.com/dodopayments/dodopayments-typescript/commit/2d92db2c5481fb3d204d1ecf219f25753fa2282b))
31
+
32
+
33
+ ### Styles
34
+
35
+ * **mcp:** apply repo prettier formatting to worker execute files ([a21babb](https://github.com/dodopayments/dodopayments-typescript/commit/a21babb8f7cf3581b9c5fb45202b5ce2f4e714af))
36
+
37
+ ## [2.34.0](https://github.com/dodopayments/dodopayments-typescript/compare/v2.33.0...v2.34.0) (2026-06-01)
38
+
39
+
40
+ ### Features
41
+
42
+ * **readme:** drop 'generated with Stainless' attribution from SDK READMEs ([b263085](https://github.com/dodopayments/dodopayments-typescript/commit/b263085f1a4ec952049a2aa2e60f3e19e69e412b))
43
+ * **readme:** drop 'generated with Stainless' attribution from SDK READMEs ([ecb1f48](https://github.com/dodopayments/dodopayments-typescript/commit/ecb1f4866992b21a414001129fe3a00ab81459d4))
15
44
 
16
45
  ## [2.32.2](https://github.com/dodopayments/dodopayments-typescript/compare/v2.32.1...v2.32.2) (2026-06-01)
17
46
 
package/README.md CHANGED
@@ -6,14 +6,11 @@ This library provides convenient access to the [Dodo Payments](https://dodopayme
6
6
 
7
7
  The REST API documentation can be found on [docs.dodopayments.com](https://docs.dodopayments.com/api-reference/introduction). The full API of this library can be found in [api.md](api.md).
8
8
 
9
- It is generated with [Stainless](https://www.stainless.com/).
10
-
11
9
  ## MCP Server
12
10
 
13
11
  Use the Dodo Payments MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
14
12
 
15
13
  [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=dodopayments-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImRvZG9wYXltZW50cy1tY3AiXSwiZW52Ijp7IkRPRE9fUEFZTUVOVFNfQVBJX0tFWSI6Ik15IEJlYXJlciBUb2tlbiIsIkRPRE9fUEFZTUVOVFNfV0VCSE9PS19LRVkiOiJNeSBXZWJob29rIEtleSJ9fQ)
16
- [![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22dodopayments-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22dodopayments-mcp%22%5D%2C%22env%22%3A%7B%22DODO_PAYMENTS_API_KEY%22%3A%22My%20Bearer%20Token%22%2C%22DODO_PAYMENTS_WEBHOOK_KEY%22%3A%22My%20Webhook%20Key%22%7D%7D)
17
14
 
18
15
  > Note: You may need to set environment variables in your MCP client.
19
16
 
@@ -335,7 +332,7 @@ const client = new DodoPayments({
335
332
  To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
336
333
  options to requests:
337
334
 
338
- <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
335
+ **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
339
336
 
340
337
  ```ts
341
338
  import DodoPayments from 'dodopayments';
@@ -349,7 +346,7 @@ const client = new DodoPayments({
349
346
  });
350
347
  ```
351
348
 
352
- <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
349
+ **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
353
350
 
354
351
  ```ts
355
352
  import DodoPayments from 'dodopayments';
@@ -361,7 +358,7 @@ const client = new DodoPayments({
361
358
  });
362
359
  ```
363
360
 
364
- <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
361
+ **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
365
362
 
366
363
  ```ts
367
364
  import DodoPayments from 'npm:dodopayments';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dodopayments",
3
- "version": "2.33.0",
3
+ "version": "2.35.0",
4
4
  "description": "The official TypeScript library for the Dodo Payments API",
5
5
  "author": "Dodo Payments <support@dodopayments.com>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.33.0'; // x-release-please-version
1
+ export const VERSION = '2.35.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.33.0";
1
+ export declare const VERSION = "2.35.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.33.0";
1
+ export declare const VERSION = "2.35.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.33.0'; // x-release-please-version
4
+ exports.VERSION = '2.35.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.33.0'; // x-release-please-version
1
+ export const VERSION = '2.35.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map