]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
chore: fix formatting whitespace and update MCP SDK version pin comment
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 1 Apr 2026 00:11:15 +0000 (02:11 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 1 Apr 2026 00:11:15 +0000 (02:11 +0200)
src/charging-station/ocpp/2.0/OCPP20Constants.ts
src/charging-station/ui-server/UIMCPServer.ts

index e94f61ce762648cbec2a8c980bf589c45c807bad..b3219af5845699d0e47e2dafb715c4d525ad479d 100644 (file)
@@ -141,7 +141,6 @@ export class OCPP20Constants extends OCPPConstants {
   static readonly DEFAULT_CONNECTION_URL = 'ws://localhost'
 
   static readonly FIRMWARE_INSTALL_DELAY_MS = 5000
-
   static readonly FIRMWARE_STATUS_DELAY_MS = 2000
   static readonly FIRMWARE_VERIFY_DELAY_MS = 500
   /**
index 695bb3c362895b4a485a6388eb6b1106047e61c2..a7b384bd964712067af3e9dafc53d3ec07678e6b 100644 (file)
@@ -288,7 +288,7 @@ export class UIMCPServer extends AbstractUIServer {
     if (this.ocppSchemaCache.size === 0) {
       return
     }
-    // Access MCP SDK internal handler map — pinned to @modelcontextprotocol/sdk@~1.27.x
+    // Access MCP SDK internal handler map — pinned to @modelcontextprotocol/sdk@~1.29.x
     // The SDK does not provide a public API for wrapping existing handlers.
     // setRequestHandler() replaces handlers entirely, losing Zod→JSON Schema conversion.
     const handlers = Reflect.get(mcpServer.server, '_requestHandlers') as