wisp-server-node
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,12 +0,1 @@ | ||
/** Wisp server node! | ||
* Made by Rafflesia@\MercuryWorkshop | ||
* | ||
* This software is licensed under AGPLv3 && | ||
* You should have a copy of AGPLv3 with this source code | ||
* | ||
* This implimentation of wisp is sort of really broken | ||
* so I set the buffer size to max 32bit int, | ||
* I'm not sure why it doesn't work with lower values | ||
* | ||
*/ | ||
export {}; |
"use strict"; | ||
/** Wisp server node! | ||
* Made by Rafflesia@\MercuryWorkshop | ||
* | ||
* This software is licensed under AGPLv3 && | ||
* You should have a copy of AGPLv3 with this source code | ||
* | ||
* This implimentation of wisp is sort of really broken | ||
* so I set the buffer size to max 32bit int, | ||
* I'm not sure why it doesn't work with lower values | ||
* | ||
*/ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -18,3 +7,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
const ws_1 = require("ws"); | ||
const wisp_1 = __importDefault(require("./wisp")); | ||
const ConnectionHandler_1 = __importDefault(require("./ConnectionHandler")); | ||
const wss = new ws_1.WebSocketServer({ | ||
@@ -24,4 +13,4 @@ port: 3000 | ||
wss.on('connection', ws => { | ||
wisp_1.default.routeRequest(ws); | ||
ConnectionHandler_1.default.routeRequest(ws); | ||
}); | ||
//# sourceMappingURL=createServer.js.map |
{ | ||
"name": "wisp-server-node", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"type": "commonjs", | ||
@@ -10,4 +10,4 @@ "description": "", | ||
}, | ||
"main": "dist/wisp.js", | ||
"types": "dist/wisp.d.ts", | ||
"main": "dist/ConnectionHandler.js", | ||
"types": "dist/ConnectionHandler.d.ts", | ||
"files": [ | ||
@@ -14,0 +14,0 @@ "dist", |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
51265
15
238
1