modality-kit 0.7.2 → 0.7.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.
package/dist/index.js CHANGED
@@ -146,7 +146,8 @@ class ModalityLogger {
146
146
  console.debug(payload);
147
147
  break;
148
148
  case "info":
149
- console.dir(payload, {
149
+ console.info(payload.message);
150
+ console.dir(payload.data, {
150
151
  depth: null,
151
152
  colors: true,
152
153
  maxArrayLength: null
@@ -140,6 +140,7 @@ export interface JSONRPCValidationResult {
140
140
  error?: JSONRPCError;
141
141
  /** Parsed message type */
142
142
  messageType?: "request" | "notification" | "response" | "batch";
143
+ message?: JSONRPCMessage;
143
144
  }
144
145
  /**
145
146
  * Utility functions for JSON-RPC message handling
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.2",
2
+ "version": "0.7.4",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",