iwgt 2.4.1 → 2.4.2
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.0",
|
|
3
|
-
"generatedAt": "2025-10-
|
|
3
|
+
"generatedAt": "2025-10-07T12:31:35.679Z",
|
|
4
4
|
"description": "Справочник по библиотеке common.v2.js для InSales - набор готовых скриптов для разработки шаблонов",
|
|
5
5
|
"installation": {
|
|
6
6
|
"method": "liquid_tag",
|
package/dist/server-http.js
CHANGED
|
@@ -68,12 +68,6 @@ const httpServer = createServer(async (req, res) => {
|
|
|
68
68
|
// SSE endpoint
|
|
69
69
|
if (req.url === '/sse' && req.method === 'GET') {
|
|
70
70
|
console.log('📡 New SSE connection established');
|
|
71
|
-
// Настройка SSE заголовков
|
|
72
|
-
res.writeHead(200, {
|
|
73
|
-
'Content-Type': 'text/event-stream',
|
|
74
|
-
'Cache-Control': 'no-cache',
|
|
75
|
-
'Connection': 'keep-alive',
|
|
76
|
-
});
|
|
77
71
|
// Создаем новый MCP сервер для этого соединения
|
|
78
72
|
const widgetServer = new WidgetServer();
|
|
79
73
|
const transport = new SSEServerTransport('/message', res);
|