Comparing version 0.0.31 to 0.0.32
{ | ||
"name": "webdetta", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"author": "Fedot Kriutchenko <fodyadev@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -48,3 +48,3 @@ import { safe } from '../common/func.js'; | ||
validatePath(path); | ||
const upgrade = rpcApiWs({ pool, onOpen, onClose, methods }); | ||
const api = rpcApiWs({ pool, onOpen, onClose, methods }); | ||
wss.route(path, (req, ws) => ctx.call(api.upgrade(ws), req)); | ||
@@ -51,0 +51,0 @@ return instance; |
27224