@appolo/bus
Advanced tools
Comparing version 8.0.11 to 8.0.12
@@ -110,5 +110,6 @@ "use strict"; | ||
queue: handler.queue, | ||
keys: [handler.eventName] | ||
keys: [handler.routingKey || handler.eventName] | ||
}); | ||
}); | ||
bindings = utils_1.Arrays.uniqBy(bindings, handler => handler.exchange + handler.queue + handler.keys.join()); | ||
return bindings; | ||
@@ -115,0 +116,0 @@ } |
@@ -18,3 +18,3 @@ import {define, inject, singleton, Util, Define} from "@appolo/inject"; | ||
import {HandlerSymbol, ReplySymbol, RequestSymbol} from "../common/decorators"; | ||
import {Reflector, Strings} from "@appolo/utils"; | ||
import {Reflector, Strings, Arrays} from "@appolo/utils"; | ||
@@ -179,6 +179,8 @@ @define() | ||
queue: handler.queue, | ||
keys: [handler.eventName] | ||
keys: [handler.routingKey || handler.eventName] | ||
}) | ||
}); | ||
bindings = Arrays.uniqBy(bindings, handler => handler.exchange + handler.queue + handler.keys.join()); | ||
return bindings; | ||
@@ -185,0 +187,0 @@ } |
{ | ||
"name": "@appolo/bus", | ||
"version": "8.0.11", | ||
"version": "8.0.12", | ||
"description": "appolo bus module", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82521
1841