@codefresh-io/eventbus
Advanced tools
Comparing version
@@ -49,3 +49,3 @@ 'use strict'; | ||
init(options = {}) { | ||
this.microServiceName = options.microServiceName || `eventBus_client_${uuid()}`; | ||
this.microServiceName = options.microServiceName || options.serviceName || `eventBus_client_${uuid()}`; | ||
@@ -104,3 +104,3 @@ this.bus = new Bus(this.microServiceName, options.bus); | ||
await this.readyPromise; | ||
await this.bus.subscribe(eventName, handler); | ||
return await this.bus.subscribe(eventName, handler); | ||
} | ||
@@ -107,0 +107,0 @@ |
{ | ||
"name": "@codefresh-io/eventbus", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
149652
0.02%