arvo-event-handler 3.0.18 → 3.0.19
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.
|
@@ -132,6 +132,7 @@ export declare function setupArvoMachine<TContext extends MachineContext, TSelfC
|
|
|
132
132
|
enqueueArvoEvent: EnqueueArvoEventActionParam;
|
|
133
133
|
}>, ToParameterizedObject<TGuards>, never, TTag, InferVersionedArvoContract<TSelfContract>["accepts"], z.input<TSelfContract["emits"][ReturnType<typeof ArvoOrchestratorEventTypeGen.complete<ExtractOrchestratorType<TSelfContract["accepts"]["type"]>>>]> & {
|
|
134
134
|
__id?: CreateArvoEvent<Record<string, unknown>, string>["id"];
|
|
135
|
+
__executionunits?: CreateArvoEvent<Record<string, unknown>, string>["executionunits"];
|
|
135
136
|
}, InferServiceContract<TServiceContracts>["emitted"], TMeta>>(config: TConfig & {
|
|
136
137
|
id: string;
|
|
137
138
|
version?: TSelfContract["version"];
|
|
@@ -182,6 +182,7 @@ var ArvoOrchestrator = /** @class */ (function () {
|
|
|
182
182
|
domain: orchestrationParentSubject
|
|
183
183
|
? [arvo_core_1.ArvoOrchestrationSubject.parse(orchestrationParentSubject).execution.domain]
|
|
184
184
|
: [null],
|
|
185
|
+
executionunits: executionResult.finalOutput.__executionunits,
|
|
185
186
|
});
|
|
186
187
|
}
|
|
187
188
|
emittables = (0, createEmitableEvent_1.processRawEventsIntoEmittables)({
|
|
@@ -241,6 +241,7 @@ var ArvoResumable = /** @class */ (function () {
|
|
|
241
241
|
domain: orchestrationParentSubject
|
|
242
242
|
? [arvo_core_1.ArvoOrchestrationSubject.parse(orchestrationParentSubject).execution.domain]
|
|
243
243
|
: [null],
|
|
244
|
+
executionunits: executionResult.output.__executionunits,
|
|
244
245
|
});
|
|
245
246
|
}
|
|
246
247
|
emittables = (0, createEmitableEvent_1.processRawEventsIntoEmittables)({
|
|
@@ -97,6 +97,7 @@ type Handler<TState extends ArvoResumableState<Record<string, any>>, TSelfContra
|
|
|
97
97
|
[L in keyof InferVersionedArvoContract<TSelfContract>['emits']]: EnqueueArvoEventActionParam<InferVersionedArvoContract<TSelfContract>['emits'][L]['data'], InferVersionedArvoContract<TSelfContract>['emits'][L]['type']>['data'];
|
|
98
98
|
}[keyof InferVersionedArvoContract<TSelfContract>['emits']] & {
|
|
99
99
|
__id?: CreateArvoEvent<Record<string, unknown>, string>['id'];
|
|
100
|
+
__executionunits?: CreateArvoEvent<Record<string, unknown>, string>['executionunits'];
|
|
100
101
|
};
|
|
101
102
|
/**
|
|
102
103
|
* Service call events to emit.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arvo-event-handler",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
4
4
|
"description": "Type-safe event handler system with versioning, telemetry, and contract validation for distributed Arvo event-driven architectures, featuring routing and multi-handler support.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@opentelemetry/api": "^1.9.0",
|
|
48
48
|
"@opentelemetry/core": "^1.30.1",
|
|
49
|
-
"arvo-core": "^3.0.
|
|
49
|
+
"arvo-core": "^3.0.19",
|
|
50
50
|
"uuid": "^11.1.0",
|
|
51
51
|
"xstate": "^5.23.0",
|
|
52
52
|
"zod": "^3.25.74",
|