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

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