modality-kit 0.15.2 → 0.15.4

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -59,8 +59,9 @@ function mergeResponsesContent(content) {
59
59
  }
60
60
  function formatSuccessResponse(successData, content) {
61
61
  const data = structuredClone(successData);
62
+ const isError = data.success != null ? !data.success : false;
62
63
  const result = {
63
- isError: successData.success != null ? !successData.success : false,
64
+ isError,
64
65
  content: [
65
66
  {
66
67
  type: "text",
@@ -2549,7 +2550,7 @@ class Doc {
2549
2550
  var version = {
2550
2551
  major: 4,
2551
2552
  minor: 3,
2552
- patch: 4
2553
+ patch: 5
2553
2554
  };
2554
2555
 
2555
2556
  // node_modules/zod/v4/core/schemas.js
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.15.2",
2
+ "version": "0.15.4",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  "devDependencies": {
16
16
  "@modelcontextprotocol/sdk": "^1.24.2",
17
17
  "modality-bun-kit": "^0.0.1",
18
- "zod": "^4.3.4"
18
+ "zod": "^4.3.5"
19
19
  },
20
20
  "exports": {
21
21
  "types": "./dist/types/index.d.ts",