@crossdelta/cloudevents 0.1.6 → 0.1.7

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.
@@ -46,10 +46,8 @@ export async function consumeNatsEvents(options) {
46
46
  const processedHandlers = handlerConstructors
47
47
  .map(processHandler)
48
48
  .filter((h) => h !== null);
49
- logger.info(`[${name}] discovered handlers`, {
50
- count: processedHandlers.length,
51
- handlers: processedHandlers.map((h) => h.name),
52
- });
49
+ const handlerNames = processedHandlers.map((h) => h.name).join(', ');
50
+ logger.info(`[${name}] discovered ${processedHandlers.length} handler(s): ${handlerNames}`);
53
51
  // 2) Connect to NATS
54
52
  const nc = await connect({ servers });
55
53
  logger.info(`[${name}] connected to NATS: ${servers}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/cloudevents",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "CloudEvents toolkit for TypeScript - handler discovery, DLQ-safe processing, NATS streaming",
5
5
  "author": "crossdelta",
6
6
  "license": "MIT",