geniebox-shared-lib 2.4.4 → 2.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/mcp.client.js +3 -3
- package/package.json +1 -1
package/dist/mcp.client.js
CHANGED
|
@@ -21,12 +21,12 @@ let MCPClient = MCPClient_1 = class MCPClient {
|
|
|
21
21
|
this.logger = new common_1.Logger(MCPClient_1.name);
|
|
22
22
|
}
|
|
23
23
|
onModuleInit() {
|
|
24
|
-
this.mcpClient = this.client.getService("
|
|
25
|
-
this.logger.log("
|
|
24
|
+
this.mcpClient = this.client.getService("McpService");
|
|
25
|
+
this.logger.log("McpService initialized");
|
|
26
26
|
}
|
|
27
27
|
get service() {
|
|
28
28
|
if (!this.mcpClient) {
|
|
29
|
-
throw new common_1.InternalServerErrorException("
|
|
29
|
+
throw new common_1.InternalServerErrorException("McpService is not initialized yet");
|
|
30
30
|
}
|
|
31
31
|
return this.mcpClient;
|
|
32
32
|
}
|