From aea452414226474e2570c3ce3c0b2fcd991eb24a Mon Sep 17 00:00:00 2001 From: ProgrammerIn-wonderland <3838shah@gmail.com> Date: Tue, 24 Sep 2024 14:22:48 -0400 Subject: [PATCH] temporarily (perm?) migrate to wisp-js for ws ping interval and v86 --- server/package.json | 1 + server/server.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/package.json b/server/package.json index 5f361dbc..f3139070 100644 --- a/server/package.json +++ b/server/package.json @@ -14,6 +14,7 @@ }, "homepage": "https://github.com/MercuryWorkshop/AnuraOS#readme", "dependencies": { + "@mercuryworkshop/wisp-js": "^0.2.1", "@types/express": "^4.17.21", "@types/ws": "^8.5.12", "express": "^4.21.0", diff --git a/server/server.ts b/server/server.ts index 852b9e7a..ecdef784 100644 --- a/server/server.ts +++ b/server/server.ts @@ -1,6 +1,6 @@ import express from "express"; import path from "path"; -import wisp from "wisp-server-node"; +import { server as wisp } from "@mercuryworkshop/wisp-js"; import { Socket } from "node:net"; __dirname = path.join(process.cwd(), "..");