modality-kit 0.4.4 → 0.4.6

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/dist/index.js CHANGED
@@ -4277,10 +4277,6 @@ var fileEntrySchema = exports_external.object({
4277
4277
  lastModified: exports_external.number().optional().nullable().describe("Last modified timestamp in milliseconds since epoch")
4278
4278
  });
4279
4279
  // src/schemas/schemas_empty.ts
4280
- var exports_schemas_empty = {};
4281
- __export(exports_schemas_empty, {
4282
- emptySchema: () => emptySchema
4283
- });
4284
4280
  var emptySchema = exports_external.object({}).describe("No parameters required");
4285
4281
  export {
4286
4282
  withErrorHandling,
@@ -4288,7 +4284,7 @@ export {
4288
4284
  getLoggerInstance,
4289
4285
  formatSuccessResponse,
4290
4286
  formatErrorResponse,
4287
+ emptySchema,
4291
4288
  exports_schemas_symbol as SymbolType,
4292
- ErrorCode,
4293
- exports_schemas_empty as Empty
4289
+ ErrorCode
4294
4290
  };
@@ -4,4 +4,5 @@ export { formatErrorResponse, formatSuccessResponse } from "./util_response";
4
4
  export { getLoggerInstance, type ModalityLogger } from "./util_logger";
5
5
  export { withErrorHandling, ErrorCode } from "./util_error";
6
6
  export * as SymbolType from "./schemas/schemas_symbol";
7
- export * as Empty from "./schemas/schemas_empty";
7
+ export type { EmptyType } from "./schemas/schemas_empty";
8
+ export { emptySchema } from "./schemas/schemas_empty";
@@ -17,7 +17,7 @@ export interface McpErrorResponse {
17
17
  meta?: Record<string, any>;
18
18
  }
19
19
  interface SuccessData {
20
- message: string | null;
20
+ message?: string | null;
21
21
  [key: string]: any;
22
22
  }
23
23
  /**
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.4",
2
+ "version": "0.4.6",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",