@zap-socket/server 0.0.12 → 0.0.13

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/events.js +4 -2
  2. package/package.json +1 -1
package/dist/events.js CHANGED
@@ -5,13 +5,15 @@ export const zapEvent = (eventObj) => {
5
5
  return {
6
6
  input: eventObj.input,
7
7
  middleware: eventObj.middleware,
8
- process: eventObj.process
8
+ process: eventObj.process,
9
+ emitType: eventObj.emitType
9
10
  };
10
11
  }
11
12
  return {
12
13
  input: z.void(),
13
14
  middleware: eventObj.middleware,
14
- process: eventObj.process
15
+ process: eventObj.process,
16
+ emitType: eventObj.emitType
15
17
  };
16
18
  };
17
19
  export const zapStream = (eventObj) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zap-socket/server",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "A fully typesafe tRPC-inspired WebSocket library with Zod validation, req-res model, and native subscriptions.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",