drawboard-microservice 1.0.25 → 1.0.27

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
@@ -57869,10 +57869,6 @@ const useWebSocket = (boardId, onCanvasUpdate, userId = crypto.randomUUID()) =>
57869
57869
  console.log("[WS] Already connected, skipping");
57870
57870
  return;
57871
57871
  }
57872
- if (wsRef.current) {
57873
- wsRef.current.close();
57874
- wsRef.current = null;
57875
- }
57876
57872
  const ws = new WebSocket(
57877
57873
  `${WS_BASE_URL}/ws/canvas/${boardIdRef.current}/`
57878
57874
  );
@@ -59346,7 +59342,7 @@ const DrawingAppContent = () => {
59346
59342
  if (!isInitialized) {
59347
59343
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "drawing-app-container", children: "Loading..." });
59348
59344
  }
59349
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "drawing-app-container", children: [
59345
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "drawing-app-container", style: { width: "300px", height: "400px" }, children: [
59350
59346
  /* @__PURE__ */ jsxRuntime.jsx("h1", { className: "top-header", children: "Paint" }),
59351
59347
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "drawing-toolbar-container", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "drawing-toolbar", children: [
59352
59348
  /* @__PURE__ */ jsxRuntime.jsx(