@alpic80/rivet-core 1.24.2-aidon.3 → 1.24.2-aidon.5

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.
@@ -23074,10 +23074,13 @@ data: ${JSON.stringify(data)}
23074
23074
  async start(controller) {
23075
23075
  const userEventHandler = async (eventName, data) => {
23076
23076
  const graphEvent = {
23077
- name: eventName,
23078
- message: coerceType(data, "string")
23077
+ type: "event",
23078
+ graphEvent: {
23079
+ name: eventName,
23080
+ message: coerceType(data, "string")
23081
+ }
23079
23082
  };
23080
- sendEvent(controller, "event", { graphEvent });
23083
+ sendEvent(controller, "event", graphEvent);
23081
23084
  };
23082
23085
  const streamEvents = createOnStreamUserEvents(spec.userStreamEvents, userEventHandler);
23083
23086
  if (streamEvents) {