@emeryld/rrroutes-server 2.5.3 → 2.5.4

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/dist/index.cjs CHANGED
@@ -1222,7 +1222,8 @@ function createSocketConnections(io, events, opts) {
1222
1222
  sentAt: /* @__PURE__ */ new Date(),
1223
1223
  sentTo: targets,
1224
1224
  data: check.data,
1225
- metadata: metadata ?? {}
1225
+ metadata: metadata ?? {},
1226
+ rooms: targets
1226
1227
  };
1227
1228
  if (targets.length === 0) io.emit(String(eventName), envelope);
1228
1229
  else if (targets.length === 1) {