@colyseus/core 0.17.7 → 0.17.8

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": "@colyseus/core",
3
- "version": "0.17.7",
3
+ "version": "0.17.8",
4
4
  "description": "Multiplayer Framework for Node.js.",
5
5
  "type": "module",
6
6
  "input": "./src/index.ts",
package/src/index.ts CHANGED
@@ -75,6 +75,11 @@ export {
75
75
  toNodeHandler,
76
76
  __globalEndpoints,
77
77
  type Router,
78
+ type RouterConfig,
79
+ type Endpoint,
80
+ type EndpointOptions,
81
+ type EndpointContext,
82
+ type StrictEndpoint,
78
83
  } from './router/index.ts';
79
84
 
80
85
  // Abstract logging support
@@ -6,9 +6,17 @@ export {
6
6
  createEndpoint,
7
7
  createMiddleware,
8
8
  createInternalContext,
9
+
10
+ // Re-export types needed for declaration emit
11
+ type Router,
12
+ type RouterConfig,
13
+ type Endpoint,
14
+ type EndpointOptions,
15
+ type EndpointContext,
16
+ type StrictEndpoint,
9
17
  } from "@colyseus/better-call";
10
18
 
11
- export { type Router, toNodeHandler };
19
+ export { toNodeHandler };
12
20
 
13
21
  export function bindRouterToServer(server: Server, router: Router) {
14
22
  // check if the server is bound to an express app