@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.
|
@@ -124,10 +124,13 @@ spec) {
|
|
|
124
124
|
async start(controller) {
|
|
125
125
|
const userEventHandler = async (eventName, data) => {
|
|
126
126
|
const graphEvent = {
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
type: 'event',
|
|
128
|
+
graphEvent: {
|
|
129
|
+
name: eventName,
|
|
130
|
+
message: coerceType(data, 'string')
|
|
131
|
+
}
|
|
129
132
|
};
|
|
130
|
-
sendEvent(controller, 'event',
|
|
133
|
+
sendEvent(controller, 'event', graphEvent);
|
|
131
134
|
};
|
|
132
135
|
const streamEvents = createOnStreamUserEvents(spec.userStreamEvents, userEventHandler);
|
|
133
136
|
if (streamEvents) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@alpic80/rivet-core",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"repository": "https://github.com/castortech/rivet",
|
|
5
|
-
"version": "1.24.2-aidon.
|
|
5
|
+
"version": "1.24.2-aidon.5",
|
|
6
6
|
"packageManager": "yarn@3.5.0",
|
|
7
7
|
"main": "dist/cjs/bundle.cjs",
|
|
8
8
|
"module": "dist/esm/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@google-cloud/vertexai": "^0.1.3",
|
|
49
49
|
"@google/genai": "^0.12.0",
|
|
50
50
|
"@huggingface/inference": "^2.6.4",
|
|
51
|
-
"@ironclad/rivet-core": "npm:@alpic80/rivet-core@1.24.2-aidon.
|
|
51
|
+
"@ironclad/rivet-core": "npm:@alpic80/rivet-core@1.24.2-aidon.5",
|
|
52
52
|
"assemblyai": "^4.6.0",
|
|
53
53
|
"autoevals": "^0.0.26",
|
|
54
54
|
"cron-parser": "^4.9.0",
|