arvo-event-handler 2.2.7 → 2.2.10
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/CHANGELOG.md
CHANGED
|
@@ -58,6 +58,10 @@ export declare class ArvoEventRouter extends AbstractArvoEventHandler {
|
|
|
58
58
|
* @param event The event to be routed and processed
|
|
59
59
|
* @param opentelemetry Configuration for telemetry context inheritance
|
|
60
60
|
* @returns Promise resolving to resulting events or error events
|
|
61
|
+
*
|
|
62
|
+
* @throws {ConfigViolation} When event destination does not match router's source
|
|
63
|
+
* @throws {ConfigViolation} When no registered handler exists for the event type
|
|
64
|
+
* @throws Other Violation error which are thrown by the registered event handlers
|
|
61
65
|
*/
|
|
62
66
|
execute(event: ArvoEvent, opentelemetry?: ArvoEventHandlerOpenTelemetryOptions): Promise<ArvoEvent[]>;
|
|
63
67
|
/**
|
|
@@ -136,6 +136,10 @@ var ArvoEventRouter = /** @class */ (function (_super) {
|
|
|
136
136
|
* @param event The event to be routed and processed
|
|
137
137
|
* @param opentelemetry Configuration for telemetry context inheritance
|
|
138
138
|
* @returns Promise resolving to resulting events or error events
|
|
139
|
+
*
|
|
140
|
+
* @throws {ConfigViolation} When event destination does not match router's source
|
|
141
|
+
* @throws {ConfigViolation} When no registered handler exists for the event type
|
|
142
|
+
* @throws Other Violation error which are thrown by the registered event handlers
|
|
139
143
|
*/
|
|
140
144
|
ArvoEventRouter.prototype.execute = function (event_1) {
|
|
141
145
|
return __awaiter(this, arguments, void 0, function (event, opentelemetry) {
|
|
@@ -38,6 +38,9 @@ export default class MultiArvoEventHandler extends AbstractArvoEventHandler {
|
|
|
38
38
|
* @param event Event to process
|
|
39
39
|
* @param opentelemetry Telemetry context configuration
|
|
40
40
|
* @returns Resulting events or error events
|
|
41
|
+
*
|
|
42
|
+
* @throws {ConfigViolation} When event destination does not match handler source
|
|
43
|
+
* @throws Other Violation error which are thrown by the event handler function
|
|
41
44
|
*/
|
|
42
45
|
execute(event: ArvoEvent, opentelemetry?: ArvoEventHandlerOpenTelemetryOptions): Promise<ArvoEvent[]>;
|
|
43
46
|
/**
|
|
@@ -110,6 +110,9 @@ var MultiArvoEventHandler = /** @class */ (function (_super) {
|
|
|
110
110
|
* @param event Event to process
|
|
111
111
|
* @param opentelemetry Telemetry context configuration
|
|
112
112
|
* @returns Resulting events or error events
|
|
113
|
+
*
|
|
114
|
+
* @throws {ConfigViolation} When event destination does not match handler source
|
|
115
|
+
* @throws Other Violation error which are thrown by the event handler function
|
|
113
116
|
*/
|
|
114
117
|
MultiArvoEventHandler.prototype.execute = function (event_1) {
|
|
115
118
|
return __awaiter(this, arguments, void 0, function (event, opentelemetry) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arvo-event-handler",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.10",
|
|
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": {
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@opentelemetry/api": "^1.9.0",
|
|
47
|
-
"@opentelemetry/core": "^1.
|
|
48
|
-
"arvo-core": "^2.2.
|
|
49
|
-
"uuid": "^
|
|
50
|
-
"zod": "^3.
|
|
47
|
+
"@opentelemetry/core": "^1.30.1",
|
|
48
|
+
"arvo-core": "^2.2.10",
|
|
49
|
+
"uuid": "^11.0.5",
|
|
50
|
+
"zod": "^3.24.1"
|
|
51
51
|
}
|
|
52
52
|
}
|