mcp-word-bridge 4.0.0 → 4.0.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.
package/dist/server.cjs CHANGED
@@ -20304,7 +20304,7 @@ After inserting a Table of Contents, heading text appears twice (in TOC and body
20304
20304
  // src/server/mcp.ts
20305
20305
  function createMcpServer(bridge2) {
20306
20306
  const server = new import_server.Server(
20307
- { name: "mcp-word-bridge", version: "4.0.0" },
20307
+ { name: "mcp-word-bridge", version: "4.0.1" },
20308
20308
  { capabilities: { tools: {}, resources: {} } }
20309
20309
  );
20310
20310
  const { tools, handlers } = buildToolRegistry();
@@ -20451,6 +20451,8 @@ function shutdown() {
20451
20451
  }
20452
20452
  var httpsServer = createHttpsServer();
20453
20453
  var wss = new import_websocket_server.default({ server: httpsServer, maxPayload: MAX_PAYLOAD });
20454
+ wss.on("error", () => {
20455
+ });
20454
20456
  var bridge = new Bridge();
20455
20457
  wss.on("connection", (ws, req) => {
20456
20458
  if (req.url === "/taskpane") {