@ccci/micro-server 1.0.9 → 1.0.10
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 +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99238,8 +99238,10 @@ class WebSocketServer {
|
|
|
99238
99238
|
let fullName = path2.join(folderName, file);
|
|
99239
99239
|
if (file.toLowerCase().indexOf(".js") || file.toLowerCase().indexOf(".ts")) {
|
|
99240
99240
|
let socketName = file.replace(".js", "").replace(".ts", "").split("\\").join("/");
|
|
99241
|
+
console.log("socketClass :>> ", fullName);
|
|
99241
99242
|
import(fullName).then((socketClass) => {
|
|
99242
|
-
new socketClass.default(socket);
|
|
99243
|
+
let instance = new socketClass.default(socket);
|
|
99244
|
+
console.log("socketInstance :>> ", instance);
|
|
99243
99245
|
});
|
|
99244
99246
|
}
|
|
99245
99247
|
});
|