@veloxts/events 0.6.100 → 0.6.102

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/schemas.d.ts +12 -12
  2. package/package.json +5 -5
package/dist/schemas.d.ts CHANGED
@@ -100,32 +100,32 @@ export declare const ClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
100
100
  info?: Record<string, unknown> | undefined;
101
101
  }>>;
102
102
  }, "strip", z.ZodTypeAny, {
103
- type: "subscribe";
104
103
  channel: string;
105
- auth?: string | undefined;
106
- channelData?: string | undefined;
104
+ type: "subscribe";
107
105
  data?: {
108
106
  id: string;
109
107
  info?: Record<string, unknown> | undefined;
110
108
  } | undefined;
111
- }, {
112
- type: "subscribe";
113
- channel: string;
114
109
  auth?: string | undefined;
115
110
  channelData?: string | undefined;
111
+ }, {
112
+ channel: string;
113
+ type: "subscribe";
116
114
  data?: {
117
115
  id: string;
118
116
  info?: Record<string, unknown> | undefined;
119
117
  } | undefined;
118
+ auth?: string | undefined;
119
+ channelData?: string | undefined;
120
120
  }>, z.ZodObject<{
121
121
  type: z.ZodLiteral<"unsubscribe">;
122
122
  channel: z.ZodString;
123
123
  }, "strip", z.ZodTypeAny, {
124
- type: "unsubscribe";
125
124
  channel: string;
126
- }, {
127
125
  type: "unsubscribe";
126
+ }, {
128
127
  channel: string;
128
+ type: "unsubscribe";
129
129
  }>, z.ZodObject<{
130
130
  type: z.ZodLiteral<"ping">;
131
131
  }, "strip", z.ZodTypeAny, {
@@ -138,14 +138,14 @@ export declare const ClientMessageSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
138
138
  event: z.ZodString;
139
139
  data: z.ZodOptional<z.ZodUnknown>;
140
140
  }, "strip", z.ZodTypeAny, {
141
- type: "message";
142
- channel: string;
143
141
  event: string;
142
+ channel: string;
143
+ type: "message";
144
144
  data?: unknown;
145
145
  }, {
146
- type: "message";
147
- channel: string;
148
146
  event: string;
147
+ channel: string;
148
+ type: "message";
149
149
  data?: unknown;
150
150
  }>]>;
151
151
  export type ValidatedClientMessage = z.infer<typeof ClientMessageSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/events",
3
- "version": "0.6.100",
3
+ "version": "0.6.102",
4
4
  "description": "Real-time event broadcasting for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,10 +30,10 @@
30
30
  "superjson": "2.2.6",
31
31
  "ws": "8.19.0",
32
32
  "zod": "3.25.76",
33
- "@veloxts/core": "0.6.100"
33
+ "@veloxts/core": "0.6.102"
34
34
  },
35
35
  "peerDependencies": {
36
- "fastify": "^5.0.0",
36
+ "fastify": "^5.7.4",
37
37
  "ioredis": ">=5.0.0"
38
38
  },
39
39
  "peerDependenciesMeta": {
@@ -45,11 +45,11 @@
45
45
  "@types/node": "25.1.0",
46
46
  "@types/ws": "8.18.1",
47
47
  "@vitest/coverage-v8": "4.0.18",
48
- "fastify": "5.7.2",
48
+ "fastify": "5.7.4",
49
49
  "ioredis": "5.9.2",
50
50
  "typescript": "5.9.3",
51
51
  "vitest": "4.0.18",
52
- "@veloxts/testing": "0.6.100"
52
+ "@veloxts/testing": "0.6.102"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"