@veloxts/events 0.6.107 → 0.7.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @veloxts/events
2
2
 
3
- > **Early Access (v0.6.x)**
3
+ > **Early Access (v0.7.x)**
4
4
 
5
5
  Real-time event broadcasting for VeloxTS Framework - provides WebSocket and SSE drivers with channel authorization and optional Redis pub/sub for horizontal scaling. Learn more at [@veloxts/velox](https://www.npmjs.com/package/@veloxts/velox).
6
6
 
package/dist/manager.js CHANGED
@@ -4,6 +4,8 @@
4
4
  * High-level API for real-time event broadcasting.
5
5
  * Wraps the underlying driver with a clean, Laravel-inspired interface.
6
6
  */
7
+ import { createLogger } from '@veloxts/core';
8
+ const log = createLogger('events');
7
9
  /**
8
10
  * Create an events manager with the specified driver.
9
11
  *
@@ -85,7 +87,7 @@ export function createManagerFromDriver(driver) {
85
87
  async toOthers(channel, event, data, except) {
86
88
  // Runtime deprecation warning (development only)
87
89
  if (process.env.NODE_ENV === 'development') {
88
- console.warn('[@veloxts/events] toOthers() is deprecated. Use broadcastExcept() instead.');
90
+ log.warn('toOthers() is deprecated. Use broadcastExcept() instead.');
89
91
  }
90
92
  await this.broadcastExcept(channel, event, data, except);
91
93
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/events",
3
- "version": "0.6.107",
3
+ "version": "0.7.1",
4
4
  "description": "Real-time event broadcasting for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  "superjson": "2.2.6",
31
31
  "ws": "8.19.0",
32
32
  "zod": "4.3.6",
33
- "@veloxts/core": "0.6.107"
33
+ "@veloxts/core": "0.7.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "fastify": "^5.7.4",
@@ -42,14 +42,14 @@
42
42
  }
43
43
  },
44
44
  "devDependencies": {
45
- "@types/node": "25.1.0",
45
+ "@types/node": "25.2.3",
46
46
  "@types/ws": "8.18.1",
47
47
  "@vitest/coverage-v8": "4.0.18",
48
48
  "fastify": "5.7.4",
49
- "ioredis": "5.9.2",
49
+ "ioredis": "5.9.3",
50
50
  "typescript": "5.9.3",
51
51
  "vitest": "4.0.18",
52
- "@veloxts/testing": "0.6.107"
52
+ "@veloxts/testing": "0.7.1"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"