arvo-event-handler 3.0.4 → 3.0.6

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.
@@ -218,10 +218,10 @@ var createSimpleEventBroker = function (eventHandlers, options) {
218
218
  case 2:
219
219
  if (!(_i < _a.length)) return [3 /*break*/, 7];
220
220
  evt = _a[_i];
221
- if (!event.domain) return [3 /*break*/, 4];
221
+ if (!evt.domain) return [3 /*break*/, 4];
222
222
  return [4 /*yield*/, ((_b = options === null || options === void 0 ? void 0 : options.onDomainedEvents) === null || _b === void 0 ? void 0 : _b.call(options, {
223
- domain: event.domain,
224
- event: event,
223
+ domain: evt.domain,
224
+ event: evt,
225
225
  broker: broker,
226
226
  }))];
227
227
  case 3:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arvo-event-handler",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
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.1",
49
+ "arvo-core": "^3.0.6",
50
50
  "uuid": "^11.1.0",
51
51
  "xstate": "^5.20.1",
52
52
  "zod": "^3.25.67"