@ccci/micro-server 1.0.20 → 1.0.21

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -87654,8 +87654,10 @@ import fs3 from "node:fs";
87654
87654
  import path2 from "node:path";
87655
87655
  class WebSocketServer {
87656
87656
  constructor(port = 5001, dir, folder = "sockets") {
87657
+ console.log("dir :>> ", dir);
87657
87658
  let handlers = [];
87658
87659
  let fullDir = path2.join(dir, folder);
87660
+ console.log("fullDir :>> ", fullDir);
87659
87661
  fs3.readdirSync(fullDir).forEach((file) => {
87660
87662
  if (file.toLowerCase().indexOf(".ts")) {
87661
87663
  let filePath = path2.join(dir, file);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",