@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 +21 -0
- package/README.md +16 -2
- package/package.json +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
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
|
+
[](https://cursor.com/en-US/install-mcp?name=%40zavudev%2Fsdk-mcp&config=eyJuYW1lIjoiQHphdnVkZXYvc2RrLW1jcCIsInRyYW5zcG9ydCI6InNzZSIsInVybCI6Imh0dHBzOi8vemF2dWRldi5zdGxtY3AuY29tL3NzZSJ9)
|
|
16
|
+
[](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({
|
|
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
|
|
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
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.19.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.19.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.19.
|
|
1
|
+
export const VERSION = '0.19.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|