socket-function 0.8.27 → 0.8.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "0.8.27",
3
+ "version": "0.8.28",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -96,6 +96,9 @@ export async function startSocketServer(
96
96
  res.writeHead(301, { Location: url + "" });
97
97
  res.end();
98
98
  });
99
+ httpServer.on("error", e => {
100
+ console.error(`HTTP error ${e.stack}`);
101
+ });
99
102
 
100
103
  let realServer = net.createServer(socket => {
101
104
  // NOTE: ONCE is used, so we only look at the first buffer, and then after that
package/test/server.ts CHANGED
@@ -26,9 +26,7 @@ async function main() {
26
26
 
27
27
  SocketFunction.expose(Test);
28
28
 
29
- RequireController._classGuid;
30
29
  SocketFunction.expose(RequireController);
31
-
32
30
  SocketFunction.setDefaultHTTPCall(RequireController, "requireHTML", "./test/client");
33
31
 
34
32
  const port = 2542;