@superhero/eventflow-spoke 4.5.1 → 4.5.3
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/index.js +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -213,7 +213,6 @@ export default class Spoke
|
|
|
213
213
|
|
|
214
214
|
async #onHubPublishMessage(_, domain, id, name, pid)
|
|
215
215
|
{
|
|
216
|
-
this.log.info`onHubPublishMessage ${domain} › ${id} › ${name} › ${pid}`
|
|
217
216
|
this.subscriptions[domain].emit(name, { domain, id, name, pid })
|
|
218
217
|
await this.db.updateEventPublishedToConsumedBySpoke(id, this.#spokeID)
|
|
219
218
|
&& this.consumers[domain].emit(name, { domain, id, name, pid })
|
|
@@ -333,7 +332,7 @@ export default class Spoke
|
|
|
333
332
|
{
|
|
334
333
|
clearTimeout(timeoutId)
|
|
335
334
|
await unsubscribe().catch(reject)
|
|
336
|
-
accept(event)
|
|
335
|
+
accept(event.name)
|
|
337
336
|
}
|
|
338
337
|
}
|
|
339
338
|
|