diff --git a/lib/core/server-event-manager.ts b/lib/core/server-event-manager.ts index 4adf6f4..e8b124d 100644 --- a/lib/core/server-event-manager.ts +++ b/lib/core/server-event-manager.ts @@ -57,7 +57,7 @@ export default class ServerEventManager implements EventManager { const localEventName = this.events[i].eventName; const match = regex.test(localEventName); if (match) { - this.emitter.emit(localEventName, args); + this.emitter.emit(localEventName, { detail: args || [] }); } i++; }