@zavudev/sdk 0.19.0 → 0.19.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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.1 (2026-01-08)
4
+
5
+ Full Changelog: [v0.19.0...v0.19.1](https://github.com/zavudev/sdk-typescript/compare/v0.19.0...v0.19.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **mcp:** correct code tool api output types ([b6b9d65](https://github.com/zavudev/sdk-typescript/commit/b6b9d654eb4c2f67a1664a5d628bead608308054))
10
+ * **mcp:** fix env parsing ([2d48dae](https://github.com/zavudev/sdk-typescript/commit/2d48dae22cc865ff835c7731284bdb6e033a4940))
11
+ * **mcp:** fix options parsing ([d3b9157](https://github.com/zavudev/sdk-typescript/commit/d3b91572a8ca1ff516a814aa5508e9b2f72bdfcf))
12
+
13
+
14
+ ### Chores
15
+
16
+ * break long lines in snippets into multiline ([14d1c4d](https://github.com/zavudev/sdk-typescript/commit/14d1c4dd29717421f1199c1eaf5a476b3a7d66a9))
17
+ * **internal:** fix dockerfile ([35820d8](https://github.com/zavudev/sdk-typescript/commit/35820d8c6c0b9404e62974ca5a97fb8d46b0a7a0))
18
+
19
+
20
+ ### Documentation
21
+
22
+ * prominently feature MCP server setup in root SDK readmes ([5d439e4](https://github.com/zavudev/sdk-typescript/commit/5d439e499c6aa2e169537dd50116fbd79ec72862))
23
+
3
24
  ## 0.19.0 (2026-01-01)
4
25
 
5
26
  Full Changelog: [v0.18.0...v0.19.0](https://github.com/zavudev/sdk-typescript/compare/v0.18.0...v0.19.0)
package/README.md CHANGED
@@ -8,6 +8,15 @@ The REST API documentation can be found on [docs.zavu.dev](https://docs.zavu.dev
8
8
 
9
9
  It is generated with [Stainless](https://www.stainless.com/).
10
10
 
11
+ ## MCP Server
12
+
13
+ Use the Zavudev 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
+
15
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40zavudev%2Fsdk-mcp&config=eyJuYW1lIjoiQHphdnVkZXYvc2RrLW1jcCIsInRyYW5zcG9ydCI6InNzZSIsInVybCI6Imh0dHBzOi8vemF2dWRldi5zdGxtY3AuY29tL3NzZSJ9)
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%22%40zavudev%2Fsdk-mcp%22%2C%22type%22%3A%22sse%22%2C%22url%22%3A%22https%3A%2F%2Fzavudev.stlmcp.com%2Fsse%22%7D)
17
+
18
+ > Note: You may need to set environment variables in your MCP client.
19
+
11
20
  ## Installation
12
21
 
13
22
  ```sh
@@ -26,7 +35,10 @@ const client = new Zavudev({
26
35
  apiKey: process.env['ZAVUDEV_API_KEY'], // This is the default and can be omitted
27
36
  });
28
37
 
29
- const messageResponse = await client.messages.send({ to: '+14155551234', text: 'Hello from Zavu!' });
38
+ const messageResponse = await client.messages.send({
39
+ to: '+14155551234',
40
+ text: 'Hello from Zavu!',
41
+ });
30
42
 
31
43
  console.log(messageResponse.message);
32
44
  ```
@@ -170,7 +182,9 @@ Unlike `.asResponse()` this method consumes the body, returning once it is parse
170
182
  ```ts
171
183
  const client = new Zavudev();
172
184
 
173
- const response = await client.messages.send({ to: '+14155551234', text: 'Hello from Zavu!' }).asResponse();
185
+ const response = await client.messages
186
+ .send({ to: '+14155551234', text: 'Hello from Zavu!' })
187
+ .asResponse();
174
188
  console.log(response.headers.get('X-My-Header'));
175
189
  console.log(response.statusText); // access the underlying Response object
176
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zavudev/sdk",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "The official TypeScript library for the Zavudev API",
5
5
  "author": "Zavudev <hi@zavu.dev>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.19.0'; // x-release-please-version
1
+ export const VERSION = '0.19.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.19.0";
1
+ export declare const VERSION = "0.19.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.19.0";
1
+ export declare const VERSION = "0.19.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 = '0.19.0'; // x-release-please-version
4
+ exports.VERSION = '0.19.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.19.0'; // x-release-please-version
1
+ export const VERSION = '0.19.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map