@ccci/micro-server 1.0.80 → 1.0.81

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 CHANGED
@@ -119110,6 +119110,8 @@ class Mailer {
119110
119110
  import fs6 from "node:fs";
119111
119111
  import path3 from "node:path";
119112
119112
  class WebSocketServer {
119113
+ static channel;
119114
+ static server;
119113
119115
  constructor(port = 5001, dir, folder = "sockets") {
119114
119116
  let handlers = [];
119115
119117
  let fullDir = path3.join(dir, folder);
@@ -1,4 +1,9 @@
1
+ /// <reference types="bun-types" />
2
+ /// <reference types="bun-types" />
3
+ import { Server } from 'bun';
1
4
  export default class WebSocketServer {
5
+ static channel: String;
6
+ static server: Server;
2
7
  constructor(port: number | undefined, dir: string, folder?: string);
3
8
  }
4
9
  //# sourceMappingURL=WebSocketServer.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccci/micro-server",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",