arvo-event-handler 1.0.7 → 1.0.9
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/dist/utils.d.ts +1 -5
- package/dist/utils.js +1 -1
- package/package.json +2 -2
package/dist/utils.d.ts
CHANGED
|
@@ -60,8 +60,4 @@ export declare const eventHandlerOutputEventCreator: (events: Array<ArvoEventHan
|
|
|
60
60
|
}, extensions?: Record<string, string | number | boolean>) => ArvoEvent<any, any, any>) => ArvoEvent<any, any, any>[];
|
|
61
61
|
export declare const createHandlerErrorOutputEvent: (error: Error, otelSpanHeaders: OpenTelemetryHeaders, type: string, source: string, originalEvent: ArvoEvent, handlerExectionUnits: number, factory: (param: CreateArvoEvent<any, any> & {
|
|
62
62
|
to: string;
|
|
63
|
-
}, extensions?: Record<string, string | number | boolean>) => ArvoEvent<any, any, any>) => ArvoEvent<
|
|
64
|
-
errorName: string;
|
|
65
|
-
errorMessage: string;
|
|
66
|
-
errorStack: string | null;
|
|
67
|
-
}, Record<string, string | number | boolean | null>, string>[];
|
|
63
|
+
}, extensions?: Record<string, string | number | boolean>) => ArvoEvent<any, any, any>) => ArvoEvent<any, any, any>[];
|
package/dist/utils.js
CHANGED
|
@@ -124,7 +124,7 @@ var createHandlerErrorOutputEvent = function (error, otelSpanHeaders, type, sour
|
|
|
124
124
|
code: api_1.SpanStatusCode.ERROR,
|
|
125
125
|
message: error.message,
|
|
126
126
|
});
|
|
127
|
-
var result = (
|
|
127
|
+
var result = factory({
|
|
128
128
|
type: type,
|
|
129
129
|
source: source,
|
|
130
130
|
subject: originalEvent.subject,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arvo-event-handler",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "This package contains class and function for event handlers in an Arvo Event Driven system",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@opentelemetry/api": "^1.9.0",
|
|
52
|
-
"arvo-core": "^1.0
|
|
52
|
+
"arvo-core": "^1.1.0",
|
|
53
53
|
"uuid": "^10.0.0",
|
|
54
54
|
"zod": "^3.23.8"
|
|
55
55
|
}
|