@mantiq/realtime 0.5.11 → 0.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantiq/realtime",
3
- "version": "0.5.11",
3
+ "version": "0.5.13",
4
4
  "description": "WebSocket, SSE, channels, broadcasting",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@ export class RealtimeServiceProvider extends ServiceProvider {
34
34
  let config = DEFAULT_CONFIG
35
35
  try {
36
36
  const configRepo = this.app.make(ConfigRepository)
37
- const userConfig = configRepo.get<Partial<RealtimeConfig>>('realtime', {})
37
+ const userConfig = configRepo.get<Partial<RealtimeConfig>>('broadcasting', configRepo.get<Partial<RealtimeConfig>>('realtime', {}))
38
38
  config = { ...DEFAULT_CONFIG, ...userConfig }
39
39
  } catch {
40
40
  // ConfigRepository not yet registered — use defaults