dodopayments 2.0.2 → 2.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.1 (2025-09-27)
4
+
5
+ Full Changelog: [v2.1.0...v2.1.1](https://github.com/dodopayments/dodopayments-typescript/compare/v2.1.0...v2.1.1)
6
+
7
+ ### Performance Improvements
8
+
9
+ * faster formatting ([724b1c7](https://github.com/dodopayments/dodopayments-typescript/commit/724b1c7048ab6fbdfe0233813d59faccd185a152))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** codegen related update ([e8818ea](https://github.com/dodopayments/dodopayments-typescript/commit/e8818eaedce15ea0c39f34174439587ae520b124))
15
+ * **internal:** fix incremental formatting in some cases ([5aeafd4](https://github.com/dodopayments/dodopayments-typescript/commit/5aeafd41fd072e24d91f4ae766bd1c13052ba4e6))
16
+ * **internal:** ignore .eslintcache ([33aff0d](https://github.com/dodopayments/dodopayments-typescript/commit/33aff0d2e3d901120aab9ca65802a55f17056412))
17
+ * **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([635fe9f](https://github.com/dodopayments/dodopayments-typescript/commit/635fe9fbe1c3fb542d3aa220eee0ef2a73b4daa5))
18
+ * **mcp:** allow pointing `docs_search` tool at other URLs ([4e76510](https://github.com/dodopayments/dodopayments-typescript/commit/4e76510b44d5ba65444d5209bf45f4edf3630b72))
19
+
20
+ ## 2.1.0 (2025-09-24)
21
+
22
+ Full Changelog: [v2.0.2...v2.1.0](https://github.com/dodopayments/dodopayments-typescript/compare/v2.0.2...v2.1.0)
23
+
24
+ ### Features
25
+
26
+ * **mcp:** add docs search tool ([5c9347e](https://github.com/dodopayments/dodopayments-typescript/commit/5c9347e55e8a8a3bff47ba6da1a31c4f43ecc073))
27
+ * **mcp:** add option for including docs tools ([99f2b78](https://github.com/dodopayments/dodopayments-typescript/commit/99f2b786c82b708687362f45ccaed1638c851cea))
28
+ * **mcp:** enable experimental docs search tool ([0bb2426](https://github.com/dodopayments/dodopayments-typescript/commit/0bb2426ade3fe591c64eae721d44fb7404bcaca1))
29
+
30
+
31
+ ### Chores
32
+
33
+ * **codegen:** internal codegen update ([9a2cf7d](https://github.com/dodopayments/dodopayments-typescript/commit/9a2cf7d75677004865f13e9b21663729549cdf0b))
34
+ * do not install brew dependencies in ./scripts/bootstrap by default ([d9dd55f](https://github.com/dodopayments/dodopayments-typescript/commit/d9dd55fb53e50f8fded47696b2621969b3539d06))
35
+ * **internal:** gitignore .mcpb files ([a71c421](https://github.com/dodopayments/dodopayments-typescript/commit/a71c421ffcfcdc203f127dd7a691b6a99e5a5fd5))
36
+ * **mcp:** rename dxt to mcpb ([0622aa1](https://github.com/dodopayments/dodopayments-typescript/commit/0622aa1a6805aa1e81ed4004bcdab7e8b5034c43))
37
+
3
38
  ## 2.0.2 (2025-09-17)
4
39
 
5
40
  Full Changelog: [v2.0.1...v2.0.2](https://github.com/dodopayments/dodopayments-typescript/compare/v2.0.1...v2.0.2)
package/bin/cli CHANGED
@@ -4,26 +4,19 @@ const { spawnSync } = require('child_process');
4
4
 
5
5
  const commands = {
6
6
  migrate: {
7
- description:
8
- 'Run migrations to update your code using dodopayments@1.53.2 to be compatible with dodopayments@2.0.0',
7
+ description: 'Run migrations to update your code using dodopayments@1.53.2 to be compatible with dodopayments@2.0.0',
9
8
  fn: () => {
10
9
  const result = spawnSync(
11
10
  'npx',
12
- [
13
- '-y',
14
- 'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz',
15
- '--migrationConfig',
16
- require.resolve('./migration-config.json'),
17
- ...process.argv.slice(3),
18
- ],
11
+ ['-y', 'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz', '--migrationConfig', require.resolve('./migration-config.json'), ...process.argv.slice(3)],
19
12
  { stdio: 'inherit' },
20
13
  );
21
14
  if (result.status !== 0) {
22
15
  process.exit(result.status);
23
16
  }
24
- },
25
- },
26
- };
17
+ }
18
+ }
19
+ }
27
20
 
28
21
  function exitWithHelp() {
29
22
  console.log(`Usage: dodopayments <subcommand>`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dodopayments",
3
- "version": "2.0.2",
3
+ "version": "2.1.1",
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.0.2'; // x-release-please-version
1
+ export const VERSION = '2.1.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.0.2";
1
+ export declare const VERSION = "2.1.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.0.2";
1
+ export declare const VERSION = "2.1.1";
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.0.2'; // x-release-please-version
4
+ exports.VERSION = '2.1.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.0.2'; // x-release-please-version
1
+ export const VERSION = '2.1.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map