@ccci/micro-server 1.0.8 → 1.0.9
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99239,7 +99239,7 @@ class WebSocketServer {
|
|
|
99239
99239
|
if (file.toLowerCase().indexOf(".js") || file.toLowerCase().indexOf(".ts")) {
|
|
99240
99240
|
let socketName = file.replace(".js", "").replace(".ts", "").split("\\").join("/");
|
|
99241
99241
|
import(fullName).then((socketClass) => {
|
|
99242
|
-
new socketClass.default(
|
|
99242
|
+
new socketClass.default(socket);
|
|
99243
99243
|
});
|
|
99244
99244
|
}
|
|
99245
99245
|
});
|