diff --git a/package-lock.json b/package-lock.json index b8c464d..cc5b115 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,7 @@ "solid-js": "^1.9.3", "three": "^0.183.2", "three-3mf-exporter": "^45.1.0", + "ws": "^8.21.0", "yarn-spinner-loader": "^0.1.0", "zod": "^4.4.3" }, @@ -46,6 +47,7 @@ "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/node": "^22.19.13", + "@types/ws": "^8.18.1", "husky": "^9.1.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -10693,9 +10695,9 @@ } }, "node_modules/ws": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.0.tgz", - "integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", + "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", "license": "MIT", "engines": { "node": ">=10.0.0" diff --git a/package.json b/package.json index 838b46e..3896d16 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "solid-js": "^1.9.3", "three": "^0.183.2", "three-3mf-exporter": "^45.1.0", + "ws": "^8.21.0", "yarn-spinner-loader": "^0.1.0", "zod": "^4.4.3" }, @@ -66,6 +67,7 @@ "@types/jest": "^30.0.0", "@types/js-yaml": "^4.0.9", "@types/node": "^22.19.13", + "@types/ws": "^8.18.1", "husky": "^9.1.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", diff --git a/src/App.tsx b/src/App.tsx index 34ed5bf..b45c644 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -57,13 +57,18 @@ const App: Component = () => { return (